[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/2607] linker doesn't recognize an ELF library.
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/2607] linker doesn't recognize an ELF library. |
Date: |
10 May 2006 12:23:20 -0000 |
------- Additional Comments From nickc at redhat dot com 2006-05-10 12:23
-------
Subject: Re: linker doesn't recognize an ELF library.
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 <address@hidden>
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.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2607
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/2607] linker doesn't recognize an ELF library., (continued)
- [Bug ld/2607] linker doesn't recognize an ELF library., pluto at agmk dot net, 2006/05/05
- [Bug ld/2607] linker doesn't recognize an ELF library., nickc at redhat dot com, 2006/05/08
- [Bug ld/2607] linker doesn't recognize an ELF library., pluto at agmk dot net, 2006/05/09
- [Bug ld/2607] linker doesn't recognize an ELF library., scp at predict dot com, 2006/05/09
- [Bug ld/2607] linker doesn't recognize an ELF library., scp at predict dot com, 2006/05/09
- [Bug ld/2607] linker doesn't recognize an ELF library., scp at predict dot com, 2006/05/09
- [Bug ld/2607] linker doesn't recognize an ELF library., scp at predict dot com, 2006/05/09
- [Bug ld/2607] linker doesn't recognize an ELF library., scp at predict dot com, 2006/05/09
- [Bug ld/2607] linker doesn't recognize an ELF library.,
nickc at redhat dot com <=
- [Bug ld/2607] linker doesn't recognize an ELF library., nickc at redhat dot com, 2006/05/10
- [Bug ld/2607] linker doesn't recognize an ELF library., nickc at redhat dot com, 2006/05/10
- [Bug ld/2607] linker doesn't recognize an ELF library., pluto at agmk dot net, 2006/05/10
- [Bug ld/2607] linker doesn't recognize an ELF library., scp at predict dot com, 2006/05/10
- [Bug ld/2607] linker doesn't recognize an ELF library., scp at predict dot com, 2006/05/10
- [Bug ld/2607] linker doesn't recognize an ELF library., pluto at agmk dot net, 2006/05/10
- [Bug ld/2607] linker doesn't recognize an ELF library., nickc at redhat dot com, 2006/05/11