aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/seg.d
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-12-19 10:22:02 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-12-19 10:22:02 +0000
commitd3cfff61d7aadc3b4f2e185f248db2a4c1a69e3f (patch)
tree2ecf9ac2b1493b6fc8b670bd1edf8bda8c3aeec1 /ld/testsuite/ld-elf/seg.d
parentb50d744268f3a9e4edb6ee677b919990dd5c7a10 (diff)
downloadgdb-d3cfff61d7aadc3b4f2e185f248db2a4c1a69e3f.zip
gdb-d3cfff61d7aadc3b4f2e185f248db2a4c1a69e3f.tar.gz
gdb-d3cfff61d7aadc3b4f2e185f248db2a4c1a69e3f.tar.bz2
* ld-elf/seg.t: New.
* ld-elf/seg.d: New. * ld-elf/seg.s: New.
Diffstat (limited to 'ld/testsuite/ld-elf/seg.d')
-rw-r--r--ld/testsuite/ld-elf/seg.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/seg.d b/ld/testsuite/ld-elf/seg.d
new file mode 100644
index 0000000..ff2c7f9
--- /dev/null
+++ b/ld/testsuite/ld-elf/seg.d
@@ -0,0 +1,14 @@
+#source: seg.s
+#ld: -T seg.t -z max-page-size=0x1000
+#readelf: -l --wide
+
+#...
+Program Headers:
+ Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
+ LOAD .*
+ LOAD 0x0*001000 0xf*fffff000 0xf*fffff000 0x01000 0x01000 .*
+
+ Section to Segment mapping:
+ Segment Sections...
+ 00 .*
+ 01 reset boot