This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: just a little nitpik in bfd
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.
Cheers
Nick