aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-01 09:05:01 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-01 09:05:21 -0700
commitde6d6067f59bdcd97ea5e5b72ca3161d4448493e (patch)
tree06ac2153117a6ecea4ac777576d9049b28e9cd91 /gold
parent48bc218262da3784dd5258b774832d6b36afcf93 (diff)
downloadbinutils-de6d6067f59bdcd97ea5e5b72ca3161d4448493e.zip
binutils-de6d6067f59bdcd97ea5e5b72ca3161d4448493e.tar.gz
binutils-de6d6067f59bdcd97ea5e5b72ca3161d4448493e.tar.bz2
gold: Update ver_test_pr16504.sh
commit df3a023bd614133fe69afb02cd0e8f3e590a36a9 Author: Alan Modra <amodra@gmail.com> Date: Tue Jul 23 17:54:42 2019 +0930 SHF_GNU_MBIND requires ELFOSABI_GNU changed readelf to print IFUNC only for ELFOSABI_GNU. Since $ readelf -h ver_test_pr16504.so ... OS/ABI: UNIX - System V ... we get $ readelf -sW ver_test_pr16504.so ... 3: 0000000000000378 13 <OS specific>: 10 GLOBAL DEFAULT 9 foo@@VER1 ... Update ver_test_pr16504.sh to also accept "<OS specific>: 10". * testsuite/ver_test_pr16504.sh: Updated.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rwxr-xr-xgold/testsuite/ver_test_pr16504.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index c1cee52..7bc3893 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,9 @@
2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
+ * testsuite/ver_test_pr16504.sh: Updated.
+
+2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
+
PR gold/25872
* x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment
plt_offset after setting the reserved TLSDESC PLT entry.
diff --git a/gold/testsuite/ver_test_pr16504.sh b/gold/testsuite/ver_test_pr16504.sh
index 9057414..9def5a5 100755
--- a/gold/testsuite/ver_test_pr16504.sh
+++ b/gold/testsuite/ver_test_pr16504.sh
@@ -24,7 +24,7 @@
check()
{
- if ! grep -q "$2" "$1"
+ if ! egrep -q "$2" "$1"
then
echo "Did not find expected symbol in $1:"
echo " $2"
@@ -36,6 +36,6 @@ check()
}
check ver_test_pr16504.stdout " FUNC .* UND *foo@VER2"
-check ver_test_pr16504.stdout " IFUNC .* foo@@VER1"
+check ver_test_pr16504.stdout " (IFUNC|<OS specific>: 10) .* foo@@VER1"
exit 0