summaryrefslogtreecommitdiff
path: root/compiler/hlcgobj.pas
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-09-28 02:54:37 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-09-28 02:54:37 +0000
commitb8b26cc9ab032cabe13acd36c32e5d0d08948da3 (patch)
treef74169df712d816eaed43c1d552342ab81db1ec1 /compiler/hlcgobj.pas
parent72dfe808a0b7ecafa4e9739776724b3f4f708e23 (diff)
downloadfpc-b8b26cc9ab032cabe13acd36c32e5d0d08948da3.tar.gz
* use the .set directive for procedure aliases
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/wasm@46982 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/hlcgobj.pas')
-rw-r--r--compiler/hlcgobj.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/hlcgobj.pas b/compiler/hlcgobj.pas
index ceaec20f3e..d56ae070cf 100644
--- a/compiler/hlcgobj.pas
+++ b/compiler/hlcgobj.pas
@@ -4677,7 +4677,7 @@ implementation
they can be interpreted as all different starting symbols of
subsections and be reordered }
if (item<>firstitem) and
- (target_info.system in systems_darwin) then
+ (target_info.system in (systems_darwin+systems_wasm)) then
begin
{ the .set already defines the symbol, so can't emit a tai_symbol as that will redefine it }
if global then