[gold commit] PR 19244: Fix problem where symbols for copy relocations are marked local
Cary Coutant
ccoutant@gmail.com
Sat Nov 14 19:12:00 GMT 2015
More information about the Binutils mailing list
Sat Nov 14 19:12:00 GMT 2015
- Previous message (by thread): [RFC] MIPS ABI Extension for IEEE Std 754 Non-Compliant Interlinking
- Next message (by thread): New French PO file for 'gas' (version 2.26.51)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've committed the following patch to fix PR 19244. -cary 2015-11-14 Cary Coutant <ccoutant@gmail.com> gold/ PR gold/19244 PR gold/18548 * symtab.cc (Symbol_table::do_define_in_output_data): Check for forced local symbols only for predefined symbols. diff --git a/gold/symtab.cc b/gold/symtab.cc index 6d107a8..22a44e0 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -1986,8 +1986,9 @@ Symbol_table::do_define_in_output_data( return sym; else { - if (binding == elfcpp::STB_LOCAL - || this->version_script_.symbol_is_local(name)) + if (defined == PREDEFINED + && (binding == elfcpp::STB_LOCAL + || this->version_script_.symbol_is_local(name))) this->force_local(oldsym); delete sym; return oldsym;
- Previous message (by thread): [RFC] MIPS ABI Extension for IEEE Std 754 Non-Compliant Interlinking
- Next message (by thread): New French PO file for 'gas' (version 2.26.51)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list