[llvm-bugs] [Bug 25124] New: llvm-objdump prints unknown for relocation info on PPC
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 9 11:20:52 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25124
Bug ID: 25124
Summary: llvm-objdump prints unknown for relocation info on PPC
Product: tools
Version: trunk
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llvm-dis
Assignee: unassignedbugs at nondot.org
Reporter: kyle+llvm at iteratee.net
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
When using llvm-objdump from head to disassemble a pic object file, with
llvm-objdump all of the relocations are marked as unknown:
__cxx_global_var_init:
0: 00 00 4c 3c addis 2, 12, 0
0000000000000000: R_PPC64_REL16_HA Unknown
4: 00 00 42 38 addi 2, 2, 0
0000000000000004: R_PPC64_REL16_LO Unknown
8: 00 00 62 3c addis 3, 2, 0
0000000000000008: R_PPC64_TOC16_HA Unknown
c: 00 00 63 38 addi 3, 3, 0
000000000000000c: R_PPC64_TOC16_LO Unknown
The same section from binutils objdump gives:
0000000000000000 <__cxx_global_var_init>:
0: 00 00 4c 3c addis r2,r12,0
0: R_PPC64_REL16_HA .TOC.
4: 00 00 42 38 addi r2,r2,0
4: R_PPC64_REL16_LO .TOC.+0x4
8: 00 00 62 3c addis r3,r2,0
8: R_PPC64_TOC16_HA
_ZGVN7wrapper7wrappedI1AE13unique_numberE
c: 00 00 63 38 addi r3,r3,0
c: R_PPC64_TOC16_LO
_ZGVN7wrapper7wrappedI1AE13unique_numberE
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151009/a4c47be7/attachment-0001.html>
More information about the llvm-bugs
mailing list