summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/m68k/aux-crtn.asm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/config/m68k/aux-crtn.asm')
-rw-r--r--gnu/usr.bin/gcc/config/m68k/aux-crtn.asm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/m68k/aux-crtn.asm b/gnu/usr.bin/gcc/config/m68k/aux-crtn.asm
new file mode 100644
index 00000000000..ce63d7fead7
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/m68k/aux-crtn.asm
@@ -0,0 +1,26 @@
+/* More startup code for A/UX */
+
+#include "tm.h"
+
+#ifdef USE_BIN_AS
+ file "crtn.s"
+
+ init
+
+ unlk %fp
+ rts
+#else
+ .file "crtn.s"
+
+.section .init, "x"
+ unlk %fp
+ rts
+
+#ifndef USE_COLLECT2
+.section .ctors, "d"
+ .long 0
+
+.section .dtors, "d"
+ .long 0
+#endif /* USE_COLLECT2 */
+#endif /* USE_BIN_AS */