You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
397 B
22 lines
397 B
7 months ago
|
# Like Inputs/ctor-setup.s, except it calls `def` instead of `lib_func`,
|
||
|
# so it pulls in the .o file containing `ctor`.
|
||
|
|
||
|
.section .text._start,"",@
|
||
|
.globl _start
|
||
|
_start:
|
||
|
.functype _start () -> ()
|
||
|
end_function
|
||
|
|
||
|
.section .text.setup,"",@
|
||
|
.globl setup
|
||
|
setup:
|
||
|
.functype setup () -> ()
|
||
|
call def
|
||
|
end_function
|
||
|
|
||
|
.section .init_array,"",@
|
||
|
.p2align 2
|
||
|
.int32 setup
|
||
|
|
||
|
.functype def () -> ()
|