]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
authorAlan Modra <amodra@gmail.com>
Wed, 6 Jun 2001 12:06:56 +0000 (12:06 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 6 Jun 2001 12:06:56 +0000 (12:06 +0000)
BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.

gas/config/tc-s390.h

index e9b36622a3bf5d5fe8277cd72b7e8b61997ece8d..089c1f0721823b090d7c2f985dba8d01a9fb1f6e 100644 (file)
@@ -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 *));