Add support for R_AARCH64_TLSLE_LDST8_TPREL_LO12, etc.
[deliverable/binutils-gdb.git] / gold / ChangeLog
index 032d74bb36ea0444df2e65051c889f4430ea7ae1..1ba3414f433f53732f7564f5ccb59fd005ef9b09 100644 (file)
@@ -1,3 +1,88 @@
+2018-03-28  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/22969
+       * aarch64-reloc.def: Add TLSLE_LDST* relocations.
+       * aarch64.cc (Target_aarch64::optimize_tls_reloc): Likewise.
+       (Target_aarch64::Scan::local): Likewise.
+       (Target_aarch64::Scan::global): Likewise.
+       (Target_aarch64::Relocate::relocate): Likewise.
+       (Target_aarch64::Relocate::relocate_tls): Likewise.
+
+2018-03-27  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/split_x86_64.sh: Fix bad regexp.
+
+2018-03-26  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/22868
+       * plugin.cc (Sized_pluginobj::do_add_symbols): Use a real section
+       index instead of SHN_ABS for defined symbols.
+       * testsuite/Makefile.am (plugin_pr22868): New test case.
+       * testsuite/Makefile.in: Regenerate
+       * testsuite/plugin_pr22868.sh: New test script.
+       * testsuite/plugin_pr22868_a.c: New source file.
+       * testsuite/plugin_pr22868_b.c: New source file.
+
+2018-03-23  Cary Coutant  <ccoutant@gmail.com>
+
+       * plugin.cc (link_or_copy_file): Remove newlines from warning messages.
+       Add pedantic check for return value from ::write.
+
+2018-03-23  Cary Coutant  <ccoutant@gmail.com>
+
+       * debug.h (DEBUG_PLUGIN): New constant.
+       (DEBUG_ALL): Add DEBUG_PLUGIN.
+       (debug_string_to_enum): Likewise.
+       * plugin.cc (make_sized_plugin_object): Add filename parameter.
+       (Plugin_recorder): New class.
+       (Plugin_manager::~Plugin_manager): Delete recorder_.
+       (Plugin_manager::load_plugins): Create and initialize recorder_.
+       (Plugin_manager::claim_file): Record claimed and unclaimed files.
+       (Plugin_manager::make_plugin_object): Use object name as name for
+       plugin object, if available.
+       (Plugin_manager::add_input_file): Record replacement files.
+       (Sized_pluginobj::do_add_symbols): Record plugin symbols.
+       (Plugin_finish::run): Call Plugin_recorder::finish().
+       (make_sized_plugin_object): Add filename parameter and pass to
+       Sized_pluginobj constructor.
+       * plugin.h (Plugin::filename): New method.
+       (Plugin::recorder): New method.
+       (Plugin::recorder_): New data member.
+
+2018-03-07  Sriraman Tallam  <tmsriram@google.com>
+
+       * layout.cc (Layout::default_section_order): Check for text section
+       prefixes.
+       (Layout::text_section_name_mapping): New static member.
+       (Layout::text_section_name_mapping_count): New static member.
+       (Layout::match_section_name): New static function.
+       (Layout::output_section_name): Check for text section prefixes.
+       * layout.h (Output_section_order::ORDER_TEXT_HOT): New enum value.
+       (Output_section_order::ORDER_TEXT_STARTUP): New enum value.
+       (Output_section_order::ORDER_TEXT_EXIT): New enum value.
+       (Output_section_order::ORDER_TEXT_UNLIKELY): New enum value.
+       (Layout::text_section_name_mapping): New static member.
+       (Layout::text_section_name_mapping_count): New static member.
+       (Layout::match_section_name): New static function.
+       * options.h (keep_text_section_prefix): New -z option.
+       * testsuite/Makefile.am (keep_text_section_prefix): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/keep_text_section_prefix.cc: New test source.
+       * testsuite/keep_text_section_prefix.sh: New test script.
+
+2018-02-22  Sriraman Tallam  <tmsriram@google.com>
+
+       * plugin.cc (get_wrap_symbols): New plugin interface.
+       (load): Add get_wrap_symbols to transfer vector.
+       * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface.
+       * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols
+       interface.
+       * testsuite/plugin_test_wrap_symbols.sh: New test script.
+       * testsuite/plugin_test_wrap_symbols_1.cc: New file.
+       * testsuite/plugin_test_wrap_symbols_2.cc: New file.
+       * testsuite/Makefile.am (plugin_test_wrap_symbols): New test.
+       * testsuite/Makefile.in: Regenerate.
+
 2018-02-07  Sriraman Tallam  <tmsriram@google.com>
 
        * expression.cc (Symbol_expression::set_expr_sym_in_real_elf):
This page took 0.023407 seconds and 4 git commands to generate.