aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-s390.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-06-06 12:06:56 +0000
committerAlan Modra <amodra@gmail.com>2001-06-06 12:06:56 +0000
commitd6767af8425fc020f42f36e3cc11bc01af2c112b (patch)
tree24257e4547b58767b0e714377140a1110bda651b /gas/config/tc-s390.h
parentc369014146eb1fb32c3dd5566a71bdd084220d2a (diff)
downloadfsf-binutils-gdb-d6767af8425fc020f42f36e3cc11bc01af2c112b.zip
fsf-binutils-gdb-d6767af8425fc020f42f36e3cc11bc01af2c112b.tar.gz
fsf-binutils-gdb-d6767af8425fc020f42f36e3cc11bc01af2c112b.tar.bz2
* config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
Diffstat (limited to 'gas/config/tc-s390.h')
-rw-r--r--gas/config/tc-s390.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-s390.h b/gas/config/tc-s390.h
index e9b3662..089c1f0 100644
--- a/gas/config/tc-s390.h
+++ b/gas/config/tc-s390.h
@@ -44,6 +44,10 @@ struct fix;
&& S_IS_DEFINED ((FIX)->fx_addsy) \
&& ! S_IS_COMMON ((FIX)->fx_addsy))))
+#define TC_FORCE_RELOCATION(FIXP) \
+ ((FIXP)->fx_r_type == BFD_RELOC_VTABLE_INHERIT \
+ || (FIXP)->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
+
#define tc_fix_adjustable(X) tc_s390_fix_adjustable(X)
extern int tc_s390_fix_adjustable PARAMS ((struct fix *));