2025-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure.tgt <powerpc*-*-solaris*>: Remove. 2025-08-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * emulparams/elf64_sparc.sh (TEXT_START_ADDR): Move ... * emulparams/elf64_sparc_sol2.sh (TEXT_START_ADDR): ... here. 2025-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-shared/shared.exp (shared (non PIC)): Update comment. xfail on 64-bit Solaris only. (shared (PIC main, non PIC so)): Likewise. (shared (non PIC, load offset)): Update comment. 2025-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-shared/shared.exp: Enable on *-*-solaris2* rather than sparc*-*-solaris2* only. 2025-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-elfvers/vers.exp (vers26b3): Mark unsupported on Linux/x86_64 and Solaris/amd64. 2025-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * emultempl/solaris2.em (elf_solaris2_before_allocation): Mark global symbols as generated by linker script. * testsuite/ld-elfvers/vers.exp: Enable on *-*-solaris2* rather than sparc*-*-solaris2* only. 2025-08-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-i386/libno-plt-1b.dd: Allow for positive GOT offsets. * testsuite/ld-i386/no-plt-1a.dd: Likewise. * testsuite/ld-i386/no-plt-1b.dd: Likewise. * testsuite/ld-i386/no-plt-1c.dd: Likewise. * testsuite/ld-i386/no-plt-1e.dd: Likewise. * testsuite/ld-i386/no-plt-1f.dd: Likewise. * testsuite/ld-i386/no-plt-1g.dd: Likewise. 2025-08-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-ctf/ctf.exp (ASFLAGS): Append -Av8plus on sparc-*-*. 2025-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-elfweak/elfweak.exp: Enable on *-*-solaris2* rather than sparc*-*-solaris2* only. 2025-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-plugin/lto.exp (PR ld/28138 test): Raise fd limit to 25. 2025-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-elf/indirect.exp (Run with libpr19553c.so): Skip on *-*-solaris2*. 2025-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR ld/32580 * configure.ac <*-*-solaris2*>: Enforce SHELL=/bin/bash. * configure: Regenerate. 2025-07-13 Nick Clifton <nickc@redhat.com> * 2.45 Branch point. 2025-02-08 Alexandre Oliva <oliva@adacore.com> * testsuite/ld-sparc/got-def.s: New test. * testsuite/ld-sparc/sparc.exp: Add it. 2025-01-19 Nick Clifton <nickc@redhat.com> * 2.44 Branch point. 2024-10-18 WANG Xuerui <git@xen0n.name> * testsuite/ld-loongarch-elf/64_pcrel.d: Update assertions after changing the target max page size to 64KiB. * testsuite/ld-loongarch-elf/data-got.d: Likewise. * testsuite/ld-loongarch-elf/desc-relex.d: Likewise. * testsuite/ld-loongarch-elf/relax-align-ignore-start.d: Likewise. * testsuite/ld-loongarch-elf/tlsdesc_abs.d: Make the fuzzy match work as intended by not checking exact instruction words. * testsuite/ld-loongarch-elf/tlsdesc_extreme.d: Likewise. 2024-07-20 Nick Clifton <nickc@redhat.com> * 2.43 branch point. 2024-01-15 Nick Clifton <nickc@redhat.com> * configure: Regenerate. * po/ld.pot: Regenerate. 2024-01-15 Nick Clifton <nickc@redhat.com> * 2.42 branch point. 2023-12-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * emulparams/elf_i386.sh (LIBPATH_SUFFIX, LIBPATH_SUFFIX_SKIP) [x86_64*-freebsd*]: Set for i386 emulation. 2023-12-12 Georg-Johann Lay <avr@gjlay.de> PR 31124 * Makefile.am (ALL_EMULATION_SOURCES): Add eavrxmega2_flmap.c and eavrxmega4_flmap.c. * Makefile.in: Regenerate. * configure.tgt: Add eavrxmega2_flmap and eavrxmega4_flmap to avr's targ_extra_emuls list. * emulparams/avrxmega2.sh (MAYBE_FLMAP): Define. * emulparams/avrxmega2_flmap.sh: New file. * emulparams/avrxmega4.sh (MAYBE_FLMAP): Define. * emulparams/avrxmega4_flmap.sh: New file. * scripttempl/avr.sc: Add support for HAVE_FLMAP. 2023-11-28 Jakub Jelinek <jakub@redhat.com> * ldbuildid.c (generate_build_id): Use sha1_choose_process_bytes () instead of &sha1_process_bytes. 2023-11-28 Nick Clifton <nickc@redhat.com> * po/ro.po: New Romanian translation. 2023-11-21 Nick Clifton <nickc@redhat.com> PR 31067 * ld.texi (Special Sections): New entry in the linker manual. Describes how the .gnu.warning and .gnu.warning.SYM sections behave. 2023-11-15 Arsen Arsenović <arsen@aarsen.me> * aclocal.m4: Regenerate. * configure: Regenerate. * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot temporary file, to suppress xgettext checking charset names. 2023-11-14 Nick Clifton <nickc@redhat.com> PR 28910 * lexsup.c (ld_options): Ensure that the --mri-script option is correctly recognised. 2023-11-13 Nick Clifton <nickc@redhat.com> PR 28910 * lexsup.c (ld_options): Ensure that the --format option is correctly recognised. 2023-11-13 Chung-Ju Wu <jasonwucj@gmail.com> * ld.texi: Fix redundant space typo. 2023-11-10 Nick Clifton <nickc@redhat.com> * ldlex.h (enum option_values): Add OPTION_ERROR_EXECSTACK, OPTION_NO_ERROR_EXECSTACK, OPTION_WARN_EXECSTACK_OBJECTS, OPTION_ERROR_RWX_SEGMENTS and OPTION_NO_ERROR_RWX_SEGMENTS. (struct ld_option): Add new long options. (parse_args): Parse new long options. (elf_static_list_options): Display the new options. * ld.texi: Document the new command line options. * configure.ac (error-execstack): New configuration option. (error-rwx-segments): New configuration option. * emultempl/elf.em (_before_parse): Initialse the new linkinfo fields. * NEWS: Mention the new features. * config.in: Regenerate. * configure: Regenerate. * testsuite/ld-elf/commonpage2.d: Disable errors for RWX segments and/or executable stacks. * testsuite/ld-elf/elf.exp: Likewise. * testsuite/ld-elf/header.d: Likewise. * testsuite/ld-elf/loadaddr1.d: Likewise. * testsuite/ld-elf/loadaddr2.d: Likewise. * testsuite/ld-elf/maxpage4.d: Likewise. * testsuite/ld-elf/nobits-1.d: Likewise. * testsuite/ld-elf/note-1.d: Likewise. * testsuite/ld-elf/orphan-10.d: Likewise. * testsuite/ld-elf/orphan-11.d: Likewise. * testsuite/ld-elf/orphan-12.d: Likewise. * testsuite/ld-elf/orphan-5.d: Likewise. * testsuite/ld-elf/orphan-7.d: Likewise. * testsuite/ld-elf/orphan-8.d: Likewise. * testsuite/ld-elf/orphan-9.d: Likewise. * testsuite/ld-elf/orphan-region.d: Likewise. * testsuite/ld-elf/orphan.d: Likewise. * testsuite/ld-elf/pr19539.d: Likewise. * testsuite/ld-elf/pr26256-1a.d: Likewise. * testsuite/ld-elf/pr26907.d: Likewise. * testsuite/ld-elf/pr28597.d: Likewise. * testsuite/ld-elf/retain2.d: Likewise. * testsuite/ld-elf/shared.exp: Likewise. * testsuite/ld-elf/size-1.d: Likewise. * testsuite/ld-elf/textaddr7.d: Likewise. * testsuite/ld-elf/warn1.d: Likewise. * testsuite/ld-elf/warn2.d: Likewise. * testsuite/ld-i386/discarded1.d: Likewise. * testsuite/ld-i386/pr19175.d: Likewise. * testsuite/ld-i386/pr19539.d: Likewise. * testsuite/ld-i386/pr23189.d: Likewise. * testsuite/ld-plugin/lto-3r.d: Likewise. * testsuite/ld-plugin/lto-5r.d: Likewise. * testsuite/ld-plugin/lto.exp: Likewise. * testsuite/ld-powerpc/ppc476-shared.d: Likewise. * testsuite/ld-powerpc/ppc476-shared2.d: Likewise. * testsuite/ld-powerpc/pr28827-2.d: Likewise. * testsuite/ld-s390/s390.exp: Likewise. * testsuite/ld-scripts/align2a.d: Likewise. * testsuite/ld-scripts/align2b.d: Likewise. * testsuite/ld-scripts/align5.d: Likewise. * testsuite/ld-scripts/alignof.exp: Likewise. * testsuite/ld-scripts/crossref.exp: Likewise. * testsuite/ld-scripts/defined2.d: Likewise. * testsuite/ld-scripts/defined3.d: Likewise. * testsuite/ld-scripts/defined5.d: Likewise. * testsuite/ld-scripts/pr14962.d: Likewise. * testsuite/ld-scripts/pr18963.d: Likewise. * testsuite/ld-scripts/pr20302.d: Likewise. * testsuite/ld-scripts/print-memory-usage.exp: Likewise. * testsuite/ld-scripts/rgn-at1.d: Likewise. * testsuite/ld-scripts/rgn-at10.d: Likewise. * testsuite/ld-scripts/rgn-at4.d: Likewise. * testsuite/ld-scripts/rgn-at6.d: Likewise. * testsuite/ld-scripts/rgn-at8.d: Likewise. * testsuite/ld-scripts/rgn-at9.d: Likewise. * testsuite/ld-scripts/rgn-over1.d: Likewise. * testsuite/ld-scripts/rgn-over2.d: Likewise. * testsuite/ld-scripts/rgn-over4.d: Likewise. * testsuite/ld-scripts/rgn-over5.d: Likewise. * testsuite/ld-scripts/rgn-over6.d: Likewise. * testsuite/ld-scripts/script.exp: Likewise. * testsuite/ld-scripts/sizeof.exp: Likewise. * testsuite/ld-scripts/sort-file.d: Likewise. * testsuite/ld-x86-64/discarded1.d: Likewise. * testsuite/ld-x86-64/pr19175.d: Likewise. * testsuite/ld-x86-64/pr19539a.d: Likewise. * testsuite/ld-x86-64/pr19539b.d: Likewise. * testsuite/ld-x86-64/pr23189.d: Likewise. 2023-11-06 Jan Beulich <jbeulich@suse.com> PR 30722 * testsuite/ld-x86-64/property-3.r: Revert commit bf77f42f6708. * testsuite/ld-x86-64/property-4.r: Likewise. * testsuite/ld-x86-64/property-5.r: Likewise. 2023-11-06 Nick Clifton <nickc@redhat.com> PR 30865 * ld.texi: Update description of the FILL command. * testsuite/ld-scripts/fill2.d: New test. * testsuite/ld-scripts/fill2.t: New test source. * testsuite/ld-scripts/data.exp: Run the new test. 2023-11-02 Nick Clifton <nickc@redhat.com> * testsuite/ld-x86-64/property-3.r: Update regexp to allow for targets which support x86-64-v3. * testsuite/ld-x86-64/property-4.r: Likewise. * testsuite/ld-x86-64/property-5.r: Likewise. 2023-11-01 Nick Clifton <nickc@redhat.com> PR 27565 * ldlex.l: Add REVERSE. * ldgram.y: Allow REVERSE to be used wherever a sorting command can be used. * ld.h (struct wildcard_spec): Add 'reversed' field. * ldlang.h (lang_wild_statement_struct): Add 'filenames_reversed' field. * ldlang.c (compare_sections): Add reversed parameter. (wild_sort): Reverse the comparison if requested. (print_wild_statement): Handle the reversed field. * ld.texi: Document the new feature. * NEWS: Mention the new feature. * testsuite/ld-scripts/sort-file-reversed-1.d: New test driver. * testsuite/ld-scripts/sort-file-reversed-1.t: New test source. * testsuite/ld-scripts/sort-file-reversed-2.t: New test source. * testsuite/ld-scripts/sort-file-reversed-2.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-1.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-1.t: New test source. * testsuite/ld-scripts/sort-sections-reversed-2.t: New test source. * testsuite/ld-scripts/sort-sections-reversed-2.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-3.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-3.t: New test source. 2023-10-30 Nick Clifton <nickc@redhat.com> * po/ka.po: New Georgian translation. 2023-10-19 Jose E. Marchesi <jose.marchesi@oracle.com> * ld.texi (Options): Fix typo metdata->metadata. 2023-10-16 Nick Clifton <nickc@redhat.com> PR 28910 * lexsup.c (ld_options): Require that the --architecture option is given exactly two dashes, so that it does not become confused with the -a option. 2023-10-09 Nick Clifton <nickc@redhat.com> PR 30951 * ldlex.l (yy_input): Check for YY_CURRENT_BUFFER being NULL. PR 30954 * ldlang.c (map_input_to_output_sections): Check that os is non NULL before using it. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30905 * testsuite/ld-elf/pr28158.rd: Adjust regexp to allow for section indicies larger than 9. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30917 * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30918 * testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail with the MUSL library. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30923 * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations using the MUSL library. * testsuite/ld-arm/thumb-plt.d: Likewise. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30925 PR 22001 * testsuite/ld-i386/i386.exp: Skip the pr22001 test with TEXTREL relocations enabled on configurations using the MUSL library. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30924 * testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle EABI version information in objdump's output. 2023-10-02 Nick Clifton <nickc@redhat.com> * pe-dll.c (fill_edata): Use bfd_get_current_time when filling in the timestamp. 2023-09-27 Hsinyuan Xavier <TheLastLin@hotmail.com> PR 30875 * ldlang.c (get_os_init_flag): New function. (exp_init_os, map_input_to_output_sections): Use it. 2023-07-24 Johannes Schauer Marin Rodrigues <josch@debian.org> * pe-dll.c (fill_edata): If inserting a timestamp, use the value held in the SOURCE_DATE_EPOCH environment variable, if it is defined. * ld.texi (--insert-timestamp): Document change in behaviour. 2023-07-03 Nick Clifton <nickc@redhat.com> * configure: Regenerate. 2023-07-03 Nick Clifton <nickc@redhat.com> 2.41 Branch Point. 2023-06-28 Nikita Popov <npopov@redhat.com> Nick Clifton <nickc@redhat.com> PR 30568 * ldfile.c (ldfile_try_open_bfd): Do not track lto generated temporary files. 2023-06-21 Nick Clifton <nickc@redhat.com> PR 29072 * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Always return false for linkers configured with the --enable-default-execstack=no option. 2023-06-14 Nick Clifton <nickc@redhat.com> PR 30374 * ldfile.c (struct input_remap): New structure. (ldfile_add_remap): New function. (ldfile_remap_input_free): New function. (ldfile_add_remap_file): New function. (ldfile_possibly_remap_input): New function. (ldfile_print_input_remaps): New function. * ldfile.h: Add prototypes for new functions. * ldlang.c (new_afile): Call ldfile_possibly_remap_input. (lang_finish): Call ldfile_remap_input_free. (lang_map): Call ldfile_print_input_remaps. * ldlex.h (OPTION_REMAP_INPUTS, OPTION_REMAP_INPUTS_FILE): Define. * lexsup.c (ld_options): Add --remap-inputs-file and --remap-inputs. (parse_args): Handle new options. * NEWS: Mention the new feature. * ld.texi: Document the new options. * testsuite/ld-misc/input-remap.exp: New test driver. * testsuite/ld-misc/remaps.r: New file: Expected linker output. * testsuite/ld-misc/remaps.txt: New file. Input remaps file. 2023-06-07 Nick Clifton <nickc@redhat.com> PR 30499 * testsuite/ld-elfcomm/elfcomm.exp: Update regexps to match new output from the linker. 2023-05-17 Luca Bacci <luca.bacci@outlook.com> PR 30421 * emultempl/pe.em (set_decoration): New function. (pe_fixup_stdcalls): Call the new function. * emultempl/pep.em (set_decoration): New function. (pep_fixup_stdcalls): Call the new function. * pe-dll.c (make_one): Check for decoated symbols. 2023-05-16 Nick Clifton <nickc@redhat.com> PR 30359 * ld.texi (WIN32): Document how to create a resource only DLL. 2023-05-16 Nick Clifton <nickc@redhat.com> * ld.texi (-Ur): Clarify the actions of this option. 2023-05-10 Nick Clifton <nickc@redhat.com> PR 16566 * ldlang.c (ld_is_local_symbol): New function. (print_input_section): Add code to display local symbols in the section. * ldlex.h (enum option_values): Add OPTION_PRINT_MAP_LOCALS and OPTION_PRINT_MAP_LOCALS. * lexsup.c (ld_options[]): Add entries for --print-map-locals and --no-print-map-locals. * NEWS: Mention the new feature. * ld.h (struct ld_config_type): Add print_map_locals field. * ld.texi: Document the new command line option. * testsuite/ld-scripts/sizeof.s: Add a local symbol. * testsuite/ld-scripts/map-locals.d: New test control file. * testsuite/ld-scripts/map-address.exp: Run the new test. 2023-05-04 Nick Clifton <nickc@redhat.com> PR 30300 * emultempl/pep.em (set_entry_point): Add an undefined reference to the entry point if it has been constructed heuristically. * emultempl/pe.em (set_entry_point): Likewise. 2023-05-04 Dimitar Dimitrov <dimitar@dinux.eu> * scripttempl/pru.sc (OUTPUT_SECTION_ALIGN): New helper variable to place at end of DMEM output sections. (.data): Use the helper variable. (.eh_frame): New output section. (.gnu_extab): Ditto. (.gcc_except_table): Ditto. (.resource_table): Use the helper variable. 2023-04-27 Nick Clifton <nickc@redhat.com> * ldmisc.c (vfinfo): Add support for %x and %lx. 2023-04-18 mengqinggang <mengqinggang@loongson.cn> * testsuite/ld-loongarch-elf/macro_op.d: Regenerated. 2023-04-17 Nick Clifton <nickc@redhat.com> PR 30354 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to handle the .gnu.sgstubs section. 2023-04-13 Claudiu Zissulescu <claziss@synopsys.com> * testsuite/ld-arc/arc.exp: Update execution predicate. * testsuite/ld-arc/nps-1a.d: Add linker script option. * testsuite/ld-arc/nps-1b.d: Likewise. * testsuite/ld-arc/relax-local-pic.d: Update matching patterns. Lines 1–500 of 2630. Load more
2025-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure.tgt <powerpc*-*-solaris*>: Remove. 2025-08-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * emulparams/elf64_sparc.sh (TEXT_START_ADDR): Move ... * emulparams/elf64_sparc_sol2.sh (TEXT_START_ADDR): ... here. 2025-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-shared/shared.exp (shared (non PIC)): Update comment. xfail on 64-bit Solaris only. (shared (PIC main, non PIC so)): Likewise. (shared (non PIC, load offset)): Update comment. 2025-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-shared/shared.exp: Enable on *-*-solaris2* rather than sparc*-*-solaris2* only. 2025-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-elfvers/vers.exp (vers26b3): Mark unsupported on Linux/x86_64 and Solaris/amd64. 2025-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * emultempl/solaris2.em (elf_solaris2_before_allocation): Mark global symbols as generated by linker script. * testsuite/ld-elfvers/vers.exp: Enable on *-*-solaris2* rather than sparc*-*-solaris2* only. 2025-08-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-i386/libno-plt-1b.dd: Allow for positive GOT offsets. * testsuite/ld-i386/no-plt-1a.dd: Likewise. * testsuite/ld-i386/no-plt-1b.dd: Likewise. * testsuite/ld-i386/no-plt-1c.dd: Likewise. * testsuite/ld-i386/no-plt-1e.dd: Likewise. * testsuite/ld-i386/no-plt-1f.dd: Likewise. * testsuite/ld-i386/no-plt-1g.dd: Likewise. 2025-08-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-ctf/ctf.exp (ASFLAGS): Append -Av8plus on sparc-*-*. 2025-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-elfweak/elfweak.exp: Enable on *-*-solaris2* rather than sparc*-*-solaris2* only. 2025-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-plugin/lto.exp (PR ld/28138 test): Raise fd limit to 25. 2025-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/ld-elf/indirect.exp (Run with libpr19553c.so): Skip on *-*-solaris2*. 2025-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR ld/32580 * configure.ac <*-*-solaris2*>: Enforce SHELL=/bin/bash. * configure: Regenerate. 2025-07-13 Nick Clifton <nickc@redhat.com> * 2.45 Branch point. 2025-02-08 Alexandre Oliva <oliva@adacore.com> * testsuite/ld-sparc/got-def.s: New test. * testsuite/ld-sparc/sparc.exp: Add it. 2025-01-19 Nick Clifton <nickc@redhat.com> * 2.44 Branch point. 2024-10-18 WANG Xuerui <git@xen0n.name> * testsuite/ld-loongarch-elf/64_pcrel.d: Update assertions after changing the target max page size to 64KiB. * testsuite/ld-loongarch-elf/data-got.d: Likewise. * testsuite/ld-loongarch-elf/desc-relex.d: Likewise. * testsuite/ld-loongarch-elf/relax-align-ignore-start.d: Likewise. * testsuite/ld-loongarch-elf/tlsdesc_abs.d: Make the fuzzy match work as intended by not checking exact instruction words. * testsuite/ld-loongarch-elf/tlsdesc_extreme.d: Likewise. 2024-07-20 Nick Clifton <nickc@redhat.com> * 2.43 branch point. 2024-01-15 Nick Clifton <nickc@redhat.com> * configure: Regenerate. * po/ld.pot: Regenerate. 2024-01-15 Nick Clifton <nickc@redhat.com> * 2.42 branch point. 2023-12-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * emulparams/elf_i386.sh (LIBPATH_SUFFIX, LIBPATH_SUFFIX_SKIP) [x86_64*-freebsd*]: Set for i386 emulation. 2023-12-12 Georg-Johann Lay <avr@gjlay.de> PR 31124 * Makefile.am (ALL_EMULATION_SOURCES): Add eavrxmega2_flmap.c and eavrxmega4_flmap.c. * Makefile.in: Regenerate. * configure.tgt: Add eavrxmega2_flmap and eavrxmega4_flmap to avr's targ_extra_emuls list. * emulparams/avrxmega2.sh (MAYBE_FLMAP): Define. * emulparams/avrxmega2_flmap.sh: New file. * emulparams/avrxmega4.sh (MAYBE_FLMAP): Define. * emulparams/avrxmega4_flmap.sh: New file. * scripttempl/avr.sc: Add support for HAVE_FLMAP. 2023-11-28 Jakub Jelinek <jakub@redhat.com> * ldbuildid.c (generate_build_id): Use sha1_choose_process_bytes () instead of &sha1_process_bytes. 2023-11-28 Nick Clifton <nickc@redhat.com> * po/ro.po: New Romanian translation. 2023-11-21 Nick Clifton <nickc@redhat.com> PR 31067 * ld.texi (Special Sections): New entry in the linker manual. Describes how the .gnu.warning and .gnu.warning.SYM sections behave. 2023-11-15 Arsen Arsenović <arsen@aarsen.me> * aclocal.m4: Regenerate. * configure: Regenerate. * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot temporary file, to suppress xgettext checking charset names. 2023-11-14 Nick Clifton <nickc@redhat.com> PR 28910 * lexsup.c (ld_options): Ensure that the --mri-script option is correctly recognised. 2023-11-13 Nick Clifton <nickc@redhat.com> PR 28910 * lexsup.c (ld_options): Ensure that the --format option is correctly recognised. 2023-11-13 Chung-Ju Wu <jasonwucj@gmail.com> * ld.texi: Fix redundant space typo. 2023-11-10 Nick Clifton <nickc@redhat.com> * ldlex.h (enum option_values): Add OPTION_ERROR_EXECSTACK, OPTION_NO_ERROR_EXECSTACK, OPTION_WARN_EXECSTACK_OBJECTS, OPTION_ERROR_RWX_SEGMENTS and OPTION_NO_ERROR_RWX_SEGMENTS. (struct ld_option): Add new long options. (parse_args): Parse new long options. (elf_static_list_options): Display the new options. * ld.texi: Document the new command line options. * configure.ac (error-execstack): New configuration option. (error-rwx-segments): New configuration option. * emultempl/elf.em (_before_parse): Initialse the new linkinfo fields. * NEWS: Mention the new features. * config.in: Regenerate. * configure: Regenerate. * testsuite/ld-elf/commonpage2.d: Disable errors for RWX segments and/or executable stacks. * testsuite/ld-elf/elf.exp: Likewise. * testsuite/ld-elf/header.d: Likewise. * testsuite/ld-elf/loadaddr1.d: Likewise. * testsuite/ld-elf/loadaddr2.d: Likewise. * testsuite/ld-elf/maxpage4.d: Likewise. * testsuite/ld-elf/nobits-1.d: Likewise. * testsuite/ld-elf/note-1.d: Likewise. * testsuite/ld-elf/orphan-10.d: Likewise. * testsuite/ld-elf/orphan-11.d: Likewise. * testsuite/ld-elf/orphan-12.d: Likewise. * testsuite/ld-elf/orphan-5.d: Likewise. * testsuite/ld-elf/orphan-7.d: Likewise. * testsuite/ld-elf/orphan-8.d: Likewise. * testsuite/ld-elf/orphan-9.d: Likewise. * testsuite/ld-elf/orphan-region.d: Likewise. * testsuite/ld-elf/orphan.d: Likewise. * testsuite/ld-elf/pr19539.d: Likewise. * testsuite/ld-elf/pr26256-1a.d: Likewise. * testsuite/ld-elf/pr26907.d: Likewise. * testsuite/ld-elf/pr28597.d: Likewise. * testsuite/ld-elf/retain2.d: Likewise. * testsuite/ld-elf/shared.exp: Likewise. * testsuite/ld-elf/size-1.d: Likewise. * testsuite/ld-elf/textaddr7.d: Likewise. * testsuite/ld-elf/warn1.d: Likewise. * testsuite/ld-elf/warn2.d: Likewise. * testsuite/ld-i386/discarded1.d: Likewise. * testsuite/ld-i386/pr19175.d: Likewise. * testsuite/ld-i386/pr19539.d: Likewise. * testsuite/ld-i386/pr23189.d: Likewise. * testsuite/ld-plugin/lto-3r.d: Likewise. * testsuite/ld-plugin/lto-5r.d: Likewise. * testsuite/ld-plugin/lto.exp: Likewise. * testsuite/ld-powerpc/ppc476-shared.d: Likewise. * testsuite/ld-powerpc/ppc476-shared2.d: Likewise. * testsuite/ld-powerpc/pr28827-2.d: Likewise. * testsuite/ld-s390/s390.exp: Likewise. * testsuite/ld-scripts/align2a.d: Likewise. * testsuite/ld-scripts/align2b.d: Likewise. * testsuite/ld-scripts/align5.d: Likewise. * testsuite/ld-scripts/alignof.exp: Likewise. * testsuite/ld-scripts/crossref.exp: Likewise. * testsuite/ld-scripts/defined2.d: Likewise. * testsuite/ld-scripts/defined3.d: Likewise. * testsuite/ld-scripts/defined5.d: Likewise. * testsuite/ld-scripts/pr14962.d: Likewise. * testsuite/ld-scripts/pr18963.d: Likewise. * testsuite/ld-scripts/pr20302.d: Likewise. * testsuite/ld-scripts/print-memory-usage.exp: Likewise. * testsuite/ld-scripts/rgn-at1.d: Likewise. * testsuite/ld-scripts/rgn-at10.d: Likewise. * testsuite/ld-scripts/rgn-at4.d: Likewise. * testsuite/ld-scripts/rgn-at6.d: Likewise. * testsuite/ld-scripts/rgn-at8.d: Likewise. * testsuite/ld-scripts/rgn-at9.d: Likewise. * testsuite/ld-scripts/rgn-over1.d: Likewise. * testsuite/ld-scripts/rgn-over2.d: Likewise. * testsuite/ld-scripts/rgn-over4.d: Likewise. * testsuite/ld-scripts/rgn-over5.d: Likewise. * testsuite/ld-scripts/rgn-over6.d: Likewise. * testsuite/ld-scripts/script.exp: Likewise. * testsuite/ld-scripts/sizeof.exp: Likewise. * testsuite/ld-scripts/sort-file.d: Likewise. * testsuite/ld-x86-64/discarded1.d: Likewise. * testsuite/ld-x86-64/pr19175.d: Likewise. * testsuite/ld-x86-64/pr19539a.d: Likewise. * testsuite/ld-x86-64/pr19539b.d: Likewise. * testsuite/ld-x86-64/pr23189.d: Likewise. 2023-11-06 Jan Beulich <jbeulich@suse.com> PR 30722 * testsuite/ld-x86-64/property-3.r: Revert commit bf77f42f6708. * testsuite/ld-x86-64/property-4.r: Likewise. * testsuite/ld-x86-64/property-5.r: Likewise. 2023-11-06 Nick Clifton <nickc@redhat.com> PR 30865 * ld.texi: Update description of the FILL command. * testsuite/ld-scripts/fill2.d: New test. * testsuite/ld-scripts/fill2.t: New test source. * testsuite/ld-scripts/data.exp: Run the new test. 2023-11-02 Nick Clifton <nickc@redhat.com> * testsuite/ld-x86-64/property-3.r: Update regexp to allow for targets which support x86-64-v3. * testsuite/ld-x86-64/property-4.r: Likewise. * testsuite/ld-x86-64/property-5.r: Likewise. 2023-11-01 Nick Clifton <nickc@redhat.com> PR 27565 * ldlex.l: Add REVERSE. * ldgram.y: Allow REVERSE to be used wherever a sorting command can be used. * ld.h (struct wildcard_spec): Add 'reversed' field. * ldlang.h (lang_wild_statement_struct): Add 'filenames_reversed' field. * ldlang.c (compare_sections): Add reversed parameter. (wild_sort): Reverse the comparison if requested. (print_wild_statement): Handle the reversed field. * ld.texi: Document the new feature. * NEWS: Mention the new feature. * testsuite/ld-scripts/sort-file-reversed-1.d: New test driver. * testsuite/ld-scripts/sort-file-reversed-1.t: New test source. * testsuite/ld-scripts/sort-file-reversed-2.t: New test source. * testsuite/ld-scripts/sort-file-reversed-2.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-1.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-1.t: New test source. * testsuite/ld-scripts/sort-sections-reversed-2.t: New test source. * testsuite/ld-scripts/sort-sections-reversed-2.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-3.d: New test driver. * testsuite/ld-scripts/sort-sections-reversed-3.t: New test source. 2023-10-30 Nick Clifton <nickc@redhat.com> * po/ka.po: New Georgian translation. 2023-10-19 Jose E. Marchesi <jose.marchesi@oracle.com> * ld.texi (Options): Fix typo metdata->metadata. 2023-10-16 Nick Clifton <nickc@redhat.com> PR 28910 * lexsup.c (ld_options): Require that the --architecture option is given exactly two dashes, so that it does not become confused with the -a option. 2023-10-09 Nick Clifton <nickc@redhat.com> PR 30951 * ldlex.l (yy_input): Check for YY_CURRENT_BUFFER being NULL. PR 30954 * ldlang.c (map_input_to_output_sections): Check that os is non NULL before using it. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30905 * testsuite/ld-elf/pr28158.rd: Adjust regexp to allow for section indicies larger than 9. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30917 * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30918 * testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail with the MUSL library. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30923 * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations using the MUSL library. * testsuite/ld-arm/thumb-plt.d: Likewise. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30925 PR 22001 * testsuite/ld-i386/i386.exp: Skip the pr22001 test with TEXTREL relocations enabled on configurations using the MUSL library. 2023-10-05 A. Wilcox <awilfox@adelielinux.org> PR 30924 * testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle EABI version information in objdump's output. 2023-10-02 Nick Clifton <nickc@redhat.com> * pe-dll.c (fill_edata): Use bfd_get_current_time when filling in the timestamp. 2023-09-27 Hsinyuan Xavier <TheLastLin@hotmail.com> PR 30875 * ldlang.c (get_os_init_flag): New function. (exp_init_os, map_input_to_output_sections): Use it. 2023-07-24 Johannes Schauer Marin Rodrigues <josch@debian.org> * pe-dll.c (fill_edata): If inserting a timestamp, use the value held in the SOURCE_DATE_EPOCH environment variable, if it is defined. * ld.texi (--insert-timestamp): Document change in behaviour. 2023-07-03 Nick Clifton <nickc@redhat.com> * configure: Regenerate. 2023-07-03 Nick Clifton <nickc@redhat.com> 2.41 Branch Point. 2023-06-28 Nikita Popov <npopov@redhat.com> Nick Clifton <nickc@redhat.com> PR 30568 * ldfile.c (ldfile_try_open_bfd): Do not track lto generated temporary files. 2023-06-21 Nick Clifton <nickc@redhat.com> PR 29072 * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Always return false for linkers configured with the --enable-default-execstack=no option. 2023-06-14 Nick Clifton <nickc@redhat.com> PR 30374 * ldfile.c (struct input_remap): New structure. (ldfile_add_remap): New function. (ldfile_remap_input_free): New function. (ldfile_add_remap_file): New function. (ldfile_possibly_remap_input): New function. (ldfile_print_input_remaps): New function. * ldfile.h: Add prototypes for new functions. * ldlang.c (new_afile): Call ldfile_possibly_remap_input. (lang_finish): Call ldfile_remap_input_free. (lang_map): Call ldfile_print_input_remaps. * ldlex.h (OPTION_REMAP_INPUTS, OPTION_REMAP_INPUTS_FILE): Define. * lexsup.c (ld_options): Add --remap-inputs-file and --remap-inputs. (parse_args): Handle new options. * NEWS: Mention the new feature. * ld.texi: Document the new options. * testsuite/ld-misc/input-remap.exp: New test driver. * testsuite/ld-misc/remaps.r: New file: Expected linker output. * testsuite/ld-misc/remaps.txt: New file. Input remaps file. 2023-06-07 Nick Clifton <nickc@redhat.com> PR 30499 * testsuite/ld-elfcomm/elfcomm.exp: Update regexps to match new output from the linker. 2023-05-17 Luca Bacci <luca.bacci@outlook.com> PR 30421 * emultempl/pe.em (set_decoration): New function. (pe_fixup_stdcalls): Call the new function. * emultempl/pep.em (set_decoration): New function. (pep_fixup_stdcalls): Call the new function. * pe-dll.c (make_one): Check for decoated symbols. 2023-05-16 Nick Clifton <nickc@redhat.com> PR 30359 * ld.texi (WIN32): Document how to create a resource only DLL. 2023-05-16 Nick Clifton <nickc@redhat.com> * ld.texi (-Ur): Clarify the actions of this option. 2023-05-10 Nick Clifton <nickc@redhat.com> PR 16566 * ldlang.c (ld_is_local_symbol): New function. (print_input_section): Add code to display local symbols in the section. * ldlex.h (enum option_values): Add OPTION_PRINT_MAP_LOCALS and OPTION_PRINT_MAP_LOCALS. * lexsup.c (ld_options[]): Add entries for --print-map-locals and --no-print-map-locals. * NEWS: Mention the new feature. * ld.h (struct ld_config_type): Add print_map_locals field. * ld.texi: Document the new command line option. * testsuite/ld-scripts/sizeof.s: Add a local symbol. * testsuite/ld-scripts/map-locals.d: New test control file. * testsuite/ld-scripts/map-address.exp: Run the new test. 2023-05-04 Nick Clifton <nickc@redhat.com> PR 30300 * emultempl/pep.em (set_entry_point): Add an undefined reference to the entry point if it has been constructed heuristically. * emultempl/pe.em (set_entry_point): Likewise. 2023-05-04 Dimitar Dimitrov <dimitar@dinux.eu> * scripttempl/pru.sc (OUTPUT_SECTION_ALIGN): New helper variable to place at end of DMEM output sections. (.data): Use the helper variable. (.eh_frame): New output section. (.gnu_extab): Ditto. (.gcc_except_table): Ditto. (.resource_table): Use the helper variable. 2023-04-27 Nick Clifton <nickc@redhat.com> * ldmisc.c (vfinfo): Add support for %x and %lx. 2023-04-18 mengqinggang <mengqinggang@loongson.cn> * testsuite/ld-loongarch-elf/macro_op.d: Regenerated. 2023-04-17 Nick Clifton <nickc@redhat.com> PR 30354 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to handle the .gnu.sgstubs section. 2023-04-13 Claudiu Zissulescu <claziss@synopsys.com> * testsuite/ld-arc/arc.exp: Update execution predicate. * testsuite/ld-arc/nps-1a.d: Add linker script option. * testsuite/ld-arc/nps-1b.d: Likewise. * testsuite/ld-arc/relax-local-pic.d: Update matching patterns.