The don't apply fix if not NO_RELOC only applies to OBJ_ELF.
This commit is contained in:
parent
f23306e36f
commit
649981af00
2
gnu/dist/toolchain/gas/config/tc-vax.c
vendored
2
gnu/dist/toolchain/gas/config/tc-vax.c
vendored
@ -313,7 +313,9 @@ md_apply_fix (fixP, valP)
|
|||||||
fixS *fixP;
|
fixS *fixP;
|
||||||
valueT *valP;
|
valueT *valP;
|
||||||
{
|
{
|
||||||
|
#ifdef OBJ_ELF
|
||||||
if (fixP->fx_r_type == NO_RELOC)
|
if (fixP->fx_r_type == NO_RELOC)
|
||||||
|
#endif
|
||||||
number_to_chars_littleendian (fixP->fx_where + fixP->fx_frag->fr_literal,
|
number_to_chars_littleendian (fixP->fx_where + fixP->fx_frag->fr_literal,
|
||||||
(valueT) *valP, fixP->fx_size);
|
(valueT) *valP, fixP->fx_size);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user