[ECOS] Re: mips disassembler

Bart Veer bartv@cygnus.co.uk
Thu Aug 19 04:54:00 GMT 1999


    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


More information about the Ecos-discuss mailing list