aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-07-06 09:44:58 +0000
committerJeff Law <law@redhat.com>1999-07-06 09:44:58 +0000
commit54377754131774f7c0a14016932ba80a098c0941 (patch)
treef9e9bcd7cec1aa9487e82dc6bc7fc566f3411771
parent03b36ee109d96dfa04f7c3061dfe37e06e712cf9 (diff)
downloadfsf-binutils-gdb-54377754131774f7c0a14016932ba80a098c0941.zip
fsf-binutils-gdb-54377754131774f7c0a14016932ba80a098c0941.tar.gz
fsf-binutils-gdb-54377754131774f7c0a14016932ba80a098c0941.tar.bz2
h
* config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol for ELF.
-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