summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/sparc/sun4o3.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/config/sparc/sun4o3.h')
-rw-r--r--gnu/usr.bin/gcc/config/sparc/sun4o3.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/sparc/sun4o3.h b/gnu/usr.bin/gcc/config/sparc/sun4o3.h
new file mode 100644
index 00000000000..5fcb72f4a63
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/sparc/sun4o3.h
@@ -0,0 +1,10 @@
+#include "sparc/sparc.h"
+
+#undef FUNCTION_PROFILER
+#define FUNCTION_PROFILER(FILE, LABELNO) \
+ fprintf (FILE, "\tsethi %%hi(LP%d),%%o0\n\tcall .mcount\n\tor %%lo(LP%d),%%o0,%%o0\n", \
+ (LABELNO), (LABELNO))
+
+/* LINK_SPEC is needed only for Sunos 4. */
+
+#undef LINK_SPEC