X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2FChangeLog;h=927074e4ba70719a7212bb710853703a46d7d19d;hb=2aa90762b71af7f04032d2bebed6470070d3d801;hp=edfc0903921aba5e465f3726e4be236501b195ac;hpb=9e7028aa1e788d666bad91fb20159da6c95bbab1;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index edfc090392..927074e4ba 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,329 @@ +2020-03-01 H.J. Lu + + PR ld/25618 + * plugin.c (plugin_object_p): Copy the no_export field to the IR + dummy object. + * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add + PR ld/25618 tests. + * testsuite/ld-plugin/pr25618.d: New file. + * testsuite/ld-plugin/pr25618a.cc: Likewise. + * testsuite/ld-plugin/pr25618a.h: Likewise. + * testsuite/ld-plugin/pr25618b.cc: Likewise. + * testsuite/ld-plugin/pr25618b.h: Likewise. + +2020-02-27 Alan Modra + + PR 24511 + * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change. + * testsuite/ld-mmix/sec-2.d: Likewise. + * testsuite/ld-mmix/sec-3.d: Likewise. + * testsuite/ld-mmix/sec-4.d: Likewise. + * testsuite/ld-mmix/spec802.d: Likewise. + * testsuite/ld-mmix/spec803.d: Likewise. + * testsuite/ld-mmix/spec804.d: Likewise. + * testsuite/ld-mmix/spec805.d: Likewise. + * testsuite/ld-mmix/spec806.d: Likewise. + * testsuite/ld-mmix/spec807.d: Likewise. + * testsuite/ld-mmix/spec808.d: Likewise. + +2020-02-26 H.J. Lu + + PR ld/25593 + * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests. + * testsuite/ld-plugin/pr25593.d: New file. + * testsuite/ld-plugin/pr25593a-1.c: Likewise. + * testsuite/ld-plugin/pr25593a-2.c: Likewise. + * testsuite/ld-plugin/pr25593b.c: Likewise. + * testsuite/ld-plugin/pr25593c.c: Likewise. + * testsuite/ld-plugin/pr25593d.c: Likewise. + * testsuite/ld-plugin/pr25593e.c: Likewise. + +2020-02-26 Alan Modra + + * emultempl/cskyelf.em: Indent labels correctly. + * ldfile.c: Likewise. + * ldlang.c: Likewise. + * plugin.c: Likewise. + +2020-02-26 Alan Modra + + PR 25593 + * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds. + (ldelf_after_open): Save state of input_bfds list before loading + DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags. + Restore input_bfds list. + * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order. + +2020-02-24 Nick Clifton + + * po/fr.po: Update French translation. + +2020-02-22 Alan Modra + + PR 25585 + * NEWS: Mention better "PHDR segment not covered by LOAD segment" + checking. + +2020-02-19 Sergey Belyashov + + PR 25537 + * emultempl/z80.em: Remove machine compatability checking. + +2020-02-19 Sergey Belyashov + + PR 25517 + * testsuite/ld-z80/arch_ez80_adl.d: Update command line. + * testsuite/ld-z80/arch_ez80_z80.d: Likewise. + * testsuite/ld-z80/arch_r800.d: Likewise. + * testsuite/ld-z80/arch_z180.d: Likewise. + * testsuite/ld-z80/arch_z80n.d: Likewise. + * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise. + * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise. + * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise. + * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise. + * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise. + * testsuite/ld-z80/relocs_b_ez80.d: Likewise. + * testsuite/ld-z80/relocs_b_z80.d: Likewise. + * testsuite/ld-z80/relocs_f_ez80.d: Likewise. + * testsuite/ld-z80/relocs_f_z80.d: Likewise. + * testsuite/ld-z80/relocs_f_z80n.d: Likewise. + +2020-02-19 Alan Modra + + * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result. + +2020-02-10 H.J. Lu + + PR binutils/25355 + * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test. + * testsuite/ld-plugin/pr25355.c: New file. + * testsuite/ld-plugin/pr25355.d: Likewise. + * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile + only dump. + +2020-02-07 H.J. Lu + + * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated. + +2020-02-07 Sergey Belyashov + + PR 25469 + * emulparams/elf32z80.sh: Use z80 emulation. + * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations. + * emultempl/z80elf.em: Delete. + * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80. + * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly. + * testsuite/ld-unique/pr21529.s: Avoid register name conflict. + * testsuite/ld-unique/unique.s: Likewise. + * testsuite/ld-unique/unique_empty.s: Likewise. + * testsuite/ld-unique/unique_shared.s: Likewise. + * testsuite/ld-unique/unique.d: Updated expected output. + * testsuite/ld-z80/arch_z80n.d: New file. + * testsuite/ld-z80/comb_arch_z80_z80n.d: New file. + * testsuite/ld-z80/labels.s: Add more labels. + * testsuite/ld-z80/relocs.s: Add more reloc tests. + * testsuite/ld-z80/relocs_f_z80n.d: New file + +2020-02-07 H.J. Lu + + PR ld/25022 + * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use + ldelf_before_place_orphans. + +2020-02-06 H.J. Lu + + PR ld/25022 + * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add + before_place_orphans_default. + * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise. + * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use + ldelf_before_place_orphans. + * ldelf.c (ldelf_before_place_orphans): New. + * ldelf.h (ldelf_before_place_orphans): Likewise. + * ldemul.c (ldemul_before_place_orphans): Likewise. + (before_place_orphans_default): Likewise. + * ldemul.h (ldemul_before_place_orphans): Likewise. + (before_place_orphans_default): Likewise. + (ld_emulation_xfer_struct): Add before_place_orphans. + * ldlang.c (lang_process): Call ldemul_before_place_orphans + before lang_place_orphans. + * testsuite/ld-elf/pr25022.d: New file. + * testsuite/ld-elf/pr25022.s: Likewise. + * testsuite/ld-elf/pr25022.t: Likewise. + +2020-02-06 H.J. Lu + + PR ld/25490 + * testsuite/ld-elf/pr25490-1.d: New file. + * testsuite/ld-elf/pr25490-1.s: Likewise. + +2020-02-06 H.J. Lu + + PR ld/24526 + PR ld/25021 + PR ld/25490 + * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests. + * testsuite/ld-elf/pr24526.d: New file. + * testsuite/ld-elf/pr24526.s: Likewise. + * testsuite/ld-elf/pr25021.d: Likewise. + * testsuite/ld-elf/pr25021.s: Likewise. + * testsuite/ld-elf/pr25490-2-16.rd: Likewise. + * testsuite/ld-elf/pr25490-2-32.rd: Likewise. + * testsuite/ld-elf/pr25490-2-64.rd: Likewise. + * testsuite/ld-elf/pr25490-2.s: Likewise. + * testsuite/ld-elf/pr25490-3-16.rd: Likewise. + * testsuite/ld-elf/pr25490-3-32.rd: Likewise. + * testsuite/ld-elf/pr25490-3-64.rd: Likewise. + * testsuite/ld-elf/pr25490-3.s: Likewise. + * testsuite/ld-elf/pr25490-4-16.rd: Likewise. + * testsuite/ld-elf/pr25490-4-32.rd: Likewise. + * testsuite/ld-elf/pr25490-4-64.rd: Likewise. + * testsuite/ld-elf/pr25490-4.s: Likewise. + * testsuite/ld-elf/pr25490-5-16.rd: Likewise. + * testsuite/ld-elf/pr25490-5-32.rd: Likewise. + * testsuite/ld-elf/pr25490-5-64.rd: Likewise. + * testsuite/ld-elf/pr25490-5.s: Likewise. + * testsuite/ld-elf/pr25490-6-16.rd: Likewise. + * testsuite/ld-elf/pr25490-6-32.rd: Likewise. + * testsuite/ld-elf/pr25490-6-64.rd: Likewise. + * testsuite/ld-elf/pr25490-6.s: Likewise. + +2020-02-06 H.J. Lu + + * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark + z80 as not supported. + +2020-02-06 Alan Modra + + * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying + targets that don't support ifunc rather than ones that do. + (contains_irelative_reloc): Match R_PARISC_IPLT. + * testsuite/ld-ifunc/lib.c: Don't use .set in asm. + * testsuite/ld-ifunc/ifunc-23-x86.s, + * testsuite/ld-ifunc/ifunc-24-x86.s, + * testsuite/ld-ifunc/ifunc-25-x86.s, + * testsuite/ld-ifunc/ifunc-4-local-x86.s, + * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main. + * testsuite/ld-ifunc/ifunc-10-i386.d, + * testsuite/ld-ifunc/ifunc-11-i386.d, + * testsuite/ld-ifunc/ifunc-12-i386.d, + * testsuite/ld-ifunc/ifunc-13-i386.d, + * testsuite/ld-ifunc/ifunc-14a-i386.d, + * testsuite/ld-ifunc/ifunc-14b-i386.d, + * testsuite/ld-ifunc/ifunc-14c-i386.d, + * testsuite/ld-ifunc/ifunc-14d-i386.d, + * testsuite/ld-ifunc/ifunc-14e-i386.d, + * testsuite/ld-ifunc/ifunc-14f-i386.d, + * testsuite/ld-ifunc/ifunc-15-i386.d, + * testsuite/ld-ifunc/ifunc-16-i386-now.d, + * testsuite/ld-ifunc/ifunc-16-i386.d, + * testsuite/ld-ifunc/ifunc-17a-i386.d, + * testsuite/ld-ifunc/ifunc-17b-i386.d, + * testsuite/ld-ifunc/ifunc-18a-i386.d, + * testsuite/ld-ifunc/ifunc-18b-i386.d, + * testsuite/ld-ifunc/ifunc-19a-i386.d, + * testsuite/ld-ifunc/ifunc-19b-i386.d, + * testsuite/ld-ifunc/ifunc-2-i386-now.d, + * testsuite/ld-ifunc/ifunc-2-i386.d, + * testsuite/ld-ifunc/ifunc-2-local-i386-now.d, + * testsuite/ld-ifunc/ifunc-2-local-i386.d, + * testsuite/ld-ifunc/ifunc-20-i386.d, + * testsuite/ld-ifunc/ifunc-21-i386.d, + * testsuite/ld-ifunc/ifunc-22-i386.d, + * testsuite/ld-ifunc/ifunc-26.d, + * testsuite/ld-ifunc/ifunc-5a-i386.d, + * testsuite/ld-ifunc/ifunc-5a-local-i386.d, + * testsuite/ld-ifunc/ifunc-5b-i386.d, + * testsuite/ld-ifunc/ifunc-5b-local-i386.d, + * testsuite/ld-ifunc/ifunc-5r-local-i386.d, + * testsuite/ld-ifunc/ifunc-6a-i386.d, + * testsuite/ld-ifunc/ifunc-6b-i386.d, + * testsuite/ld-ifunc/ifunc-7a-i386.d, + * testsuite/ld-ifunc/ifunc-7b-i386.d, + * testsuite/ld-ifunc/ifunc-8-i386.d, + * testsuite/ld-ifunc/ifunc-9-i386.d, + * testsuite/ld-ifunc/pr17154-i386-now.d, + * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris. + +2020-02-06 Alan Modra + + * testsuite/lib/ld-lib.exp (is_generic): Delete. + * testsuite/ld-unique/unique.exp: Exclude tic6x. + +2020-02-06 Alan Modra + + * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles. + (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add. + +2020-02-02 H.J. Lu + + PR gas/25380 + * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section + directives. + * testsuite/ld-i386/tls-gd1.S: Likewise. + * testsuite/ld-x86-64/pr21481b.S: Likewise. + +2020-01-30 Jan Beulich + + * ld.texi: Remove space between @option and brace. + +2020-01-29 Alan Modra + + PR 25477 + * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and + correct concat. + (ldelf_after_open): Add prefix parameter. + * ldelf.h (ldelf_after_open): Update prototype. + * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix + to ldelf_after_open. + * Makefile.am: Correct z80 dependencies. + * Makefile.in: Regenerate. + +2020-01-28 Alan Modra + + * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed + in first phase. + +2020-01-27 Alan Modra + + * testsuite/ld-elfvers/vers.exp: Replace case statements with + switch statements. + * testsuite/ld-ifunc/ifunc.exp: Likewise. + * testsuite/ld-unique/unique.exp: Likewise. + +2020-01-27 H.J. Lu + Alan Modra + + PR ld/25458 + * testsuite/ld-elf/pr25458.map: New file. + * testsuite/ld-elf/pr25458.rd: Likewise. + * testsuite/ld-elf/pr25458a.s: Likewise. + * testsuite/ld-elf/pr25458b.s: Likewise. + * testsuite/ld-elf/shared.exp: Run PR ld/25458 test. + +2020-01-22 H.J. Lu + + PR ld/25416 + * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without + compiler support. + +2020-01-22 Alan Modra + + * testsuite/ld-powerpc/tlsdesc3.d, + * testsuite/ld-powerpc/tlsdesc3.wf, + * testsuite/ld-powerpc/tlsdesc4.d, + * testsuite/ld-powerpc/tlsdesc4.s, + * testsuite/ld-powerpc/tlsdesc4.wf: New tests. + * testsuite/ld-powerpc/powerpc.exp: Run them. + 2020-01-22 Alan Modra * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),