bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/6937] binutils 2.18 fails linking libopcodes.so due to mis


From: amodra at bigpond dot net dot au
Subject: [Bug binutils/6937] binutils 2.18 fails linking libopcodes.so due to missing symbols
Date: 14 Oct 2008 00:38:53 -0000

------- Additional Comments From amodra at bigpond dot net dot au  2008-10-14 
00:38 -------
I think Nick's patch is wrong.  :-(  We don't ever build a shared libiberty, and
libiberty.a usually contains non-pic objects.  So linking libiberty.a against
libopcodes.so will (depending on target) produce a libopcodes.so with text
relocations.

The way this used to work a very long time ago (binutils-2.8) was that
libiberty/pic/*.o were pulled in directly when building libopcodes.so or the
combined bfd and opcodes libbfd.so.  Note that this provided the entirety of
libiberty in libopcodes.so or libbfd.so, satisfying all of the binutils apps
references to libiberty functions.  I don't know why we lost this feature, or
how much work it would take to fix.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://sourceware.org/bugzilla/show_bug.cgi?id=6937

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]