summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-002.ld
diff options
context:
space:
mode:
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);
+ }
+}
+
+