[PATCH 5/5] i386: Remove RELA support

Fangrui Song maskray@google.com
Thu Aug 4 00:45:26 GMT 2022


On 2022-08-02, H.J. Lu via Libc-alpha wrote:
>On Tue, Aug 2, 2022 at 8:02 AM Adhemerval Zanella via Libc-alpha
><libc-alpha@sourceware.org> wrote:
>>
>> Now that prelink is not support, there is no need to keep supporting
>> rela for non bootstrap.
>> ---
>>  sysdeps/i386/dl-machine-rel.h |   7 +-
>>  sysdeps/i386/dl-machine.h     | 191 ----------------------------------
>>  2 files changed, 1 insertion(+), 197 deletions(-)

Thanks for cleaning up RELA on REL-dominant architectures.
Note that there is some value in using REL on RELA-dominant
architectures as REL for dynamic relocations can decrease code size.

ld.lld -z rel produces .rel.dyn for RELA-dominant architectures.


More information about the Libc-alpha mailing list