From 9b4e3a5e23b37b3e9ff188043630d190e9c2e55f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 26 Nov 2018 22:07:17 +1030 Subject: [GOLD] justsyms_exec test fail on powerpc64 This test fails on powerpc64le due to the justsyms_lib being built with exported_data at 0x2010000, apparently due to the powerpc target code generating an empty relro .branch_lt section. Since the test relies on the library having exported_data at 0x2000000, avoid the problem by linking with -z norelro. Also, the test doesn't need to avoid checking the function symbol on powerpc elfv2. * testsuite/Makefile.am (justsyms_lib): Link with -z norelro. * testsuite/Makefile.in: Regenerate. * testsuite/justsyms_exec.c (main): Do check exported_func on PowerPC64 ELFv2. --- gold/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gold/ChangeLog') diff --git a/gold/ChangeLog b/gold/ChangeLog index 3bcf6a7..9d10dc8 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,12 @@ 2018-11-26 Alan Modra + * testsuite/Makefile.am (justsyms_lib): Link with -z norelro. + * testsuite/Makefile.in: Regenerate. + * testsuite/justsyms_exec.c (main): Do check exported_func + on PowerPC64 ELFv2. + +2018-11-26 Alan Modra + * testsuite/ver_test_14.sh: Accept objdump -T display of st_other bits on powerpc64le. -- cgit v1.1