- 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
- * powerpc.cc (class Stub_control): Add has14_. Comment owner_.
- (Stub_control::can_add_to_stub_group): Correct grouping of
- sections containing 14-bit external branches. When returning
- false, set state_ to reflect the fact that we have one section
- for the next group. Rewrite most of function for clarity.
- Add and expand comments.
- (Target_powerpc::do_relax): Print stub group size retry in hex.
-
-2016-08-26 Han Shen <shenhan@google.com>
-
- PR gold/20529 - relaxing loop never ends.
-
- * powerpc.cc (Stub_table::min_size_threshold_): New member to
- limit size.
- (Stub_table::set_min_size_threshold): New member function.
- (Stub_table::set_address_and_size): Add code to only allow size
- increase.
- (Target_powerpc::do_relax): Add code to record last size.
-
-2016-08-23 Roland McGrath <roland@hack.frob.com>
-
- * options.h (General_options): Grok -z stack-size.
- * output.h (Output_segment::set_size): New method.
- * layout.cc (Layout::create_executable_stack_info): Renamed to ...
- (Layout::create_stack_segment): ... this. Always create the
- segment if -z stack-size was used.
- (Layout::set_segment_offsets): Don't call ->set_offset on the
- PT_GNU_STACK segment.
-
-2016-08-15 Bharathi Seshadri <bseshadr@cisco.com>
-
- * options.h (General_options): Add --be8 option.
- * arm.cc (Arm_relobj::do_relocate_sections): Add code to swap for be8.
- (Output_data_plt_arm_standard::do_fill_first_plt_entry): Likewise.
- (Output_data_plt_arm_short::do_fill_plt_entry): Likewise.
- (Output_data_plt_arm_long::do_fill_plt_entry): Likewise.
- (Target_arm::do_adjust_elf_header): Do EF_ARM_BE8 adjustment.
-
-2016-08-17 Cary Coutant <ccoutant@gmail.com>
-
- * i386.cc (Target_i386): Reset skip_call_tls_get_addr_ after printing
- error message.
- * testsuite/Makefile.am (pr20216a): Add missing dependencies.
- (pr20308a): Add -Bgcctestdir/ to compile rules.
- * testsuite/Makefile.in: Regenerate.
-
-2016-08-12 Roland McGrath <roland@hack.frob.com>
-
- PR gold/20462
- * script-sections.cc (Script_sections::release_segments):
- Reset this->segments_created_.
-
-2016-08-12 Roland McGrath <roland@hack.frob.com>
-
- * yyscript.y (HIDDEN): New %token.
- (assignment): Handle HIDDEN(string = expr) syntax.
- * script.cc (script_keyword_parsecodes): Add HIDDEN.
-
-2016-08-10 Cary Coutant <ccoutant@gmail.com>
-
- PR gold/20216
- * x86_64.cc (Target_x86_64::Relocate::relocate): Add check for
- R_X86_64_GOTPCREL. Reset skip_call_tls_get_addr_ after printing
- error message.
- * testsuite/Makefile.am (pr20216_gd.o): Add -Bgcctestdir/.
- (pr20216_ld.o): Likewise.
- * testsuite/Makefile.in: Regenerate.
-
-2016-08-10 James Clarke <jrtc27@jrtc27.com>
-
- PR gold/20443
- * symtab.cc (Symbol_table::add_from_relobj): Handle NULL symbols,
- which will be present for STT_SPARC_REGISTER.
- (Symbol_table::add_from_pluginobj): Likewise.
- (Symbol_table::add_from_dynobj): Likewise.
- (Symbol_table::add_from_incrobj): Removed dead code.
-
-2016-08-10 James Clarke <jrtc27@jrtc27.com>
-
- PR gold/20442
- * sparc.cc (Target_sparc::Relocate::relocate): R_SPARC_GOTDATA_OP_LOX10
- should fall back on R_SPARC_GOT10, not R_SPARC_GOT13.
-
-2016-08-10 James Clarke <jrtc27@jrtc27.com>
-
- PR gold/20441
- * sparc.cc (Target_sparc::Scan::check_non_pic): Allow R_SPARC_32 on
- sparc64.
-
-2016-06-29 Cary Coutant <ccoutant@gmail.com>
-
- PR gold/20310
- * testsuite/dynamic_list.sh: Remove check for _ZdlPv.
-
-2016-06-29 Cary Coutant <ccoutant@gmail.com>
-
- * testsuite/Makefile.am (MOSTLYCLEANFILES): Add eh_test_2.
- * testsuite/Makefile.in: Regenerate.
-
-2016-06-30 Alan Modra <amodra@gmail.com>
-
- * testsuite/Makefile.am (memory_test, memory_test_2): Pass
- -Wl,-z to gcc, not plain -z.
- * testsuite/Makefile.in: Regenerate.
-
-2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
-
- PR gold/20308
- * i386.cc (Target_i386::Relocate::relocate): Allow
- R_386_GOT32X relocation against ___tls_get_addr.
- (Target_i386::Relocate::tls_gd_to_ie): Support indirect
- call to __tls_get_addr.
- (Target_i386::Relocate::tls_gd_to_le): Likewise.
- (Target_i386::Relocate::tls_ld_to_le): Likewise.
- * testsuite/Makefile.am (check_PROGRAMS): Add pr20308a_test,
- pr20308b_test, pr20308c_test, pr20308d_test, pr20308e_test.
- (pr20308a_test_SOURCES): New.
- (pr20308a_test_DEPENDENCIES): Likewise.
- (pr20308a_test_CFLAGS): Likewise.
- (pr20308a_test_LDFLAGS): Likewise.
- (pr20308a_test_LDADD): Likewise.
- (pr20308b_test_SOURCES): Likewise.
- (pr20308b_test_DEPENDENCIES): Likewise.
- (pr20308b_test_CFLAGS): Likewise.
- (pr20308b_test_LDFLAGS): Likewise.
- (pr20308b_test_LDADD): Likewise.
- (pr20308c_test_SOURCES): Likewise.
- (pr20308c_test_DEPENDENCIES): Likewise.
- (pr20308c_test_CFLAGS): Likewise.
- (pr20308c_test_LDFLAGS): Likewise.
- (pr20308c_test_LDADD): Likewise.
- (pr20308d_test_SOURCES): Likewise.
- (pr20308d_test_DEPENDENCIES): Likewise.
- (pr20308d_test_CFLAGS): Likewise.
- (pr20308d_test_LDFLAGS): Likewise.
- (pr20308d_test_LDADD): Likewise.
- (pr20308e_test_SOURCES): Likewise.
- (pr20308e_test_DEPENDENCIES): Likewise.
- (pr20308e_test_CFLAGS): Likewise.
- (pr20308e_test_LDFLAGS): Likewise.
- (pr20308e_test_LDADD): Likewise.
- (pr20308a.so): Likewise.
- (pr20308b.so): Likewise.
- (pr20308_gd.o): Likewise.
- (pr20308_ld.o): Likewise.
- (MOSTLYCLEANFILES): Add pr20308a.so pr20308b.so.
- * testsuite/Makefile.in: Regenerated.
- * testsuite/pr20308_def.c: New file.
- * testsuite/pr20308_gd.S: Likewise.
- * testsuite/pr20308_ld.S: Likewise.
- * testsuite/pr20308_main.c: Likewise.
-
-2016-06-29 H.J. Lu <hongjiu.lu@intel.com>