h
authorJeff Law <law@redhat.com>
Tue, 6 Jul 1999 09:44:58 +0000 (09:44 +0000)
committerJeff Law <law@redhat.com>
Tue, 6 Jul 1999 09:44:58 +0000 (09:44 +0000)
        * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
        for ELF.

gas/config/tc-hppa.h

index 139daed20fbf235979795c108c2e0adaad45b0b9..13e10daf7df9ccec882d4aeeff243cfedef7b1d0 100644 (file)
@@ -155,7 +155,8 @@ void elf_hppa_final_processing PARAMS ((void));
   { \
     if ((S_GET_SEGMENT (sym) == &bfd_und_section && ! symbol_used_p (sym)) \
        || (S_GET_SEGMENT (sym) == &bfd_abs_section \
-           && ! S_IS_EXTERNAL (sym))) \
+           && ! S_IS_EXTERNAL (sym)) \
+       || strcmp (S_GET_NAME (sym), "$global$") == 0) \
       punt = 1; \
   }
 #endif