X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=f9e4a43ce1e4e386d02a16f3dbb19e2497d52c7f;hb=b0ee49d21ba0c4b7f9817db01dc247255eebd516;hp=ba4151ee833fdf6ef1926c90b4a2d470b76c3c03;hpb=cebd6b8ac1c5a2a847a50e3efe932ff2d0867b3e;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index ba4151ee83..f9e4a43ce1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,194 @@ +2020-06-20 Alan Modra + + * 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 + + * 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 + + * 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 + + * 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 + + * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Append "-w" + to cflags. + +2020-06-17 H.J. Lu + + * testsuite/ld-elf/linux-x86.exp: Require GCC 5 for Build + pr25749-1b (-pie -fPIE). + +2020-06-16 Alan Modra + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + 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 + + * testsuite/ld-linkonce/zeroeh_x.s: Rename from x.s. + * testsuite/ld-linkonce/zeroeh_y.s: Rename from y.s. + * testsuite/ld-linkonce/zeroehl32.d: Adjust for renaming. Support + big-endian output. Run for powerpc. + +2020-06-11 Alan Modra + + * testsuite/ld-plugin/lto.exp (lto_link_tests): Move lto-6, + pr12760, pr23818 and pr23958 tests to.. + (lto_link_elf_tests): ..here. + +2020-06-11 Nick Clifton + + * testsuite/ld-elf/pr26094-1b.c (main): Change return type to + int. + +2020-06-10 Alan Modra + + * testsuite/ld-elf/linux-x86.exp: Build tests when non-native. + (check_pr25749b): Add optional args. Set expected pass file + from args. Run -1b and -2a tests with passall.out. + * testsuite/ld-elf/passall.out: New file. + * testsuite/ld-elf/pr25749-1.c: Adjust to pass with older glibc. + * testsuite/ld-elf/pr25749-2.c: Likewise. + * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Use + regexp_diff to compare expected output from running binary. + +2020-06-10 H.J. Lu + + PR ld/26094 + * testsuite/ld-elf/pr26094-1.ver: New fike. + * testsuite/ld-elf/pr26094-1a.c: Likewise. + * testsuite/ld-elf/pr26094-1a.rd: Likewise. + * testsuite/ld-elf/pr26094-1b.c: Likewise. + * testsuite/ld-elf/pr26094-1b.rd: Likewise. + * testsuite/ld-elf/pr26094-1c.c: Likewise. + * testsuite/ld-elf/shared.exp: Run ld/26094 tests. + 2020-06-09 H.J. Lu PR ld/18801