summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/kvx/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/kvx/crtn.S')
-rw-r--r--libc/sysdeps/linux/kvx/crtn.S33
1 files changed, 33 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/kvx/crtn.S b/libc/sysdeps/linux/kvx/crtn.S
new file mode 100644
index 000000000..c1ba48096
--- /dev/null
+++ b/libc/sysdeps/linux/kvx/crtn.S
@@ -0,0 +1,33 @@
+/*
+ * This file is subject to the terms and conditions of the LGPL V2.1
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2018 Kalray Inc.
+ */
+
+ .section .init
+ .align 8
+ .global _init
+ .type _init,@function
+ # EPILOGUE
+ lq $r14r15 = 0[$sp]
+ ;;
+ set $ra = $r15
+ addd $sp = $sp, 32
+ ;;
+ ret
+ ;;
+
+ .section .fini
+ .align 8
+ .global _fini
+ .type _fini,@function
+ # EPILOGUE
+ lq $r14r15 = 0[$sp]
+ ;;
+ set $ra = $r15
+ addd $sp = $sp, 32
+ ;;
+ ret
+ ;;