1 .weak weakFn 2weakFn: 3 .functype weakFn () -> (i32) 4 i32.const 1 5 end_function 6 7 .globl exportWeak1 8exportWeak1: 9 .functype exportWeak1 () -> (i32) 10 i32.const weakFn 11 end_function 12 13 .section .data.weakGlobal,"",@ 14 .weak weakGlobal 15weakGlobal: 16 .int32 1 17 .size weakGlobal, 4 18