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


> Then there's no way the upper half of the offset you just loaded will
> ever be used, is there?

Ok, I'm not a mips expert, I'm just going by what's failing.  It's
trying to load a 64 bit pointer from the GOT.  Don't know why, don't
care ;-) The 64 bit load gets split into two 32 bit loads.  I can only
assume from this, that pointers are 64 bits in this case, even though
registers are 32 bits.

./cc1 -Os nonpic-1.i -meb -quiet -mabi=eabi -mlong64 -mgp32 -ftls-model=initial-exec


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