https://bugs.llvm.org/show_bug.cgi?id=33511
Bug ID: 33511
Summary: Wrong relocation for an expression on ARM
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: MC
Assignee: unassignedb...@nondot.org
Reporter: rafael.espind...@gmail.com
CC: llvm-bugs@lists.llvm.org
Given
.Lfoo:
.word _GLOBAL_OFFSET_TABLE_(GOT_PREL) - (.Lfoo+8)
.word _GLOBAL_OFFSET_TABLE_ - (.Lfoo+8)
gas produces
00000000 00000660 R_ARM_GOT_PREL 00000000 _GLOBAL_OFFSET_TABLE_
00000004 00000619 R_ARM_BASE_PREL 00000000 _GLOBAL_OFFSET_TABLE_
MC produces
00000000 00000160 R_ARM_GOT_PREL 00000000 _GLOBAL_OFFSET_TABLE_
00000004 00000103 R_ARM_REL32 00000000 _GLOBAL_OFFSET_TABLE_
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs