http://llvm.org/bugs/show_bug.cgi?id=4933
Summary: clang/llvm-gcc/llc wrong section flags output nobits vs
progbits
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ llvm-gcc -Wno-unused-value -S ioremap.i -S -o -|grep bss
.bss
.bss
.bss
.section .bss.page_aligned,"aw",@progbits
.bss
$ clang -Wno-unused-value -S ioremap.i -S -o -|grep bss
section .bss.page_aligned,"aw",@progbits
.bss
.bss
.bss
$ gcc -Wno-unused-value -S ioremap.i -S -o -|grep bss
.section .bss.page_aligned,"aw",@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs