aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-scripts/rgn-at11.d10
-rw-r--r--ld/testsuite/ld-scripts/rgn-at11.s10
2 files changed, 14 insertions, 6 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-at11.d b/ld/testsuite/ld-scripts/rgn-at11.d
index e37cbd7..297ae46 100644
--- a/ld/testsuite/ld-scripts/rgn-at11.d
+++ b/ld/testsuite/ld-scripts/rgn-at11.d
@@ -1,14 +1,12 @@
-#source: rgn-at10.s
+#source: rgn-at11.s
#ld: -T rgn-at11.t
#objdump: -h --wide
-#xfail: rx-*-* mips*-*-*
+#xfail: rx-*-*
# Test that lma is not adjusted in case the section start vma is aligned and
# lma_region != region if not requested by script.
# Fails for RX because it ignores the LMA (for compatibility with Renesas tools)
-# Fails for MIPS targets because the assembler pads all sections to a 16 byte
-# boundary.
#...
.* 0+10000 +0+20000 .*
-.* 0+10100 +0+20004 .*
-.* 0+10100 +0+20004 .*
+.* 0+10100 +0+20010 .*
+.* 0+10100 +0+20010 .*
diff --git a/ld/testsuite/ld-scripts/rgn-at11.s b/ld/testsuite/ld-scripts/rgn-at11.s
new file mode 100644
index 0000000..2ec63c8
--- /dev/null
+++ b/ld/testsuite/ld-scripts/rgn-at11.s
@@ -0,0 +1,10 @@
+ .text
+ .zero 16
+
+ .section .tbss,"awT",%nobits
+ .p2align 8
+ .zero 16
+
+ .data
+ .p2align 4
+ .long 0