Parent Directory
|
Revision Log
feat: add plibc to the project
1 | .section .rodata |
2 | .globl __uar_data_start |
3 | __uar_data_start: |
4 | .incbin "test-archive.uar" |
5 | .globl __uar_data_end |
6 | __uar_data_end: |
7 | .byte 0x00 |
8 | __uar_data_size: |
9 | .quad __uar_data_end - __uar_data_start |
10 | |
11 | .text |
12 | .globl _start |
13 | |
14 | .type main, @function |
15 | main: |
16 | call libuar_init |
17 | call _c_start |
18 | push %rax |
19 | call libuar_deinit |
20 | pop %rax |
21 | ret |
22 | |
23 | _start: |
24 | mov $0, %rdi |
25 | mov %rsp, %rsi |
26 | mov $0, %rdx |
27 | call main |
28 | mov %rax, %rdi |
29 | call exit |
30 | |
31 | .section .note.GNU-stack,"",@progbits |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |