summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/maxpage3c.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/maxpage3c.d')
-rw-r--r--ld/testsuite/ld-elf/maxpage3c.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/maxpage3c.d b/ld/testsuite/ld-elf/maxpage3c.d
new file mode 100644
index 0000000000000..cdc3eaffe5410
--- /dev/null
+++ b/ld/testsuite/ld-elf/maxpage3c.d
@@ -0,0 +1,12 @@
+#source: maxpage1.s
+#as: --32
+#ld: -m elf_i386 -z max-page-size=0x10000000 -T maxpage3.t
+#readelf: -lS --wide
+#target: x86_64-*-linux*
+
+#...
+ \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.*
+#...
+ LOAD+.*0x10000000
+ LOAD+.*0x10000000
+#pass