X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=ld%2FChangeLog;h=dac58cd575b5d35a04c8365120b82a9923fa749a;hb=496917ce466c703c1ae3bf1cbbe753de1c091445;hp=77b10eb86df8d657750b34cb0590a218daaa7ff5;hpb=84139c58642a8a6b857cad1c50420264452882f9;p=binutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 77b10eb86df..dac58cd575b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,720 @@ +2023-05-10 Nick Clifton + + 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 + + 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 + + * 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 + + * ldmisc.c (vfinfo): Add support for %x and %lx. + +2023-04-18 mengqinggang + + * testsuite/ld-loongarch-elf/macro_op.d: Regenerated. + +2023-04-17 Nick Clifton + + PR 30354 + * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to + handle the .gnu.sgstubs section. + +2023-04-13 Claudiu Zissulescu + + * 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. + +2023-04-12 Nick Clifton + + * ld.texi (--enable-non-contiguous-regions): Fix typos in script + example. + +2023-03-15 Nick Clifton + + PR 30187 + * NEWS: Mention the new feature. + * ld.texi: Document the new feature. + * ldgram.y: Handle LINKER_VERSION token. + * ldlang.c (lang_add_version): New function. + (enable_linker_version): New global variable. + * ldlang.h (land_add_version): Prototype. + (enable_linker_version): Export. + * ldlex.h (OPTION_ENABLE_LINKER_VERSION): Define. + (OPTION_DISABLE_LINKER_VERSION): Define. + * ldlex.l (LINKER_VERSION): Add token. + * lexsup.c (ld_options): Add --enable-linker-version and + --disable-linker-version. + (parse_args): Handle the new options. + * scripttempl/arclinux.sc: Remove stabs and comment sections and + replace with inclusion of misc-sections.sc + * scripttempl/avr.sc: Likewise. + * scripttempl/dlx.sc: Likewise. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf32cr16.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf64bpf.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfarc.sc: Likewise. + * scripttempl/elfarcv2.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfm9s12z.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/elfxgate.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/epiphany_4x4.sc: Likewise. + * scripttempl/ft32.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/nds32elf.sc: Likewise. + * scripttempl/pru.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/v850_rh850.sc: Likewise. + * scripttempl/visium.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + * scripttempl/z80.sc: Likewise. + * testsuite/ld-scripts/script.exp: Run new tests. + * scripttempl/misc-sections.sc: New file. + * testsuite/ld-scripts/ld-version-2.d: New file. + * testsuite/ld-scripts/ld-version.d: New file. + * testsuite/ld-scripts/ld-version.t: New file. + +2023-02-23 Fangrui Song + + * emultempl/riscvelf.em: Add option parsing. + * testsuite/ld-riscv-elf/code-model-relax-medlow-01-norelaxgp.d: New. + * testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d: New. + * testsuite/ld-riscv-elf/pcgp-relax-02.d: Test --relax --relax-gp can be + used together. + +2023-02-20 Nick Clifton + + PR 30004 + * pe-dll.c (pe_dll_build_sections): Do not build an edata section + if all symbols are being excluded. + +2023-02-15 Nick Clifton + + PR 30078 + * testsuite/ld-elf/merge4b.s: Use .asciz instead of .string in + order to avoid the special behaviour of the .string directive on + HPPA architectures. + +2023-02-14 Nick Clifton + + * ld.texi (Plugins): Mention that the -plugin command line option + is used to load plugins. + +2023-01-27 Nick Clifton + + PR 29998 + * pe-dll.c (build_filler_bfd): Initialise the next field of the + filler input statement, so that it does not break the file chain. + +2023-01-24 Nick Clifton + + PR 29998 + * pe-dll.c (generate_reloc): Handle sections with no assigned + output section. Terminate early of there are no relocs to put in + the .reloc section. + (pe_exe_fill_sections): Do not emit an empty .reloc section. + +2023-01-06 Nick Clifton + + * po/bg.po: Updated Bulgarian translation. + +2023-01-05 Nick Clifton + + * configure.tgt: Add arm64pe as an extra emulation for aarch64pe. + * Makefile.am (ALL_64_EMULATION_SOURCES): Add earm64pe.c + * emultempl/pep.em: Add suppport for arm64pe emulation. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + * po/ld.pot: Regenerate. + +2023-01-05 Andreas K. Huettel + + * testsuite/ld-elf/shared.exp: un-xfail the PR19710 test for the + AArch64 architecture. + +2023-01-04 Andreas K. Huettel + + PR 29843 + * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow + for differences in build environments. + * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise. + +2023-01-03 Nick Clifton + + * po/uk.po: Updated Ukrainian translation. + +2022-12-31 Nick Clifton + + * 2.40 branch created. + +2022-12-21 Nick Clifton + + PR 29900 + * scripttempl/pe.sc: Keep the .drectve section when performing a + relocateable link. + * scripttempl/pep.sc: Likewise. + +2022-12-08 Nick Clifton + + PR 29861 + * ld.texi (Output Section Type): Note that setting the output + section type only works if the section contains untyped data. + +2022-12-05 Nick Clifton + + PR 29849 + * ldlang.c (spec_match): Check that there is sufficient length in + the target name to match the spec's prefix. + +2022-11-03 Nick Clifton + + PR 29748 + * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for + the V850. + +2022-11-03 Nick Clifton + + PR 29741 + * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value + has not been provided on the command line then use DATA_ORIGIN. + (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region. + +2022-10-21 Nick Clifton + + PR 29654 + * ld.h (struct ld_config_type): Add no_warnings field. + * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS. + * lexsup.c (ld_options): Add --no-warnings. + (parse_args): Add support for -w and --no-warnings. + * ldmisc.c (vfinfo): Return early if the message is a warning and + -w has been enabled. + * ld.texi (options): Document new command line option. + * NEWS: Mention the new feature. + +2022-08-30 Nick Clifton + + PR 29529 + * testsuite/ld-x86-64/pr27587.err: Update expected output. + +2022-08-18 Ralf Habacker + + PR 28362 + * testsuite/ld-pe/pe-run2-def.exp: New file. + +2022-08-03 Alan Modra + + PR 29389 + * ldlang.h (lang_input_statement_struct): Add sort_key field. + * emultempl/pe.em (after_open): If multiple import libraries refer + to the same bfd, store their names in the sort_key field. + * emultempl/pep.em (after_open): Likewise. + * ldlang.c (sort_filename): New function. Returns the filename to + be used when sorting input files. + (wild_sort): Use the sort_filename function. + +2022-07-29 Rainer Orth + + PR ld/29411 + * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all + sparc targets. Expand comment. + +2022-07-26 Nick Clifton + + PR 29411 + * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for + sparc-solaris configurations. + +2022-07-08 Nick Clifton + + * 2.39 branch created. + +2022-06-27 Nick Clifton + + PR 29263 + * configure.ac: Move HPPA specific code from here... + * configure.tgt: ... to here. Add similar code for MIPS. + Move code for CRIS, MIPS and HPPA to block at start of file. + * configure: Regenerate. + +2022-06-21 Nick Clifton + + PR 29263 + * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for + HPPA targets. + (ac_default_ld_warn_rwx_segments): Likewise. + * configure: Regenerate. + * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line + option to the command line when running execstack tests for the + HPPA target. + +2022-05-12 Alan Modra + + PR 29006 + * pe-dll.c (dll_name): Delete, replacing with.. + (dll_filename): ..this, moved earlier in file. + (generate_edata): Delete parameters. Don't set up dll_name here.. + (pe_process_import_defs): ..instead set up dll_filename and + dll_symname here before returning. + (dll_symname_len): Delete write-only variable. + (pe_dll_generate_implib): Don't set up dll_symname here. + +2022-05-03 Nick Clifton + + PR 29101 + * libdep_plugin.c (get_libdeps): Check for overflow when computing + amount of memory to allocate. + +2022-04-27 Nick Clifton + + PR 29006 + * pe-dll.c (make_head): Use asprintf to allocate and populate a + buffer containing the temporary name. + (make_tail, make_one, make_singleton_name_thunk): Likewise. + (make_import_fixup_mark, make_import_fixup_entry): Likewise. + (make_runtime_pseudo_reloc): Likewise. + (pe_create_runtime_relocator_reference): Likewise. + +2022-04-25 Nick Clifton + + PR 29072 + * testsuite/ld-elf/pr29072.b.warn: Update to include the note + about the linker's behaviour being depreccated. + +2022-04-20 Clément Chigot + + * emultempl/aix.em (params): New variable. + (stub_file): New variable. + (xcoff_add_stub_section): New function. + (xcoff_layout_sections_again): New function + (hook_in_stub): New function. + (_after_allocation): Add stub creation. + (_create_output_section_statements): Allocate stub file and + pass params to backend. + +2022-04-20 Clément Chigot + + * emultempl/aix.em (_after_allocation): New function. + +2022-04-07 Mark Harmstone + + * testsuite/ld-pe/secidx1.s: New test source file. + * testsuite/ld-pe/secidx2.s: New test source file. + * testsuite/ld-pe/secidx.d: New test driver file. + * testsuite/ld-pe/secidx_64.d: New test driver file. + * testsuite/ld-pe/pe.exp: Add new tests. + +2022-03-01 Nick Clifton + + PR 21964 + * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons. + * testsuite/ld-elf/pr21964-1b.c: Likewise. + * testsuite/ld-elf/pr21964-1c.c: Likewise. + * testsuite/ld-elf/pr21964-2a.c: Likewise. + * testsuite/ld-elf/pr21964-2b.c: Likewise. + * testsuite/ld-elf/pr21964-3a.c: Likewise. + +2022-02-17 Roland McGrath + + * ld.texi (Output Section Type): Fix typo in @code syntax. + +2022-02-17 Nick Clifton + + * po/sr.po: Updated Serbian translation. + +2022-02-16 Fangrui Song + Nick Clifton + + PR ld/28841 + * ld.texi: Document new output section type. + * ldlex.l: Add new token TYPE. + * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp). + * ldlang.h: Add type_section to list of section types. + * ldlang.c (lang_add_section): Handle type_section. + (map_input_to_output_sections): Handle type_section. + * testsuite/ld-scripts/output-section-types.t: Add tests. + * testsuite/ld-scripts/output-section-types.d: Update. + +2022-02-02 Nick Clifton + + * po/fr.po: Updated French translation. + +2022-01-24 Nick Clifton + + * po/bg.po: Updated Bulgarian translation. + * po/uk.po: Updated Ukranian translation. + +2022-01-22 Alexander von Gluck IV + + * configure.tgt (arm-haiku): Fix typo. + * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value. + (COMMONPAGESIZE): Likewise. + +2022-01-22 Nick Clifton + + * configure: Regenerate. + * po/ld.pot: Regenerate. + +2022-01-22 Nick Clifton + + * 2.38 release branch created. + +2022-01-21 Nick Clifton + + * po/sr.po: Updated Serbian translation. + +2022-01-17 Nick Clifton + + * Makefile.in: Regenerate. + * po/ld.pot: Regenerate. + +2022-01-11 Martin Storsjö + + * pe-dll.c (make_head): Prefix the symbol name with the dll name. + (make_tail, make_one, make_singleton_name_thunk): Likewise. + (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise. + (pe_create_runtime_relocator_reference): Likewise. + (pe_dll_generate_implib): Set dll_symname_len. + (pe_process_import_defs): Likewise. + +2021-12-16 Nick Clifton + + PR 28686 + * testsuite/ld-avr/avr-prop-7.d: Adjust expected output. + * testsuite/ld-avr/avr-prop-8.d: Likewise. + * testsuite/ld-avr/pr13402.d: Likewise. + +2021-11-30 Nick Clifton + + * scripttempl/pru.sc (.pru_irq_map): Define output section. + * testsuite/ld-pru/pru_irq_map-1.d: New test. + * testsuite/ld-pru/pru_irq_map-2.d: New test. + * testsuite/ld-pru/pru_irq_map.s: New test. + +2021-11-17 Jeremy Drake + + * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for + Cygwin targets. + * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise. + +2021-11-17 Nick Clifton + + PR 28452 + * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY. + * ldgram.c: Regenerate. + +2021-11-15 Roland McGrath + + * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in + case ld was configured with --enable-textrel-check=error. + * testsuite/ld-aarch64/pr22764.d: Likewise. + * testsuite/ld-aarch64/pr20402.d: Likewise. + +2021-10-25 Nick Alcock + + * testsuite/ld-ctf/nonrepresentable-member.*: New test. + +2021-10-25 Nick Alcock + + * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf. + * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. + * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. + * testsuite/ld-ctf/conflicting-enums.d: Likewise. + * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. + * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. + * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. + * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. + * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. + * testsuite/ld-ctf/cycle-1.d: Likewise. + * testsuite/ld-ctf/cycle-2.A.d: Likewise. + * testsuite/ld-ctf/cycle-2.B.d: Likewise. + * testsuite/ld-ctf/cycle-2.C.d: Likewise. + * testsuite/ld-ctf/data-func-conflicted.d: Likewise. + * testsuite/ld-ctf/diag-cttname-null.d: Likewise. + * testsuite/ld-ctf/diag-cuname.d: Likewise. + * testsuite/ld-ctf/diag-parlabel.d: Likewise. + * testsuite/ld-ctf/enum-forward.d: Likewise. + * testsuite/ld-ctf/enums.d: Likewise. + * testsuite/ld-ctf/forward.d: Likewise. + * testsuite/ld-ctf/function.d: Likewise. + * testsuite/ld-ctf/nonrepresentable.d: Likewise. + * testsuite/ld-ctf/slice.d: Likewise. + * testsuite/ld-ctf/super-sub-cycles.d: Likewise. + +2021-09-30 Dimitar Dimitrov + + * scripttempl/pru.sc (.resource_table): Align the output + section, not the first symbol. + +2021-09-27 Nick Alcock + + * configure: Regenerate. + +2021-09-21 Nick Clifton + + * ldlang.c (lang_end): When computing the entry point, only + try the start address of the entry section when creating an + executable. + * ld.texi (Entry point): Update description of heuristic used to + choose the entry point. + testsuite/ld-alpha/tlspic.rd: Update expected entry point address. + testsuite/ld-arm/tls-gdesc-got.d: Likewise. + testsuite/ld-i386/tlsnopic.rd: Likewise. + testsuite/ld-ia64/tlspic.rd: Likewise. + testsuite/ld-sparc/gotop32.rd: Likewise. + testsuite/ld-sparc/gotop64.rd: Likewise. + testsuite/ld-sparc/tlssunnopic32.rd: Likewise. + testsuite/ld-sparc/tlssunnopic64.rd: Likewise. + testsuite/ld-sparc/tlssunpic32.rd: Likewise. + testsuite/ld-sparc/tlssunpic64.rd: Likewise. + testsuite/ld-tic6x/shlib-1.rd: Likewise. + testsuite/ld-tic6x/shlib-1b.rd: Likewise. + testsuite/ld-tic6x/shlib-1r.rd: Likewise. + testsuite/ld-tic6x/shlib-1rb.rd: Likewise. + testsuite/ld-tic6x/shlib-noindex.rd: Likewise. + testsuite/ld-x86-64/pr14207.d: Likewise. + testsuite/ld-x86-64/tlsdesc.rd: Likewise. + testsuite/ld-x86-64/tlspic.rd: Likewise. + testsuite/ld-x86-64/tlspic2.rd: Likewise. + +2021-09-15 Claudiu Zissulescu + + * testsuite/ld-arc/got-weak.d: Update file. + +2021-09-14 Claudiu Zissulescu + + * ld-arc/got-weak.d: New file. + * ld-arc/got-weak.s: Likewise. + +2021-07-26 Roland McGrath + + * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel. + +2021-07-06 Michael Matz + + PR ld/28021 + * testsuite/ld-riscv-elf/relax-twice.ver: New. + * testsuite/ld-riscv-elf/relax-twice-1.s: New. + * testsuite/ld-riscv-elf/relax-twice-2.s: New. + * testsuite/ld-riscv-elf/ld-riscv-elf.exp + (run_relax_twice_test): New, and call it. + +2021-07-03 Nick Clifton + + * configure: Regenerate. + * po/ld.pot: Regenerate. + +2021-07-03 Nick Clifton + + * 2.37 release branch created. + +2021-06-22 Nelson Chu + + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. + * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase. + * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise. + * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase. + Should report error since the %pcrel_lo with addend refers to + %got_pcrel_hi. + * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise. + * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase. + Should report error since the %got_pcrel_hi with addend. + * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise. + * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise. + +2021-06-19 H.J. Lu + + PR ld/27998 + * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests. + * testsuite/ld-i386/pr27998a.d: New file. + * testsuite/ld-i386/pr27998a.s: Likewise. + * testsuite/ld-i386/pr27998b.d: Likewise. + * testsuite/ld-i386/pr27998b.s: Likewise. + +2021-06-19 H.J. Lu + + * testsuite/ld-x86-64/textrel-1.err: New file. + * testsuite/ld-x86-64/textrel-1a.s: Likewise. + * testsuite/ld-x86-64/textrel-1b.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests. + +2021-06-18 H.J. Lu + + * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux + and mn10300. + Pass --generate-missing-build-notes=no to assembler. Allow + other note sections for xtensa. + * testsuite/ld-elf/property-and-2.d: Likewise. + * testsuite/ld-elf/property-and-3.d: Likewise. + * testsuite/ld-elf/property-and-4.d: Likewise. + * testsuite/ld-elf/property-or-1.d: Likewise. + * testsuite/ld-elf/property-or-2.d: Likewise. + * testsuite/ld-elf/property-or-3.d: Likewise. + * testsuite/ld-elf/property-or-4.d: Likewise. + +2021-06-18 H.J. Lu + + * ld.texi: Move -z unique-symbol after -z undefs. + +2021-06-18 H.J. Lu + + * testsuite/ld-elf/property-and-1.d: New file. + * testsuite/ld-elf/property-and-1.s: Likewise. + * testsuite/ld-elf/property-and-2.d: Likewise. + * testsuite/ld-elf/property-and-2.s: Likewise. + * testsuite/ld-elf/property-and-3.d: Likewise. + * testsuite/ld-elf/property-and-3.s: Likewise. + * testsuite/ld-elf/property-and-4.d: Likewise. + * testsuite/ld-elf/property-and-empty.s: Likewise. + * testsuite/ld-elf/property-or-1.d: Likewise. + * testsuite/ld-elf/property-or-1.s: Likewise. + * testsuite/ld-elf/property-or-2.d: Likewise. + * testsuite/ld-elf/property-or-2.s: Likewise. + * testsuite/ld-elf/property-or-3.d: Likewise. + * testsuite/ld-elf/property-or-3.s: Likewise. + * testsuite/ld-elf/property-or-4.d: Likewise. + * testsuite/ld-elf/property-or-empty.s: Likewise. + +2021-06-17 H.J. Lu + + PR ld/27973 + * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and + $NOPIE_CFLAGS to protected-func-1 without PIE. + +2021-06-17 H.J. Lu + + PR ld/27973 + * testsuite/ld-x86-64/x86-64.exp: Run protected function tests. + * testsuite/ld-x86-64/protected-func-1.h: New file. + * testsuite/ld-x86-64/protected-func-1a.s: Likewise. + * testsuite/ld-x86-64/protected-func-1b.c: Likewise. + +2021-06-17 Fangrui Song + + * ldlex.h (enum option_values): Add OPTION_NO_PIE. + * lexsup.c (struct ld_options): Add -no-pie. + (parse_args): Handle -no-pie. + * ld.texi: Document -no-pie. + +2021-06-15 Alan Modra + + * testsuite/ld-pie/vaddr-0.d: Update expected output. + +2021-06-11 Alan Modra + + PR 27952 + * ldelf.c (ldelf_after_open): Error on input PIEs too. + +2021-06-09 Nick Clifton + + PR 27666 + * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or + sparc64tests for Solaris2 targets. + +2021-06-03 Alan Modra + + PR 2589 + * ld.texi (link-time runtime library search path): Mention + plugin library path. Correct order of search. + +2021-05-31 Nelson Chu + Lifang Xia + + PR 27566 + * emultempl/riscvelf.em (after_allocation): Call + riscv_set_data_segment_info to set data segment phase before relaxing. + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. + * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase. + * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise. + * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise. + * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise. + +2021-05-28 H.J. Lu + + PR ld/27905 + * testsuite/ld-i386/pcrel16-2.d: xfail. + * testsuite/ld-x86-64/pcrel16-2.d: Likewise. + +2021-05-26 H.J. Lu + + PR ld/27905 + * testsuite/ld-i386/code16.d: New file. + * testsuite/ld-i386/code16.t: Likewise. + * testsuite/ld-x86-64/code16.d: Likewise. + * testsuite/ld-x86-64/code16.t: Likewise. + * testsuite/ld-i386/i386.exp: Run code16. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + +2021-05-26 H.J. Lu + + * testsuite/ld-x86-64/ilp32-12.d: New file. + * testsuite/ld-x86-64/ilp32-12.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12. + +2021-05-14 Nelson Chu + + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. + * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from + pcrel-lo-addend-2. + * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise. + * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase. + * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise. + +2021-05-13 Fangrui Song + + PR 27834 + * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC. + * lexsup.c (ld_options): Add -Bno-symbolic. + (parse_args): Handle -Bno-symbolic. + * ld.texi: Document -Bno-symbolic. + * NEWS: Mention -Bno-symbolic. + * testsuite/ld-elf/shared.exp: Add a test. + 2021-05-12 Richard Earnshaw * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline): @@ -1454,7 +2171,7 @@ For older changes see ChangeLog-2020 -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2021-2023 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright