public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@yahoo.co.uk>
To: ecos-discuss@sourceware.cygnus.com
Subject: [ECOS] mips disassembler
Date: Thu, 19 Aug 1999 04:17:00 -0000	[thread overview]
Message-ID: <19990819111729.5827.rocketmail@web601.yahoomail.com> (raw)

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

             reply	other threads:[~1999-08-19  4:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-19  4:17 Andre McCurdy [this message]
1999-08-19  4:54 ` [ECOS] " Bart Veer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990819111729.5827.rocketmail@web601.yahoomail.com \
    --to=armccurdy@yahoo.co.uk \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).