CSKY: Support attribute section.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 0e03aa1ed1a193a5ef0e067c4b7e7715fd0dfa34..16274e8327eba70386f536239687bfbebe92dd69 100644 (file)
@@ -1,3 +1,263 @@
+2020-08-28  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * emulparams/cskyelf.sh: Support attribute section.
+       * testsuite/ld-csky/tls-le-v1.d: Match .csky.attributes section.
+       * ld/testsuite/ld-csky/tls-le.d: Likewise.
+       * testsuite/ld-elf/non-contiguous.ld: Ignore .csky.attributes
+       section.
+
+2020-08-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 19011
+       * testsuite/lib/ld-lib.exp (ld_link_defsyms): For PE based targets
+       define the __main and ___main symbols in terms of the main symbol.
+
+2020-08-28  Alan Modra  <amodra@gmail.com>
+
+       PR 19011
+       * testsuite/ld-plugin/plugin.exp: Use modified CFLAGS throughout
+       file.  Add --image-base for pecoff.
+
+2020-08-28  Nelson Chu  <nelson.chu@sifive.com>
+
+       testsuite/ld-riscv-elf/lib-nopic-01a.s: Use R_RISCV_JAL rather
+       than R_RISCV_CALL.
+       testsuite/ld-riscv-elf/lib-nopic-01b.d: Likewise.
+       testsuite/ld-riscv-elf/lib-nopic-01b.s: Likewise.
+
+2020-08-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * emultempl/msp430.em: Remove unused variable "buf".
+
+2020-08-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ldlang.c (dump_ctf_errs): Unquote CTF error messages.
+       (ldlang_open_ctf): Likewise.
+       (lang_merge_ctf): Likewise.
+       (lang_write_ctf): Likewise.
+       * testsuite/ld-ctf/diag-ctf-version-f.d: Adjust.
+       * testsuite/ld-ctf/diag-cttname-invalid.d: Adjust.
+       * testsuite/ld-ctf/diag-decompression-failure.d: Adjust.
+       * testsuite/ld-ctf/diag-parname.d: Adjust.
+       * testsuite/ld-ctf/diag-unsupported-flag.d: Adjust.
+       * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Adjust.
+       * testsuite/ld-ctf/diag-wrong-magic-number.d: Adjust.
+
+2020-08-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ldlang.c (lang_ctf_errs_warnings): Support calls with NULL fp.
+       Adjust for new err parameter to ctf_errwarning_next.  Only
+       check for assertion failures when fp is non-NULL.
+       (ldlang_open_ctf): Call it on open errors.
+       * testsuite/ld-ctf/ctf.exp: Always use the C locale to avoid
+       breaking the diags tests.
+
+2020-08-27  Jeremy Drake  <sourceware-bugzilla@jdrake.com>
+
+       PR 19011
+       * emultempl/pe.em (DEFAULT_DLL_CHARACTERISTICS): Define.
+       (pe_dll_characteristics): Initialise to DEFAULT_DLL_CHARACTERISTICS.
+       (add_options): Add options to disable DLL characteristics.
+       (list_options): List the new options.
+       (handle_options): Handle the new options.
+       * emultempl/pep.em: Similar changes to above.
+       (NT_EXE_IMAGE_BASE): Default to an address above 4G.
+       (NT_DLL_IMAGE_BASE, NT_DLL_AUTO_IMAGE_BASE,
+       (NT_DLL_AUTO_IMAGE_MASK): Likewise.
+       * ld.texi: Document the new options.
+       * pe-dll.c (pe_dll_enable_reloc_section): Change to default to
+       true.
+       (generate_reloc): Do nothing if there is no reloc section.
+       (pe_exe_fill_sections): Only assign the reloc section contents if
+       the section exists.
+       * testsuite/ld-pe/pe.exp: Add the --disable-reloc-section flag to
+       the .secrel32 tests.
+       * testsuite/ld-scripts/provide-8.d: Expect for fail on PE targets.
+       * NEWS: Mention the change in DLL generation.
+
+2020-08-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/indirect.exp: Append $NOSANTIZE_CFLAGS to CC.
+       * testsuite/ld-elf/shared.exp: Likewise.
+       * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
+       * testsuite/ld-elfvers/vers.exp: Likewise.
+       * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
+       * testsuite/ld-elfweak/elfweak.exp: Likewise.
+       * testsuite/ld-plugin/lto.exp: Likewise.
+       * testsuite/ld-plugin/plugin.exp: Likewise.
+       * testsuite/ld-scripts/crossref.exp: Likewise.
+
+2020-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 26499
+       * emultempl/spuelf.em (spu_elf_relink): Check for NULL tmp_file_list.
+
+2020-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 26431
+       * pe-dll.c (auto_export): Don't call bsearch with zero count.
+
+2020-08-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-libs/libs.exp: Don't run on sh-pe, tic30 or tic54x.
+       * testsuite/ld-scripts/data.d: xfail tic4x and tic54x.
+       * testsuite/ld-scripts/empty-address-2a.d: xfail tic54x.
+       * testsuite/ld-scripts/empty-address-2b.d: Likewise.
+       * testsuite/ld-scripts/include-1.d: xfail tic4x and tic54x.
+       * testsuite/ld-scripts/provide-1.d: xfail tic54x.
+       * testsuite/ld-scripts/provide-2.d: Likewise.
+       * testsuite/ld-scripts/provide-4.d: Likewise.
+
+2020-08-24  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-sparc/tlssunbin32.rd: Update for new readelf output.
+       * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
+
+2020-08-24  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tls32.d: Update for TPREL_HA/LO optimisation.
+       * testsuite/ld-powerpc/tlsexe32.d: Likewise.
+       * testsuite/ld-powerpc/tlsldopt32.d: Likewise.
+       * testsuite/ld-powerpc/tlsmark32.d: Likewise.
+       * testsuite/ld-powerpc/tlsopt4_32.d: Likewise.
+       * testsuite/ld-powerpc/tprel.s,
+       * testsuite/ld-powerpc/tprel.d,
+       * testsuite/ld-powerpc/tprel32.d: New tests.
+       * testsuite/ld-powerpc/tprelbad.s,
+       * testsuite/ld-powerpc/tprelbad.d: New test.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
+2020-08-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26382
+       * testsuite/ld-elf/pr26302.nd: Updated.
+       * testsuite/ld-elf/pr26302.rd: New file.
+       * testsuite/ld-elf/shared.exp: Add a test for readelf -sW.
+
+2020-08-20  Nick Clifton  <nickc@redhat.com>
+
+       PR 26428
+       * testsuite/ld-elf/zlibbegin.rS: Update expected output.
+       * testsuite/ld-elf/zlibnormal.rS: Likewise.
+
+2020-08-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/inline.s,
+       * testsuite/ld-powerpc/inline-1.d,
+       * testsuite/ld-powerpc/inline-2.d,
+       * testsuite/ld-powerpc/inline-3.d,
+       * testsuite/ld-powerpc/inline-4.d,
+       * testsuite/ld-powerpc/inlinepcrel.s,
+       * testsuite/ld-powerpc/inlinepcrel-1.d,
+       * testsuite/ld-powerpc/inlinepcrel-2.d,
+       * testsuite/ld-powerpc/inlinepcrel-3.d: New tests.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
+2020-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26389
+       * testsuite/ld-plugin/lto.exp: Run PR binutils/26389 test.
+       * testsuite/ld-plugin/pr26389.c: New file.
+       * testsuite/ld-plugin/pr26389.d: Likewise.
+
+2020-08-14  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/ld-arm/thumb-plt-got.d: Relax regexpr.
+       * testsuite/ld-arm/thumb-plt.d: Likewise.
+
+2020-08-13  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (params): Init new field.
+       (enum ppc64_opt): Add OPTION_NO_PCREL_OPT.
+       (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS),
+       (PARSE_AND_LIST_ARGS_CASES): Support --no-pcrel-optimize.
+
+2020-08-10  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/21351
+       * ld.texi: Clarify the behaviour of the --relax and --no-relax
+       options on systems that do not support them.
+
+2020-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26302
+       * testsuite/ld-elf/pr26302.nd: New file.
+       * testsuite/ld-elf/pr26302.ver: Likewise.
+       * testsuite/ld-elf/pr26302a.c: Likewise.
+       * testsuite/ld-elf/pr26302b.c: Likewise.
+       * testsuite/ld-elf/shared.exp: Run binutils/26302 tests.
+
+2020-08-07  David Faust  <david.faust@oracle.com>
+
+       * testsuite/ld-bpf/call-3.s: New file.
+       * testsuite/ld-bpf/call-3.d: Likewise.
+
+2020-08-05  David Faust  <david.faust@oracle.com>
+
+       * testsuite/ld-bpf/call-2.s: New file.
+       * testsuite/ld-bpf/call-2.d: Likewise.
+       * testsuite/ld-bpf/reloc-data-be.d: Likewise.
+       * testsuite/ld-bpf/reloc-data-le.d: Likewise.
+       * testsuite/ld-bpf/reloc-data.s: Likewise.
+       * testsuite/ld-bpf/reloc-insn-external-be.d: Likewise.
+       * testsuite/ld-bpf/reloc-insn-external-le.d: Likewise.
+       * testsuite/ld-bpf/reloc-insn-external.s: Likewise.
+       * testsuite/ld-bpf/reloc-insn32-be.d: Likewise.
+       * testsuite/ld-bpf/reloc-insn32-le.d: Likewise.
+       * testsuite/ld-bpf/reloc-insn32.s: Likewise.
+       * testsuite/ld-bpf/reloc-insn64-be.d: Likewise.
+       * testsuite/ld-bpf/reloc-insn64-le.d: Likewise.
+       * testsuite/ld-bpf/reloc-insn64.s: Likewise.
+
+2020-08-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * emultempl/msp430.em (change_output_section): Update the tail
+       of the output section statement list when moving the original
+       tail to a different output section.
+       (eval_upper_either_sections): Don't move sections from the upper
+       region to the lower region unless the upper region is
+       overflowing.
+
+2020-08-03  Alan Modra  <amodra@gmail.com>
+
+       * ldlex.l (yy_create_string_buffer): Use xmalloc rather than malloc.
+       * lexsup.c (parse_args): Likewise.
+
+2020-08-03  Alan Modra  <amodra@gmail.com>
+
+       PR 26328
+       * configure.ac: AC_CHECK_DECLS asprintf.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2020-08-03  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elfvers/vers.exp (objdump_symstuff): Remove unused
+       variable.  Init list_a and list_b to empty.
+       (objdump_dynsymstuff): Likewise, and remove undefined list_a
+       handling.
+       * testsuite/ld-elfweak/elfweak.exp (objdump_symstuff): Similarly.
+       (objdump_dynsymstuff): Similarly.
+
+2020-07-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/indirect.exp: Append -fno-lto to CC.
+       * testsuite/ld-elfvers/vers.exp: Likewise.
+       * testsuite/ld-elfweak/elfweak.exp: Likewise.
+       * testsuite/ld-ifunc/ifunc.exp: Likewise.
+       * testsuite/ld-plugin/lto.exp (no_lto): New.
+       Add $no_lto to build pr15146c.so.
+       * testsuite/lib/ld-lib.exp (at_least_gcc_version): Filter out
+       -Wl,xxx options.
+       (check_gcc_plugin_enabled): Likewise.
+       (run_ld_link_exec_tests): Prepend -fno-lto to $cflags.
+       (run_cc_link_tests): Likewise.
+
+2020-07-31  Shahab Vahedi  <shahab@synopsys.com>
+
+       * scripttempl/elfarc.sc (.init_array): Keep ".init_array.*".
+       (.fini_array): Keep ".fini_array.*".
+
 2020-07-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
This page took 0.026743 seconds and 4 git commands to generate.