gold: Ignore def/ref from a dynamic object for special symbols
[deliverable/binutils-gdb.git] / gold / layout.cc
index 15c54344deb97660c71e0e2e109b2edde0b33954..351c4b4d4ff3878a5e740dbecd5dc7be8fd34423 100644 (file)
@@ -2252,7 +2252,7 @@ Layout::define_section_symbols(Symbol_table* symtab)
                                        0, // symsize
                                        elfcpp::STT_NOTYPE,
                                        elfcpp::STB_GLOBAL,
-                                       elfcpp::STV_DEFAULT,
+                                       elfcpp::STV_PROTECTED,
                                        0, // nonvis
                                        false, // offset_is_from_end
                                        true); // only_if_ref
@@ -2265,7 +2265,7 @@ Layout::define_section_symbols(Symbol_table* symtab)
                                        0, // symsize
                                        elfcpp::STT_NOTYPE,
                                        elfcpp::STB_GLOBAL,
-                                       elfcpp::STV_DEFAULT,
+                                       elfcpp::STV_PROTECTED,
                                        0, // nonvis
                                        true, // offset_is_from_end
                                        true); // only_if_ref
This page took 0.032059 seconds and 4 git commands to generate.