[LLVMbugs] [Bug 4933] New: clang/llvm-gcc/ llc wrong section flags output nobits vs progbits

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 9 01:47:43 PDT 2009


           Summary: clang/llvm-gcc/llc wrong section flags output nobits vs
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu

$ llvm-gcc -Wno-unused-value -S ioremap.i -S -o -|grep bss
        .section        .bss.page_aligned,"aw", at progbits

$ clang -Wno-unused-value -S ioremap.i -S -o -|grep bss
section        .bss.page_aligned,"aw", at progbits

$ gcc -Wno-unused-value -S ioremap.i -S -o -|grep bss
.section        .bss.page_aligned,"aw", at nobits

So it outputs the wrong flags for bss.page_aligned, and also puts some symbols
into .bss, while gcc doesn't put any symbols there.

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