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-score7.c | |
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-score7.c')
-rw-r--r-- | gas/config/tc-score7.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-score7.c b/gas/config/tc-score7.c index c4ae5dd..520bd07 100644 --- a/gas/config/tc-score7.c +++ b/gas/config/tc-score7.c @@ -1,5 +1,5 @@ /* tc-score7.c -- Assembler for Score7 - Copyright 2009, 2011 Free Software Foundation, Inc. + Copyright 2009, 2011, 2012 Free Software Foundation, Inc. Contributed by: Brain.lin (brain.lin@sunplusct.com) Mei Ligang (ligang@sunnorth.com.cn) @@ -5200,10 +5200,10 @@ s7_pic_need_relax (symbolS *sym, asection *segtype) } /* This must duplicate the test in adjust_reloc_syms. */ - return (symsec != &bfd_und_section - && symsec != &bfd_abs_section - && ! bfd_is_com_section (symsec) - && !linkonce + return (!bfd_is_und_section (symsec) + && !bfd_is_abs_section (symsec) + && !bfd_is_com_section (symsec) + && !linkonce #ifdef OBJ_ELF /* A global or weak symbol is treated as external. */ && (OUTPUT_FLAVOR != bfd_target_elf_flavour |