X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=08a84efe44a0a777f299bee93dd5428769a9776e;hb=0c628bba5afd16e0ab3d78ca81ab3f2d5342c50c;hp=9ca4a4ed51a276ed6affe652946737185e4d76c9;hpb=dd3189990b1d918b3a9e482ec6e9cc9a8b9e8fe9;p=binutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 9ca4a4ed51a..08a84efe44a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,473 @@ +2019-07-22 Srinath Parvathaneni + + * 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 + + PR 24827 + * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF. + +2019-07-19 Alan Modra + + * 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 + + * 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 + + PR 24819 + * testsuite/ld-elf/pr24819.d: xfail for genelf targets. + +2019-07-18 H.J. Lu + + 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 + + * 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 + + 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 + + * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld. + * testsuite/ld-powerpc/callstub-2.d: Likewise. + +2019-07-04 Jan Beulich + + * testsuite/ld-elf/group9.s: Correct argument of .type. + +2019-07-02 Nick Clifton + + 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 + + * testsuite/ld-arm/arm-elf.exp: Add tests. + * testsuite/ld-arm/cmse_main.s: New test. + * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise. + * testsuite/ld-arm/cmse_sec_debug.s: Likewise. + +2019-07-01 Nick Clifton + + PR 23839 + * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of + exidx relocs. + +2019-06-28 Alan Modra + + * testsuite/ld-powerpc/callstub-1.d, + * testsuite/ld-powerpc/callstub-1.s: New test. + * testsuite/ld-powerpc/callstub-2.d, + * testsuite/ld-powerpc/callstub-2.s: New test. + * testsuite/ld-powerpc/powerpc.exp: Run them. + +2019-06-25 Jan Beulich + + * plugin.c (get_lto_kind, get_lto_resolution, + get_lto_visibility): Rename "index" to "idx". + +2019-06-24 H.J. Lu + + PR ld/24721 + * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests. + * testsuite/ld-x86-64/pr24721-x32.d: New file. + * testsuite/ld-x86-64/pr24721.d: Likewise. + * testsuite/ld-x86-64/pr24721.map: Likewise. + * testsuite/ld-x86-64/pr24721a.s: Likewise. + * testsuite/ld-x86-64/pr24721b.s: Likewise. + +2019-06-23 Alan Modra + + PR 24704 + * testsuite/ld-powerpc/elfv2exe.d: Update. + * testsuite/ld-powerpc/elfv2so.d: Update. + +2019-06-14 Szabolcs Nagy + + * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23. + * testsuite/ld-aarch64/emit-relocs-22.d: New test. + * testsuite/ld-aarch64/emit-relocs-22.s: New test. + * testsuite/ld-aarch64/emit-relocs-23.d: New test. + * testsuite/ld-aarch64/emit-relocs-23.s: New test. + +2019-06-14 Alan Modra + + * Makefile.in: Regenerate. + * configure: Regenerate. + +2019-06-14 Alan Modra + + PR 24662 + * testsuite/ld-alpha/tlsbin.rd: Update. + * testsuite/ld-alpha/tlsbinr.rd: Update. + * testsuite/ld-alpha/tlspic.rd: Update. + +2019-06-07 Maciej W. Rozycki + + * ld.texi (Options): Also document `-rpath' option restrictions + in the description of the option itself. + +2019-06-06 Sudakshina Das + + * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests. + * testsuite/ld-aarch64/property-bti-pac4-a.d: New test. + * testsuite/ld-aarch64/property-bti-pac4-b.d: New test. + * testsuite/ld-aarch64/property-bti-pac4.s: New test. + +2019-06-06 Sudakshina Das + + * NEWS: Update options names. + * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove. + (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt. + (PARSE_AND_LIST_OPTIONS): Update to -z. + (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New. + (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64. + (PARSE_AND_LIST_ARGS_CASES): Move cases for these options. + * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option. + * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise. + * testsuite/ld-aarch64/bti-plt-1.d: Likewise. + * testsuite/ld-aarch64/bti-plt-2.d: Likewise. + * testsuite/ld-aarch64/bti-plt-3.d: Likewise. + * 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/pac-plt-1.d: Likewise. + * testsuite/ld-aarch64/pac-plt-2.d: Likewise. + +2019-05-30 Nick Clifton + + PR 24627 + * testsuite/ld-elf/ver_def.vd: Update expected output. + +2019-05-30 Alan Modra + + PR 24596 + * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic. + (EXTRA_EM_FILE): Define to genelf. + * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z. + +2019-05-30 Alan Modra + + * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure + calls in optional "xfail" args. + (run_ld_link_exec_tests): Likewise. + (is_generic): New. + (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons. + * testsuite/ld-scripts/align.exp: Rename is_generic_elf call. + * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete + xfail_implib var. + * testsuite/ld-elf/sec64k.exp: Use is_generic. + * testsuite/ld-elf/shared.exp: Likewise. + * testsuite/ld-discard/extern.d: Use is_generic in xfail. + * testsuite/ld-discard/start.d: Likewise. + * testsuite/ld-discard/static.d: Likewise. + * testsuite/ld-elf/attributes.d: Likewise. + * testsuite/ld-elf/group1.d: Likewise. + * testsuite/ld-elf/group3b.d: Likewise. + * testsuite/ld-elf/group8a.d: Likewise. + * testsuite/ld-elf/group8b.d: Likewise. + * testsuite/ld-elf/group9a.d: Likewise. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/linkonce2.d: Likewise. + * testsuite/ld-elf/merge2.d: Likewise. + * testsuite/ld-elf/merge3.d: Likewise. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr17550c.d: Likewise. + * testsuite/ld-elf/pr17550d.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/pr22677.d: Likewise. + * testsuite/ld-elf/pr22836-1a.d: Likewise. + * testsuite/ld-elf/pr22836-1b.d: Likewise. + * testsuite/ld-elf/warn3.d: Likewise. + * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris + targets rather than notarget. + * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail. + * testsuite/ld-elf/orphan-10.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/orphan3.d: Likewise. + * testsuite/ld-elf/pr20528a.d: Likewise. + * testsuite/ld-elf/pr20528b.d: Likewise. + * testsuite/ld-elf/pr23658-1a.d: Likewise. + * testsuite/ld-elf/pr23658-1b.d: Likewise. + * testsuite/ld-elf/pr349.d: Likewise. + * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris + targets rather than notarget. + * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*. + +2019-05-28 Faraz Shahbazker + + * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case + for pcrel_hi/pcrel_lo. + * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match. + * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source. + * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script. + * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. + +2019-05-28 Alan Modra + + PR 24596 + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that + the output is coff before accessing coff tdata. + * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. + +2019-05-28 Szabolcs Nagy + + * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv. + * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise. + +2019-05-27 Alan Modra + + PR 24596 + * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set + BFS_KEEP on group signature symbol. + +2019-04-24 Szabolcs Nagy + + * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests. + * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests. + * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests. + * testsuite/ld-aarch64/variant_pcs-now.d: New test. + * testsuite/ld-aarch64/variant_pcs-r.d: New test. + * testsuite/ld-aarch64/variant_pcs-shared.d: New test. + * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests. + +2019-05-24 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2019-05-24 Alan Modra + + * testsuite/ld-powerpc/notoc2.d, + * testsuite/ld-powerpc/notoc2.s: New test. + * testsuite/ld-powerpc/powerpc.exp: Run it. + +2019-05-24 Alan Modra + + * testsuite/ld-powerpc/pcrelopt.s, + * testsuite/ld-powerpc/pcrelopt.d, + * testsuite/ld-powerpc/pcrelopt.sec: New test. + * testsuite/ld-powerpc/powerpc.exp: Run it. + +2019-05-23 Jose E. Marchesi + + * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c. + * Makefile.in (prefix): Regenerate. + * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets. + * emulparams/elf64bpf.sh: New file. + * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add + bpf-*-* to the list of targets not supporting gc-sections. + * testsuite/ld-bpf/bar.s: New file. + * testsuite/ld-bpf/jump-1.d: Likewise. + * testsuite/ld-bpf/foo.s: Likewise. + * testsuite/ld-bpf/call-1.d: Likewise. + * testsuite/ld-bpf/bpf.exp: Likewise. + * testsuite/ld-bpf/baz.s: Likewise. + +2019-05-23 Alan Modra + + PR 24576 + * ldfile.c (enum script_open_style): New. + (struct script_name_list): New. + (ldfile_open_command_file_1): Take a script_open_style param + rather than booleans. Adjust callers. Only fail when -T or + default -T script is invoked twice. + (ldfile_try_open_bfd): Revert last change. + +2019-05-22 Julius Werner + Nick Clifton + + PR 24576 + * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter - + is_script. If true check that the file has not already been + parsed as a linker script. + (ldfile_open_script_file): New function. + (ldfile_try_open_bfd): Use the new function in place of + ldfile_open_command_line. + * ldmain.c (main): Likewise. + * lexsup.c (parse_args): Use the new function for opening linker + scripts with the -T option. + * ldfile.h (ldfile_open_script_file): Add prototype. + +2019-05-21 Faraz Shahbazker + + * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for + %tprel_hi and %tprel_lo relocations. + * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise. + * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly. + * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise. + * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker + script file. + +2019-05-21 Faraz Shahbazker + + * testsuite/ld-mips-elf/pic-reloc-5.d: New test. + * testsuite/ld-mips-elf/pic-reloc-6.d: New test. + * testsuite/ld-mips-elf/pic-reloc-7.d: New test. + * testsuite/ld-mips-elf/pic-reloc-5.s: New test source. + * testsuite/ld-mips-elf/pic-reloc-6.s: New test source. + * testsuite/ld-mips-elf/pic-reloc-7.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2019-05-21 Matthew Fortune + Faraz Shahbazker + + * emultempl/mipself.em (compact_branches): New static variable. + (mips_create_output_section_statements): Call + _bfd_mips_elf_compact_branches. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and + OPTION_NO_COMPACT_BRANCHES. + (PARSE_AND_LIST_LONGOPTS): Add compact-branches, + no-compact-branches. + (PARSE_AND_LIST_OPTIONS): Add --compact-branches, + --no-compact-branches. + (PARSE_AND_LIST_ARGS_CASES): Handle the above. + * ld.texinfo: Document --compact-branches, --no-compact-branches. + * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test. + * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test. + * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test. + * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test. + * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source. + * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2019-05-21 Andre Vieira + + * testsuite/ld-arm/arm-elf.exp: Add tests + * testsuite/ld-arm/bfs-0.s: New test. + * testsuite/ld-arm/bfs-1.s: New test. + * testsuite/ld-arm/branch-futures.d: New test. + +2019-05-21 Tamar Christina + + PR ld/24373 + * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args + to flags. + * NEWS: Add changes to flag. + (PARSE_AND_LIST_OPTIONS): Update help descriptions. + (PARSE_AND_LIST_ARGS_CASES): Add new options to parser. + * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests. + * testsuite/ld-aarch64/erratum843419-adr.d: New test. + * testsuite/ld-aarch64/erratum843419-adrp.d: New test. + * testsuite/ld-aarch64/erratum843419-far-adr.d: New test. + * testsuite/ld-aarch64/erratum843419-far-full.d: New test. + * testsuite/ld-aarch64/erratum843419-far.s: New test. + * testsuite/ld-aarch64/erratum843419-full.d: New test. + * testsuite/ld-aarch64/erratum843419-near.s: New test. + * testsuite/ld-aarch64/erratum843419-no-args.d: New test. + +2019-05-21 Senthil Kumar Selvaraj + + PR ld/24571 + * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test. + * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test. + +2019-05-21 Senthil Kumar Selvaraj + + PR ld/24564 + * testsuite/ld-avr/wraparound-range-boundary.d: New test. + * testsuite/ld-avr/wraparound-range-boundary.s: New test. + +2019-05-20 Faraz Shahbazker + + PR 14798 + * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for + global code symbols. + * testsuite/ld-mips-elf/reloc-6b.s: Likewise. + +2019-05-17 Alan Modra + + PR 24567 + * plugin.c (plugin_notice): Do not let a common symbol override + a non-common definition in IR. + 2019-05-09 Dimitar Dimitrov * scripttempl/pru.sc (__init_array_begin, __init_array_begin):