* config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
+2003-02-13 Alan Modra <amodra@bigpond.net.au>
+
+ * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
+ * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
+
2003-02-11 Uwe Stieber <uwe@wwws.de>
* configure.in: Add support for kaOS as cross build target system.
#define TC_FORCE_RELOCATION(FIX) tc_s390_force_relocation(FIX)
extern int tc_s390_force_relocation PARAMS ((struct fix *));
+/* Don't resolve foo@PLT-bar to offset@PLT. */
+#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \
+ (! SEG_NORMAL (SEG) || TC_FORCE_RELOCATION (FIX))
+
#define tc_fix_adjustable(X) tc_s390_fix_adjustable(X)
extern int tc_s390_fix_adjustable PARAMS ((struct fix *));
#ifndef TC_FORCE_RELOCATION_SUB_SAME
#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \
- (! SEG_NORMAL (SEG) || TC_FORCE_RELOCATION (FIX))
+ (! SEG_NORMAL (SEG))
#endif
#ifndef TC_FORCE_RELOCATION_SUB_ABS