aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-03 12:42:36 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-03 12:42:36 +0000
commita0f75b47e9951191f632bf54f0f53683fbac63db (patch)
treef981d03c46a4e03a6fbd94a0bdf99bddf0ca5aec /gas/config/tc-hppa.h
parent174419c1231afcc09fdf141a1b2b85bb7e8f64fa (diff)
downloadgdb-a0f75b47e9951191f632bf54f0f53683fbac63db.zip
gdb-a0f75b47e9951191f632bf54f0f53683fbac63db.tar.gz
gdb-a0f75b47e9951191f632bf54f0f53683fbac63db.tar.bz2
* config/tc-hppa.h: Update for symbol handling changes.
* config/tc-hppa.c: Likewise.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index c1541d9..764275a 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -1,5 +1,6 @@
/* tc-hppa.h -- Header file for the PA
- Copyright (C) 1989, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1989, 93, 94, 95, 96, 97, 98, 1999
+ Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -128,9 +129,9 @@ void elf_hppa_final_processing PARAMS ((void));
*not* end up in the symbol table. Likewise for absolute symbols
with local scope. */
#define tc_frob_symbol(sym,punt) \
- if ((S_GET_SEGMENT (sym) == &bfd_und_section && sym->sy_used == 0) \
+ if ((S_GET_SEGMENT (sym) == &bfd_und_section && ! symbol_used_p (sym)) \
|| (S_GET_SEGMENT (sym) == &bfd_abs_section \
- && (sym->bsym->flags & BSF_EXPORT) == 0)) \
+ && ! S_IS_EXTERNAL (sym))) \
punt = 1
/* We need to be able to make relocations involving the difference of
@@ -147,9 +148,9 @@ void elf_hppa_final_processing PARAMS ((void));
#ifdef OBJ_ELF
#define tc_frob_symbol(sym,punt) \
{ \
- if ((S_GET_SEGMENT (sym) == &bfd_und_section && sym->sy_used == 0) \
+ if ((S_GET_SEGMENT (sym) == &bfd_und_section && ! symbol_used_p (sym)) \
|| (S_GET_SEGMENT (sym) == &bfd_abs_section \
- && (sym->bsym->flags & BSF_EXPORT) == 0)) \
+ && ! S_IS_EXTERNAL (sym))) \
punt = 1; \
}
#endif