hppa64-hp-hpux11.00: HP ELF64 brokeness (incorrect .dynamic section)
Jeff Law
law@porcupine.slc.redhat.com
Wed Jul 3 13:10:00 GMT 2002
In message <200207031920.g63JKan2026562@hiauly1.hia.nrc.ca>, "John David Anglin
" writes:
>The brokeness of the HP linker seems to have been previously discovered.
>See code around line 1452 in elflink.h. The test there tries to determine
>if the SHLINK field refers to a section that is not a string table.
>I guess the question is whether bogus values other than 0 can occur.
That code looks vaguely familiar. Yup, I wrote it back in 1999 when doing
the original support for PA64 ELF.
Unfortunately, I don't recall the range of potential bogus values that might
appear in the SHLINK field of the .dynamic section.
If possible, we should use the same work-around in both hunks of code.
jeff
More information about the Binutils
mailing list