linux-mips-fnet
[Top] [All Lists]

HI16 / LO16 relocations.

To: Mark Mitchell <mark@codesourcery.com>, binutils@sourceware.cygnus.com, linux@engr.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu
Subject: HI16 / LO16 relocations.
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Wed, 4 Aug 1999 00:09:08 +0200
Mark, for now I'm just posting this in the hope it may ring a bell.
It seems like HI16 / LO16 relocation pairs are not handled correctly
This may result in ``la $reg, symbol'' ending up after the final link
as ``la $reg, symbol + 0x10000''.

I'll try to come up with a resonably small example tomorrow; right now
I've just discovered this problem and can only show the problem in
the diffs of disassembler listings between the two builds of a Linux
kernel with binutils 2.8.1 and cvs-binutils.

  Ralf

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