rs6000.c (rs6000_global_entry_point_needed_p): Rename to rs6000_global_entry_point_pr...
authorBill Schmidt <wschmidt@linux.ibm.com>
Thu, 23 May 2019 20:33:02 +0000 (20:33 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 23 May 2019 20:33:02 +0000 (20:33 +0000)
commit99f8432359851649b749d4c16b91b758820d30c1
treea1ca9a652f39d1c9d7c4f6c1c164a80c0a0a3c0d
parent103d91c7cb36eaba7728a3550f77dd1f50fdfc29
rs6000.c (rs6000_global_entry_point_needed_p): Rename to rs6000_global_entry_point_prologue_needed_p.

[gcc]

2019-05-22  Bill Schmidt  <wschmidt@linux.ibm.com>

* config/rs6000/rs6000.c (rs6000_global_entry_point_needed_p):
Rename to rs6000_global_entry_point_prologue_needed_p.  Return
false for PC-relative functions.
(rs6000_output_function_prologue): Change called function name to
rs6000_global_entry_point_prologue_needed_p.  Emit ".localentry
name,1" for PC-relative functions.
(rs6000_elf_declare_function_name): Change called function name to
rs6000_global_entry_point_prologue_needed_p.

[gcc/testsuite]

2019-05-22  Bill Schmidt  <wschmidt@linux.ibm.com>

* gcc.target/powerpc/localentry-1.c: New file.

From-SVN: r271577
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/localentry-1.c [new file with mode: 0644]