Browse Source

+ assembler mode forced to ATT style for x86 cpu

mazen 22 years ago
parent
commit
84e8f0e96b
2 changed files with 10 additions and 2 deletions
  1. 5 1
      rtl/i386/mathu.inc
  2. 5 1
      rtl/linux/i386/syscallo.inc

+ 5 - 1
rtl/i386/mathu.inc

@@ -13,6 +13,7 @@
 
 
 **********************************************************************}
 **********************************************************************}
 
 
+{$ASMMODE ATT}
 {$define FPC_MATH_HAS_ARCTAN2}
 {$define FPC_MATH_HAS_ARCTAN2}
 function arctan2(y,x : float) : float;assembler;
 function arctan2(y,x : float) : float;assembler;
   asm
   asm
@@ -76,7 +77,10 @@ end;
 
 
 {
 {
   $Log$
   $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
     * fixed arctan2 to handle x=0 correctly as well
 
 
   Revision 1.1  2003/04/24 09:16:31  florian
   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.
   copies back the registers as they are after the SysCall.
 }
 }
 {$ifdef cpui386}
 {$ifdef cpui386}
+{$ASMMODE ATT}
 {$define fpc_syscall_ok}
 {$define fpc_syscall_ok}
 asm
 asm
 { load the registers... }
 { load the registers... }
@@ -188,7 +189,10 @@ end;
 
 
 {
 {
   $Log$
   $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/
    * moved legacy syscall to i386/
 
 
   Revision 1.7  2003/10/29 19:45:44  peter
   Revision 1.7  2003/10/29 19:45:44  peter