This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
rs6000_binds_local_p
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Edelsohn <dje at watson dot ibm dot com>
- Date: Mon, 9 Sep 2002 11:43:20 +0930
- Subject: rs6000_binds_local_p
I'm installing this as obvious.
* config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
Index: gcc/config/rs6000/rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.372
diff -u -p -r1.372 rs6000.c
--- gcc/config/rs6000/rs6000.c 8 Sep 2002 09:30:21 -0000 1.372
+++ gcc/config/rs6000/rs6000.c 9 Sep 2002 02:09:53 -0000
@@ -222,7 +222,7 @@ static const char * rs6000_xcoff_strip_n
#endif
static void rs6000_xcoff_encode_section_info PARAMS ((tree, int))
ATTRIBUTE_UNUSED;
-static void rs6000_binds_local_p PARAMS ((tree));
+static bool rs6000_binds_local_p PARAMS ((tree));
static int rs6000_adjust_cost PARAMS ((rtx, rtx, rtx, int));
static int rs6000_adjust_priority PARAMS ((rtx, int));
static int rs6000_issue_rate PARAMS ((void));
@@ -13207,13 +13207,13 @@ rs6000_xcoff_encode_section_info (decl,
/* Cross-module name binding. For AIX and PPC64 Linux, which always are
PIC, use private copy of flag_pic. */
-static void
+static bool
rs6000_binds_local_p (decl)
tree decl;
{
if (DEFAULT_ABI == ABI_AIX)
- default_binds_local_p_1 (decl, rs6000_flag_pic);
+ return default_binds_local_p_1 (decl, rs6000_flag_pic);
else
- default_binds_local_p_1 (decl, flag_pic);
+ return default_binds_local_p_1 (decl, flag_pic);
}
--
Alan Modra
IBM OzLabs - Linux Technology Centre