summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/aux-crtn.asm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/aux-crtn.asm')
-rwxr-xr-xgcc/config/m68k/aux-crtn.asm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gcc/config/m68k/aux-crtn.asm b/gcc/config/m68k/aux-crtn.asm
new file mode 100755
index 0000000..ce63d7f
--- /dev/null
+++ b/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 */