[Top][All Lists]

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

[Bug ld/12320] ld --as-needed links libgcc_s.so.1 unnecessarily on Solar

From: ro at CeBiTec dot Uni-Bielefeld.DE
Subject: [Bug ld/12320] ld --as-needed links libgcc_s.so.1 unnecessarily on Solaris 11
Date: Tue, 15 Feb 2011 12:44:59 +0000


--- Comment #4 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-02-15 
12:44:52 UTC ---
> --- Comment #3 from Alan Modra <amodra at gmail dot com> 2011-02-15 12:01:45 
> UTC ---
> In crt1.o
>     15: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _DYNAMIC
> In libgcc_s.so
>    154: 00018fd0     0 OBJECT  GLOBAL DEFAULT  ABS _DYNAMIC
> libgcc_s.so provides a symbol that is undefined at the time libgcc_s.so is
> linked, and thus libgcc_s.so is marked as needed.  So, why does your
> libgcc_s.so export _DYNAMIC (and _GLOBAL_OFFSET_TABLE_)?

Because that's what the Solaris 2 ABI requires for shared objects,
cf. ld/emultempl/solaris2.em (elf_solaris2_before_allocation).


Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

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