From e0accf0cb874d9408a621c36dfe2db2959245612 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 9 Jul 1999 22:56:21 +0000 Subject: * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL rather than checking for \001 and \002 in symbol name. * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise. --- gas/config/tc-sparc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gas/config/tc-sparc.h') diff --git a/gas/config/tc-sparc.h b/gas/config/tc-sparc.h index d5031f6..2f9525f 100644 --- a/gas/config/tc-sparc.h +++ b/gas/config/tc-sparc.h @@ -129,8 +129,7 @@ extern int elf32_sparc_force_relocation PARAMS ((struct fix *)); || ((FIX)->fx_subsy != NULL \ && (S_GET_SEGMENT ((FIX)->fx_subsy) \ == S_GET_SEGMENT ((FIX)->fx_addsy))) \ - || strchr (S_GET_NAME ((FIX)->fx_addsy), '\001') != NULL \ - || strchr (S_GET_NAME ((FIX)->fx_addsy), '\002') != NULL)) + || S_IS_LOCAL ((FIX)->fx_addsy))) #endif #ifdef OBJ_AOUT -- cgit v1.1