[Top] [All Lists]

Re: Relocation problem with MIPS kernel modules

To: David Daney <>
Subject: Re: Relocation problem with MIPS kernel modules
From: Ralf Baechle <>
Date: Mon, 3 Aug 2009 20:14:14 +0100
Cc: David VomLehn <>, GCC Help Mailing List <>, Linux MIPS Mailing List <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Aug 03, 2009 at 11:44:54AM -0700, David Daney wrote:

>>> R_MIPS_HI16 relocations to be followed by a R_MIPS_LO16 symbol.  All
>>> relocations of this sequence must use the same symbol, of course.  This is
>>> a very old extension; I think it predates the Linux/MIPS port.
>> Perhaps a foolish question, but is this documented anywhere?
> What more documentation do you need?  It's obvious if you read  
> bfd/elf{32,64,xx}-mips.c :-).

David ist (unforutunately ...) right.  I don't think this is documented
anywhere.  I also only learned it from reading the binutils sources.


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