Browse Source

* __stack_top renamed __stack_pointer (which seems to follow the C ABI correctly)

git-svn-id: branches/wasm@46996 -
nickysn 4 years ago
parent
commit
e5b0d9cf32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/wasm32/cpubase.pas

+ 1 - 1
compiler/wasm32/cpubase.pas

@@ -273,7 +273,7 @@ uses
       maxfpuregs = 0;
       maxfpuregs = 0;
       FRAME_POINTER_SYM = '$fp';
       FRAME_POINTER_SYM = '$fp';
       BASE_POINTER_SYM = '$bp';
       BASE_POINTER_SYM = '$bp';
-      STACK_POINTER_SYM = '__stack_top';
+      STACK_POINTER_SYM = '__stack_pointer';
 
 
 {*****************************************************************************
 {*****************************************************************************
                                   Helpers
                                   Helpers