REL vs. RELA: how to choose?

Geoff Keating geoffk@geoffk.org
Thu Feb 15 00:23:00 GMT 2001


> From: Doug Evans <dje@transmeta.com>
> Date: Wed, 14 Feb 2001 20:43:32 -0800 (PST)

> Note that the mips and m32r ports are REL
> but they do get the 16 hi + 16 lo case correct.

They do it by constraining the code sequences that compilers can
generate, leading to poorer optimisation.  (The actual requirement is
that a LO reloc to the same address must immediately follow a HI
reloc, I believe.)

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Binutils mailing list