aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-nds32.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-nds32.h')
-rw-r--r--gas/config/tc-nds32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-nds32.h b/gas/config/tc-nds32.h
index 08f097c..d3d0c6a 100644
--- a/gas/config/tc-nds32.h
+++ b/gas/config/tc-nds32.h
@@ -91,7 +91,8 @@ extern void tc_nds32_frame_initial_instructions (void);
/* For DIFF relocations. The default behavior is inconsistent with the
asm internal document. */
#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEC) \
- (! SEG_NORMAL (SEC) || TC_FORCE_RELOCATION (FIX))
+ (GENERIC_FORCE_RELOCATION_SUB_SAME (FIX, SEC) \
+ || TC_FORCE_RELOCATION (FIX))
#define TC_FORCE_RELOCATION(fix) nds32_force_relocation (fix)
#define TC_VALIDATE_FIX_SUB(FIX,SEG) nds32_validate_fix_sub (FIX,SEG)
#define SET_SECTION_RELOCS(sec, relocs, n) nds32_set_section_relocs (sec, relocs, n)