summaryrefslogtreecommitdiff
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
commitfa2ade590ae2f0e1f08bff191f1619cdf1d5a1a8 (patch)
tree224e1ba91c7ab28edccd63e547ffcd0de30d5780 /gas/config/tc-mips.h
parent001cc2e75861cafa4c50ccd2f9f264beccd08dfa (diff)
downloadbinutils-redhat-fa2ade590ae2f0e1f08bff191f1619cdf1d5a1a8.tar.gz
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.binutils-2_14-branchpoint
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 17993b92c2..16a2a4e827 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) \