------- 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to