[LLVMbugs] [Bug 4650] New: weak_odr symbol has "W" modifier

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 30 10:06:05 PDT 2009


           Summary: weak_odr symbol has "W" modifier
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu

target datalayout =
target triple = "i386-unknown-linux-gnu"
@foo = weak_odr constant [1 x i8] c"\01"

        .section        .gnu.linkonce.r.foo,"aM", at progbits

Before revision 77184 it would produce

.section        .gnu.linkonce.r.foo,"a", at progbits

This causes the gnu assembler to produce the warning:

Warning: entity size for SHF_MERGE not specified

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

More information about the llvm-bugs mailing list