This is the mail archive of the binutils@sources.redhat.com 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: hppa64-hp-hpux11.00: HP ELF64 brokeness (incorrect .dynamic section)


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


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