linux-mips
[Top] [All Lists]

Re: Relocation errors

To: Daniel Jacobowitz <dan@debian.org>
Subject: Re: Relocation errors
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 27 Oct 2003 17:06:04 +0100
Cc: David Kesselring <dkesselr@mmc.atmel.com>, linux-mips@linux-mips.org
In-reply-to: <20031027151421.GA27279@nevyn.them.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20031027145803.GA26911@nevyn.them.org> <Pine.GSO.4.44.0310271002480.19642-100000@ares.mmc.atmel.com> <20031027151421.GA27279@nevyn.them.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Mon, Oct 27, 2003 at 10:14:21AM -0500, Daniel Jacobowitz wrote:
> Date: Mon, 27 Oct 2003 10:14:21 -0500
> From: Daniel Jacobowitz <dan@debian.org>
> To: David Kesselring <dkesselr@mmc.atmel.com>
> Cc: linux-mips@linux-mips.org
> Subject: Re: Relocation errors
> Content-Type: text/plain; charset=us-ascii
> 
> Take a look at /usr/include/elf.h:
> #define R_MIPS_LITERAL          8       /* 16 bit literal entry */
> 
> In this case it's not very informative.  But the problem is probably
> mismatched CFLAGS.  Take another look at the options the kernel is
> built with - you lost -G 0.  See if that does it.

My gcc patches used to set this to zero because the -G optimization doesn't
work on Linux; I think HJ Lu's (?) gcc patches lost this.

  Ralf

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