aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/loadaddr1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/loadaddr1.d')
-rw-r--r--ld/testsuite/ld-elf/loadaddr1.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/loadaddr1.d b/ld/testsuite/ld-elf/loadaddr1.d
new file mode 100644
index 0000000..f4b01dd
--- /dev/null
+++ b/ld/testsuite/ld-elf/loadaddr1.d
@@ -0,0 +1,10 @@
+#source: loadaddr.s
+#ld: -T loadaddr1.t -z max-page-size=0x200000
+#readelf: -l --wide
+#target: *-*-linux*
+
+#...
+ LOAD +0x000000 0xf*80000000 0xf*80000000 0x100041 0x100041 RWE 0x200000
+ LOAD +0x200000 0xf*ff600000 0xf*80101000 0x0*1 0x0*1 R E 0x200000
+ LOAD +0x302000 0xf*80102000 0xf*80102000 0x0*1 0x0*1 RW 0x200000
+#pass