This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: 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
.L30:
	addl	$_GLOBAL_OFFSET_TABLE_, %eax

This is non-PIC code.  For this, what we would obviously really like
is just

	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.


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