public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] parisc: Move declaration.
@ 2019-07-20 17:19 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2019-07-20 17:19 UTC (permalink / raw)
  To: GCC Patches

This patch moves to declaration of hppa_profile_hook to pa-protos.h.

Tested on hppa-unknown-linux-gnu.  Committed to trunk.

Dave
-- 
John David Anglin  dave.anglin@bell.net

2019-07-20  John David Anglin  <danglin@gcc.gnu.org>

	* config/pa/pa.h (hppa_profile_hook): Delete declaration.
	* config/pa/pa-protos.h (hppa_profile_hook): Add declaration.

Index: config/pa/pa.h
===================================================================
--- config/pa/pa.h	(revision 273562)
+++ config/pa/pa.h	(working copy)
@@ -666,7 +666,6 @@
   (*targetm.asm_out.internal_label) (FILE, FUNC_BEGIN_PROLOG_LABEL, LABEL)

 #define PROFILE_HOOK(label_no) hppa_profile_hook (label_no)
-void hppa_profile_hook (int label_no);

 /* The profile counter if emitted must come before the prologue.  */
 #define PROFILE_BEFORE_PROLOGUE 1
Index: config/pa/pa-protos.h
===================================================================
--- config/pa/pa-protos.h	(revision 273562)
+++ config/pa/pa-protos.h	(working copy)
@@ -109,6 +109,7 @@
 extern HOST_WIDE_INT pa_initial_elimination_offset (int, int);
 extern HOST_WIDE_INT pa_function_arg_size (machine_mode, const_tree);
 extern void pa_output_function_label (FILE *);
+extern void hppa_profile_hook (int);

 extern const int pa_magic_milli[];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-20 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-20 17:19 [PATCH] parisc: Move declaration John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).