[PATCH] gold: Add -Bno-symbolic

Alan Modra amodra@gmail.com
Tue May 18 06:27:15 GMT 2021


On Fri, May 14, 2021 at 03:03:31PM -0700, Cary Coutant via Binutils wrote:
> > gold/
> >     PR 27834
> >     * options.h (General_options): Add -Bno-symbolic option, and make
> >     -Bsymbolic and -Bsymbolic-functions special.
> >     * options.cc (General_options): Handle these options.
> 

This patch broke a number of tests in the gold testsuite.  On x86_64
compiling with gcc 10.2.1 20210107 I see:

FAIL: icf_preemptible_functions_test.sh
FAIL: x86_64_mov_to_lea.sh
FAIL: two_file_shared_2_test
FAIL: two_file_shared_1_pic_2_test
FAIL: two_file_separate_shared_12_test
FAIL: plugin_test_2

Reverting the patch cures the fails for me.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list