-2019-09-11 Alan Modra <amodra@gmail.com>
-
- * Makefile.am (ALL_EMUL_EXTRA_OFILES): Add ldelf and ldelfgen.
- (CFILES, HFILES, EXTRA_ld_new_SOURCES): Likewise.
- * configure.tgt: Formatting.
- (targ_extra_ofiles): Init to ldelf.o ldelfgen.o, reset to just
- ldelfgen.o for generic ELF targets, and empty for non-ELF.
- * emultempl/aarch64elf.em (gldaarch64_layout_sections_again): Use
- ldelf_map_segments.
- (gld${EMULATION_NAME}_after_allocation): Likewise.
- (real_func, aarch64_for_each_input_file_wrapper),
- (aarch64_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/alphaelf.em (alpha_after_parse): Use ldelf_map_segments.
- * emultempl/armelf.em (gldarm_layout_sections_again): Likewise.
- (gld${EMULATION_NAME}_after_allocation): Likewise.
- (real_func, arm_for_each_input_file_wrapper),
- (arm_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/cr16elf.em (cr16elf_after_parse): Use ldelf_map_segments.
- * emultempl/crxelf.em (crxelf_after_parse): Likewise. Delete
- declaration.
- * emultempl/cskyelf.em (gldcsky_layout_sections_again): Use
- ldelf_map_segments.
- (gld${EMULATION_NAME}_after_allocation): Likewise.
- (real_func, csky_for_each_input_file_wrapper),
- (csky_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/genelf.em: Include ldelfgen.h.
- (gld${EMULATION_NAME}_before_allocation): Use ldelf_map_segments.
- * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
- (hppaelf_layout_sections_again): Likewise.
- (gld${EMULATION_NAME}_after_allocation): Likewise.
- (real_func, hppa_for_each_input_file_wrapper),
- (hppa_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/ia64elf.em (ia64elf_after_parse): Use ldelf_map_segments.
- * emultempl/m68hc1xelf.em (real_func),
- (m68hc11_for_each_input_file_wrapper),
- (m68hc11_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/metagelf.em (metagelf_layout_sections_again): Use
- ldelf_map_segments.
- (gld${EMULATION_NAME}_after_allocation): Likewise.
- (real_func, metag_for_each_input_file_wrapper),
- (metag_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/mipself.em (real_func),
- (mips_for_each_input_file_wrapper),
- (mips_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/mmo.em: Don't include elf-bfd.h, do include ldelfgen.h.
- (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
- * emultempl/nds32elf.em (nds32_elf_after_parse): Use ldelf_after_parse.
- (nds32_elf_after_allocation): Comment fix.
- * emultempl/nios2elf.em (nios2elf_layout_sections_again): Use
- ldelf_map_segments.
- (gld${EMULATION_NAME}_after_allocation): Likewise.
- (real_func, nios2_for_each_input_file_wrapper),
- (nios2_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- * emultempl/ppc32elf.em (gld${EMULATION_NAME}_load_symbols): Delete
- declaration.
- (ppc_recognized_file): Call ldelf_load_symbols.
- * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
- (gld${EMULATION_NAME}_after_allocation): Likewise.
- (real_func, ppc_for_each_input_file_wrapper),
- (ppc_lang_for_each_input_file): Delete.
- (lang_for_each_input_file): Don't define.
- (gld${EMULATION_NAME}_load_symbols): Don't declare.
- (ppc64_recognized_file): Call ldelf_load_symbols.
- * emultempl/riscvelf.em (gld${EMULATION_NAME}_after_allocation):
- Use ldelf_map_segments.
- * emultempl/spuelf.em (spu_place_special_section): Use
- ldelf_place_orphan.
- * emultempl/tic6xdsbt.em (gld${EMULATION_NAME}_after_allocation):
- Use ldelf_map_segments.
- * emultempl/vms.em: Include ldelfgen.h.
- (gld${EMULATION_NAME}_after_allocation): Use ldelf_map_segments.
- * emultempl/elf32.em: Remove unnecessary headers, include ldelf.h
- and ldelfgen.h. Move much of file content to..
- * ldelf.c: ..here. New file.
- * ldelf.h: New file.
- * emultempl/elf-generic.em: Move gld${EMULATION_NAME}_map_segments..
- * ldelfgen.c: ..to here.
- * ldelfgen.h: New file.
- * ldlang.c (lang_for_each_input_file): Adjust to only call func
- on real files.
- (lang_for_each_file): Likewise.
- * po/SRC-POTFILES.in: Regenerate.
- * Makefile.in: Regenerate.
-
-2019-09-11 Alan Modra <amodra@gmail.com>
-
- * ldmisc.c: Don't #include elf-bfd.h or coff-bfd.h.
- (vfinfo): Use bfd_group_name.
-
-2019-09-11 Alan Modra <amodra@gmail.com>
-
- * plugin.c (asymbol_from_plugin_symbol): Move code handling
- ELF common symbols to block handling ELF visibility. Simplify
- visibility setting.
-
-2019-09-09 H.J. Lu <hongjiu.lu@intel.com>
-
- PR binutils/24887
- * testsuite/ld-i386/property-1.r: Adjust for new output format
- from readelf.
- * testsuite/ld-i386/property-1a.r: Likewise.
- * testsuite/ld-i386/property-2.r: Likewise.
- * testsuite/ld-i386/property-2a.r: Likewise.
- * testsuite/ld-i386/property-3.r: Likewise.
- * testsuite/ld-i386/property-3a.r: Likewise.
- * testsuite/ld-i386/property-4.r: Likewise.
- * testsuite/ld-i386/property-4a.r: Likewise.
- * testsuite/ld-i386/property-5.r: Likewise.
- * testsuite/ld-i386/property-5a.r: Likewise.
- * testsuite/ld-i386/property-6.r: Likewise.
- * testsuite/ld-i386/property-7.r: Likewise.
- * testsuite/ld-i386/property-7a.r: Likewise.
- * testsuite/ld-i386/property-1.r: Likewise.
- * testsuite/ld-i386/property-1a.r: Likewise.
- * testsuite/ld-i386/property-2.r: Likewise.
- * testsuite/ld-i386/property-2a.r: Likewise.
- * testsuite/ld-i386/property-3.r: Likewise.
- * testsuite/ld-i386/property-3a.r: Likewise.
- * testsuite/ld-i386/property-4.r: Likewise.
- * testsuite/ld-i386/property-4a.r: Likewise.
- * testsuite/ld-i386/property-5.r: Likewise.
- * testsuite/ld-i386/property-5a.r: Likewise.
- * testsuite/ld-i386/property-6.r: Likewise.
- * testsuite/ld-i386/property-7.r: Likewise.
- * testsuite/ld-i386/property-7a.r: Likewise.
-
-2019-09-09 Phil Blundell <pb@pbcl.net>
-
- binutils 2.33 branch created.
-
-2019-09-06 Alan Modra <amodra@gmail.com>
-
- * emultempl/beos.em (sort_by_file_name): Use appropriate
- intermediary variables.
- (sort_by_section_name): Likewise.
-
-2019-09-06 Alan Modra <amodra@gmail.com>
-
- * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Constify
- variable.
- * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
- * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
-
-2019-09-05 Eric Botcazou <ebotcazou@adacore.com>
-
- PR ld/24574
- * pe-dll.c (pe_find_data_imports): Replace again the original name of
- the undefined symbol with the __imp_ prefixed one after it is resolved.
-
-2019-09-05 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-powerpc/pcrelopt.s,
- * testsuite/ld-powerpc/pcrelopt.d: Test offset and prefix in
- second instruction.
-
-2019-08-29 Alan Modra <amodra@gmail.com>
-
- PR ld/24406
- * plugin.c (get_symbols): Test link_info.wrap_hash before calling
- unwrap_hash_lookup.
-
-2019-08-22 Tamar Christina <tamar.christina@arm.com>
-
- PR ld/24601
- * testsuite/ld-aarch64/aarch64-elf.exp (undef-tls, weak-tls): New.
- * testsuite/ld-aarch64/undef-tls.d: New test.
- * testsuite/ld-aarch64/undef-tls.s: New test.
- * testsuite/ld-aarch64/weak-tls.d: New test.
- * testsuite/ld-aarch64/weak-tls.s: New test.
-
-2019-08-20 Tamar Christina <tamar.christina@arm.com>
-
- * testsuite/ld-arm/cortex-a8-fix-b-plt.d: Update Testcase.
- * testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
- * testsuite/ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
- * testsuite/ld-arm/farcall-cond-thumb-arm.d: Likewise.
- * testsuite/ld-arm/farcall-mixed-app.d: Likewise.
- * testsuite/ld-arm/farcall-mixed-app2.d: Likewise.
- * testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
- * testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise.
- * testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise.
- * testsuite/ld-arm/farcall-thumb-arm.d: Likewise.
- * testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
- * testsuite/ld-arm/farcall-thumb-thumb.d: Likewise.
- * testsuite/ld-arm/fix-arm1176-on.d: Likewise.
- * testsuite/ld-arm/ifunc-10.dd: Likewise.
- * testsuite/ld-arm/ifunc-2.dd: Likewise.
- * testsuite/ld-arm/ifunc-4.dd: Likewise.
- * testsuite/ld-arm/ifunc-6.dd: Likewise.
- * testsuite/ld-arm/ifunc-8.dd: Likewise.
- * testsuite/ld-arm/jump-reloc-veneers-long.d: Likewise.
- * testsuite/ld-arm/mixed-app.d: Likewise.
- * testsuite/ld-arm/thumb2-b-interwork.d: Likewise.
- * testsuite/ld-arm/tls-longplt.d: Likewise.
- * testsuite/ld-arm/tls-thumb1.d: Likewise.
-
-2019-08-16 H.J. Lu <hongjiu.lu@intel.com>
-
- PR ld/24905
- * testsuite/ld-x86-64/pr24905-x32.d: New file.
- * testsuite/ld-x86-64/pr24905.d: Likewise.
- * testsuite/ld-x86-64/pr24905.s: Likewise.
- * testsuite/ld-x86-64/pr24905.t: Likewise.
- * testsuite/ld-x86-64/x86-64.exp: Run pr24905 and pr24905-x32.
-
-2019-08-16 Christophe Lyon <christophe.lyon@linaro.org>
-
- * emulparams/armelf.sh (OTHER_SECTIONS): Add support for noinit
- section.
-
-2019-08-16 Alan Modra <amodra@gmail.com>
-
- * emultempl/ppc32elf.em (ppc_before_allocation): Force running
- prelim_size_sections before deciding whether branch trampolines
- might be needed.
-
-2019-08-15 Jim Wilson <jimw@sifive.com>
-
- * testsuite/ld-riscv-elf/c-lui-2.d: New.
- * testsuite/ld-riscv-elf/c-lui-2.ld: New.
- * testsuite/ld-riscv-elf/c-lui-2.s: New.
- * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the c-lui-2 test.
-
-2019-08-10 Alan Modra <amodra@gmail.com>
-
- * ldlang.h (enum statement_enum): Sort.
- (union lang_statement_union): Sort.
-
-2019-08-10 Alan Modra <amodra@gmail.com>
-
- * ldlang.h (lang_common_statement_type): Delete.
- (lang_object_symbols_statement_type): Delete.
- (union lang_statement_union): Remove common_statement and
- object_symbols_statement.
-
-2019-08-10 Alan Modra <amodra@gmail.com>
-
- * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
- (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of
- stat_alloc return value.
- * ldlang.c (new_statement, new_afile, sort_def_symbol),
- (lang_memory_region_lookup, lang_memory_region_alias),
- (ldlang_add_undef, ldlang_add_require_defined, insert_pad),
- (lang_add_gc_name, lang_new_phdr): Likewise.
- * lexsup.c (set_segment_start): Likewise.
-
-2019-08-10 Alan Modra <amodra@gmail.com>
-
- * ldlang.h (lang_input_statement_type): Make next
- and next_real_file a lang_input_statement_type pointer.
- (lang_statement_append): Delete prototype.
- (LANG_FOR_EACH_INPUT_STATEMENT): Update for lang_input_statement_type
- change.
- * ldmain.c (add_archive_element): Likewise.
- * ldlang.c: Likewise throughout.
- (lang_statement_append): Make static. Make element and field
- void pointers. Remove casts in calls.
- (lang_check): Use a lang_input_statement_type pointer for "file".
- (find_rescan_insertion): Similarly for "iter" and return value.
- (lang_process): Similarly for "insert", "iter" and "temp".
- * emultempl/spuelf.em (embedded_spu_file): Likewise.
- * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Expand
- lang_statment_append call.
-
-2019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
-
- * emulparams/elf32bmip.sh: Add .MIPS.xhash section.
- * emulparams/elf32bmipn32-defs.sh: Add .MIPS.xhash section.
- * emulparams/elf64bmip-defs.sh: Add .MIPS.xhash section.
- * emultempl/mipself.em: Remove mips_after_parse function.
- * testsuite/ld-elf/hash.d: Update comment.
- * testsuite/ld-mips-elf/hash1.d: New test.
- * testsuite/ld-mips-elf/hash1.s: Ditto.
- * testsuite/ld-mips-elf/hash1a.d: Remove.
- * testsuite/ld-mips-elf/hash1b.d: Ditto.
- * testsuite/ld-mips-elf/hash1c.d: Ditto
- * testsuite/ld-mips-elf/hash2.d: New test.
- * testsuite/ld-mips-elf/mips-elf.exp: New tests.
- * testsuite/ld-mips-elf/start.s: New test.
-
-2019-08-08 Nick Clifton <nickc@redhat.com>
-
- PR 24887
- * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
- from readelf.
- * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
- * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
- * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
- * testsuite/ld-aarch64/bti-warn.d: Likewise.
- * testsuite/ld-aarch64/property-bti-pac1.d: Likewise.
- * testsuite/ld-aarch64/property-bti-pac2.d: Likewise.
- * testsuite/ld-aarch64/property-bti-pac3.d: Likewise.
- * testsuite/ld-elf/x86-feature-1a.rd: Likewise.
- * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
- * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
- * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
- * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
- * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
- * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
- * testsuite/ld-i386/pr23372a.d: Likewise.
- * testsuite/ld-i386/pr23372c.d: Likewise.
- * testsuite/ld-i386/pr23486a.d: Likewise.
- * testsuite/ld-i386/pr23486b.d: Likewise.
- * testsuite/ld-i386/pr23486c.d: Likewise.
- * testsuite/ld-i386/pr23486d.d: Likewise.
- * testsuite/ld-i386/pr24322a.d: Likewise.
- * testsuite/ld-i386/pr24322b.d: Likewise.
- * testsuite/ld-i386/property-x86-3.d: Likewise.
- * testsuite/ld-i386/property-x86-4a.d: Likewise.
- * testsuite/ld-i386/property-x86-5.d: Likewise.
- * testsuite/ld-i386/property-x86-cet1.d: Likewise.
- * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
- * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
- * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
- * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
- * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
- * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
- * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
- * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
- * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
- * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
- * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
- * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
- * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
- * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
- * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
- * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
- * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
- * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
- * testsuite/ld-x86-64/pr23372a.d: Likewise.
- * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
- * testsuite/ld-x86-64/pr23372c.d: Likewise.
- * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
- * testsuite/ld-x86-64/pr23486a.d: Likewise.
- * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
- * testsuite/ld-x86-64/pr23486b.d: Likewise.
- * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
- * testsuite/ld-x86-64/pr23486c.d: Likewise.
- * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
- * testsuite/ld-x86-64/pr23486d.d: Likewise.
- * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
- * testsuite/ld-x86-64/pr24322a.d: Likewise.
- * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
- * testsuite/ld-x86-64/pr24322b.d: Likewise.
- * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
- * testsuite/ld-x86-64/pr24458a.d: Likewise.
- * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
- * testsuite/ld-x86-64/pr24458b.d: Likewise.
- * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
- * testsuite/ld-x86-64/pr24458c.d: Likewise.
- * testsuite/ld-x86-64/property-1.r: Likewise.
- * testsuite/ld-x86-64/property-1a.r: Likewise.
- * testsuite/ld-x86-64/property-2.r: Likewise.
- * testsuite/ld-x86-64/property-2a.r: Likewise.
- * testsuite/ld-x86-64/property-3.r: Likewise.
- * testsuite/ld-x86-64/property-3a.r: Likewise.
- * testsuite/ld-x86-64/property-4.r: Likewise.
- * testsuite/ld-x86-64/property-4a.r: Likewise.
- * testsuite/ld-x86-64/property-5.r: Likewise.
- * testsuite/ld-x86-64/property-5a.r: Likewise.
- * testsuite/ld-x86-64/property-6.r: Likewise.
- * testsuite/ld-x86-64/property-7.r: Likewise.
- * testsuite/ld-x86-64/property-7a.r: Likewise.
- * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-3.d: Likewise.
- * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
- * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-5.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
- * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
-
-2019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
-
- * scripttempl/elf64bpf.sc: Adapted from elf.sc.
- * emulparams/elf64bpf.sh (SCRIPT_NAME): Use elf64bpf.
- (EMBEDDED): Define.
- * testsuite/ld-bpf/call-1.d: Do not expect a warning regarding an
- undefined entry symbol.
- * testsuite/ld-bpf/jump-1.d: Likewise.
- * testsuite/ld-undefined/undefined.exp: Do not pass '-e entry' to
- ld in BPF targets, and do not expect line number information.
- * testsuite/ld-srec/srec.exp (run_srec_test): xfail s-record tests
- in BPF targets.
-
-2019-08-06 Alan Modra <amodra@gmail.com>
-
- PR 24873
- * ldlang.c (find_replacements_insert_point): Return "before" flag.
- (find_next_input_statement): New function.
- (lang_process): When placing recompiled LTO objects before a
- claimed archive, place them immediately before in the statement
- list.
-
-2019-08-06 Alan Modra <amodra@gmail.com>
-
- PR 24873
- * ldlang.c (plugin_undefs): New static var.
- (open_input_bfds <lang_group_statement_enum>): Loop on
- plugin_undefs and hitting plugin_insert point.
- (lang_process <lto_plugin_active>): Set plugin_undefs.
-
-2019-08-02 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.
-
-2019-08-01 Alan Modra <amodra@gmail.com>
-
- PR 24806
- * ldlang.c (process_insert_statements): Add start of list
- parameter. Use rather than lang_os_list.head. Process insert
- statements inside group statements with a recursive call.
- (lang_process): Adjust process_insert_statements call.
- * lexsup.c (parse_args): Warn when adding missing --end-group.
-
-2019-08-01 Alan Modra <amodra@gmail.com>
-
- * ldlang.h (lang_os_list): Rename from lang_output_section_statement.
- * ldlang.c: Likewise throughout file.
- * emultempl/alphaelf.em: Likewise.
- * emultempl/elf32.em: Likewise.
- * emultempl/mmo.em: Likewise.
- * emultempl/pe.em: Likewise.
- * emultempl/pep.em: Likewise.
- * emultempl/ppc32elf.em: Likewise.
- * emultempl/spuelf.em: Likewise.
-
-2019-07-26 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-plugin/lto-3r.d: Accept D for powerpc64 descriptors.
- * testsuite/ld-plugin/lto-5r.d: Likewise.
-
-2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
-
- * testsuite/ld-plugin/lto-3r.d: Restored. Check foo instead
- of __gnu_lto_v.*.
- * testsuite/ld-plugin/lto-5r.d: Likewise.
- * testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests.
-
-2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
-
- * ld-arc/relax-local-pic.d: New test.
- * ld-arc/relax-local-pic.s: New file.
-
-2019-07-22 Martin Liska <mliska@suse.cz>
-
- * testsuite/ld-plugin/lto-3r.d: Remove.
- * testsuite/ld-plugin/lto-5r.d: Remove.
- * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r
- tests.
-
-2019-07-23 Alan Modra <amodra@gmail.com>
-
- * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition
- SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind.
-
-2019-07-23 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-elf/size-1.d,
- * testsuite/ld-elf/size-1.s,
- * testsuite/ld-elf/size-1.t: New test.
- * testsuite/ld-elf/size-2.d,
- * testsuite/ld-elf/size-2.s,
- * testsuite/ld-elf/size-2.t: New test.
- * testsuite/ld-scripts/size-1.d,
- * testsuite/ld-scripts/size-1.s,
- * testsuite/ld-scripts/size-1.t,
- * testsuite/ld-scripts/size-2.s,
- * testsuite/ld-scripts/size-2.d,
- * testsuite/ld-scripts/size-2.t,
- * testsuite/ld-scripts/size.exp: Delete.
-
-2019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
-
- * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
- allow for output from a arm-none-linux-gnueabihf target.
-
-2019-07-20 Alan Modra <amodra@gmail.com>
-
- PR 24827
- * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
-
-2019-07-19 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-powerpc/tlsgd.d,
- * testsuite/ld-powerpc/tlsgd.s,
- * testsuite/ld-powerpc/tlsie.d,
- * testsuite/ld-powerpc/tlsie.s,
- * testsuite/ld-powerpc/tlsld.d,
- * testsuite/ld-powerpc/tlsld.s: New tests.
- * testsuite/ld-powerpc/powerpc.exp: Run them.
-
-2019-07-19 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
- * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
- * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
- * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
- * testsuite/ld-powerpc/powerpc.exp: Update.
-
-2019-07-19 Alan Modra <amodra@gmail.com>
-
- PR 24819
- * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
-
-2019-07-18 H.J. Lu <hongjiu.lu@intel.com>
-
- PR ld/24819
- * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
- member of output section group when doing a relocatable link.
- * testsuite/ld-elf/pr24819.d: New file.
- * testsuite/ld-elf/pr24819.s: Likewise.
-
-2019-07-13 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-powerpc/tlsso.r: Update.
- * testsuite/ld-powerpc/tlsso32.g: Update.
- * testsuite/ld-powerpc/tlsso32.r: Update.
- * testsuite/ld-powerpc/tlstocso.r: Update.
- * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
- * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
- * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
- * testsuite/ld-cris/tls-gd-1.d: Update.
- * testsuite/ld-cris/tls-gd-1h.d: Update.
- * testsuite/ld-cris/tls-gd-2.d: Update.
- * testsuite/ld-cris/tls-gd-2h.d: Update.
- * testsuite/ld-cris/tls-ie-10.d: Update.
- * testsuite/ld-cris/tls-ie-11.d: Update.
- * testsuite/ld-cris/tls-ie-8.d: Update.
- * testsuite/ld-cris/tls-ie-9.d: Update.
- * testsuite/ld-cris/tls-js1.d: Update.
- * testsuite/ld-cris/tls-ld-4.d: Update.
- * testsuite/ld-cris/tls-ld-5.d: Update.
- * testsuite/ld-cris/tls-ld-6.d: Update.
- * testsuite/ld-cris/tls-ld-7.d: Update.
- * testsuite/ld-cris/tls-ldgd-14.d: Update.
- * testsuite/ld-cris/tls-ldgd-15.d: Update.
- * testsuite/ld-cris/tls-ldgdx-14.d: Update.
- * testsuite/ld-cris/tls-ldgdx-15.d: Update.
- * testsuite/ld-cris/tls-local-54.d: Update.
- * testsuite/ld-cris/tls-local-60.d: Update.
- * testsuite/ld-cris/tls-local-61.d: Update.
- * testsuite/ld-cris/tls-local-63.d: Update.
- * testsuite/ld-cris/tls-local-64.d: Update.
- * testsuite/ld-cris/tls-ok-30.d: Update.
- * testsuite/ld-cris/tls-ok-32.d: Update.
- * testsuite/ld-cris/tls-ok-34.d: Update.
- * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
- * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
- * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
- * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
- * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
- * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
- * testsuite/ld-mips-elf/tlslib-o32.got: Update.
- * testsuite/ld-s390/tlspic.rd: Update.
- * testsuite/ld-s390/tlspic_64.rd: Update.
- * testsuite/ld-sparc/tlssunnopic32.rd: Update.
- * testsuite/ld-sparc/tlssunnopic64.rd: Update.
- * testsuite/ld-sparc/tlssunpic32.rd: Update.
- * testsuite/ld-sparc/tlssunpic64.rd: Update.
-
-2019-07-13 Alan Modra <amodra@gmail.com>
-
- PR 24786
- * ldlang.h (enum section_type): Add first_overlay_section.
- * ldlang.c (lang_add_section): Adjust switch statement.
- (map_input_to_output_sections): Likewise.
- (lang_size_sections_1): Always set last_os for first overlay section.
- (lang_leave_overlay): Set sectype to first_overlay_section.
-
-2019-07-08 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
- * testsuite/ld-powerpc/callstub-2.d: Likewise.
-
-2019-07-04 Jan Beulich <jbeulich@suse.com>
-
- * testsuite/ld-elf/group9.s: Correct argument of .type.
-
-2019-07-02 Nick Clifton <nickc@redhat.com>
-
- PR 24753
- * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
- LINKER_CREATED section flag when creating the stub section.
-
-2019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>