[Top] [All Lists]

Re: mips64 linker bug?

To: Lars Munch Christensen <>
Subject: Re: mips64 linker bug?
From: Ralf Baechle <>
Date: Sat, 21 Jul 2001 17:23:09 +0200
In-reply-to: <>; from on Sat, Jul 21, 2001 at 11:27:15AM +0200
References: <>
User-agent: Mutt/1.2.5i
On Sat, Jul 21, 2001 at 11:27:15AM +0200, Lars Munch Christensen wrote:

> 0000000010000110 <$LM7>:
>         return 1;
>     10000110:   dfbf0000        0xdfbf0000
>     10000114:   24020001        li      $v0,1
>     10000118:   03e00008        jr      $ra
>     1000011c:   67bd0010        0x67bd0010
> When removing the static I get the correct address 100000f8 ?!?
> Am I missing something.

Gas and ld of the published 64-bit binutils are entirely useless for 64-bit
code.  Various people are working on fixing that but that takes time,
especially the non-pic case is a bit hairy.

> btw why isn't everything disassembled?

Executive summary: because binutils is a stupid.  Technical answer, objdump
only disassembles MIPS I instructions by default.


<Prev in Thread] Current Thread [Next in Thread>