This is the mail archive of the binutils@sourceware.org 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]

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


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