[binutils-gdb] MBIND gas test tweak
Alan Modra
amodra@sourceware.org
Fri Apr 7 09:54:00 GMT 2017
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
#...
More information about the Binutils-cvs
mailing list