2
0
Эх сурвалжийг харах

+ assembler mode forced to ATT style for x86 cpu

mazen 22 жил өмнө
parent
commit
84e8f0e96b

+ 5 - 1
rtl/i386/mathu.inc

@@ -13,6 +13,7 @@
 
 **********************************************************************}
 
+{$ASMMODE ATT}
 {$define FPC_MATH_HAS_ARCTAN2}
 function arctan2(y,x : float) : float;assembler;
   asm
@@ -76,7 +77,10 @@ end;
 
 {
   $Log$
-  Revision 1.2  2003-10-26 15:58:05  florian
+  Revision 1.3  2003-10-31 09:20:11  mazen
+  + assembler mode forced to ATT style for x86 cpu
+
+  Revision 1.2  2003/10/26 15:58:05  florian
     * fixed arctan2 to handle x=0 correctly as well
 
   Revision 1.1  2003/04/24 09:16:31  florian

+ 5 - 1
rtl/linux/i386/syscallo.inc

@@ -30,6 +30,7 @@ Procedure Do_SysCallspec( callnr:longint;var regs : SysCallregs );assembler;{$if
   copies back the registers as they are after the SysCall.
 }
 {$ifdef cpui386}
+{$ASMMODE ATT}
 {$define fpc_syscall_ok}
 asm
 { load the registers... }
@@ -188,7 +189,10 @@ end;
 
 {
   $Log$
-  Revision 1.1  2003-10-30 16:16:49  marco
+  Revision 1.2  2003-10-31 09:22:02  mazen
+  + assembler mode forced to ATT style for x86 cpu
+
+  Revision 1.1  2003/10/30 16:16:49  marco
    * moved legacy syscall to i386/
 
   Revision 1.7  2003/10/29 19:45:44  peter