MFC r272519:

Add movw and movt relocations to the list of relocations against function
  names that must not be adjusted.
This commit is contained in:
ian 2015-02-12 03:16:57 +00:00
parent 4b6f93ca03
commit 0a5ffc4568

View File

@ -19373,6 +19373,12 @@ arm_fix_adjustable (fixS * fixP)
|| fixP->fx_r_type == BFD_RELOC_ARM_LDR_PC_G0)
return 0;
if (fixP->fx_r_type == BFD_RELOC_ARM_MOVW
|| fixP->fx_r_type == BFD_RELOC_ARM_MOVT
|| fixP->fx_r_type == BFD_RELOC_ARM_THUMB_MOVW
|| fixP->fx_r_type == BFD_RELOC_ARM_THUMB_MOVT)
return 0;
return 1;
}
#endif /* defined (OBJ_ELF) || defined (OBJ_COFF) */