* config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
[deliverable/binutils-gdb.git] / gas / config / tc-ppc.h
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
This page took 0.023059 seconds and 4 git commands to generate.