[PATCH] PR binutils/16496: Display symbol version when dumping dynrelocs

H.J. Lu hjl.tools@gmail.com
Thu Jan 30 12:41:00 GMT 2014


On Thu, Jan 30, 2014 at 1:39 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Since it breaks building glibc, perhaps there is another way to display

It is the most consistent way to display symbol version.  But It did cause:

make[4]: *** [/export/build/gnu/glibc/build-x86_64-linux/elf/check-localplt.out]
Error 1
Extra PLT reference: libc.so: realloc@@GLIBC_2.2.5
Extra PLT reference: libc.so: malloc@@GLIBC_2.2.5
Extra PLT reference: libc.so: memalign@@GLIBC_2.2.5
Extra PLT reference: libc.so: calloc@@GLIBC_2.2.5
Extra PLT reference: libc.so: free@@GLIBC_2.2.5
Extra PLT reference: libm.so: matherr@@GLIBC_2.2.5
Missing required PLT reference: libc.so: realloc
Missing required PLT reference: libc.so: malloc
Missing required PLT reference: libc.so: calloc
Missing required PLT reference: libc.so: memalign
Missing required PLT reference: libc.so: free
Missing required PLT reference: libm.so: matherr

It is easy to fix by stripping @@GLIBC_2.2.5 from readelf -r output.

> the symbol version?
>


-- 
H.J.



More information about the Binutils mailing list