Better handling of PIC suffixes in GAS expression parser

Alexandre Oliva aoliva@redhat.com
Mon Apr 9 01:29:00 GMT 2001


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



More information about the Binutils mailing list