This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [mips] generate PIC jump tables for n32 and n64


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

And that you remembered to use the -n32 or -64 assembler option.  Otherwise
you get the old broken o32 assembler which doesn't have any syntax for
directly generating relocations.

You can find docs for the SGI assembler at http://docs.sgi.com.  Click
on developer, and then M (for MIPSpro).  The MIPSpro Assembly Language
User's Guide looks relevant.  It mentions %gp_rel generates a R_MIPS_GPREL
relocation with either -n32 or -64.

Jim


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