]> git.ipfire.org Git - thirdparty/gcc.git/commit
sparc.c (sparc_override_options): Don't allow profiling for code models other than...
authorRichard Henderson <rth@cygnus.com>
Mon, 21 Jun 1999 17:48:53 +0000 (10:48 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 21 Jun 1999 17:48:53 +0000 (10:48 -0700)
commitfae042baee25f1a0a55f9378797927ae76c4bd7d
tree180a4788e53301e46ae37d9e0349e3dffea1321b
parent1d8d1fcd6af6faaf6f6a57e2c4dcab045993578e
sparc.c (sparc_override_options): Don't allow profiling for code models other than medlow.

        * sparc.c (sparc_override_options): Don't allow profiling for
        code models other than medlow.
        (sparc_function_profiler): New function from old FUNCTION_PROFILER
        macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
        (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
        (sparc_block_profiler): Likewise.
        (sparc_function_block_profiler_exit): Likewise.
        * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
        (FUNCTION_BLOCK_PROFILER): Likewise.
        (BLOCK_PROFILER): Likewise.
        (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
        (MCOUNT_FUNCTION): New.
        * sparc/pbd.h (FUNCTION_PROFILER): Delete.
        (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
        * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
        (MCOUNT_FUNCTION): New.
        * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
        (BLOCK_PROFILER): Delete.
        (MCOUNT_FUNCTION): New.

From-SVN: r27673
gcc/ChangeLog
gcc/config/sparc/pbd.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sun4o3.h
gcc/config/sparc/sysv4.h