This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] MBIND gas test tweak
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 7 Apr 2017 09:54:20 -0000
- Subject: [binutils-gdb] MBIND gas test tweak
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=498e34425b38f69ceba28707962e3593c281261a
commit 498e34425b38f69ceba28707962e3593c281261a
Author: Alan Modra <amodra@gmail.com>
Date: Fri Apr 7 17:58:37 2017 +0930
MBIND gas test tweak
score-elf aligns text sections.
* testsuite/gas/elf/section12a.d: Don't expect alignment of 1
for .mbind.text.
Diff:
---
gas/ChangeLog | 5 +++++
gas/testsuite/gas/elf/section12a.d | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0a0d207..89e9473 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-07 Alan Modra <amodra@gmail.com>
+
+ * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
+ for .mbind.text.
+
2017-04-06 Pip Cet <pipcet@gmail.com>
* testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
diff --git a/gas/testsuite/gas/elf/section12a.d b/gas/testsuite/gas/elf/section12a.d
index d31a675..784081f 100644
--- a/gas/testsuite/gas/elf/section12a.d
+++ b/gas/testsuite/gas/elf/section12a.d
@@ -10,9 +10,9 @@
#...
\[[ 0-9]+\] \.mbind\.data[ ]+PROGBITS[ ]+0+0 0+[0-9a-f]+ 0+1 00 WAD 0 3 1
#...
- \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+0+0 0+[0-9a-f]+ 0+1 00 AXD 0 0 1
+ \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+0+0 0+[0-9a-f]+ 0+1 00 AXD 0 0 .
#...
- \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+0+0 0+[0-9a-f]+ 0+1 00 AXD 0 3 1
+ \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+0+0 0+[0-9a-f]+ 0+1 00 AXD 0 3 .
#...
\[[ 0-9]+\] \.mbind\.bss[ ]+NOBITS[ ]+0+0 0+[0-9a-f]+ 0+5 00 WAD 0 0 1
#...