blob: 597be363dce62211d7ca5d76d00a05209fc71557 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001 .file "initfini.c"
2 .section .text..SHmedia32,"ax"
3 .little
4
5 .section .init
6 .hidden _init
7 .align 2
8 .global _init
9 .type _init, @function
10_init:
11 addi.l r15, -16, r15
12 st.l r15, 4, r12
13 movi (((datalabel _GLOBAL_OFFSET_TABLE_-(.LPCS0-.)) >> 16) & 65535), r12
14 shori ((datalabel _GLOBAL_OFFSET_TABLE_-(.LPCS0-.)) & 65535), r12
15 .LPCS0: ptrel/u r12, tr0
16 st.l r15, 8, r14
17 st.l r15, 12, r18
18 add.l r15, r63, r14
19 gettr tr0, r12
20
21 .align 2
22
23
24 .section .fini
25 .hidden _fini
26 .align 2
27 .global _fini
28 .type _fini, @function
29_fini:
30 addi.l r15, -16, r15
31 st.l r15, 4, r12
32 movi (((datalabel _GLOBAL_OFFSET_TABLE_-(.LPCS1-.)) >> 16) & 65535), r12
33 shori ((datalabel _GLOBAL_OFFSET_TABLE_-(.LPCS1-.)) & 65535), r12
34 .LPCS1: ptrel/u r12, tr0
35 st.l r15, 8, r14
36 st.l r15, 12, r18
37 add.l r15, r63, r14
38 gettr tr0, r12
39 .align 2
40
41
42 .ident "GCC: (GNU) 3.3.2"