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 tls with -mlong64/-mgp32


> Maybe this is a silly question, but what the heck is going on here?
> 
>      Pointers are the same size as `long's, or the same size
>      as integer registers, whichever is smaller.
> 
> Shouldn't the tprel offset be pointer-sized then?  Doesn't seem much
> point in loading a bigger offset than fits in a register.

Hence, it fails with -mlong64/-mgp32 ;-)

oh, and -mabi=eabi.  Sorry about omitting that.  Anyway, the GOT has
64 bit values in it, but registers are 32 bits.


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