bolt/deps/llvm-18.1.8/lld/test/wasm/Inputs/ctor-setup.s

21 lines
327 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# Like Inputs/ctor-start.s, except it calls `lib_func` from a ctor
# instead of from `_start`.
.functype lib_func () -> ()
.globl _start
_start:
.functype _start () -> ()
end_function
.globl setup
setup:
.functype setup () -> ()
call lib_func
end_function
.section .init_array,"",@
.p2align 2
.int32 setup