From a161fe53205dbc69d42f5a123b2b04346724b2de Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 5 Sep 2002 00:01:18 +0000 Subject: gas reloc rewrite. --- gas/config/tc-frv.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gas/config/tc-frv.c') diff --git a/gas/config/tc-frv.c b/gas/config/tc-frv.c index 2a7db70..6dbe78a 100644 --- a/gas/config/tc-frv.c +++ b/gas/config/tc-frv.c @@ -1226,7 +1226,7 @@ frv_force_relocation (fix) || fix->fx_r_type == BFD_RELOC_FRV_GPRELU12) return 1; - return 0; + return S_FORCE_RELOC (fix->fx_addsy); } /* Write a value out to the object file, using the appropriate endianness. */ @@ -1314,16 +1314,6 @@ frv_fix_adjustable (fixP) else reloc_type = fixP->fx_r_type; - if (fixP->fx_addsy == NULL) - return 1; - - /* Prevent all adjustments to global symbols. */ - if (S_IS_EXTERN (fixP->fx_addsy)) - return 0; - - if (S_IS_WEAK (fixP->fx_addsy)) - return 0; - /* We need the symbol name for the VTABLE entries */ if ( reloc_type == BFD_RELOC_VTABLE_INHERIT || reloc_type == BFD_RELOC_VTABLE_ENTRY -- cgit v1.1