[mips] generate PIC jump tables for n32 and n64

Alexandre Oliva aoliva@redhat.com
Tue Oct 15 13:55:00 GMT 2002


On Oct 15, 2002, "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:

> Sorry, doesn't work.  I get:

> as: Error: /unwind-dw2.s, line 566: Invalid symbol in expression
>       .dword %gp_rel(.L51)
> as: Error: /unwind-dw2.s, line 566: ill-formed symbolic expression
> as: Error: /unwind-dw2.s, line 566: undefined symbol in expression

Just to confirm, the label .L51 was defined somewhere in the assembly
file, right?

In this case, I guess I'll just add configury to detect whether the
assembler supports .gpdword and arrange for us to only use it when
it's supported.  Unless someone can come up with some way to express a
64-bit GPREL relocation with IRIX's tools...

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc-patches mailing list