This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: alpha brsgp relocation lossage
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Richard Henderson <rth at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 9 Nov 2002 23:40:37 +1030
- Subject: Re: alpha brsgp relocation lossage
- References: <20021106164151.A1629@redhat.com>
On Wed, Nov 06, 2002 at 04:41:51PM -0800, Richard Henderson wrote:
> What I do know is that by moving code from one place to another, we
> change the order in which this frobbing is done, and this new order
> happens to work for this test case.
What you've done is reduce the reloc to one against a section sym.
Section syms, since they have value zero, avoid the need for hacks
like the "Ohhh, this is ugly" one at the end of tc_gen_reloc.
> + if (! S_IS_DEFINED (sym) || S_FORCE_RELOC (sym))
> + return 0;
! S_IS_DEFINED is redundant. See S_FORCE_RELOC.
--
Alan Modra
IBM OzLabs - Linux Technology Centre