forked from Imagelibrary/binutils-gdb
gas/
2005-04-06 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (tc_gen_reloc): Don't turn BFD_RELOC_X86_64_32S into BFD_RELOC_32. gas/testsuite/ 2005-04-06 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/x86-64-pcrel.s: Test R_X86_64_32S. * gas/i386/x86-64-pcrel.d: Updated.
This commit is contained in:
@@ -5380,6 +5380,13 @@ tc_gen_reloc (section, fixp)
|
||||
#endif
|
||||
code = fixp->fx_r_type;
|
||||
break;
|
||||
case BFD_RELOC_X86_64_32S:
|
||||
if (!fixp->fx_pcrel)
|
||||
{
|
||||
/* Don't turn BFD_RELOC_X86_64_32S into BFD_RELOC_32. */
|
||||
code = fixp->fx_r_type;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
if (fixp->fx_pcrel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user