Commit 5bf6466a by David Edelsohn

prepend underscores to itrunc and uitrunc

define RS6000_MCOUNT macro as symbol with underscores

From-SVN: r13906
parent 9c849d2a
......@@ -2209,8 +2209,8 @@ extern int rs6000_trunc_used;
/* Function names to call to do floating point truncation. */
#define RS6000_ITRUNC "itrunc"
#define RS6000_UITRUNC "uitrunc"
#define RS6000_ITRUNC "__itrunc"
#define RS6000_UITRUNC "__uitrunc"
/* Prefix and suffix to use to saving floating point */
#ifndef SAVE_FP_PREFIX
......@@ -2224,6 +2224,9 @@ extern int rs6000_trunc_used;
#define RESTORE_FP_SUFFIX ""
#endif
/* Function name to call to do profiling. */
#define RS6000_MCOUNT ".__mcount"
/* Control the assembler format that we output. */
......@@ -2262,7 +2265,7 @@ extern int rs6000_trunc_used;
private_data_section (); \
text_section (); \
if (profile_flag) \
fputs ("\t.extern .mcount\n", FILE); \
fprintf (FILE, "\t.extern %s\n", RS6000_MCOUNT); \
rs6000_file_start (FILE, TARGET_CPU_DEFAULT); \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment