This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] support objdump -T display of st_other
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 26 Nov 2018 21:30:06 +1030
- Subject: [GOLD] support objdump -T display of st_other
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.
Applying as obvious.
* testsuite/ver_test_14.sh: Accept objdump -T display of st_other
bits on powerpc64le.
diff --git a/gold/testsuite/ver_test_14.sh b/gold/testsuite/ver_test_14.sh
index 73a0e08085..008e436ef4 100755
--- a/gold/testsuite/ver_test_14.sh
+++ b/gold/testsuite/ver_test_14.sh
@@ -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
--
Alan Modra
Australia Development Lab, IBM