diff options
Diffstat (limited to 'libc/sysdeps/linux/metag/crti.S')
-rw-r--r-- | libc/sysdeps/linux/metag/crti.S | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/metag/crti.S b/libc/sysdeps/linux/metag/crti.S new file mode 100644 index 000000000..f7fca542d --- /dev/null +++ b/libc/sysdeps/linux/metag/crti.S @@ -0,0 +1,19 @@ +! Copyright (C) 2013 Imagination Technologies Ltd. + +! Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. + + .section .init + .global __init + .type __init,function +__init: + MOV D0FrT, A0FrP + ADD A0FrP, A0StP, #0 + SETL [A0StP++], D0.4, D1RtP + + .section .fini + .global __fini + .type __fini,function +__fini: + MOV D0FrT, A0FrP + ADD A0FrP, A0StP, #0 + SETL [A0StP++], D0.4, D1RtP |