diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-15 14:57:12 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-15 14:57:12 +0000 |
commit | af23924fc5183212eda13e837fb472a2258f3e55 (patch) | |
tree | 43591b0682e50da60e903e7c99507c3f031bfdad /gcc/config/i386/freebsd.h | |
parent | 894e4f5609725fec3e384a82b47871b4c1036da8 (diff) | |
download | gcc-af23924fc5183212eda13e837fb472a2258f3e55.tar.gz |
* i386-protos.h (x86_function_profiler): New function
* i386.h (MCOUNT_NAME): New.
(PROFILE_COUNT_REGISTER): New.
(OUTPUT_FUNCTION_PROFILER): Move offline to ...
* i386.c (x86_function_profiler) ... here; fix 64bit support
* beos-elf.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
* freebsd-aout.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
(PROFILE_COUNT_REGISTER): New.
* linux.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
* x86-64.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
* freebsd.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59132 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/freebsd.h')
-rw-r--r-- | gcc/config/i386/freebsd.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index f209a151cf4..e0160b1e048 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -47,14 +47,8 @@ Boston, MA 02111-1307, USA. */ /* Tell final.c that we don't need a label passed to mcount. */ -#undef FUNCTION_PROFILER -#define FUNCTION_PROFILER(FILE, LABELNO) \ -{ \ - if (flag_pic) \ - fprintf ((FILE), "\tcall *.mcount@GOT(%%ebx)\n"); \ - else \ - fprintf ((FILE), "\tcall .mcount\n"); \ -} +#undef MCOUNT_NAME +#define MCOUNT_NAME ".mcount" /* Make gcc agree with <machine/ansi.h>. */ |