This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Better handling of PIC suffixes in GAS expression parser
- To: Alan Modra <alan at linuxcare dot com dot au>
- Subject: Re: Better handling of PIC suffixes in GAS expression parser
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 09 Apr 2001 05:29:15 -0300
- Cc: Nick Clifton <nickc at redhat dot com>, binutils at sources dot redhat dot com
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.21.0104091808020.7845-100000@front.linuxcare.com.au>
On Apr 9, 2001, Alan Modra <alan@linuxcare.com.au> wrote:
>> Well, they'll at least need the enum and the pointer.
> NULL pointer means something... Which ought to remove the need for an
> enum to just say "this is a symbol without fancy @GOT etc. relocations"
But then, as soon as the first @GOT relocation appears, the pointer
will no longer be NULL, since it will have to start pointing at the
array of fancy relocation symbols. And then, we'll no longer be able
to easily tell it's a regular symbol. And, for the fancy ones, we'd
have to store the suffix type somewhere.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me