[GOLD]: Re: Add -Bno-symbolic
authorAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 04:43:47 +0000 (14:13 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 04:46:54 +0000 (14:16 +0930)
PR 27834
* options.cc (General_options::General_options): Init bsymbolic_.

gold/ChangeLog
gold/options.cc

index c68f282e9bc9723371c09aee5a9541b6913c5e14..5897b10aeef7b3626d147c0a2f9a46e924d040df 100644 (file)
@@ -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
index 1818e5dc3456d5aed2d3a243ba37d540934f8e45..5a55bd8ba6dee2a66bbee64ef333414021d1bcd8 100644 (file)
@@ -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),