diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-08-18 18:45:05 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2000-08-18 18:45:05 +0000 |
commit | 021986386e5aea745ae5b4300b84a3f8ef50e00b (patch) | |
tree | c56169e0fd9cdde1109c881ce4aee1c6faeb87a0 /gas/config/tc-v850.h | |
parent | 2ac374c471f9bd364e060cd64a1d65a453877015 (diff) | |
download | gdb-021986386e5aea745ae5b4300b84a3f8ef50e00b.zip gdb-021986386e5aea745ae5b4300b84a3f8ef50e00b.tar.gz gdb-021986386e5aea745ae5b4300b84a3f8ef50e00b.tar.bz2 |
* write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
add a symbol's address. Removed all target-specific #ifdefs that
used to accomplished the same.
* config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
Diffstat (limited to 'gas/config/tc-v850.h')
-rw-r--r-- | gas/config/tc-v850.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h index fad4d1c..59fa507 100644 --- a/gas/config/tc-v850.h +++ b/gas/config/tc-v850.h @@ -1,5 +1,5 @@ /* tc-v850.h -- Header file for tc-v850.c. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -37,6 +37,10 @@ #define MD_APPLY_FIX3 #define md_operand(x) +/* 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 + #define obj_fix_adjustable(fixP) v850_fix_adjustable(fixP) #define TC_FORCE_RELOCATION(fixp) v850_force_relocation(fixp) extern int v850_force_relocation PARAMS ((struct fix *)); |