summaryrefslogtreecommitdiff
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
commitbb64eeb7525ad9401ed98ec3c23963dc275e5bef (patch)
tree59ab85a1f4be5386fd3920436e872eee3d33ce1a /gas/config/tc-hppa.h
parentc59b2ab5ee40f077742a54aaf2004fe0eebeff3d (diff)
downloadbinutils-redhat-bb64eeb7525ad9401ed98ec3c23963dc275e5bef.tar.gz
* 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 c1541d9373..764275ac58 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