aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/maxpage3a.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-01-19 15:06:27 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-01-19 15:06:27 +0000
commitb81428656759ee87a5619f8495c04123ec71d582 (patch)
tree59636355e4dc3a3b04e1d3c7ee82c85bec953f95 /ld/testsuite/ld-elf/maxpage3a.d
parent14be856495aa9995b691665ac113d84277439feb (diff)
downloadgdb-b81428656759ee87a5619f8495c04123ec71d582.zip
gdb-b81428656759ee87a5619f8495c04123ec71d582.tar.gz
gdb-b81428656759ee87a5619f8495c04123ec71d582.tar.bz2
ld/
2007-01-19 Jakub Jelinek <jakub@redhat.com> H.J. Lu <hongjiu.lu@intel.com> * emultempl/elf32.em (handle_option): Make sure -z max-page-size or -z common-page-size argument is a power of 2. Call bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize. 2007-01-19 H.J. Lu <hongjiu.lu@intel.com> * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor bfd_emul_set_commonpagesize. ld/testsuite/ 2007-01-19 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/maxpage3.t: New file. * ld-elf/maxpage3a.d: Likewise. * ld-elf/maxpage3b.d: Likewise. * ld-elf/maxpage3c.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/maxpage3a.d')
-rw-r--r--ld/testsuite/ld-elf/maxpage3a.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/maxpage3a.d b/ld/testsuite/ld-elf/maxpage3a.d
new file mode 100644
index 0000000..0e46b6b
--- /dev/null
+++ b/ld/testsuite/ld-elf/maxpage3a.d
@@ -0,0 +1,11 @@
+#source: maxpage1.s
+#ld: -z max-page-size=0x10000000 -T maxpage3.t
+#readelf: -lS --wide
+#target: *-*-linux*
+
+#...
+ \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.*
+#...
+ LOAD+.*0x10000000
+ LOAD+.*0x10000000
+#pass