blob: 6f797e8bdd6085ce079e9be82df2aaad529590b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* glibc's sysdeps/xtensa/elf/initfini.c used for reference [EPILOG] */
.section .init
#if defined(__XTENSA_WINDOWED_ABI__)
retw
#elif defined(__XTENSA_CALL0_ABI__)
#ifdef __FDPIC__
l32i a12, sp, 4
#endif
l32i a0, sp, 0
addi sp, sp, 16
ret
#else
#error Unsupported Xtensa ABI
#endif
.section .fini
#if defined(__XTENSA_WINDOWED_ABI__)
retw
#elif defined(__XTENSA_CALL0_ABI__)
#ifdef __FDPIC__
l32i a12, sp, 4
#endif
l32i a0, sp, 0
addi sp, sp, 16
ret
#else
#error Unsupported Xtensa ABI
#endif
|