aboutsummaryrefslogtreecommitdiff
path: root/gcc-1.40/config/tm-sun4os3.h
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
commit60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f (patch)
treefdc0be85a1ca35e34c3ae2c805fe9b718e3c1091 /gcc-1.40/config/tm-sun4os3.h
parentdd8dfab51b832a654365ed00c06bf802ff628bfa (diff)
downloadlinux-0.01-distro-master.tar.gz
linux-0.01-distro-master.tar.bz2
linux-0.01-distro-master.zip
Added gccHEADmaster
Diffstat (limited to 'gcc-1.40/config/tm-sun4os3.h')
-rw-r--r--gcc-1.40/config/tm-sun4os3.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc-1.40/config/tm-sun4os3.h b/gcc-1.40/config/tm-sun4os3.h
new file mode 100644
index 0000000..a0334d9
--- /dev/null
+++ b/gcc-1.40/config/tm-sun4os3.h
@@ -0,0 +1,15 @@
+#include "tm-sparc.h"
+
+/* Define the Sun-asm flag, which is necessary for Sun 4 with os version 3. */
+#undef TARGET_DEFAULT
+#define TARGET_DEFAULT 7
+
+#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
+