[gn] port afa8aeeeec (RISCVGenExegesis.inc)
[llvm-project.git] / lld / test / wasm / Inputs / ctor-setup-call-def.s
blob511cedbd010e3dafc0c31cd17a23bbfff4049209
1 # Like Inputs/ctor-setup.s, except it calls `def` instead of `lib_func`,
2 # so it pulls in the .o file containing `ctor`.
4 .functype def () -> ()
6 .section .text._start,"",@
7 .globl _start
8 _start:
9 .functype _start () -> ()
10 end_function
12 .section .text.setup,"",@
13 .globl setup
14 setup:
15 .functype setup () -> ()
16 call def
17 end_function
19 .section .init_array,"",@
20 .p2align 2
21 .int32 setup