linux-mips
[Top] [All Lists]

Re: R_MIPS_26 etc.

To: linux-mips@linux-mips.org
Subject: Re: R_MIPS_26 etc.
From: Greg Lindahl <lindahl@keyresearch.com>
Date: Tue, 10 Dec 2002 08:19:37 -0800
In-reply-to: <ECEPLLMMNGHMFBLHCLMAAECMDGAA.yaelgilad@myrealbox.com>; from yaelgilad@myrealbox.com on Tue, Dec 10, 2002 at 06:11:14PM +0200
Mail-followup-to: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <ECEPLLMMNGHMFBLHCLMAAECMDGAA.yaelgilad@myrealbox.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Tue, Dec 10, 2002 at 06:11:14PM +0200, yaelgilad wrote:

> Looking in the assembly code of my driver, I see the following
> pattern repeating with every function call.
>     4ce4: 0c000000  jal 0
>       4ce4: R_MIPS_26 rx_wait_packet
> (R_MIPS_26 is sometimes replaces by a similar command)
> What is R_MIPS_26 ? What are the rest of them ?

R_MIPS_26 is a relocation. The jal command has 26 bits available for
the address. BTW, you should mention when you are showing objdump
output instead of the .s emitted by the compiler...

g

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