diff options
author | Alan Modra <amodra@gmail.com> | 2012-05-05 03:05:32 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-05-05 03:05:32 +0000 |
commit | 45dfa85a1ee44000d43abb7945a4aa7631707563 (patch) | |
tree | 4fbcbb79f675fb33e849112175102446d2fc8e64 /gas/config/tc-hppa.h | |
parent | 3ea17611f9c0a265d51cbdd4d0989b12c11aaad4 (diff) | |
download | gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.zip gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.tar.gz gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.tar.bz2 |
Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section
and bfd_ind_section with their _ptr variants, or use corresponding
bfd_is_* macros.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r-- | gas/config/tc-hppa.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h index cd8c205..78d9edf 100644 --- a/gas/config/tc-hppa.h +++ b/gas/config/tc-hppa.h @@ -1,6 +1,7 @@ /* tc-hppa.h -- Header file for the PA Copyright 1989, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, - 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 + Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -137,8 +138,8 @@ int hppa_fix_adjustable (struct fix *); *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 && ! symbol_used_p (sym)) \ - || (S_GET_SEGMENT (sym) == &bfd_abs_section \ + if ((S_GET_SEGMENT (sym) == bfd_und_section_ptr && ! symbol_used_p (sym)) \ + || (S_GET_SEGMENT (sym) == bfd_abs_section_ptr \ && ! S_IS_EXTERNAL (sym))) \ punt = 1 @@ -178,7 +179,7 @@ int hppa_fix_adjustable (struct fix *); #define tc_frob_symbol(sym,punt) \ { \ - if ((S_GET_SEGMENT (sym) == &bfd_und_section \ + if ((S_GET_SEGMENT (sym) == bfd_und_section_ptr \ && ! symbol_used_p (sym) \ && ELF_ST_VISIBILITY (S_GET_OTHER (sym)) == STV_DEFAULT) \ || strcmp (S_GET_NAME (sym), "$global$") == 0 \ |