summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/rgn-at4.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/rgn-at4.d')
-rw-r--r--ld/testsuite/ld-scripts/rgn-at4.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-at4.d b/ld/testsuite/ld-scripts/rgn-at4.d
new file mode 100644
index 0000000..9837343
--- /dev/null
+++ b/ld/testsuite/ld-scripts/rgn-at4.d
@@ -0,0 +1,16 @@
+# name: rgn-at4
+# source: rgn-at.s
+# ld: -T rgn-at4.t
+# objdump: -w -h
+# xfail: rx-*-*
+# FAILS on the RX because the linker has to set LMA == VMA for the
+# Renesas loader.
+
+.*: file format .*
+
+Sections:
+Idx +Name +Size +VMA +LMA +File off +Algn +Flags
+ 0 .text +0+[0-9a-f][0-9a-f] +0+0010000 +0+0020000 +.*
+ 1 .data +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+00200[0-9a-f]+ +.*
+ 2 .bss +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+00200[0-9a-f]+ +.*
+ 3 .trail +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+00200[0-9a-f]+ +.*