diff options
Diffstat (limited to 'libc/sysdeps/linux/or1k/crti.S')
-rw-r--r-- | libc/sysdeps/linux/or1k/crti.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/or1k/crti.S b/libc/sysdeps/linux/or1k/crti.S new file mode 100644 index 000000000..a96476b5e --- /dev/null +++ b/libc/sysdeps/linux/or1k/crti.S @@ -0,0 +1,11 @@ + .section .init + .global _init +_init: + l.addi r1,r1,-4 + l.sw 0(r1),r9 + + .section .fini + .global _fini +_fini: + l.addi r1,r1,-4 + l.sw 0(r1),r9 |