X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=995d527d75cca71c5a909b4bb1c5db0efb7f65bd;hb=656e4a22f37255dbc86c17c4e61ef2d5324e8cd4;hp=b84b05b90a7f7c5d434d1c1815675039bc51b20a;hpb=2a37823bfe57d43f6c43a48a00237ba169599c3c;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index b84b05b90a..995d527d75 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,224 @@ +2020-06-07 H.J. Lu + + * testsuite/ld-elf/shared.exp: Xfail pr20995/pr20995-2 for + tic6x-*-*. + +2020-06-07 H.J. Lu + + * testsuite/ld-elf/pr11304.d: Skip tic6x-*-elf. + +2020-06-06 Alan Modra + + * testsuite/ld-elf/comm-data.exp: Don't xfail arm or bfin-linux. + +2020-06-06 Alan Modra + + * lexsup.c (ld_options): Accept -plugin and -plugin-opt when + !ENABLE_PLUGINS. + * testsuite/lib/ld-lib.exp (check_plugin_api_available): Adjust. + +2020-06-05 Nelson Chu + + * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Rename to + attr-merge-priv-spec-01.d. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-c.s: Set spec to 1.11. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-d.s: Empty priv spec set. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-02.d: New testcase. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-03.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise. + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. + +2020-06-05 Nelson Chu + + * testsuite/ld-riscv-elf/attr-merge-arch-01.d: The CSR isn't used, + so ignore the -mpriv-spec setting. + * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise. + * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise. + * testsuite/ld-riscv-elf/call-relax.d: Add -mno-arch-attr. + +2020-06-04 H.J. Lu + + PR ld/26080 + * testsuite/ld-elf/comm-data.exp: Remove copy_reloc. + * testsuite/ld-elf/comm-data2r.rd: Removed. + * testsuite/ld-elf/comm-data2r.sd: Likewise. + * testsuite/ld-elf/comm-data2r.xd: Likewise. + +2020-06-04 Alan Modra + + * testsuite/config/default.exp: Remove global directive outside + proc body. + * testsuite/ld-bootstrap/bootstrap.exp: Likewise. + * testsuite/ld-elf/compress.exp: Likewise. + * testsuite/ld-elf/elf.exp: Likewise. + * testsuite/ld-elf/exclude.exp: Likewise. + * testsuite/ld-elf/frame.exp: Likewise. + * testsuite/ld-elf/indirect.exp: Likewise. + * testsuite/ld-elf/linux-x86.exp: Likewise. + * testsuite/ld-elf/shared.exp: Likewise. + * testsuite/ld-elf/tls.exp: Likewise. + * testsuite/ld-elf/tls_common.exp: Likewise. + * testsuite/ld-elfcomm/elfcomm.exp: Likewise. + * testsuite/ld-elfweak/elfweak.exp: Likewise. + * testsuite/ld-frv/fdpic.exp: Likewise. + * testsuite/ld-frv/tls.exp: Likewise. + * testsuite/ld-gc/gc.exp: Likewise. + * testsuite/ld-i386/i386.exp: Likewise. + * testsuite/ld-i386/no-plt.exp: Likewise. + * testsuite/ld-ifunc/ifunc.exp: Likewise. + * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise. + * testsuite/ld-nios2/nios2.exp: Likewise. + * testsuite/ld-plugin/lto.exp: Likewise. + * testsuite/ld-plugin/plugin.exp: Likewise. + * testsuite/ld-powerpc/export-class.exp: Likewise. + * testsuite/ld-scripts/align.exp: Likewise. + * testsuite/ld-scripts/crossref.exp: Likewise. + * testsuite/ld-scripts/defined.exp: Likewise. + * testsuite/ld-scripts/overlay-size.exp: Likewise. + * testsuite/ld-scripts/provide.exp: Likewise. + * testsuite/ld-scripts/weak.exp: Likewise. + * testsuite/ld-selective/selective.exp: Likewise. + * testsuite/ld-sh/rd-sh.exp: Likewise. + * testsuite/ld-size/size.exp: Likewise. + * testsuite/ld-srec/srec.exp: Likewise. + * testsuite/ld-x86-64/mpx.exp: Likewise. + * testsuite/ld-x86-64/no-plt.exp: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + +2020-06-04 Alan Modra + + * testsuite/ld-dynamic/export-dynamic-symbol-2.d: Match output for + mips-sgi-irix6. + * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: Likewise. + * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: Likewise. + * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: Likewise. + * testsuite/ld-dynamic/export-dynamic-symbol.exp: Exclude targets + with poor PIE support. + +2020-06-04 Alan Modra + + * testsuite/ld-plugin/lto.exp (pr12758.exe): Add NOPIE_LDFLAGS. + * testsuite/ld-unique/unique.exp: Add NOPIE_LDFLAGS to unique + executable and dynamic executable tests. + +2020-06-03 H.J. Lu + + * testsuite/config/default.exp (NOSANTIZE_CFLAGS): New. + * testsuite/ld-elf/linux-x86.exp: Add $NOSANTIZE_CFLAGS to + tests with run_ld_link_exec_tests. + * testsuite/ld-elf/shared.exp: Add $NOSANTIZE_CFLAGS to tests + with run_ld_link_tests. + * testsuite/ld-elf/tls.exp: Likewise. + * testsuite/ld-elfweak/elfweak.exp: Add $NOSANTIZE_CFLAGS to + tests with ld_link. + * testsuite/ld-gc/gc.exp: Add $NOSANTIZE_CFLAGS to cflags. + * testsuite/ld-plugin/lto.exp: Add $NOSANTIZE_CFLAGS to tests + with run_ld_link_tests.a + * testsuite/ld-plugin/plugin.exp: Append $NOSANTIZE_CFLAGS to + CFLAGS. + * testsuite/ld-selective/selective.exp: Add $NOSANTIZE_CFLAGS + to cflags and cxxflags. + * testsuite/ld-srec/srec.exp: Append $NOSANTIZE_CFLAGS to CC + and CXX. + * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Updated for + -fsanitize=undefined. + * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Add $NOSANTIZE_CFLAGS to + tests with run_cc_link_tests and run_ld_link_tests. + +2020-06-03 Fangrui Song + H.J. Lu + + PR ld/25910 + * NEWS: Mention --export-dynamic-symbol[-list]. + * ld.texi: Document --export-dynamic-symbol[-list]. + * ldgram.y: Pass current_dynamic_list_p to + lang_append_dynamic_list. + * ldlang.c (current_dynamic_list_p): New. + (ang_append_dynamic_list): Updated to take a pointer to + struct bfd_elf_dynamic_list * argument instead of using + link_info.dynamic_list. + (lang_append_dynamic_list_cpp_typeinfo): Pass + &link_info.dynamic_list to ang_append_dynamic_list. + (lang_append_dynamic_list_cpp_new): Likewise. + * ldlang.h (current_dynamic_list_p): New. + (lang_append_dynamic_list): Add a pointer to + struct bfd_elf_dynamic_list * argument. + * ldlex.h (option_values): Add OPTION_EXPORT_DYNAMIC_SYMBOL and + OPTION_EXPORT_DYNAMIC_SYMBOL_LIST. + * lexsup.c (ld_options): Add entries for + OPTION_EXPORT_DYNAMIC_SYMBOL and + OPTION_EXPORT_DYNAMIC_SYMBOL_LIST. + (parse_args): Handle --export-dynamic-symbol and + --export-dynamic-symbol-list. + * testsuite/ld-dynamic/export-dynamic-symbol-1.d: New. + * testsuite/ld-dynamic/export-dynamic-symbol-2.d: New. + * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: New. + * testsuite/ld-dynamic/export-dynamic-symbol-list-1.d: New. + * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: New. + * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: New. + * testsuite/ld-dynamic/export-dynamic-symbol.exp: New. + * testsuite/ld-dynamic/export-dynamic-symbol.s: New. + * testsuite/ld-dynamic/foo-bar.list: New. + * testsuite/ld-dynamic/foo.list: New. + * testsuite/ld-dynamic/foo.s: New. + * testsuite/ld-dynamic/fstar.list: New. + * testsuite/ld-elf/dlempty.list: New. + * testsuite/ld-elf/shared.exp: Add tests for + --export-dynamic-symbol and --export-dynamic-symbol-list. + +2020-06-03 Jan Beulich + + * testsuite/ld-elf/linux-x86.exp: Make copied source files + writeable. + +2020-05-28 Nick Clifton + + PR 26047 + * ldelf.c (ldelf_after_open): Fail if attempting to link one + executable into another. Ensure that the test is made for all + forms of linking. + +2020-05-28 H.J. Lu + + * NEWS: Mention --enable-textrel-check=yes is default for + Linux/x86 targets. + * configure.tgt (ac_default_ld_textrel_check): Set to yes if + unset for Linux/x86 targets. + +2020-05-28 H.J. Lu + + PR ld/20824 + * NEWS: Mention --enable-textrel-check=[no|yes|warning|error]. + * configure.ac: Add --enable-textrel-check=[no|yes|warning|error]. + (DEFAULT_LD_TEXTREL_CHECK): New AC_DEFINE_UNQUOTED. + (DEFAULT_LD_TEXTREL_CHECK_WARNING): Likewise. + * ldmain.c (main): Initialize link_info.textrel_check to + DEFAULT_LD_TEXTREL_CHECK. + * lexsup.c (ld_options): Check DEFAULT_LD_TEXTREL_CHECK_WARNING. + * config.in: Regenerated. + * configure: Likewise. + +2020-05-28 Nick Clifton + + * lexsup.c (parse_args): Generate an error if a name is not + provided to the -Map option. + (ld_options): Mention that the -Map option supports a directory + name as an argument. + * NEWS: Remove mention of support for an empty string as an + argument to -Map. + * ld.texi: Likewise. + 2020-05-27 Hans-Peter Nilsson PR ld/22909