aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh64.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-sh64.h')
-rw-r--r--gas/config/tc-sh64.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-sh64.h b/gas/config/tc-sh64.h
index c5758d2..1fb8e76 100644
--- a/gas/config/tc-sh64.h
+++ b/gas/config/tc-sh64.h
@@ -107,8 +107,9 @@ extern int sh64_target_mach PARAMS ((void));
|| TC_FORCE_RELOCATION (FIX))
#undef TC_FORCE_RELOCATION_SUB_SAME
-#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \
- (! SEG_NORMAL (SEG) \
+#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEC) \
+ (! SEG_NORMAL (SEC) \
+ || TC_FORCE_RELOCATION (FIX) \
|| (sh_relax && SWITCH_TABLE (FIX)) \
|| *symbol_get_tc ((FIX)->fx_addsy) != NULL)