http://llvm.org/bugs/show_bug.cgi?id=9934
Summary: Assembler parser gives wrong relocations for $foo
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
In NetBSD's Xen code, the following can be found:
addq $hypercall_page,%rax
With llvm-mc, this gets turned into:
0: 48 81 c0 00 00 00 00 add $0x0,%rax
3: R_X86_64_32 hypercall_page
GNU as gives:
0: 48 05 00 00 00 00 add $0x0,%rax
2: R_X86_64_32S hypercall_page
The former fails to link.
--
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