http://llvm.org/bugs/show_bug.cgi?id=8335
Summary: MC-COFF: Wrong section header with module asm ".text"
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: ASSIGNED
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
foo.ll:
module asm ".text"
module asm "_foo:"
module asm "ret"
$ llc -filetype=obj foo.ll
$ objdump -x foo.o
BFD: asm.o (.text): Section flag STYP_DSECT (0x1) ignored
BFD: asm.o (.text): Section flag STYP_DSECT (0x1) ignored
C:\msysgit\mingw\bin\objdump.exe: asm.o: File format not recognized
Sections = [
1 = {
Name = .text
VirtualSize = 0
VirtualAddress = 0
SizeOfRawData = 1
PointerToRawData = 0x3C
PointerToRelocations = 0x0
PointerToLineNumbers = 0x0
NumberOfRelocations = 0
NumberOfLineNumbers = 0
Charateristics = 0x100001
IMAGE_SCN_ALIGN_1BYTES
SectionData =
C3 |.|
Relocations = None
}
]
Module asm is used in X86JITInfo.cpp.
--
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