aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/tc-hppa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 139daed..13e10da 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -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