aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/relocatable.t
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-10-09 13:32:50 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-10-09 13:32:50 +0000
commit0e6b97bb760749f75a6377a451fe52df3bf5e9b9 (patch)
tree7daebfd4ca23f90d1dff1fb3634d0915be84f581 /ld/testsuite/ld-elf/relocatable.t
parentb2b620601bdb9510dd5c2900bae6a4de314aa272 (diff)
downloadgdb-0e6b97bb760749f75a6377a451fe52df3bf5e9b9.zip
gdb-0e6b97bb760749f75a6377a451fe52df3bf5e9b9.tar.gz
gdb-0e6b97bb760749f75a6377a451fe52df3bf5e9b9.tar.bz2
2009-10-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10749 * ld-elf/relocatable.d: New. * ld-elf/relocatable.t: Likewise. * ld-elf/simple.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/relocatable.t')
-rw-r--r--ld/testsuite/ld-elf/relocatable.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/relocatable.t b/ld/testsuite/ld-elf/relocatable.t
new file mode 100644
index 0000000..2ec056a
--- /dev/null
+++ b/ld/testsuite/ld-elf/relocatable.t
@@ -0,0 +1,8 @@
+SECTIONS
+{
+ . = 0x800000;
+ .text : { *(.text) }
+ . = 0x900000;
+ .data : { *(.data) }
+ /DISCARD/ : { *(.*) }
+}