rs6000: Remove stale rs6000_global_entry_point_needed_p

Message ID d4a9f154-c974-9e28-67e1-1683bb0f2275@linux.ibm.com
State New
Headers
Series rs6000: Remove stale rs6000_global_entry_point_needed_p |

Commit Message

Kewen.Lin Aug. 9, 2022, 5:34 a.m. UTC
  Hi,

r10-631 had renamed rs6000_global_entry_point_needed_p to
rs6000_global_entry_point_prologue_needed_p.  This is to
remove the stale function declaration.

Bootstrapped and regtested on powerpc64-linux-gnu P8 and
powerpc64le-linux-gnu P9 and P10.

I'll push this soon.

BR,
Kewen
-----
gcc/ChangeLog:

	* config/rs6000/rs6000-internal.h (rs6000_global_entry_point_needed_p):
	Remove function declaration.
---
 gcc/config/rs6000/rs6000-internal.h | 1 -
 1 file changed, 1 deletion(-)

--
2.27.0
  

Patch

diff --git a/gcc/config/rs6000/rs6000-internal.h b/gcc/config/rs6000/rs6000-internal.h
index d80c04b5ae5..da809d1ac8b 100644
--- a/gcc/config/rs6000/rs6000-internal.h
+++ b/gcc/config/rs6000/rs6000-internal.h
@@ -82,7 +82,6 @@  extern const char *rs6000_machine;
    from rs6000-logue.cc  */

 extern int uses_TOC (void);
-extern bool rs6000_global_entry_point_needed_p (void);
 extern void rs6000_output_function_prologue (FILE *file);
 extern void rs6000_output_function_epilogue (FILE *file);
 extern bool rs6000_function_ok_for_sibcall (tree decl, tree exp);