aboutsummaryrefslogtreecommitdiff
path: root/lld/test/wasm/Inputs/start-lib1.s
blob: 9ebfdbc2f61e1c12df4f4b31fe4971d659fc0c0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.functype bar () -> ()

.globl foo
foo:
  .functype foo () -> ()
  call bar
  end_function

# Static constructor inserted here to ensure the object file is not
# being processed as "live".  Live object files have their static constructors
# preserved even if no symbol within is used.
.section .init_array,"",@
  .p2align 2
  .int32 foo