This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Better handling of PIC suffixes in GAS expression parser


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]