gold: Ignore def/ref from a dynamic object for special symbols
[deliverable/binutils-gdb.git] / gold / ChangeLog
index 697a40ade1a26313b65c9ab5c6faaf5996d735fe..bd842a67d8fb72ff42ec43e363adf74dd1db019a 100644 (file)
@@ -1,3 +1,77 @@
+2017-11-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/22291
+       * layout.cc (Layout::define_section_symbols): Use STV_PROTECTED
+       for __start and __stop symbols.
+       * symtab.cc (Symbol_table::define_special_symbol): Add an
+       argument, visibility.  Ignore definition and reference from
+       a dynamic object, depending on visibility.
+       (Symbol_table::do_define_in_output_data): Pass visibility to
+       define_special_symbol.
+       (Symbol_table::do_define_in_output_segment): Likewise.
+       (Symbol_table::do_define_as_constant): Likewise.
+       (Symbol_table::add_undefined_symbol_from_command_line): Pass
+       STV_DEFAULT to define_special_symbol.
+       * symtab.h (Symbol_table::define_special_symbol): Add an
+       argument, visibility.
+
+2017-11-08  James Clarke  <jrtc27@jrtc27.com>
+
+       PR gold/22266
+       * object.cc (Sized_relobj_file::compute_final_local_value_internal):
+       Drop relocatable parameter and stop adjusting output value based on
+       it.
+       (Sized_relobj_file::compute_final_local_value): Stop passing
+       relocatable to compute_final_local_value_internal.
+       (Sized_relobj_file::do_finalize_local_symbols): Ditto.
+       * object.h (Sized_relobj_file::compute_final_local_value_internal):
+       Drop relocatable parameter.
+
+2017-11-08  Kyle Butt  <iteratee@google.com>
+
+        * object.cc (do_find_special_sections): Fix a thinko with memmem return
+        values and check for !=        NULL rather than == 0.
+
+2017-11-07  Alan Modra  <amodra@gmail.com>
+
+       * system.h (textdomain, bindtextdomain): Use safer "do nothing".
+       (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS.
+
+2017-10-25  Alan Modra  <amodra@gmail.com>
+
+       * symtab.cc (Symbol_table::add_from_relobj): Match "__gnu_lto_slim"
+       optionally prefixed with "_".
+
+2017-10-20  Sriraman Tallam  <tmsriram@google.com>
+
+       * options.h (-z,text_unlikely_segment): New option.
+       * layout.cc (Layout::layout): Create new output section
+       for .text.unlikely sections with the new option.
+       (Layout::segment_precedes): Check for the new option
+       when segment flags match.
+       * testsuite/text_unlikely_segment.cc: New test source.
+       * testsuite/text_unlikely_segment.sh: New test script.
+       * testsuite/Makefile.am (text_unlikely_segment): New test.
+       * testsuite/Makefile.in: Regenerate.
+
+2017-10-19  Umesh Kalappa  <ukalappa@cisco.com>
+
+       * arm.cc (Stub::do_fixed_endian_write):Far call stubs support for arm
+       in the be8 mode.
+       * testsuite/Makefile.am: New test cases.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/arm_farcall_arm_arm_be8.sh: New script for arm to arm far
+       call stubs.
+       * testsuite/arm_farcall_thumb_thumb_be8.sh: New script for thumb to
+       thumb far call stubs.
+
+2017-10-18  Kyle Butt  <iteratee@google.com>
+           Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Scan::local): Correct dst_off
+       calculation for TOC16 relocs.
+       (Target_powerpc::Scan::global): Likewise.
+
 2017-09-26  Cary Coutant  <ccoutant@gmail.com>
 
        PR gold/22213
This page took 0.02446 seconds and 4 git commands to generate.