summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-06-11 15:51:40 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-06-11 15:51:40 +0000
commit1e48a290be811ceb35ea322e25b2b3193629d950 (patch)
tree233c06bdee89989f1ea51f0bb8b4104bc9f0a685
parent65af65084b94c5f3b8d2d402c4b63d885338f9bb (diff)
downloadfpc-1e48a290be811ceb35ea322e25b2b3193629d950.tar.gz
+ added the asmmodes_x86_att set constant - similar to asmmode_x86_intel, but for AT&T asm syntax
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42212 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/systems.pas11
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler/systems.pas b/compiler/systems.pas
index e5414a22e5..25d2ea2b30 100644
--- a/compiler/systems.pas
+++ b/compiler/systems.pas
@@ -440,6 +440,17 @@ interface
asmmode_x86_64_intel
];
+ { x86 asm modes with an AT&T-style syntax }
+ asmmodes_x86_att = [
+{$if defined(i386) or defined(x86_64)}
+ asmmode_standard,
+{$endif}
+ asmmode_i8086_att,
+ asmmode_i386_att,
+ asmmode_x86_64_att,
+ asmmode_x86_64_gas
+ ];
+
var
targetinfos : array[tsystem] of psysteminfo;
arinfos : array[tar] of parinfo;