aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-002.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-002.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-002.ld')
-rw-r--r--ld/testsuite/ld-d10v/reloc-002.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-002.ld b/ld/testsuite/ld-d10v/reloc-002.ld
new file mode 100644
index 0000000..8f991b2
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-002.ld
@@ -0,0 +1,10 @@
+SECTIONS
+{
+ .text 0x01014000 :
+ {
+ *(.text)
+ foo = (. + 0x1F8);
+ }
+}
+
+