X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gold%2FChangeLog;h=f344f502cd8b003fe002cdac4da3820496b6cd0d;hb=abc8dcbad2b489919dfb608e82d75f204b14b594;hp=dd60e69178d6b46cc2ced0b6b7a2fdbfa84b39f4;hpb=81636b3fefccb53f5f14ec1039d932e827b8c1d7;p=binutils-gdb.git diff --git a/gold/ChangeLog b/gold/ChangeLog index dd60e69178d..f344f502cd8 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,136 @@ +2008-12-16 Cary Coutant + + * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer + vector. + (Plugin_manager::claim_file): Create plugin object even if + plugin did not call the add_symbols callback. + (Plugin_obj::get_symbol_resolution_info): Guard against plugin + asking for more symbols than were added. + * testsuite/Makefile.am (plugin_test_1): Add test case with + no global symbols. + (empty.syms): New target. + * testsuite/Makefile.in: Regenerate. + * testsuite/plugin_test.c (claim_file_hook): Add new debug + message. Don't call add_symbols if no globals. + (all_symbols_read_hook): Don't provide replacement for empty + claimed file. + +2008-12-12 Ian Lance Taylor + + * target-reloc.h (Default_scan_relocatable_relocs): Only discard + r_type == 0 for a local symbol with r_sym == 0. + (scan_relocatable_relocs): Pass r_sym to + local_non_section_strategy. + * reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add + r_sym parameter. + + * configure.ac: Update test for TLS descriptors: they are + supported as of glibc 2.9. + * configure: Rebuild. + +2008-12-11 Ian Lance Taylor + + PR 7091 + * target-reloc.h (Default_scan_relocatable_relocs): For each + function, map r_type == 0 to RELOC_DISCARD. + +2008-12-10 Cary Coutant + + * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacement + object to override a kept COMDAT group from a plugin object. + +2008-12-09 Ian Lance Taylor + + PR 7088 + * yyscript.y (file_cmd): Handle INPUT. + + * testsuite/initpri1.c: Change all declarations to be full + prototypes by adding void, to avoid compiler warnings. + +2008-12-05 Rafael Avila de Espindola + + * options.cc (General_options::parse_plugin_opt): New. + (General_options::add_plugin): The argument now is just the filename. + (General_options::add_plugin_option): New. + * options.h (plugin_opt): New. + (add_plugin): Change argument name. + (add_plugin_option): New. + * plugin.cc (Plugin::load): Don't parse the plugin option. + * plugin.h (Plugin::Plugin): Rename argument. Init filename_. + (Plugin::add_option): New. + (Plugin::args_): Change type. + (Plugin::filename_): New. + (Plugin_manager::add_plugin_option): New. + * testsuite/Makefile.am (plugin_test_1): Use new syntax. + * testsuite/Makefile.in: Regenerate. + +2008-12-05 Cary Coutant + + * layout.cc (Layout::include_section): Check for SHF_EXCLUDE. + Handle --strip-lto-sections option. + * options.h (strip_lto_sections): New option. + +2008-12-01 Cary Coutant + + * plugin.cc (ld_plugin_message): Change format parameter to const. + Fix mismatch between new[] and delete. + +2008-11-14 Cary Coutant + + * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address + instead of -1U. + +2008-11-05 Craig Silverstein + + * options.cc (General_options::parse_dynamic_list): New function. + * options.h (General_options): New flags dynamic_list, + dynamic_list_data, dynamic_list_cpp_new, and + dynamic_list_cpp_typeinfo. New variable dynamic_list_. + (General_options::in_dynamic_list): New function. + * script.cc (Lex::Mode): New enum DYNAMIC_LIST. + (Lex::can_start_name): Add support for DYNAMIC_LIST mode. + (Lex::can_continue_name): Likewise. + (yylex): Likewise. + (read_script_file): New parameter script_options. + (read_dynamic_list): New function. + (Script_options::define_dynamic_list): New function. + (dynamic_list_keyword_parsecodes): New variable. + (dynamic_list_keywords): New variable. + * script.h (Script_options::define_dynamic_list): New function + prototype. + (read_dynamic_list): New function prototype. + * symtab.cc (strprefix): New macro. + (Symbol::should_add_dynsym_entry): Support dynamic_list, + dynamic_list_data, dynamic_list_cpp_new, and + dynamic_list_cpp_typeinfo. + * yyscript.y (PARSING_DYNAMIC_LIST): New token. + (dynamic_list_expr): New rule. + (dynamic_list_nodes): Likewise. + (dynamic_list_node): Likewise. + * testsuite/Makefile.am (dynamic_list): New test. + * testsuite/Makefile.in: Regenerated. + * testsuite/dynamic_list.t: New file. + * testsuite/dynamic_list.sh: New file. + +2008-11-05 Craig Silverstein + + * testsuite/tls_test_c.c: Add prototype for t11 and t11_last. + * testsuite/tls_test_c.c (t11): Add explicit "void" to prototype. + (t11_last): Likewise. + * testsuite/ver_test_6.c (main): Likewise. + +2008-10-07 Cary Coutant + + * options.c (General_options::finalize): Add check for -static and + -shared. + * gold.cc (queue_middle_tasks): Assert that list of dynamic objects + is not empty. + +2008-10-02 Cary Coutant + + * plugin.cc (make_sized_plugin_object): Fix conditional + compilation to work when not all targets are enabled. + 2008-09-29 Cary Coutant * archive.cc (Archive::get_file_and_offset): Use filename instead