diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-05-05 03:05:23 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-05-05 03:05:23 +0000 |
commit | 1f83552699e26b19ed56be4452e4e566ee1e3b1c (patch) | |
tree | a19d03db48f5562668dc2164900532816bad4fe7 /gas/config/tc-ia64.c | |
parent | b62807310f8a5c09763fe806afd541ba37a6e62b (diff) | |
download | binutils-redhat-1f83552699e26b19ed56be4452e4e566ee1e3b1c.tar.gz |
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-ia64.c')
-rw-r--r-- | gas/config/tc-ia64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index cd3a1dbba2..0366ac4463 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -1,6 +1,6 @@ /* tc-ia64.c -- Assembler for the HP/Intel IA-64 architecture. Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008, 2009, 2011 Free Software Foundation, Inc. + 2008, 2009, 2011, 2012 Free Software Foundation, Inc. Contributed by David Mosberger-Tang <davidm@hpl.hp.com> This file is part of GAS, the GNU Assembler. @@ -7785,9 +7785,9 @@ ia64_frob_label (struct symbol *sym) int ia64_frob_symbol (struct symbol *sym) { - if ((S_GET_SEGMENT (sym) == &bfd_und_section && ! symbol_used_p (sym) && + if ((S_GET_SEGMENT (sym) == bfd_und_section_ptr && ! symbol_used_p (sym) && ELF_ST_VISIBILITY (S_GET_OTHER (sym)) == STV_DEFAULT) - || (S_GET_SEGMENT (sym) == &bfd_abs_section + || (S_GET_SEGMENT (sym) == bfd_abs_section_ptr && ! S_IS_EXTERNAL (sym))) return 1; return 0; |