diff options
author | Richard Henderson <rth@redhat.com> | 2002-05-30 14:01:20 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-05-30 14:01:20 -0700 |
commit | a7943381121420155a686f4d9a086acef1c95548 (patch) | |
tree | 3189b9893a9a67b8c812585c0cceff80317e6568 /gcc/doc | |
parent | de215bc6c56442bfb501afca9d8eaef9a3594066 (diff) | |
download | gcc-a7943381121420155a686f4d9a086acef1c95548.zip gcc-a7943381121420155a686f4d9a086acef1c95548.tar.gz gcc-a7943381121420155a686f4d9a086acef1c95548.tar.bz2 |
defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* toplev.c (process_options): Don't check it.
* doc/tm.texi: Don't document it.
* config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
(TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
frame pointer optimization if current_function_profile.
From-SVN: r54072
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index f82fd60..cc87da6 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -4160,22 +4160,6 @@ must not use the @var{labelno} argument to @code{FUNCTION_PROFILER}. @item PROFILE_BEFORE_PROLOGUE Define this macro if the code for function profiling should come before the function prologue. Normally, the profiling code comes after. - - -@findex TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER -@item TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER -On some targets, it is impossible to use profiling when the frame -pointer has been omitted. For example, on x86 GNU/Linux systems, -the @code{mcount} routine provided by the GNU C Library finds the -address of the routine that called the routine that called @code{mcount} -by looking in the immediate caller's stack frame. If the immediate -caller has no frame pointer, this lookup will fail. - -By default, GCC assumes that the target does allow profiling when the -frame pointer is omitted. This macro should be defined to a C -expression that evaluates to @code{false} if the target does not allow -profiling when the frame pointer is omitted. - @end table @node Tail Calls |