[LLVMbugs] [Bug 24122] llvm-objdump fails on powerpc64le binaries
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 15 06:03:29 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24122
Benjamin Kramer <benny.kra at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |benny.kra at gmail.com
Resolution|--- |FIXED
--- Comment #2 from Benjamin Kramer <benny.kra at gmail.com> ---
With r242288:
$ llvm-objdump -disassemble baz-ppc.o
baz-ppc.o: file format ELF64-ppc64
Disassembly of section .text:
foo:
0: 00 00 4c 3c addis 2, 12, 0
4: 00 00 42 38 addi 2, 2, 0
8: a6 02 08 7c mflr 0
c: f8 ff e1 fb std 31, -8(1)
10: 10 00 01 f8 std 0, 16(1)
14: 91 ff 21 f8 stdu 1, -112(1)
18: 78 0b 3f 7c mr 31, 1
1c: 01 00 00 48 bl .+0
20: 00 00 00 60 nop
24: 78 1b 64 7c mr 4, 3
28: b4 07 83 7c extsw 3, 4
2c: 70 00 21 38 addi 1, 1, 112
30: 10 00 01 e8 ld 0, 16(1)
34: f8 ff e1 eb ld 31, -8(1)
38: a6 03 08 7c mtlr 0
3c: 20 00 80 4e blr
llvm-objdump: warning: invalid instruction encoding
llvm-objdump: warning: invalid instruction encoding
llvm-objdump: warning: invalid instruction encoding
4c: 00 00 00 60 nop
bar:
50: 00 00 4c 3c addis 2, 12, 0
54: 00 00 42 38 addi 2, 2, 0
58: a6 02 08 7c mflr 0
5c: f8 ff e1 fb std 31, -8(1)
60: 10 00 01 f8 std 0, 16(1)
64: 91 ff 21 f8 stdu 1, -112(1)
68: 78 0b 3f 7c mr 31, 1
6c: 01 00 00 48 bl .+0
70: 00 00 00 60 nop
74: 78 1b 64 7c mr 4, 3
78: 00 00 04 2c cmpwi 4, 0
7c: 18 00 82 41 bt 2, .+24
80: 01 00 00 48 bl .+0
84: 00 00 00 60 nop
88: 78 1b 64 7c mr 4, 3
8c: 64 00 9f 90 stw 4, 100(31)
90: 2c 00 00 48 b .+44
94: 01 00 00 48 bl .+0
98: 00 00 00 60 nop
9c: 78 1b 64 7c mr 4, 3
a0: 60 00 9f 90 stw 4, 96(31)
a4: 01 00 00 48 bl .+0
a8: 00 00 00 60 nop
ac: 78 1b 64 7c mr 4, 3
b0: 60 00 bf 80 lwz 5, 96(31)
b4: 14 22 85 7c add 4, 5, 4
b8: 64 00 9f 90 stw 4, 100(31)
bc: 66 00 7f e8 lwa 3, 100(31)
c0: 70 00 21 38 addi 1, 1, 112
c4: 10 00 01 e8 ld 0, 16(1)
c8: f8 ff e1 eb ld 31, -8(1)
cc: a6 03 08 7c mtlr 0
d0: 20 00 80 4e blr
llvm-objdump: warning: invalid instruction encoding
llvm-objdump: warning: invalid instruction encoding
llvm-objdump: warning: invalid instruction encoding
--
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/20150715/a740838e/attachment.html>
More information about the llvm-bugs
mailing list