From 10d20cd26ff1345d3d2d9784719aba74a0821b68 Mon Sep 17 00:00:00 2001 From: "5684185+vsariola@users.noreply.github.com" <5684185+vsariola@users.noreply.github.com> Date: Sun, 5 May 2024 11:33:47 +0300 Subject: [PATCH] fix(vm/compiler): export as su_pow, instead of su_power The export redefinition of label, even though the labels were on the same line. This was an issue for yasm. Related to #134. --- vm/compiler/templates/amd64-386/patch.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/compiler/templates/amd64-386/patch.asm b/vm/compiler/templates/amd64-386/patch.asm index 1ec81dd..eded3d0 100644 --- a/vm/compiler/templates/amd64-386/patch.asm +++ b/vm/compiler/templates/amd64-386/patch.asm @@ -114,7 +114,7 @@ su_op_advance_finish: ; Output: st0 : 2^x ;------------------------------------------------------------------------------- {{- if not (.HasCall "su_nonlinear_map")}}{{.SectText "su_power"}}{{end}} -{{.Export "su_power" 0}} +{{.Export "su_pow" 0}} su_power: fld1 ; 1 x fld st1 ; x 1 x