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: Thu, 12 Dec 2002 07:14:53 -0800
In-reply-to: <ECEPLLMMNGHMFBLHCLMAOEDMDGAA.yaelgilad@myrealbox.com>; from yaelgilad@myrealbox.com on Thu, Dec 12, 2002 at 09:07:27AM +0200
Mail-followup-to: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <ECEPLLMMNGHMFBLHCLMAOEDMDGAA.yaelgilad@myrealbox.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Thu, Dec 12, 2002 at 09:07:27AM +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)

jal takes a 26 bit address. R_MIPS_26 is the corresponding relocation.

-- greg


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