[binutils-gdb] [GOLD]: Re: Add -Bno-symbolic

Alan Modra amodra@sourceware.org
Sat May 15 04:48:54 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7c96e6120f1b9b5025629bbe995ca55d1be8f36f

commit 7c96e6120f1b9b5025629bbe995ca55d1be8f36f
Author: Alan Modra <amodra@gmail.com>
Date:   Sat May 15 14:13:47 2021 +0930

    [GOLD]: Re: Add -Bno-symbolic
    
            PR 27834
            * options.cc (General_options::General_options): Init bsymbolic_.

Diff:
---
 gold/ChangeLog  | 5 +++++
 gold/options.cc | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index c68f282e9bc..5897b10aeef 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-15  Alan Modra  <amodra@gmail.com>
+
+	PR 27834
+	* options.cc (General_options::General_options): Init bsymbolic_.
+
 2021-05-04  Fangrui Song  <maskray@google.com>
 
 	PR 27834
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),


More information about the Binutils-cvs mailing list