22 lines · plain
1# Like Inputs/ctor-setup.s, except it calls `def` instead of `lib_func`,2# so it pulls in the .o file containing `ctor`.3 4.functype def () -> ()5 6 .section .text._start,"",@7 .globl _start8_start:9 .functype _start () -> ()10 end_function11 12 .section .text.setup,"",@13 .globl setup14setup:15 .functype setup () -> ()16 call def17 end_function18 19 .section .init_array,"",@20 .p2align 221 .int32 setup22