From 649981af00bc451b6c91eac1478829a707e465f9 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 8 Sep 2001 04:38:34 +0000 Subject: [PATCH] The don't apply fix if not NO_RELOC only applies to OBJ_ELF. --- gnu/dist/toolchain/gas/config/tc-vax.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/dist/toolchain/gas/config/tc-vax.c b/gnu/dist/toolchain/gas/config/tc-vax.c index 953b15b834cb..44b8788a9c4a 100644 --- a/gnu/dist/toolchain/gas/config/tc-vax.c +++ b/gnu/dist/toolchain/gas/config/tc-vax.c @@ -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;