It seems that calling bfd_get_gp_size always returns 0 for a module found in an
archive, no matter the value passed to LD via the -G option.

The result is that when deciding whether to place public common symbols in the
small BSS section or in the regular one, if such symbols reside in an archived
module they are always placed in the regular BSS section.

-- 
           Summary: LD Does not Set GP Size of Archive Modules
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: evandro at yahoo dot com
                CC: bug-binutils at gnu dot org


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

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