[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


http://llvm.org/bugs/show_bug.cgi?id=4650

           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


Compiling
-----------------------------------------------------------
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-unknown-linux-gnu"
@foo = weak_odr constant [1 x i8] c"\01"
------------------------------------------------------------

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