This is the mail archive of the
mailing list for the binutils project.
Re: IA-32 gas _GLOBAL_OFFSET_TABLE_ handling bugs
Actually, the case generated by GCC that bit me does not use `.' at all.
It looks like this:
movl $.L30, %eax
addl $_GLOBAL_OFFSET_TABLE_, %eax
This is non-PIC code. For this, what we would obviously really like
movl $_GLOBAL_OFFSET_TABLE_, %eax
and to have it be a regular R_386_32 reloc instead of the funny business.
But regardless, I think gas should generate something sane for all the
syntaxes that it accepts.