summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-003.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-003.ld')
-rw-r--r--ld/testsuite/ld-d10v/reloc-003.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-003.ld b/ld/testsuite/ld-d10v/reloc-003.ld
new file mode 100644
index 0000000..7008d9d
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-003.ld
@@ -0,0 +1,10 @@
+SECTIONS
+{
+ .text 0x01014000 :
+ {
+ *(.text)
+ foo = (. + 0x1FC);
+ }
+}
+
+