aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-22 04:52:40 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-08-22 04:52:40 +0000
commit8f36cd18af6756dd6ab50da33d2c7574fc711527 (patch)
tree5e35d0c637c073c3f6c5e236b8fd5b20886aa86e /gas/config/tc-arm.h
parent58a77e418b6999bee8e5e54e5483d24536bb93c0 (diff)
downloadgdb-8f36cd18af6756dd6ab50da33d2c7574fc711527.zip
gdb-8f36cd18af6756dd6ab50da33d2c7574fc711527.tar.gz
gdb-8f36cd18af6756dd6ab50da33d2c7574fc711527.tar.bz2
* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
(fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE. * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define. * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define. * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h: Likewise.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r--gas/config/tc-arm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 28d8bc4..76cf767 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -116,14 +116,14 @@
#define TC_FIX_TYPE PTR
#define TC_INIT_FIX_DATA(FIXP) ((FIXP)->tc_fix_data = NULL)
-/* This arranges for gas/write.c to not apply a relocation if
- obj_fix_adjustable() says it is not adjustable. */
-#define TC_DONT_FIX_NON_ADJUSTABLE 1
-
#ifdef OBJ_ELF
#include "write.h" /* For definition of fixS */
#define obj_fix_adjustable(fixP) arm_fix_adjustable (fixP)
boolean arm_fix_adjustable PARAMS ((fixS *));
+
+/* This arranges for gas/write.c to not apply a relocation if
+ obj_fix_adjustable() says it is not adjustable. */
+#define TC_FIX_ADJUSTABLE(fixP) obj_fix_adjustable (fixP)
#else
#define obj_fix_adjustable(fixP) 0
#endif