X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=4031ac9a669e9220d45b9c29e98dd6ff7e2c0ef9;hb=180c87d999b4ae31b8ee092369b11cd9c840123b;hp=0701b128584f80aff4260649dc32cf64f37a0e8b;hpb=cdf969539c718acb1f3f031b2c55d5274a538717;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 0701b12858..4031ac9a66 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,337 @@ +2016-05-15 Maciej W. Rozycki + + * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail + removal. + +2016-05-14 H.J. Lu + + PR ld/20097 + * testplug2.c (onall_symbols_read): Remove redundant sizeof + on EXPECTED_VIEW_LENGTH. + * testplug4.c (onall_symbols_read): Likewise. + +2016-05-13 H.J. Lu + + PR ld/20093 + * testsuite/ld-x86-64/pr20093-1.d: New file. + * testsuite/ld-x86-64/pr20093-1.s: Likewise. + * testsuite/ld-x86-64/pr20093-2.d: Likewise. + * testsuite/ld-x86-64/pr20093-2.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2. + +2016-05-13 Alan Modra + + * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing. + Use different output file name for static app without .rel.plt. + * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn. + * testsuite/ld-arm/arm-no-rel-plt.out: Delete. + * testsuite/ld-arm/arm-no-rel-plt.r: New. + * testsuite/ld-arm/arm-static-app.d: Don't check file name. + * testsuite/ld-arm/arm-static-app.r: Likewise. + +2016-05-12 H.J. Lu + + PR ld/20070 + * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la. + (libldtestplug4_la_SOURCES): New. + (libldtestplug4_la_CFLAGS): Likewise. + (libldtestplug4_la_LDFLAGS): Likewise. + * Makefile.in: Regenerated. + * plugin.c (get_symbols): Return resolution based on IR symbol + kinds for symbols defined/referenced only within IR. + * testplug4.c: New file. + * ld/testsuite/ld-plugin/pr20070.d: Likewise. + * ld/testsuite/ld-plugin/pr20070a.c: Likewise. + * ld/testsuite/ld-plugin/pr20070b.c: Likewise. + * testsuite/ld-plugin/plugin.exp (plugin4_name): New. + (plugin4_path): Likewise. + Add a test for ld/20070. + +2016-05-11 Alan Modra + + * emultempl/hppaelf.em (hppaelf_create_output_section_statements): + Call elf32_hppa_init_stub_bfd. + +2016-05-11 Alan Modra + + PR 20060 + * testsuite/ld-powerpc/powerpc.exp: Run new tests. + * testsuite/ld-powerpc/tlsdll.s: New. + * testsuite/ld-powerpc/tlsdll.ver: New. + * testsuite/ld-powerpc/tlsdll_32.s: New. + * testsuite/ld-powerpc/tlsopt5.d: New. + * testsuite/ld-powerpc/tlsopt5.s: New. + * testsuite/ld-powerpc/tlsopt5_32.d: New. + * testsuite/ld-powerpc/tlsopt5_32.s: New. + +2016-05-10 Thomas Preud'homme + + * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use + ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol. + +2016-05-10 Thomas Preud'homme + + * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section + parameter and rename input_section parameter to after_input_section. + Append input stub section to the output section if after_input_section + is NULL. + +2016-05-10 Thomas Preud'homme + + * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New + test. + * testsuite/ld-arm/attr-merge-10b-dsp.s: New file. + * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise. + +2016-05-10 Christophe Lyon + + * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*". + +2016-05-09 Christophe Monat + + PR ld/20030 + * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp + tests. Fix misnamed stm32l4xx-fix-all. + * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple + loads with DP registers. + * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file. + * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment. + * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple + loads with DP registers. + * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference. + +2016-05-09 Pitchumani Sivanupandi + + * testsuite/ld-elf/flags1.d (readelf): Dump section header instead + program headers. + (xfail): Remove avr-*-*. + Update regex to check the section flags. + * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*. + +2016-05-09 Alan Modra + + * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps. + * Makefile.in: Regenerate. + +2016-05-09 Alan Modra + + * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text. + * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec. + * testsuite/ld-scripts/section-match-1.t: Likewise. + +2016-05-06 H.J. Lu + + PR ld/17550 + * testsuite/ld-elf/pr17550-1.s: New file. + * testsuite/ld-elf/pr17550-2.s: Likewise. + * testsuite/ld-elf/pr17550-3.s: Likewise. + * testsuite/ld-elf/pr17550-4.s: Likewise. + * testsuite/ld-elf/pr17550a.d: Likewise. + * testsuite/ld-elf/pr17550b.d: Likewise. + * testsuite/ld-elf/pr17550c.d: Likewise. + * testsuite/ld-elf/pr17550d.d: Likewise. + +2016-05-06 Senthil Kumar Selvaraj + + * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR. + +2016-05-06 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run load7. + * testsuite/ld-i386/load7.d: New file. + * testsuite/ld-i386/load7.map: Likewise. + * testsuite/ld-i386/load7.s: Likewise. + * testsuite/ld-x86-64/load2.d: Likewise. + * testsuite/ld-x86-64/load2.map: Likewise. + * testsuite/ld-x86-64/load2.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run load2. + +2016-05-05 H.J. Lu + + * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New. + * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + +2016-05-05 H.J. Lu + + * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld. + +2016-05-04 H.J. Lu + + * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL. + +2016-05-04 Maciej W. Rozycki + + * testsuite/ld-unique/unique.d: New test. + * testsuite/ld-unique/unique.exp: Run the new test. Adjust + messages for compiled tests. + +2016-05-04 Senthil Kumar Selvaraj + + * testsuite/ld-elf/pr18735.d: Allow other symbols. + * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr. + * testsuite/ld-gc/pr14265.d: Allow other symbols. + * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to + plugin_tests only if check_shared_lib_support is true. + * testsuite/ld-selective/selective.exp: Add --section-start + flag for avr. + +2016-05-03 Maciej W. Rozycki + + PR 10549 + * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'. + +2016-05-03 Jiong Wang + + * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option. + * NEWS: Mention --no-apply-dynamic-relocs. + * ld.texinfo (ld and the ARM family): Document + --no-apply-dynamic-relocs. + * testsuite/ld-aarch64/rela-abs-relative.s: New test source. + * testsuite/ld-aarch64/rela-abs-relative.d: New expected result. + * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian. + * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new + option. + +2016-05-03 Senthil Kumar Selvaraj + + * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support + before running STT_COMMON tests. + +2016-04-29 H.J. Lu + + * config/default.exp (NOPIE_CFLAGS): Download source only on + remote host. + (NOPIE_LDFLAGS): Likewise. + * testsuite/lib/ld-lib.exp (check_lto_available): Likewise. + (check_lto_fat_available): Likewise. + (check_lto_shared_available): Likewise. + (check_ifunc_available): Likewise. + (check_ifunc_attribute_available): Likewise. + +2016-04-27 H.J. Lu + + * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets. + +2016-04-27 H.J. Lu + + PR ld/20006 + * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New. + (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on + ELF targets. + +2016-04-27 H.J. Lu + + * testsuite/ld-elf/compressed1b.d: Pass + --compress-debug-sections=none to ld. + * testsuite/ld-elf/compressed1c.d: Likewise. + +2016-04-27 Alan Modra + + PR target/19985 + * configure.tgt: Don't use var+=. + +2016-04-25 Nick Clifton + + PR target/19985 + * configure.tgt: Include big endian PPC64 emulations with little + endian PPC64 targets. + +2016-04-25 Senthil Kumar Selvaraj + + * scripttempl/avrtiny.sc (.text): Do not set LMA to zero. + +2016-04-21 Nick Clifton + + * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in + prefernce to _bfd_elf_link_check_relocs. Drop test for ELF + targets. Do not stop the checks when problems are encountered. + +2016-04-21 Alan Modra + + * testsuite/ld-scripts/cross3.t: Add commonly used data + and text section names to output section statements. + * testsuite/ld-scripts/cross4.t: Likewise. + * testsuite/ld-scripts/cross5.t: Likewise. + * testsuite/ld-scripts/cross6.t: Likewise. + * testsuite/ld-scripts/cross7.t: Likewise. + +2016-04-20 H.J. Lu + + * ldlang.c (lang_check_relocs): New function. + (lang_process): Call lang_check_relocs after lang_gc_sections. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't + call _bfd_elf_link_check_relocs here. + +2016-04-20 H.J. Lu + + PR ld/19972 + * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for + R_386_NONE or R_X86_64_NONE. + +2016-04-20 H.J. Lu + + * testsuite/ld-x86-64/pic1.d: New file. + * testsuite/ld-x86-64/pic1.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pic1. + +2016-04-20 H.J. Lu + + * testsuite/ld-x86-64/pie2.d: New file. + * testsuite/ld-x86-64/pie2.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pie2. + +2016-04-20 H.J. Lu + + PR ld/19969 + * testsuite/ld-x86-64/pr19969.d: New file. + * testsuite/ld-x86-64/pr19969a.S: Likewise. + * testsuite/ld-x86-64/pr19969b.S: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests. + +2016-04-20 H.J. Lu + + * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + New. + * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): + Set check_relocs_after_open_input to TRUE if + CHECK_RELOCS_AFTER_OPEN_INPUT is yes. + (gld${EMULATION_NAME}_after_open): Call + _bfd_elf_link_check_relocs on all inputs if + check_relocs_after_open_input is TRUE. + +2016-04-20 H.J. Lu + + * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on + my_personality_v0. + +2016-04-20 Trevor Saunders + + * emultempl/scoreelf.em: Likewise. + +2016-04-19 H.J. Lu + + PR ld/19719 + * testsuite/ld-x86-64/pr19719.d: New file. + * testsuite/ld-x86-64/pr19719.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr19719. + 2016-04-18 Matthew Fortune * ld.texinfo: Document NOCROSSREFS_TO script command.