summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/xtensa/crti.S')
-rw-r--r--libc/sysdeps/linux/xtensa/crti.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/xtensa/crti.S b/libc/sysdeps/linux/xtensa/crti.S
new file mode 100644
index 000000000..a01c02c9f
--- /dev/null
+++ b/libc/sysdeps/linux/xtensa/crti.S
@@ -0,0 +1,16 @@
+/* glibc's sysdeps/xtensa/elf/initfini.c used for reference [PROLOG] */
+
+ .section .init
+ .align 4
+ .global _init
+ .type _init, @function
+_init:
+ entry sp, 48
+
+
+ .section .fini
+ .align 4
+ .global _fini
+ .type _fini, @function
+_fini:
+ entry sp, 48