From 52d2001f06c9d8aeeb6db0ce40c6bbfc2be8b0f2 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 28 Dec 2013 16:57:24 +0100 Subject: [PATCH] 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. --- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/mmix/bspec-1.d | 2 +- gas/testsuite/gas/mmix/bspec-2.d | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 504642e..f392947 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2013-12-28 Hans-Peter Nilsson + + 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. + 2013-12-20 Nick Clifton PR binutils/16218 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: .* -- 2.7.4