aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-007.ld
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-06-17 14:05:53 +0000
committerTom Rix <trix@redhat.com>2002-06-17 14:05:53 +0000
commit4c0b7915d432a3695d945ac7b9f076e66a6e6baa (patch)
tree3076c15acfe2cc265829bea72beb5ca4d893ec4a /ld/testsuite/ld-d10v/reloc-007.ld
parent184e65b1d46dd46b6a5936b8f932f3bc3be78d13 (diff)
downloadgdb-4c0b7915d432a3695d945ac7b9f076e66a6e6baa.zip
gdb-4c0b7915d432a3695d945ac7b9f076e66a6e6baa.tar.gz
gdb-4c0b7915d432a3695d945ac7b9f076e66a6e6baa.tar.bz2
Tests for d10v.
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-007.ld')
-rw-r--r--ld/testsuite/ld-d10v/reloc-007.ld8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-007.ld b/ld/testsuite/ld-d10v/reloc-007.ld
new file mode 100644
index 0000000..10c50ff
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-007.ld
@@ -0,0 +1,8 @@
+SECTIONS
+{
+ .text 0x01014000 :
+ {
+ *(.text)
+ foo = (. + 0x1fff8);
+ }
+}