[PATCH] gold: Add -Bno-symbolic
Alan Modra
amodra@gmail.com
Tue May 18 06:27:45 GMT 2021
On Sat, May 15, 2021 at 01:06:16PM +0930, Alan Modra wrote:
> 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
Fixed as follows. Committing as obvious.
PR 27834
* options.cc (General_options::General_options): Init bsymbolic_.
diff --git a/gold/options.cc b/gold/options.cc
index 1818e5dc345..5a55bd8ba6d 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -1008,7 +1008,8 @@ namespace gold
{
General_options::General_options()
- : printed_version_(false),
+ : bsymbolic_(BSYMBOLIC_NONE),
+ printed_version_(false),
execstack_status_(EXECSTACK_FROM_INPUT),
icf_status_(ICF_NONE),
static_(false),
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list