summaryrefslogtreecommitdiff
path: root/tests/tbs
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-11-30 22:07:34 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-11-30 22:07:34 +0000
commit8f0591d8ab6c5a42b61660718a56ccabcd2ddbbf (patch)
tree8831e6a6b813e2ce86104c0c8b26c41710369f85 /tests/tbs
parentf916920f4367509e0c137bfe33e8a079430a0801 (diff)
downloadfpc-8f0591d8ab6c5a42b61660718a56ccabcd2ddbbf.tar.gz
+ -Xa option: generate code which allows to use more than 2 GB of static data on 64 Bit targets
+ implemented support for x86-64 * more than 2 GB static data requires to use the --no-relax option on linux git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@47651 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/tbs')
-rw-r--r--tests/tbs/tb0528.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tbs/tb0528.pp b/tests/tbs/tb0528.pp
index 2b439d4c5d..39f0584987 100644
--- a/tests/tbs/tb0528.pp
+++ b/tests/tbs/tb0528.pp
@@ -1,5 +1,7 @@
{%CPU=x86_64,powerpc64}
{%skiptarget=darwin,aix,win64}
+{ %opt=-Xa } { use the large option }
+
{ darwin limits statically declared data structures to 32 bit for efficiency reasons }
{ the aix assembler cannot deal with the way we declare these arrays in assembler code }