aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-03-27 23:22:27 +0000
committerRichard Stallman <rms@gnu.org>1992-03-27 23:22:27 +0000
commit58a39e45318f2925dcf91f220736685597b1abe8 (patch)
treee9d998b92af73c66d8e6494f048f57a685f8796b /gcc
parent9835f5a12b62171d7e4be70de135dfb68de8207b (diff)
downloadgcc-58a39e45318f2925dcf91f220736685597b1abe8.zip
gcc-58a39e45318f2925dcf91f220736685597b1abe8.tar.gz
gcc-58a39e45318f2925dcf91f220736685597b1abe8.tar.bz2
*** empty log message ***
From-SVN: r600
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 0ef3557..eb8929a 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -51,8 +51,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define LINK_SPEC "-T512 -H512 -btextro -bhalt:4 -bnodelcsect"
-/* Add -lfp_p when running with -p or -pg. */
-#define LIB_SPEC "%{pg:-lfp_p}%{p:-lfp_p} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+/* Profiled library versions are used by linking with special directories. */
+#define LIB_SPEC "%{pg:-L/lib/profiled -L/usr/lib/profiled}\
+ %{p:-L/lib/profiled -L/usr/lib/profiled} %{g*:-lg} -lc"
/* gcc must do the search itself to find libgcc.a, not use -l. */
#define LINK_LIBGCC_SPECIAL
@@ -93,13 +94,11 @@ extern int target_flags;
} \
}
-/* Define this to modify the options specified by the user.
-
- We turn off profiling because we don't know how to do it. */
+/* Define this to modify the options specified by the user. */
#define OVERRIDE_OPTIONS \
{ \
- profile_flag = profile_block_flag = 0; \
+ profile_block_flag = 0; \
}
/* target machine storage layout */
@@ -781,12 +780,10 @@ struct rs6000_args {int words, fregno, nargs_prototype; };
#define FUNCTION_PROLOGUE(FILE, SIZE) output_prolog (FILE, SIZE)
/* Output assembler code to FILE to increment profiler label # LABELNO
- for profiling a function entry.
-
- I have no real idea what r3 should point to here. */
+ for profiling a function entry. */
#define FUNCTION_PROFILER(FILE, LABELNO) \
- fprintf(FILE, "\tbl mcount\n");
+ output_function_profiler ((FILE), (LABELNO));
/* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
the stack pointer does not matter. No definition is equivalent to