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

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

    Rainer

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

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

Reply via email to