This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

On Thu, Jan 30, 2014 at 4:41 AM, H.J. Lu <> wrote:
> On Thu, Jan 30, 2014 at 1:39 AM, Andreas Schwab <> 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: realloc@@GLIBC_2.2.5
> Extra PLT reference: malloc@@GLIBC_2.2.5
> Extra PLT reference: memalign@@GLIBC_2.2.5
> Extra PLT reference: calloc@@GLIBC_2.2.5
> Extra PLT reference: free@@GLIBC_2.2.5
> Extra PLT reference: matherr@@GLIBC_2.2.5
> Missing required PLT reference: realloc
> Missing required PLT reference: malloc
> Missing required PLT reference: calloc
> Missing required PLT reference: memalign
> Missing required PLT reference: free
> Missing required PLT reference: matherr
> It is easy to fix by stripping @@GLIBC_2.2.5 from readelf -r output.
>> the symbol version?

A very old patch:

My binutils PLT optimization commit:;a=commit;h=dd7e64d45b317128f5fe813a8da0b13b4ad046ae

will require updating elf/check-localplt test in glibc.  I am checking in this
so that elf/check-localplt will be updated for both.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]