* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
authorThiemo Seufer <ths@networkno.de>
Sat, 26 Apr 2003 20:57:14 +0000 (20:57 +0000)
committerThiemo Seufer <ths@networkno.de>
Sat, 26 Apr 2003 20:57:14 +0000 (20:57 +0000)
gas/ChangeLog
gas/config/tc-mips.h

index 7063a2ab92911c3cca39bab81c5ea5005043389a..aff78afc248b496dbd8287eeb815f226418d9497 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
+
 2003-04-25  Chris Demetriou  <cgd@broadcom.com>
 
        * NEWS: Belatedly mention support for MIPS32 Release 2.
index 17993b92c2771e2a6812a63ac6dd775b05ce8766..16a2a4e827db28e56577fbd4c08422e54e6dee7d 100644 (file)
@@ -140,6 +140,9 @@ extern int mips_fix_adjustable PARAMS ((struct fix *));
 #define TC_FORCE_RELOCATION(FIX) mips_force_relocation (FIX)
 extern int mips_force_relocation PARAMS ((struct fix *));
 
+#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \
+  (! SEG_NORMAL (SEG) || mips_force_relocation (FIX))
+
 /* We use this to turn branches to global symbols into branches to
    local symbols, so that they can be simplified.  */
 #define TC_VALIDATE_FIX(fixp, this_segment, skip_label) \