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