aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/loadaddr2.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-08-18 14:38:00 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-08-18 14:38:00 +0000
commit7c9e8d98112842cba7fde29e05ab9860c9098b43 (patch)
treeb7aaeca13824058904cda3efc38ff474e031c751 /ld/testsuite/ld-elf/loadaddr2.d
parent61049d3bcf3ab3c3350acbd8a185cf0995168971 (diff)
downloadgdb-7c9e8d98112842cba7fde29e05ab9860c9098b43.zip
gdb-7c9e8d98112842cba7fde29e05ab9860c9098b43.tar.gz
gdb-7c9e8d98112842cba7fde29e05ab9860c9098b43.tar.bz2
2006-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3052 * ld-elf/loadaddr.s: New file. * ld-elf/loadaddr1.d: Likewise. * ld-elf/loadaddr1.t: Likewise. * ld-elf/loadaddr2.d: Likewise. * ld-elf/loadaddr2.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/loadaddr2.d')
-rw-r--r--ld/testsuite/ld-elf/loadaddr2.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/loadaddr2.d b/ld/testsuite/ld-elf/loadaddr2.d
new file mode 100644
index 0000000..0044b8b
--- /dev/null
+++ b/ld/testsuite/ld-elf/loadaddr2.d
@@ -0,0 +1,10 @@
+#source: loadaddr.s
+#ld: -T loadaddr2.t -z max-page-size=0x200000
+#readelf: -l --wide
+#target: *-*-linux*
+
+#...
+ LOAD +0x000000 0xf*80000000 0xf*80000000 0x100041 0x100041 RWE 0x200000
+ LOAD +0x110000 0xf*80110000 0xf*80101000 0x0*1 0x0*1 R E 0x200000
+ LOAD +0x302000 0xf*80302000 0xf*80302000 0x0*1 0x0*1 RW 0x200000
+#pass