diff options
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r-- | gas/config/tc-hppa.h | 11 |
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 |