[PATCH] S390: Support PLT and GOT references in check-localplt.

Florian Weimer fweimer@redhat.com
Tue Aug 9 13:53:00 GMT 2016


On 08/09/2016 03:34 PM, Stefan Liebler wrote:
> After the commits __libc_memalign is only called in elf/dl-minimal.c in
> malloc() function in ld.so and gcc -O2/-O3 leads to R_390_GLOB_DAT
> instead of R_390_JMP_SLOT. __libc_memalign is called via
> function-pointer loaded from GOT instead of calling via a plt-stub.

Huh.  I wonder if this is intended.  Surely the malloc implementation in 
elf/dl-minimal.c should always call the __libc_memalign implementation 
in the same file?

Thanks,
Florian



More information about the Libc-alpha mailing list