]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[GOLD] support objdump -T display of st_other
authorAlan Modra <amodra@gmail.com>
Mon, 26 Nov 2018 11:35:54 +0000 (22:05 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 26 Nov 2018 11:35:54 +0000 (22:05 +1030)
PowerPC64 ELFv2 uses the top 3 bits of st_other to encode a function's
local entry point offset from its global entry point.  Allow st_other
bits except for visibility==default.

* testsuite/ver_test_14.sh: Accept objdump -T display of st_other
bits on powerpc64le.

gold/ChangeLog
gold/testsuite/ver_test_14.sh

index 816f7b3a360136179c4f378742d8d5a620821d24..3bcf6a7d96fa1437682c9b0a4fe4979df619da7a 100644 (file)
@@ -1,3 +1,8 @@
+2018-11-26  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ver_test_14.sh: Accept objdump -T display of st_other
+       bits on powerpc64le.
+
 2018-11-08  Alan Modra  <amodra@gmail.com>
 
        * Makefile.am (gcctestdir1/ld): Use $@ and absolute paths.
index 73a0e08085a1ccea018972c78bb6360a50c78407..008e436ef42fa75ff87e1574c7ff5ec26c717ea8 100755 (executable)
@@ -35,9 +35,9 @@ check()
     fi
 }
 
-check ver_test_14.syms "V1  *t2()$"
-check ver_test_14.syms "V1  *t3()$"
-check ver_test_14.syms "V1  *t4()$"
-check ver_test_14.syms "Base  *t4_2a$"
+check ver_test_14.syms "V1 *\(0x[0-9a-f][048c]\)\? t2()$"
+check ver_test_14.syms "V1 *\(0x[0-9a-f][048c]\)\? t3()$"
+check ver_test_14.syms "V1 *\(0x[0-9a-f][048c]\)\? t4()$"
+check ver_test_14.syms "Base *\(0x[0-9a-f][048c]\)\? t4_2a$"
 
 exit 0