linux-mips
[Top] [All Lists]

Re: mips64 linker bug?

To: Lars Munch Christensen <c948114@student.dtu.dk>
Subject: Re: mips64 linker bug?
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Sat, 21 Jul 2001 17:23:09 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <20010721112715.C2335@tuxedo.skovlyporten.dk>; from c948114@student.dtu.dk on Sat, Jul 21, 2001 at 11:27:15AM +0200
References: <20010721112715.C2335@tuxedo.skovlyporten.dk>
Sender: owner-linux-mips@oss.sgi.com
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.

  Ralf

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