just a little nitpik in bfd

H . J . Lu hjl@lucon.org
Mon May 20 08:33:00 GMT 2002


On Mon, May 20, 2002 at 01:55:43PM +0100, Nick Clifton wrote:
> Hi Richard,
> 
> > There was a lot of discussion about this in gcc-land a year 
> > or two ago.  It resulted in htab_hash_string in libiberty.
> 
> Hmm, that sounds like a good idea.  Unfortunately when I tried it, it
> lead to several strange failures in the LD testsuite for an x86 native
> toolchain.  eg:
> 
>   Running
>   /home/nickc/work/sources/sourceware/ld/testsuite/ld-elfvers/vers.exp
>   ...
>   [snip]
> 
>   /builds/sourceware/native/binutils/objdump --private-headers
>     tmpdir/vers6 | sed -n /Version/,\$p > tmpdir/objdump.out 
>   Did not find "    0x0a7927b2 0x00 ?? VERS_1.2"
>   Version References:
>     required from libc.so.6:
>       0x0d696910 0x00 04 GLIBC_2.0
>       0x09691f73 0x00 03 GLIBC_2.1.3
>     required from tmpdir/vers1.so:
>       0x0a7927b2 0x00 06 VERS_1.2
>       0x0a7927b1 0x00 05 VERS_1.1
>       0x0a7922b0 0x00 02 VERS_2.0
> 
>   FAIL: vers6
> 
> I am not sure why this would be happening since I had made a complete
> clean and rebuild of ld, binutils and gas.

If you believe you didn't introduce any new bugs, check it in. I will fix
the testcases if necessary. I know it can be quite tricky.


H.J.



More information about the Binutils mailing list