summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/rgn-at10.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/rgn-at10.d')
-rw-r--r--ld/testsuite/ld-scripts/rgn-at10.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-at10.d b/ld/testsuite/ld-scripts/rgn-at10.d
new file mode 100644
index 0000000..73ebfcc
--- /dev/null
+++ b/ld/testsuite/ld-scripts/rgn-at10.d
@@ -0,0 +1,12 @@
+#source: rgn-at10.s
+#ld: -T rgn-at10.t
+#objdump: -h --wide
+#xfail: rx-*-*
+# Test that lma is adjusted in case the section start vma is aligned and
+# lma_region != region if requested by script. Make sure this works with
+# non-load sections.
+
+#...
+.* 0+10000 +0+20000 .*
+.* 0+10100 +0+20100 .*
+.* 0+10100 +0+20100 .*