blob: ba804eb454e64a9acf191e02b1c633a3321bce79 (
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 [PROLOG] */
.section .init
.align 4
.global _init
.type _init, @function
_init:
#if defined(__XTENSA_WINDOWED_ABI__)
entry sp, 48
#elif defined(__XTENSA_CALL0_ABI__)
addi sp, sp, -16
s32i a0, sp, 0
#else
#error Unsupported Xtensa ABI
#endif
.section .fini
.align 4
.global _fini
.type _fini, @function
_fini:
#if defined(__XTENSA_WINDOWED_ABI__)
entry sp, 48
#elif defined(__XTENSA_CALL0_ABI__)
addi sp, sp, -16
s32i a0, sp, 0
#else
#error Unsupported Xtensa ABI
#endif
|