diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2007-12-01 14:34:50 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2007-12-01 14:34:50 +0000 |
commit | 0045cce1e96bef63a067f13cd26a3fa657e4533d (patch) | |
tree | 191686f2cd6b3faf5fb4bc90490fb3c91f820ac9 /tests/webtbs/tw1117.pp | |
parent | eaadaa3af8013b7925a334168c9989eb0ea1953f (diff) | |
download | fpc-0045cce1e96bef63a067f13cd26a3fa657e4533d.tar.gz |
* fixed tests now that i386 assembler code is checked for correct PIC
usage in case PIC generation is on (some by adding PIC-versions of
the assembler code, most by adding -Cg- to the options to be used).
Note: the Intel assembler reader does not yet support the Delphi
PIC construct, so tests with that (like test/tasmread and test/tcg1)
do not work with -Cg on non-Darwin (Darwin needs a different PIC
construct)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@9370 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/webtbs/tw1117.pp')
-rw-r--r-- | tests/webtbs/tw1117.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/webtbs/tw1117.pp b/tests/webtbs/tw1117.pp index 0a4fbf9d08..76c87aba9e 100644 --- a/tests/webtbs/tw1117.pp +++ b/tests/webtbs/tw1117.pp @@ -1,4 +1,5 @@ { %CPU=i386 } +{ %OPT=-Cg- } {$asmmode intel} var l1,l2 : longint; |