summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-19 17:56:48 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-19 17:56:48 +0000
commit6981abb49f33c1799a7fede2e958e851b710c241 (patch)
treee681110f1fb97b5f75bd65da47d3451a492fd3b2 /gcc/defaults.h
parent9e238359714b4bb599d27e4e91dc127aed5731a7 (diff)
downloadgcc-6981abb49f33c1799a7fede2e958e851b710c241.tar.gz
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
macro. * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Document it. * toplev.c (main): If the target does not allow profiling without a frame pointer, issue an error message. * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Define it to false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42312 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 45fb088785f..452bdfe44cd 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -336,5 +336,12 @@ do { \
? ptrmemfunc_vbit_in_pfn : ptrmemfunc_vbit_in_delta)
#endif
+/* True if it is possible to profile code that does not have a frame
+ pointer. */
+
+#ifndef TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER
+#define TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER true
+#endif
+
#endif /* GCC_DEFAULTS_H */