Hi Pawel,
I will attach the three different shared objects, in the event that some
maintainer has access to an appropriate Solaris/Sparc system and can determine
what the issue is.
Thanks. That has allowed me to locate the problem. The libbug.so.CC
file has a section named .exception_ranges which has an link value of
0xFF00. Normally the link value should be a valid index into the
section table in the ELF binary, and the BFD library was detecting this
discrepancy and treating the file as invalid. The bug however was that
certain other special values are allowed in the index field. Namely
values in the range of SHN_LOPROC (0xFF00) to SHN_HIOS (0xFF3F).
So please could you try out the uploaded patch which I hope will correct
the problem. It certainly works for me using libbug.so.CC file that you
supplied.
Cheers
Nick
bfd/ChangeLog
2006-05-10 Nick Clifton <[EMAIL PROTECTED]>
PR ld/2607
* elfcode.h (valid_section_index_p): New function: Checks for a
valid section index. Allows indicies in the range SHN_LOPROC to
SHN_HIOS.
(elf_object_p): Use valid_section_index_p.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils