aarch64: Normalize and sort feature bit macros
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 6aeafe69d76c16caae0625f4e9d2877dbe371abf..b67cd518a6a4ef797c7b898e27c195e88143c597 100644 (file)
@@ -1,3 +1,217 @@
+2020-06-22  Nelson Chu  <nelson.chu@sifive.com>
+
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Updated.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Updated.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Updated.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Updated.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Updated.
+
+2020-06-21  Alan Modra  <amodra@gmail.com>
+
+       * ldfile.c: Replace uses of ENABLE_PLUGINS with BFD_SUPPORTS_PLUGINS.
+       * ldlang.c: Likewise.
+       * ldlang.h: Likewise.
+       * ldlex.h: Likewise.
+       * ldmain.c: Likewise.
+       * lexsup.c: Likewise.
+       * plugin.c: Wrap body of file in #if BFD_SUPPORTS_PLUGINS.
+       * testplug.c: Likewise.
+       * testplug2.c: Likewise.
+       * testplug3.c: Likewise.
+       * testplug4.c: Likewise.
+       * configure.ac (ENABLE_PLUGINS): Don't define AM_CONTITIONAL.
+       * Makefile.am: Remove ENABLE_PLUGINS conditionals.
+       (PLUGIN_CFLAGS): Don't define.
+       (PLUGIN_C, PLUGIN_H, PLUGIN_OBJECT): Likewise.  Substitute all
+       uses with plugin file name.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+
+2020-06-20  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (default_ld_compile): Don't perror on
+       a compiler error.
+       (default_ld_assemble): Similarly for an assembler error.
+       (default_ld_nm): Similarly for an nm error.
+       (run_ld_link_tests): Report ld_assemble errors as a fail.
+       (check_as_cfi): Remove now unnecessary perror substitution.
+       * testsuite/ld-elf/exclude.exp: Report ld_nm error return as test
+       fails rather then unresolved.
+       * testsuite/ld-gc/gc.exp: Likewise.
+       * testsuite/ld-scripts/alignof.exp: Likewise.
+       * testsuite/ld-scripts/defined.exp: Likewise.
+       * testsuite/ld-scripts/script.exp: Likewise.
+       * testsuite/ld-scripts/sizeof.exp: Likewise.
+       * testsuite/ld-selective/selective.exp: Likewise.
+       * testsuite/ld-scripts/extern.exp: Likewise.  Return on ld_link
+       failure.
+       * testsuite/ld-elfweak/elfweak.exp: Report compiler errors as
+       test unresolved.
+       * testsuite/ld-fastcall/fastcall.exp: Report assember errors as
+       test fails.
+       * testsuite/ld-i386/i386.exp (iamcu_tests): Likewise.
+       * testsuite/ld-ia64/line.exp: Likewise.
+       * testsuite/ld-mep/mep.exp: Likewise.
+       * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
+       * testsuite/ld-nios2/nios2.exp: Likewise.
+       * testsuite/ld-scripts/alignof.exp: Likewise.
+       * testsuite/ld-x86-64/line.exp: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-scripts/log2.exp: Formatting.
+       * testsuite/ld-tic6x/tic6x.exp: Report ld_link errors as a test fail.
+
+2020-06-20  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-alpha/alpha.exp: Exclude *ecoff targets.
+       * testsuite/ld-elf/binutils.exp: Likewise.
+       * testsuite/ld-elf/tls.exp: Likewise.
+       * testsuite/ld-elf/tls_common.exp: Likewise.
+       * testsuite/ld-scripts/phdrs2.exp: Likewise.
+
+2020-06-20  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-sh/sh.exp: Don't run relax tests for non-ELF.
+       Fail when ld_assemble fails.  Use elseif to reduce indentation.
+
+2020-06-19  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/dynamic-1.rd: Accept st_other notations.
+       * testsuite/ld-elf/rdynamic-1.rd: Likewise.
+       * testsuite/ld-elf/pr9676.rd: Likewise.
+       * testsuite/ld-elf/pr9679.rd: Likewise.
+       * testsuite/ld-elfvers/vers30.dsym: Likewise.
+       * testsuite/ld-elfvers/vers31.dsym: Likewise.
+       * testsuite/ld-plugin/pr22983.1.d: Likewise.
+       * testsuite/ld-plugin/pr22983.2.d: Likewise.
+       * testsuite/ld-plugin/pr22983.3.d: Likewise.
+       * testsuite/ld-plugin/pr22983.4.d: Likewise.
+       * testsuite/ld-ifunc/ifunc.exp: Exclude alpha.
+
+2020-06-19  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/elf.em (gld${EMULATION_NAME}_handle_option): Omit
+       -z relro and -z norelro when target support for GNU_RELRO is lacking.
+       (gld${EMULATION_NAME}_before_parse): Ignore RELRO default too.
+       * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse): Ignore
+       RELRO default when target support for GNU_RELRO is lacking.
+       * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
+       * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Likewise.
+       * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
+       * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
+       * testsuite/ld-elf/pr16322.d: xfail when no relro support.
+       * testsuite/ld-elf/pr22393-1a.d: Likewise.
+       * testsuite/ld-elf/pr22393-1b.d: Likewise.
+       * testsuite/ld-elf/shared.exp (pr20995-2.so, pr20995-2): Likewise.
+       * testsuite/lib/ld-lib.exp (run_ld_link_tests): Use check_relro_support
+       to decide whether to pass extra ld option "-z norelro".
+
+2020-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Append "-w"
+       to cflags.
+
+2020-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/linux-x86.exp: Require GCC 5 for Build
+       pr25749-1b (-pie -fPIE).
+
+2020-06-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/pr23428.c: Define _DEFAULT_SOURCE.
+       * testsuite/ld-elf/indirect1b.c: Replace asm with __asm__.
+       * testsuite/ld-elf/indirect2.c: Likewise.
+       * testsuite/ld-elf/indirect3b.c: Likewise.
+       * testsuite/ld-elf/indirect4b.c: Likewise.
+       * testsuite/ld-elf/pr14323-2.c: Likewise.
+       * testsuite/ld-elf/pr18720b.c: Likewise.
+       * testsuite/ld-elf/pr19553c.c: Likewise.
+       * testsuite/ld-elf/pr23428.c: Likewise.
+       * testsuite/ld-elfvers/vers27b.c: Likewise.
+       * testsuite/ld-elfvsb/common.c: Likewise.
+       * testsuite/ld-elfvsb/main.c: Likewise.
+       * testsuite/ld-elfvsb/sh1.c: Likewise.
+       * testsuite/ld-elfvsb/test.c: Likewise.
+       * testsuite/ld-pe/aligncomm-1.c: Likewise.
+       * testsuite/ld-pe/aligncomm-2.c: Likewise.
+       * testsuite/ld-pe/aligncomm-3.c: Likewise.
+       * testsuite/ld-pe/aligncomm-4.c: Likewise.
+       * testsuite/ld-plugin/pr23958.c: Likewise.
+       * testsuite/ld-size/size-1b.c: Likewise.
+       * testsuite/ld-size/size-2b.c: Likewise.
+       * testsuite/ld-size/size-3a.c: Likewise.
+       * testsuite/ld-size/size-3b.c: Likewise.
+       * testsuite/ld-size/size-3c.c: Likewise.
+       * testsuite/ld-size/size-4b.c: Likewise.
+       * testsuite/ld-size/size-5b.c: Likewise.
+       * testsuite/ld-size/size-6a.c: Likewise.
+       * testsuite/ld-size/size-7a.c: Likewise.
+       * testsuite/ld-size/size-8a.c: Likewise.
+       * testsuite/ld-size/size-9b.c: Likewise.
+       * testsuite/ld-size/size-10b.c: Likewise.
+
+2020-06-16  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/tic30aout.sh: Delete file.
+       * scripttempl/tic30aout.sc: Delete file.
+       * Makefile.am: Remove etic30aout.c from ALL_EMULATION_SOURCES and
+       delete dependency.
+       * configure.tgt: Delete tic30-*-*aout* entry.
+       * testsuite/ld-scripts/sane1.d: Delete tic30-*-aout mention.
+       * testsuite/ld-scripts/segment-start.d: Likewise.
+       * Makefile.in: Regenerate.
+       * po/BLD-POTFILES.in: Regenerate.
+
+2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * emultempl/xtensaelf.em (XSHAL_ABI): Remove macro definition.
+       (XTHAL_ABI_UNDEFINED, XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
+       macros.
+       (elf32xtensa_abi): New declaration.
+       (xt_config_info_unpack_and_check): Set elf32xtensa_abi if it is
+       undefined.  Use xtensa_abi_choice instead of XSHAL_ABI to test
+       ABI tag consistency.
+       (xtensa_add_config_info): Use xtensa_abi_choice instead of
+       XSHAL_ABI to format ABI tag.
+       (PARSE_AND_LIST_PROLOGUE): Define OPTION_ABI_WINDOWED,
+       OPTION_ABI_CALL0 and declare elf32xtensa_abi.
+       (PARSE_AND_LIST_LONGOPTS): Add entries for --abi-windowed and
+       --abi-call0.
+       (PARSE_AND_LIST_OPTIONS): Add help text for --abi-windowed and
+       --abi-call0.
+       (PARSE_AND_LIST_ARGS_CASES): Add handlers for --abi-windowed and
+       --abi-call0.
+       * ld.texi: Add description for options --abi-windowed and
+       --abi-call0.
+
+2020-06-15  Roland McGrath  <mcgrathr@google.com>
+
+       * NEWS: Mention -z start-stop-visibility=... option for ELF.
+       * ld.texi (Options): Document -z start-stop-visibility=... option.
+       * ldmain.c (main): Initialize link_info.start_stop_visibility.
+       * emultempl/elf.em (gld${EMULATION_NAME}_handle_option):
+       Parse -z start-stop-visibility=... option.
+
+2020-06-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/include.exp: Don't load ld-lib.exp.
+       * testsuite/ld-scripts/phdrs3.exp: Likewise.
+       * testsuite/ld-scripts/rgn-at.exp: Likewise.
+       * testsuite/ld-scripts/rgn-over.exp: Likewise.
+       * testsuite/ld-scripts/sort.exp: Likewise.
+       * testsuite/ld-discard/discard.exp: Likewise.  Use is_elf_format.
+
+2020-06-15  Alan Modra  <amodra@gmail.com>
+
+       PR 26103
+       * testsuite/ld-linkonce/ref1.s,
+       * testsuite/ld-linkonce/ref2.s,
+       * testsuite/ld-linkonce/sym1.s,
+       * testsuite/ld-linkonce/sym2.s,
+       * testsuite/ld-linkonce/sym3.s: New test files.
+       * testsuite/ld-linkonce/linkonce.exp: Run tests for PE too.
+       Add pr26103 test.  Remove unnecessary load_lib.
+
 2020-06-15  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-linkonce/zeroeh_x.s: Rename from x.s.
This page took 0.025356 seconds and 4 git commands to generate.