aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/m88k/t-dgux-gas21
-rw-r--r--gcc/config/m88k/t-luna-gas12
-rw-r--r--gcc/config/m88k/t-m88k-gas17
3 files changed, 50 insertions, 0 deletions
diff --git a/gcc/config/m88k/t-dgux-gas b/gcc/config/m88k/t-dgux-gas
new file mode 100644
index 0000000..6fbe426
--- /dev/null
+++ b/gcc/config/m88k/t-dgux-gas
@@ -0,0 +1,21 @@
+# Specify how to create the *.asm files
+
+MOVE_ASM = moveHI15x.asm moveQI16x.asm moveSI46x.asm moveSI64n.asm \
+ moveHI48x.asm moveSI45x.asm moveSI47x.asm moveSI96x.asm \
+ moveDI96x.asm
+
+$(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
+ $(srcdir)/config/m88k/m88k-move.sh
+
+LIB2FUNCS_EXTRA = $(MOVE_ASM)
+LIBGCC1 = libgcc1.null
+T_CPPFLAGS = -DUSE_GAS
+
+# For DG/UX we build crtbegin.o and crtend.o which serve to add begin and
+# end labels to the .ctors and .dtors section when we link using gcc.
+# In a coff environment, a link script is required.
+
+EXTRA_PARTS=crtbegin.o crtend.o m88kdgux.ld
+
+m88kdgux.ld: $(srcdir)/config/m88k/dgux.ld
+ rm -f m88kdgux.ld; cp $(srcdir)/config/m88k/dgux.ld ./m88kdgux.ld
diff --git a/gcc/config/m88k/t-luna-gas b/gcc/config/m88k/t-luna-gas
new file mode 100644
index 0000000..cc93997
--- /dev/null
+++ b/gcc/config/m88k/t-luna-gas
@@ -0,0 +1,12 @@
+# Specify how to create the *.asm files
+
+MOVE_ASM = moveHI15x.asm moveQI16x.asm moveSI46x.asm moveSI64n.asm \
+ moveHI48x.asm moveSI45x.asm moveSI47x.asm moveSI96x.asm \
+ moveDI96x.asm
+
+$(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
+ bash $(srcdir)/config/m88k/m88k-move.sh -no-tdesc
+
+LIB2FUNCS_EXTRA = $(MOVE_ASM)
+LIBGCC1 = libgcc1.null
+T_CPPFLAGS = -DUSE_GAS
diff --git a/gcc/config/m88k/t-m88k-gas b/gcc/config/m88k/t-m88k-gas
new file mode 100644
index 0000000..5ff36e9
--- /dev/null
+++ b/gcc/config/m88k/t-m88k-gas
@@ -0,0 +1,17 @@
+# Specify how to create the *.asm files
+
+MOVE_ASM = moveHI15x.asm moveQI16x.asm moveSI46x.asm moveSI64n.asm \
+ moveHI48x.asm moveSI45x.asm moveSI47x.asm moveSI96x.asm \
+ moveDI96x.asm
+
+$(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
+ $(srcdir)/config/m88k/m88k-move.sh
+
+LIB2FUNCS_EXTRA = $(MOVE_ASM)
+LIBGCC1 = libgcc1.null
+T_CPPFLAGS = -DUSE_GAS
+
+# For svr4 we build crtbegin.o and crtend.o which serve to add begin and
+# end labels to the .ctors and .dtors section when we link using gcc.
+
+EXTRA_PARTS=crtbegin.o crtend.o