[LLVMbugs] [Bug 1771] New: symbols not in .bss section on ppc/linux
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Nov 4 08:55:18 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1771
Summary: symbols not in .bss section on ppc/linux
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Backend: PowerPC
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1197)
--> (http://llvm.org/bugs/attachment.cgi?id=1197)
Put external linkage symbols in .bss
Linux expects to see symbols with initializers in the .bss (or .sbss) sections.
I haven't been able to find an ABI document describing the correct behaviour,
so I'm experimenting on GCC.
The attached patch makes LLVM more closely match GCC's behaviour on PPC/Linux.
I don't think it breaks anything, and fixes programs which #include <iostream>
--
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