Closed alexalkis closed 3 years ago
can't reproduce:
> m68k-amigaos-objdump -d s9.o
s9.o: file format amiga
Disassembly of section .text:
00000000 .text:
0: 4fef ffec lea -20(sp),sp
4: 48e7 3f3e movem.l d2-d7/a2-a6,-(sp)
8: 206f 0044 movea.l 68(sp),a0
c: 2f50 002e move.l (a0),46(sp)
10: 226f 002e movea.l 46(sp),a1
14: 2868 0004 movea.l 4(a0),a4
18: 3a29 0014 move.w 20(a1),d5
1c: 342c 0014 move.w 20(a4),d2
20: b445 cmp.w d5,d2
...
676: 2e0b move.l a3,d7
678: bc8b cmp.l a3,d6
67a: 6400 fbde bcc.w 0x25a
67e: 6000 fe02 bra.w 0x482
With a fresh clean, make update, make ''' alex[1]@lenovo t$ cat foo.c int foo(int a, int b) { return a+b; } alex[0]@lenovo t$ m68k-amigaos-gcc -c foo.c alex[0]@lenovo t$ m68k-amigaos-objdump -D foo.o
foo.o: file format amiga
Disassembly of section .text:
00000000 00000000 _foo: 0: link.w a5,#0 m68k-amigaos-objdump: disassemble_fn returned length 0 '''
==26162== Conditional jump or move depends on uninitialised value(s)
==26162== at 0x147CA3: disassemble_bytes (objdump.c:3049)
Fixed. Thanks!
I've tried any .o or executable I get the first disassembly line and then m68k-amigaos-objdump: disassemble_fn returned length 0