This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] parisc: Move declaration.


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[];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]