From d82ba9f90a5de61c4286fac371673d56a38108fc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 28 Jan 2014 12:18:01 +0000 Subject: [PATCH] A recent update to the binutils means that RELA sections now have the SHF_INFO_LINK bit set, which shows up in readelf section dumps. This has broken a couple of IA64 testcases in the gas testsuite, which are fixed by this patch. PR binutils/16317 * gas/ia64/group-2.d: Expect I attribute with RELA sections. * gas/ia64/xdata.d: Likewise. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/ia64/group-2.d | 2 +- gas/testsuite/gas/ia64/xdata.d | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index cf8eda9..69a3f3b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2014-01-28 Nick Clifton + + PR binutils/16317 + * gas/ia64/group-2.d: Expect I attribute with RELA sections. + * gas/ia64/xdata.d: Likewise. + 2014-01-22 Michael Zolotukhin PR gas/16489 diff --git a/gas/testsuite/gas/ia64/group-2.d b/gas/testsuite/gas/ia64/group-2.d index bf7255d..3b1579c 100644 --- a/gas/testsuite/gas/ia64/group-2.d +++ b/gas/testsuite/gas/ia64/group-2.d @@ -24,7 +24,7 @@ Section Headers: \[ 7\] \.gnu\.linkonce\.ia6 IA_64_UNWIND 0000000000000000 00000060 0000000000000018 0000000000000000 ALG 5 5 8 \[ 8\] \.rela\.gnu\.linkonc RELA 0000000000000000 000004e0 - 0000000000000048 0000000000000018 10 7 8 + 0000000000000048 0000000000000018 I 10 7 8 \[ 9\] \.shstrtab STRTAB 0000000000000000 00000078 0000000000000081 0000000000000000 0 0 1 \[10\] \.symtab SYMTAB 0000000000000000 00000400 diff --git a/gas/testsuite/gas/ia64/xdata.d b/gas/testsuite/gas/ia64/xdata.d index e56d24e..dc23b78 100644 --- a/gas/testsuite/gas/ia64/xdata.d +++ b/gas/testsuite/gas/ia64/xdata.d @@ -25,7 +25,7 @@ Section Headers: \[ 8\] "\.xdata5" PROGBITS 0000000000000000 [[:xdigit:]]+ 0000000000000020 0000000000000000 A 0 0 16 \[ 9\] \.rela"\.xdata5" RELA 0000000000000000 [[:xdigit:]]+ - 0000000000000030 0000000000000018 17 8 8 + 0000000000000030 0000000000000018 I 17 8 8 \[10\] \.xreal\\1 PROGBITS 0000000000000000 [[:xdigit:]]+ 0000000000000008 0000000000000000 A 0 0 4 \[11\] \.xreal\+2 PROGBITS 0000000000000000 [[:xdigit:]]+ -- 2.7.4