MIPS TLS relocation assembly code invalid from GCC-4.1...
Steven J. Hill
sjhill@realitydiluted.com
Mon Oct 24 04:35:00 GMT 2005
Jim Wilson wrote:
>
> Those aren't symbolic registers. Those are variable names. Try looking
> at the input file tst-tls10.c, and notice that it has variable names a1,
> a2, and a3. So somehow, in your output, the variable name a1 got
> replaced with the register name $5, which won't work.
>
*blush* I did not even think of/notice that. Thank you.
> Maybe you have a macro somewhere that is trying to define a1 to $5? This
> should only be an issue if you are trying to preprocess .s output though.
>
Probably something like that. I will dig into this further.
> Or maybe there is just a bug in the mips uclib tls support.
>
This most definitely a problem in uClibc TSL support. It worked in glibc,
so I have to get it fixed for uClibc. Thanks for the extra eyes, Jim.
-Steve
More information about the Gcc
mailing list