[edk2-devel] [RFT PATCH v3 0/5] UefiCpuPkg, OvmfPkg: Simplify CpuExceptionHandlerLib
Marvin Häuser
mhaeuser at posteo.de
Fri Mar 31 11:09:35 UTC 2023
> On 31. Mar 2023, at 13:03, Ard Biesheuvel <ardb at kernel.org> wrote:
>
> On Fri, 31 Mar 2023 at 12:41, Marvin Häuser <mhaeuser at posteo.de> wrote:
>>
>> Hi Ray,
>>
>>>> On 31. Mar 2023, at 12:09, Ni, Ray <ray.ni at intel.com> wrote:
>>>
>>> Ard,
>>> What does "-read_only_relocs suppress" control?
>>
>> It controls whether relocs that target read-only segments yield a build error or not. I think lld uses “-z notext”.
>>
>>> Linker doesn't produce relocation entries that modifies .text section silently
>>> so the final .text just cannot run at all?
>>
>> Could you please rephrase? I’m not sure I understand, but I think it’s important everyone understands the issues at play to make a good judgment call.
>>
>
> As *I* understood it, it means suppress the *warning* not suppress the
> *relocation*
Correct.
>
> But the resulting binaries are broken, so it doesn't really matter.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102300): https://edk2.groups.io/g/devel/message/102300
Mute This Topic: https://groups.io/mt/97969646/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list