Browse Source

* Turn off special handling of interrupt calling convention for i386-android.

git-svn-id: branches/targetandroid@23492 -
yury 12 years ago
parent
commit
e13e2e1697
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/i386/n386cal.pas
  2. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/i386/n386cal.pas

@@ -57,7 +57,7 @@ implementation
 
     procedure ti386callnode.extra_interrupt_code;
       begin
-        if not(target_info.system in [system_i386_darwin,system_i386_iphonesim]) then
+        if not(target_info.system in [system_i386_darwin,system_i386_iphonesim,system_i386_android]) then
           begin
             emit_none(A_PUSHF,S_L);
             emit_reg(A_PUSH,S_L,NR_CS);

+ 1 - 1
compiler/x86/cgx86.pas

@@ -2155,7 +2155,7 @@ unit cgx86;
         { interrupt support for i386 }
         if (po_interrupt in current_procinfo.procdef.procoptions) and
            { this messes up stack alignment }
-           not(target_info.system in [system_i386_darwin,system_i386_iphonesim]) then
+           not(target_info.system in [system_i386_darwin,system_i386_iphonesim,system_i386_android]) then
           begin
             { .... also the segment registers }
             list.concat(Taicpu.Op_reg(A_PUSH,S_W,NR_GS));