From 45dfa85a1ee44000d43abb7945a4aa7631707563 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 5 May 2012 03:05:32 +0000 Subject: 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. --- gas/config/tc-score.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gas/config/tc-score.c') diff --git a/gas/config/tc-score.c b/gas/config/tc-score.c index 3d620028de7..822b9cfd5ba 100644 --- a/gas/config/tc-score.c +++ b/gas/config/tc-score.c @@ -1,5 +1,5 @@ /* tc-score.c -- Assembler for Score - Copyright 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. + Copyright 2006, 2007, 2008, 2009, 2011, 2012 Free Software Foundation, Inc. Contributed by: Brain.lin (brain.lin@sunplusct.com) Mei Ligang (ligang@sunnorth.com.cn) @@ -5316,9 +5316,9 @@ s3_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) + 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. */ -- cgit v1.2.1