alpha.c (alpha_does_function_need_gp): Test TARGET_PROFILING_NEEDS_GP in the if,...
authorRichard Henderson <rth@cygnus.com>
Sun, 28 May 2000 02:25:46 +0000 (19:25 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 28 May 2000 02:25:46 +0000 (19:25 -0700)
commit4f1c5cce901c4d53fb9130183ca275ef1d04fe8a
tree64a0402d015893558373f8e8a8ee91f36f3af265
parenta1920fc3d7d9c901cf31eae3b6632b5627eac496
alpha.c (alpha_does_function_need_gp): Test TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.

        * config/alpha/alpha.c (alpha_does_function_need_gp): Test
        TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
        (alpha_expand_prologue): Emit prologue_mcount if needed.
        * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
        * config/alpha/alpha.md (prologue_mcount): New.
        * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
        (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
        * config/alpha/netbsd.h: Likewise.

From-SVN: r34222
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.h
gcc/config/alpha/alpha.md
gcc/config/alpha/linux.h
gcc/config/alpha/netbsd.h