aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.h
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2003-04-26 20:57:14 +0000
committerThiemo Seufer <ths@networkno.de>2003-04-26 20:57:14 +0000
commita38b42ab8e066820b951fdee1be2e8f4a7bc4ff2 (patch)
treeef7eeda58911bfaea6b9752ded272460ccc5e12f /gas/config/tc-mips.h
parentd204f4c0f9c93e87dfd814795909e19726e14223 (diff)
downloadgdb-a38b42ab8e066820b951fdee1be2e8f4a7bc4ff2.zip
gdb-a38b42ab8e066820b951fdee1be2e8f4a7bc4ff2.tar.gz
gdb-a38b42ab8e066820b951fdee1be2e8f4a7bc4ff2.tar.bz2
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r--gas/config/tc-mips.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h
index 17993b9..16a2a4e 100644
--- a/gas/config/tc-mips.h
+++ b/gas/config/tc-mips.h
@@ -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) \