diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-08-22 04:52:40 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2000-08-22 04:52:40 +0000 |
commit | 8f36cd18af6756dd6ab50da33d2c7574fc711527 (patch) | |
tree | 5e35d0c637c073c3f6c5e236b8fd5b20886aa86e /gas/config/tc-m68k.h | |
parent | 58a77e418b6999bee8e5e54e5483d24536bb93c0 (diff) | |
download | binutils-gdb-8f36cd18af6756dd6ab50da33d2c7574fc711527.tar.gz |
* 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-m68k.h')
-rw-r--r-- | gas/config/tc-m68k.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gas/config/tc-m68k.h b/gas/config/tc-m68k.h index 1941e300837..10ac44ebaed 100644 --- a/gas/config/tc-m68k.h +++ b/gas/config/tc-m68k.h @@ -173,12 +173,15 @@ while (0) && S_IS_DEFINED ((FIX)->fx_addsy) \ && ! S_IS_COMMON ((FIX)->fx_addsy))) +#define tc_fix_adjustable(X) tc_m68k_fix_adjustable(X) +extern int tc_m68k_fix_adjustable PARAMS ((struct fix *)); + +#ifdef OBJ_ELF /* This arranges for gas/write.c to not apply a relocation if tc_fix_adjustable() says it is not adjustable. */ -#define TC_DONT_FIX_NON_ADJUSTABLE 1 +#define TC_FIX_ADJUSTABLE(fixP) tc_fix_adjustable (fixP) +#endif -#define tc_fix_adjustable(X) tc_m68k_fix_adjustable(X) -extern int tc_m68k_fix_adjustable PARAMS ((struct fix *)); #define elf_tc_final_processing m68k_elf_final_processing extern void m68k_elf_final_processing PARAMS ((void)); #endif |