sparc.c (sparc_override_options): Don't allow profiling for code models other than...
authorRichard Henderson <rth@cygnus.com>
Mon, 21 Jun 1999 17:47:44 +0000 (10:47 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 21 Jun 1999 17:47:44 +0000 (10:47 -0700)
commit2be15d0fe6c4baaa54a75580fc5333c4b092009f
treea99da405152b364cbdfe9d3e91858d70b9a20881
parente8d49b5b5e0f6b26f866695c917d789f92885c10
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: r27672
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