The don't apply fix if not NO_RELOC only applies to OBJ_ELF.

This commit is contained in:
matt 2001-09-08 04:38:34 +00:00
parent f23306e36f
commit 649981af00

View File

@ -313,7 +313,9 @@ md_apply_fix (fixP, valP)
fixS *fixP;
valueT *valP;
{
#ifdef OBJ_ELF
if (fixP->fx_r_type == NO_RELOC)
#endif
number_to_chars_littleendian (fixP->fx_where + fixP->fx_frag->fr_literal,
(valueT) *valP, fixP->fx_size);
return 0;