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