http://llvm.org/bugs/show_bug.cgi?id=19147
Bug ID: 19147
Summary: Wrong section and value for symbol in COFF
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: ASSIGNED
Severity: normal
Priority: P
Component: MC
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Given
.data
.globl foo
foo:
.long 42
.globl zed
zed = foo + 1
MC produces
Symbol {
Name: zed
Value: 0
Section: (-1)
BaseType: Null (0x0)
ComplexType: Null (0x0)
StorageClass: External (0x2)
AuxSymbolCount: 0
}
Gas produces
Symbol {
Name: zed
Value: 1
Section: .data (2)
BaseType: Null (0x0)
ComplexType: Null (0x0)
StorageClass: External (0x2)
AuxSymbolCount: 0
}
--
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