|
@@ -273,6 +273,9 @@ implementation
|
|
|
cpubase,cpuinfo,paramgr,
|
|
|
fmodule,
|
|
|
defutil,symtable,symcpu,ppu
|
|
|
+{$ifdef wasm}
|
|
|
+ ,aasmcpu
|
|
|
+{$endif wasm}
|
|
|
{$ifdef OMFOBJSUPPORT}
|
|
|
,dbgcodeview
|
|
|
{$endif OMFOBJSUPPORT}
|
|
@@ -2387,7 +2390,7 @@ implementation
|
|
|
{$ifdef wasm}
|
|
|
templist.concat(tai_const.create_8bit(ord(DW_OP_WASM_location)));
|
|
|
templist.concat(tai_const.create_8bit(3)); { wasm global }
|
|
|
- templist.concat(tai_const.Create_type_name(aitconst_ptr_unaligned,TLS_BASE_SYM,AT_WASM_GLOBAL,0));
|
|
|
+ templist.concat(tai_const.Create_type_name(aitconst_ptr_unaligned,TLS_BASE_SYM,TWasmGlobalAsmSymbol,AT_WASM_GLOBAL,0));
|
|
|
templist.concat(tai_const.create_8bit(ord(DW_OP_addr)));
|
|
|
templist.concat(tai_const.Create_type_name(aitconst_ptr_unaligned,sym.mangledname,0));
|
|
|
templist.concat(tai_const.create_8bit(ord(DW_OP_plus)));
|