;;; TOOL: run-wasm-link ;;; FLAGS: (module (func $func1 (param i32)) (table anyfunc (elem $func1 $func1)) ) (module (func $func2 (param i64)) (func $func3 (param f64)) (table anyfunc (elem $func3 $func2 $func2)) ) (;; STDOUT ;;; linked.wasm: file format wasm 0x1 Sections: Type start=0x0000000a end=0x00000017 (size=0x0000000d) count: 3 Function start=0x0000001d end=0x00000021 (size=0x00000004) count: 3 Table start=0x00000027 end=0x0000002c (size=0x00000005) count: 1 Elem start=0x00000032 end=0x00000051 (size=0x0000001f) count: 1 Code start=0x00000053 end=0x0000005d (size=0x0000000a) count: 3 Custom start=0x00000063 end=0x0000007f (size=0x0000001c) "reloc.Elem" Section Details: Type: - [0] (i32) -> nil - [1] (i64) -> nil - [2] (f64) -> nil Function: - func[0] sig=0 - func[1] sig=1 - func[2] sig=2 Table: - table[0] type=anyfunc initial=5 max=5 Elem: - segment[0] table=0 - init i32=0 - func[0] - func[0] - func[2] - func[1] - func[1] Custom: - name: "reloc.Elem" - section: Elem - R_FUNC_INDEX_LEB offset=0x000006(file=0x000038) index=00000000 - R_FUNC_INDEX_LEB offset=0x00000b(file=0x00003d) index=00000000 - R_FUNC_INDEX_LEB offset=0x000010(file=0x000042) index=0x000002 - R_FUNC_INDEX_LEB offset=0x000015(file=0x000047) index=0x000001 - R_FUNC_INDEX_LEB offset=0x00001a(file=0x00004c) index=0x000001 Code Disassembly: 000054 func[0]: 000056: 0b | end 000057 func[1]: 000059: 0b | end 00005a func[2]: 00005c: 0b | end ;;; STDOUT ;;)