This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Question on tc_i386_fix_adjustable
- From: "Jie Zhang" <jzhang918 at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 22 Aug 2007 08:11:31 +0800
- Subject: Question on tc_i386_fix_adjustable
Hi,
Does anyone know why the following three relocation types cannot be adjusted?
int
tc_i386_fix_adjustable (fixS *fixP ATTRIBUTE_UNUSED)
{
[snip]
/* adjust_reloc_syms doesn't know about the GOT. */
if (fixP->fx_r_type == BFD_RELOC_386_GOTOFF
|| fixP->fx_r_type == BFD_RELOC_386_PLT32
|| fixP->fx_r_type == BFD_RELOC_386_GOT32
[snip])
return 0;
[snip]
}
There are no regressions found in gas, ld, binutils and gcc testing if
these three checks are removed. g++ is not tested since it has an ICE
when I was testing.
Thanks,
Jie