sparc64: add basic support
[uclibc-ng.git] / libc / sysdeps / linux / arc / crtn.S
blobf507080b3062dcffb38df49598b3bc6f6d5a7856
1 /*
2  * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
3  *
4  * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
5  */
7 ___gnu_compiled_c:
9         .section .init
10         .align 4
11         .global _init
12         .type    _init,@function
13         ; EPILOGUE
14         ld.ab fp,[sp,4]
15         ld blink,[sp,0]
16         j.d [blink]
17         add sp,sp,4
18 ;       .size    _init,.-_init
20         .section .fini
21         .align 4
22         .global _fini
23         .type    _fini,@function
24         ; EPILOGUE
25         ld.ab fp,[sp,4]
26         ld blink,[sp,0]
27         j.d [blink]
28         add sp,sp,4
29 ;       .size    _fini,.-_fini