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