This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Committed: Adjust MMIX gas tests for recent bfd/elf.c change.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: binutils at sourceware dot org
- Date: Sat, 28 Dec 2013 11:09:29 -0500 (EST)
- Subject: Committed: Adjust MMIX gas tests for recent bfd/elf.c change.
- Authentication-results: sourceware.org; auth=none
Looks like H.J. forgot to adjust testsuites. Committed.
This should bring binutils autotester results back to zero failures
for mmix-knuth-mmixware.
(There are FAILs common with other targets on one host; I
suspect local changes or too-old expect. Film at 11.)
gas/testsuite:
Adjust MMIX gas tests for recent bfd/elf.c change.
* gas/mmix/bspec-1.d: Adjust for SHF_INFO_LINK now set on RELA
sections.
* gas/mmix/bspec-2.d: Ditto.
diff --git a/gas/testsuite/gas/mmix/bspec-1.d b/gas/testsuite/gas/mmix/bspec-1.d
index 1d5269e..0030ca1 100644
--- a/gas/testsuite/gas/mmix/bspec-1.d
+++ b/gas/testsuite/gas/mmix/bspec-1.d
@@ -4,7 +4,7 @@ There are 9 section headers, starting at offset 0x..:
+\[ 4\] \.MMIX\.spec_data\.2 +PROGBITS +0+ +0+44
+0+4 +0+ +0 +0 +4
+\[ 5\] \.rela\.MMIX\.spec_d +RELA +0+ +.*
- +0+18 +0+18 +7 +4 +8
+ +0+18 +0+18 +I +7 +4 +8
#...
Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x... contains 1 entries:
.*
diff --git a/gas/testsuite/gas/mmix/bspec-2.d b/gas/testsuite/gas/mmix/bspec-2.d
index 73cf96c..4e549ae 100644
--- a/gas/testsuite/gas/mmix/bspec-2.d
+++ b/gas/testsuite/gas/mmix/bspec-2.d
@@ -4,11 +4,11 @@ There are 11 section headers, starting at offset 0x..:
\[ 4\] \.MMIX\.spec_data\.2 PROGBITS 0+ 0+48
0+10 0+ 0 0 8
\[ 5\] \.rela\.MMIX\.spec_d RELA 0+ 0+4..
- 0+30 0+18 9 4 8
+ +0+30 0+18 +I +9 +4 +8
\[ 6\] \.MMIX\.spec_data\.3 PROGBITS 0+ 0+58
0+8 0+ 0 0 8
\[ 7\] \.rela\.MMIX\.spec_d RELA 0+ 0+4..
- 0+18 0+18 9 6 8
+ +0+18 +0+18 +I +9 +6 +8
#...
Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x4.. contains 2 entries:
.*
brgds, H-P