* [ECOS] mips disassembler
@ 1999-08-19 4:17 Andre McCurdy
1999-08-19 4:54 ` [ECOS] " Bart Veer
0 siblings, 1 reply; 2+ messages in thread
From: Andre McCurdy @ 1999-08-19 4:17 UTC (permalink / raw)
To: ecos-discuss
I'm using the ecosSWtools-990319 mips-tx39-elf
toolset.
If I try and disassemble an object file compiled from
a C source file (using objdump -d) the first function
comes out as a hexdump e.g.
[root@xxxx]# mips-tx39-elf-gcc -O2 -c misc1.c
[root@xxxx]# mips-tx39-elf-objdump -d misc1.o
misc1.o: file format elf32-bigmips
Disassembly of section .text:
0000000000000000 <misc_small1>:
0: 27 bd ff e0 af b0 00 00 00 00 80 21 af b3 00
0c '..........!....
10: 00 80 98 21 af bf 00 18 af b5 00 14 af b4 00
10 ...!............
20: af b2 00 08 12 60 00 04 af b1 00 04 02 60 f8
09 .....`.......`..
30: 00 00 00 00 00 40 a0 21 00 00 90 21 0c 00 00
92 .....@.!...!....
40: 00 00 88 21 0c 00 01 db 02 02 80 21 02 02 80
21 ...!.......!...!
50: 26 52 00 01 0c 00 02 6e 26 31 00 01 0c 00 01
1e &R.....n&1......
60: 02 02 80 21 02 02 80 21 2a 22 00 02 14 40 ff
f9 ...!...!*"...@..
70: 00 00 00 00 0c 00 02 a0 00 00 00 00 02 02 80
21 ...............!
80: 2a 42 00 05 14 40 ff ed 00 00 00 00 12 60 00
04 *B...@.......`..
90: 00 00 00 00 02 60 f8 09 00 00 00 00 00 40 a8
21 .....`.......@.!
a0: 16 00 00 03 3c 04 00 00 10 00 00 04 02 b4 10
23 ....<..........#
b0: 0c 00 00 00 24 84 00 1c 00 00 10 21 8f bf 00
18 ....$......!....
c0: 8f b5 00 14 8f b4 00 10 8f b3 00 0c 8f b2 00
08 ................
d0: 8f b1 00 04 8f b0 00 00 03 e0 00 08 27 bd 00
20 ............'..
00000000000000e0 <second_function>:
e0: 8ca20000 lw $v0,0($a1)
e4: 00005821 move $t3,$zero
e8: 94440000 lhu $a0,0($v0)
ec: 3402e809 li $v0,0xe809
f0: 3083f81f andi $v1,$a0,0xf81f
etc...
Is this a bug somewhere or am I not driving the tools
correctly ?
Thanks
Andre
--
_____________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ECOS] Re: mips disassembler
1999-08-19 4:17 [ECOS] mips disassembler Andre McCurdy
@ 1999-08-19 4:54 ` Bart Veer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Veer @ 1999-08-19 4:54 UTC (permalink / raw)
To: armccurdy; +Cc: ecos-discuss
Andre> I'm using the ecosSWtools-990319 mips-tx39-elf
Andre> toolset.
Andre> If I try and disassemble an object file compiled from
Andre> a C source file (using objdump -d) the first function
Andre> comes out as a hexdump e.g.
Andre> [root@xxxx]# mips-tx39-elf-gcc -O2 -c misc1.c
Andre> [root@xxxx]# mips-tx39-elf-objdump -d misc1.o
Andre> misc1.o: file format elf32-bigmips
Andre> Disassembly of section .text:
<snip>
Andre> Is this a bug somewhere or am I not driving the tools
Andre> correctly ?
Looks like a bug in that release of the compiler or assembler, I'll
have to investigate further. In the meantime there is a workaround,
you can use "mips-tx39-elf-objdump --disassemble-all".
Bart Veer // eCos net maintainer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-08-19 4:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-19 4:17 [ECOS] mips disassembler Andre McCurdy
1999-08-19 4:54 ` [ECOS] " Bart Veer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).