This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Reloc BUG in as
- To: ian at zembu dot com
- Subject: Re: Reloc BUG in as
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Mon, 5 Mar 2001 17:13:35 -0800
- CC: hjl at gnu dot org, binutils at sources dot redhat dot com
- References: <20010305162302.A6240@gnu.org> <sizoezivoy.fsf@daffy.airs.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> From: Ian Lance Taylor <ian@zembu.com>
> Cc: binutils@sources.redhat.com
> Date: 05 Mar 2001 16:32:13 -0800
> > --a.s-
> > call a-b
> > a:
> > b:
> > ------
> >
> > a and b are unknown at the end. My question is if a and b have to
> > be defined locally for experessions like a - b. If not, I am kind of
> > curious how they can be used.
>
> Yes, if you are using ELF, they have to be defined locally.
To be precise, 'b' must be defined in the same section as the call and
must be defined in this file. 'a' can be anywhere.
--
- Geoffrey Keating <geoffk@geoffk.org>