浏览代码

* use the .set directive for procedure aliases

git-svn-id: branches/wasm@46982 -
nickysn 4 年之前
父节点
当前提交
60762dbfee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/hlcgobj.pas

+ 1 - 1
compiler/hlcgobj.pas

@@ -4677,7 +4677,7 @@ implementation
             they can be interpreted as all different starting symbols of
             they can be interpreted as all different starting symbols of
             subsections and be reordered }
             subsections and be reordered }
           if (item<>firstitem) and
           if (item<>firstitem) and
-             (target_info.system in systems_darwin) then
+             (target_info.system in (systems_darwin+systems_wasm)) then
             begin
             begin
               { the .set already defines the symbol, so can't emit a tai_symbol as that will redefine it }
               { the .set already defines the symbol, so can't emit a tai_symbol as that will redefine it }
               if global then
               if global then