+2016-12-19 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20976
+ * symtab.cc (Symbol_table::sized_write_globals): Use address of
+ output section, not input section.
+ * testsuite/Makefile.am (pr20976): New test case.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/pr20976.c: New source file.
+
+2016-12-13 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20749
+ * options.h (--orphan-handling): New option.
+ (General_options::Orphan_handling): New enum.
+ (General_options::orphan_handling_enum): New method.
+ (General_options::set_orphan_handling_enum): New method.
+ (General_options::orphan_handling_enum_): New data member.
+ * options.cc (General_options::General_options): Initialize new member.
+ (General_options::finalize): Convert --orphan-handling argument to enum.
+ * script-sections.cc (Script_sections::output_section_name): Check it.
+
+2016-12-13 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20522
+ * layout.cc (Layout::choose_output_section): Add is_reloc parameter.
+ Adjust all callers. Do not use linker script for is_reloc sections.
+ (Layout::layout_reloc): Pass is_reloc == true.
+ * layout.h (Layout::choose_output_section): Add is_reloc parameter.
+
+2016-12-12 Igor Kudrin <ikudrin@accesssoftek.com>
+ Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/14676
+ * script-sections.cc (Output_section_definition::output_section_name):
+ For linker-generated sections, compare with output section name.
+ * testsuite/Makefile.am (script_test_13): New test.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/script_test_13.c: New source file.
+ * testsuite/script_test_13.sh: New script.
+ * testsuite/script_test_13.t: New linker script.
+
+2016-12-12 Cary Coutant <ccoutant@gmail.com>
+
+ * script-sections.cc (Orphan_section_placement::update_last_alloc):
+ New method.
+ (Orphan_section_placement::find_place): Place orphan .data section
+ after either RODATA or TEXT.
+ (Script_sections::place_orphan): Call update_last_alloc for allocated
+ sections.
+ (Script_sections::create_segments): Improve handling of BSS.
+
+2016-12-13 Alan Modra <amodra@gmail.com>
+
+ PR gold/16711
+ * testsuite/script_test_15a.sh: Allows larger p_filesz.
+ * testsuite/script_test_15b.sh: Likewise.
+ * testsuite/script_test_15c.sh: Likewise.
+
+2016-12-13 Alan Modra <amodra@gmail.com>
+
+ PR gold/20717
+ * testsuite/pr20717.t: Add .got output section containing .toc.
+
+2016-12-11 Igor Kudrin <ikudrin@accesssoftek.com>
+
+ PR gold/20717
+ * testsuite/Makefile.am (pr20717): New test.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/pr20717.c: New test source file.
+ * testsuite/pr20717.sh: New test script.
+ * testsuite/pr20717.t: New test linker script.
+
+2016-12-11 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/16711
+ * output.cc (Output_section::set_final_data_size): Calculate data size
+ based on relative offset rather than file offset.
+ (Output_segment::set_section_addresses): Track file offset separately
+ from address offset.
+ (Output_segment::set_section_list_addresses): Add pfoff parameter.
+ Track file offset separately. Don't move file offset for BSS
+ sections.
+ * output.h (Output_segment::set_section_list_addresses): Add pfoff
+ parameter.
+ * script-sections.cc (Orphan_section_placement): Add PLACE_LAST_ALLOC.
+ (Orphan_section_placement::Orphan_section_placement): Initialize it.
+ (Orphan_section_placement::output_section_init): Track last allocated
+ section.
+ (Orphan_section_placement::find_place): Place BSS after last allocated
+ section.
+ (Output_section_element_input::set_section_addresses): Always override
+ input section alignment when SUBALIGN is specified.
+ (Output_section_definition::set_section_addresses): Override alignment
+ of output section when SUBALIGN is specified.
+
+ * testsuite/Makefile.am (script_test_15a, script_test_15b)
+ (script_test_15c): New test cases.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/script_test_2.cc: Adjust expected layout.
+ * testsuite/script_test_15.c: New source file.
+ * testsuite/script_test_15a.sh: New shell script.
+ * testsuite/script_test_15a.t: New linker script.
+ * testsuite/script_test_15b.sh: New shell script.
+ * testsuite/script_test_15b.t: New linker script.
+ * testsuite/script_test_15c.sh: New shell script.
+ * testsuite/script_test_15c.t: New linker script.
+
+2016-12-08 Alan Modra <amodra@gmail.com>
+
+ * powerpc.cc (Powerpc_relobj::stub_table): Return NULL rather
+ then asserting.
+
+2016-12-08 Alan Modra <amodra@gmail.com>
+
+ * options.h (--stub-group-multi): Fix typo.
+
+2016-12-07 Alan Modra <amodra@gmail.com>
+
+ * options.h (--stub-group-multi): New PowerPC option.
+ * powerpc.cc (Stub_control): Add multi_os_ var and param
+ to constructor. Sort start_ var later. Comment State.
+ (Stub_control::can_add_to_stub_group): Heed multi_os_.
+ (Target_powerpc::group_sections): Update.
+
+2016-12-07 Alan Modra <amodra@gmail.com>
+
+ PR gold/20878
+ * powerpc.cc (Stub_control): Replace stubs_always_before_branch_
+ with stubs_always_after_branch_, group_end_addr_ with
+ group_start_addr_.
+ (Stub_control::can_add_to_stub_group): Rewrite to suit scanning
+ sections by increasing address.
+ (Target_powerpc::group_sections): Scan that way. Delete corner
+ case.
+ * options.h (--stub-group-size): Update help string.
+
+2016-12-07 Alan Modra <amodra@gmail.com>
+
+ * powerpc.cc (Stub_table_owner): Provide constructor.
+ (Powerpc_relobj::set_stub_table): Resize fill with -1.
+ (Target_powerpc::Branch_info::make_stub): Provide target debug
+ output on returning false.
+
+2016-12-05 Cary Coutant <ccoutant@gmail.com>
+ Tristan Gingold <gingold@adacore.com>
+
+ * object.cc (Sized_relobj_file::do_count_local_symbols): Check
+ is_ordinary before using shndx.
+ * testsuite/Makefile.am (file_in_many_sections_test.sh): New test case.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/file_in_many_sections.c: New source file.
+ * testsuite/file_in_many_sections_test.sh: New script.
+
+2016-12-01 Cary Coutant <ccoutant@gmail.com>
+ Igor Kudrin <ikudrin@accesssoftek.com>
+
+ PR gold/20717
+ * script-sections.cc (Script_sections): Set *keep to false when
+ no match.
+
+2016-12-01 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20834
+ * target.h (Target::default_text_segment_address): Bump default
+ start address up to ABI page size.
+
+2016-12-01 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/18989
+ * options.cc (General_options::object_format_to_string): New function.
+ (General_options::copy_from_posdep_options): New function.
+ (General_options::parse_push_state): New function.
+ (General_options::parse_pop_state): New function.
+ * options.h (--push-state, --pop-state): New options.
+ (General_options::object_format_to_string): New method.
+ (General_options::set_incremental_disposition): New method.
+ (General_options::copy_from_posdep_options): New method.
+ (General_options::options_stack_): New data member.
+
+2016-12-01 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20807
+ * aarch64.cc (Target_aarch64::scan_reloc_section_for_stubs): Handle
+ section symbols correctly.
+ * arm.cc (Target_arm): Likewise.
+ * powerpc.cc (Target_powerpc): Likewise.
+
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * aarch64-reloc.def: Fix spelling in comments.
+
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * aarch64.cc: Fix spelling in comments.
+ * arm.cc: Fix spelling in comments.
+ * icf.cc: Fix spelling in comments.
+ * layout.cc: Fix spelling in comments.
+ * layout.h: Fix spelling in comments.
+ * mips.cc: Fix spelling in comments.
+ * output.h: Fix spelling in comments.
+ * plugin.h: Fix spelling in comments.
+ * script-sections.h: Fix spelling in comments.
+ * script.h: Fix spelling in comments.
+ * stringpool.h: Fix spelling in comments.
+ * tilegx.cc: Fix spelling in comments.
+
+2016-11-22 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20346
+ * options.cc (One_option::print): Print "(default)" when appropriate.
+ * options.h: Clean up and re-sort options.
+ (One_option::is_default): New data member.
+ (One_option::One_option): Add is_default parameter; adjust all calls.
+ (DEFINE_var): Add is_default__ parameter; adjust all calls.
+ (DEFINE_bool): Set is_default based on default_value__.
+ (DEFINE_bool_ignore): New macro.
+ (--no-eh-frame-hdr): New option.
+ (--enable-new-dtags): Remove mention of DT_FLAGS.
+
+2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * configure: Regenerate.
+
+2016-11-21 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20693
+ * gold.cc (queue_middle_tasks): Force valid target earlier.
+
+2016-11-21 Igor Kudrin <ikudrin@accesssoftek.com>
+
+ * layout.cc: Include windows.h and rpcdce.h (for MinGW32).
+ (Layout::create_build_id): Generate uuid using UuidCreate().
+
+2016-11-04 Loïc Yhuel <loic.yhuel@softathome.com>
+
+ * configure.ac: add missing '$'.
+ * configure: Regenerate.
+
+2016-10-21 Gergely Nagy <ngg@tresorit.com>
+
+ PR gold/17704
+ * icf.cc (match_sections): Add new parameter section_addraligns.
+ Check section alignment and keep the section with the strictest
+ alignment.
+ (find_identical_sections): New local variable section_addraligns.
+ Store each section's alignment.
+ * testsuite/pr17704a_test.s: New file.
+ * testsuite/Makefile.am (pr17704a_test): New test.
+ * testsuite/Makefile.in: Regenerate.
+
+2016-10-06 Alan Modra <amodra@gmail.com>
+
+ * powerpc.cc (Target_powerpc::Relocate::relocate): Add fall
+ through comment.
+ * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
+
+2016-10-06 Alan Modra <amodra@gmail.com>
+
+ * aarch64.cc: Spell fall through comments as "// Fall through.".
+ * arm.cc: Likewise.
+ * mips.cc: Likewise.
+ * powerpc.cc: Likewise.
+ * s390.cc: Likewise.
+ * sparc.cc: Likewise.
+ * x86_64.cc: Likewise.
+ * powerpc.cc (Target_powerpc::Relocate::relocate): Add missing
+ fall through comments.
+ * sparc.cc: (Target_sparc::Scan::global): Likewise.
+ (Target_sparc::Relocate::relocate): Likewise.
+ * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
+ * resolve.cc (symbol_to_bits): Add missing break.
+
+2016-09-26 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/20238
+ * symtab.cc (Symbol_table::define_default_version): Check that
+ unversioned symbol is defined.
+
+2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
+
+ * Makefile.in: Regenerate.
+ * configure: Likewise.
+ * testsuite/Makefile.in: Likewise.
+
+2016-09-26 Alan Modra <amodra@gmail.com>
+
+ * aarch64.cc (Target_aarch64::is_erratum_835769_sequence): Avoid
+ compiler warning.
+ * output.cc (Output_segment::set_section_addresses): Likewise.
+ * testsuite/Makefile.in: Regenerate.
+
+2016-09-02 Doug Kwan <dougkwan@google.com>
+
+ * arm.cc (Target_arm::Target_arm): Move method definition outside of
+ class definition. Add code to handle --target1-rel, --target1-abs
+ and --target2= options.
+ (Target_arm::get_reloc_reloc_type): Change method to be non-static
+ and const.
+ (Target_arm::target1_is_rel_, Target_arm::target2_reloc_): New data
+ member declaration.
+ (Target_arm::Scan::local, Target_arm::Scan::global,
+ Target_arm::Relocate::relocate,
+ Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Adjust
+ call to Target_arm::get_real_reloc_type.
+ (Target_arm::get_real_reloc_type): Use command line options to
+ determine real types of R_ARM_TARGET1 and R_ARM_TARGET2.
+ * options.h (--target1-rel, --target1-abs, --target2): New ARM-only
+ options.
+
+2016-08-31 Alan Modra <amodra@gmail.com>
+
+ * powerpc.cc (class Stub_control): Delete stub14_group_size_
+ and has14_. Add group_size_.
+ (Stub_control::can_add_to_stub_group): Adjust to suit. Print
+ debug info when switching to adding sections before stubs.
+
+2016-08-31 Alan Modra <amodra@gmail.com>
+
+ * debug.h (DEBUG_TARGET): New.
+ (DEBUG_ALL): Add DEBUG_TARGET.
+ (gold_debug): Delete FORMAT param.
+ * powerpc.cc (Stub_control::can_add_to_stub_group): Print debug ourput.
+
2016-08-30 Alan Modra <amodra@gmail.com>
PR 20523