bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12578] New: Alignment of a common symbol overridden by a definit


From: d.g.gorbachev at gmail dot com
Subject: [Bug ld/12578] New: Alignment of a common symbol overridden by a definition
Date: Sun, 13 Mar 2011 17:37:53 +0000

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

           Summary: Alignment of a common symbol overridden by a
                    definition
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden


(I don't know is it related to / a duplicate of PR12564.)

ld.bfd gives a warning: "/usr/bin/ld: Warning: alignment 4 of symbol `baz' in
/tmp/ccEJaaP0.o is smaller than 16 in /tmp/ccs1dDrt.o"; ld.gold doesn't even
warn.

I think the linker should choose the largest alignment, as it already does when
merging multiple common symbols.

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