public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed]  TILE-Gx/TILEPro: add stubs for feedback instrumentation
@ 2012-08-18  3:47 Walter Lee
  0 siblings, 0 replies; only message in thread
From: Walter Lee @ 2012-08-18  3:47 UTC (permalink / raw)
  To: gcc-patches


This patch defines the stubs for feedback instrumentation, needed to
compile glibc and linux.

       * config/tilegx/feedback.h (FEEDBACK_ENTER_EXPLICIT): Define.
       (FEEDBACK_ENTER): Define.
       (FEEDBACK_REENTER): Define.
       (FEEDBACK_ENTRY): Define.
       * config/tilepro/feedback.h: (FEEDBACK_ENTER_EXPLICIT): Define.
       (FEEDBACK_ENTER): Define.
       (FEEDBACK_REENTER): Define.
       (FEEDBACK_ENTRY): Define.

Index: gcc/config/tilegx/feedback.h
===================================================================
--- gcc/config/tilegx/feedback.h        (revision 190498)
+++ gcc/config/tilegx/feedback.h        (working copy)
@@ -1 +1,14 @@
-/* This file is currently empty and serves as a placeholder.  */
+#ifndef _FEEDBACK_H
+#define _FEEDBACK_H 1
+
+#ifdef __ASSEMBLER__
+
+/* Stub defines for feedback instrumentation.  */
+#define FEEDBACK_ENTER_EXPLICIT(FUNCNAME, SECNAME, SIZE)
+#define FEEDBACK_ENTER(FUNCNAME)
+#define FEEDBACK_REENTER(FUNCNAME)
+#define FEEDBACK_ENTRY(FUNCNAME, SECNAME, SIZE)
+
+#endif /* __ASSEMBLER__ */
+
+#endif /* _FEEDBACK_H */
Index: gcc/config/tilepro/feedback.h
===================================================================
--- gcc/config/tilepro/feedback.h       (revision 190498)
+++ gcc/config/tilepro/feedback.h       (working copy)
@@ -1 +1,14 @@
-/* This file is currently empty and serves as a placeholder.  */
+#ifndef _FEEDBACK_H
+#define _FEEDBACK_H 1
+
+#ifdef __ASSEMBLER__
+
+/* Stub defines for feedback instrumentation.  */
+#define FEEDBACK_ENTER_EXPLICIT(FUNCNAME, SECNAME, SIZE)
+#define FEEDBACK_ENTER(FUNCNAME)
+#define FEEDBACK_REENTER(FUNCNAME)
+#define FEEDBACK_ENTRY(FUNCNAME, SECNAME, SIZE)
+
+#endif /* __ASSEMBLER__ */
+
+#endif /* _FEEDBACK_H */

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

only message in thread, other threads:[~2012-08-18  3:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-18  3:47 [committed] TILE-Gx/TILEPro: add stubs for feedback instrumentation Walter Lee

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).