diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-19 17:56:48 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-19 17:56:48 +0000 |
commit | 6981abb49f33c1799a7fede2e958e851b710c241 (patch) | |
tree | e681110f1fb97b5f75bd65da47d3451a492fd3b2 /gcc/config/i386/linux.h | |
parent | 9e238359714b4bb599d27e4e91dc127aed5731a7 (diff) | |
download | gcc-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/config/i386/linux.h')
-rw-r--r-- | gcc/config/i386/linux.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index a93955092f2..108a6fbaac8 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -73,6 +73,15 @@ Boston, MA 02111-1307, USA. */ fprintf (FILE, "\tcall\tmcount\n"); \ } +/* True if it is possible to profile code that does not have a frame + pointer. + + The GLIBC version of mcount for the x86 assumes that there is a + frame, so we cannot allow profiling without a frame pointer. */ + +#undef TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER +#define TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER false + #undef SIZE_TYPE #define SIZE_TYPE "unsigned int" |