From 76f5b362bfc2665196048f8d811f259614db0072 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 29 Oct 2020 11:44:20 -0700 Subject: Remove support for emscripten legacy PIC ABI (#3299) --- test/lld/main_module_table_5.wat.out | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'test/lld/main_module_table_5.wat.out') diff --git a/test/lld/main_module_table_5.wat.out b/test/lld/main_module_table_5.wat.out index a2526fc48..67abcbbff 100644 --- a/test/lld/main_module_table_5.wat.out +++ b/test/lld/main_module_table_5.wat.out @@ -1,18 +1,15 @@ (module (type $none_=>_none (func)) (type $i32_=>_none (func (param i32))) - (type $none_=>_i32 (func (result i32))) (import "env" "table" (table $timport$9 1 funcref)) (elem (global.get $tb) $other $stuff) (import "env" "__stack_pointer" (global $sp (mut i32))) + (import "GOT.func" "__stdio_write" (global $gimport$9 (mut i32))) (import "env" "__table_base" (global $tb i32)) - (import "env" "fp$__stdio_write$v" (func $fp$__stdio_write$v (result i32))) - (global $gimport$9 (mut i32) (i32.const 0)) (global $global i32 (i32.const 42)) (export "__stdio_write" (func $__stdio_write)) (export "__data_end" (global $global)) (export "dynCall_v" (func $dynCall_v)) - (export "__assign_got_enties" (func $__assign_got_enties)) (func $__stdio_write (nop) ) @@ -22,11 +19,6 @@ (func $stuff (nop) ) - (func $__assign_got_enties - (global.set $gimport$9 - (call $fp$__stdio_write$v) - ) - ) (func $dynCall_v (param $fptr i32) (call_indirect (type $none_=>_none) (local.get $fptr) @@ -38,20 +30,16 @@ { "staticBump": 4294966770, "tableSize": 1, - "initializers": [ - "__assign_got_enties" - ], "declares": [ - "fp$__stdio_write$v" ], "externs": [ "___stack_pointer", + "___stdio_write", "___table_base" ], "exports": [ "__stdio_write", - "dynCall_v", - "__assign_got_enties" + "dynCall_v" ], "namedGlobals": { "__data_end" : "42" -- cgit v1.2.3