aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sparc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-sparc.h')
-rw-r--r--gas/config/tc-sparc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/tc-sparc.h b/gas/config/tc-sparc.h
index 2b617d4..3dd2483 100644
--- a/gas/config/tc-sparc.h
+++ b/gas/config/tc-sparc.h
@@ -94,10 +94,9 @@ extern void sparc_handle_align (struct frag *);
the .o file. */
#define TC_FORCE_RELOCATION_LOCAL(FIX) \
- (!(FIX)->fx_pcrel \
+ (GENERIC_FORCE_RELOCATION_LOCAL (FIX) \
|| (sparc_pic_code \
- && S_IS_EXTERNAL ((FIX)->fx_addsy)) \
- || TC_FORCE_RELOCATION (FIX))
+ && S_IS_EXTERNAL ((FIX)->fx_addsy)))
#endif
#ifdef OBJ_ELF