* config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
authorIan Lance Taylor <ian@airs.com>
Fri, 9 Jul 1999 22:56:21 +0000 (22:56 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 9 Jul 1999 22:56:21 +0000 (22:56 +0000)
rather than checking for \001 and \002 in symbol name.
* config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.

gas/ChangeLog
gas/config/tc-ppc.h
gas/config/tc-sparc.h

index 23e92503bedd16bdef11e9c2aaa8a4c0c4bfa63e..2abd2ee6bac224bebb88b5528fe7e1a51aaae857 100644 (file)
@@ -1,3 +1,9 @@
+1999-07-10  Ian Lance Taylor  <ian@zembu.com>
+
+       * 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.
+
 Thu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
 
        * configure.in (hppa*-linux-gnu*): New target.
index e6d32d653e0715c4a609e3f09df0d5b05138ff34..436b975f6916209eadd1aa9e045204ddf77b6ee3 100644 (file)
@@ -247,8 +247,7 @@ extern const char *ppc_comment_chars;
        || ((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)))
 
 /* We must never ever try to resolve references to externally visible
    symbols in the assembler, because the .o file might go into a shared
index d5031f62680645aa2883dc67f84612f35312f164..2f9525fd6fcef5bf7c92f68555e6cf13c312b20b 100644 (file)
@@ -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
This page took 0.041895 seconds and 4 git commands to generate.