MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 1ce8439e86a66b9363642d1f18b0f4ab80085d37..ceee695c0062217742f822a606f96300ed9dd6dd 100644 (file)
@@ -1,3 +1,262 @@
+2017-02-28  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
+       instructions.
+       * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
+
+2017-02-27   Georg-Johann Lay  <gjl@gcc.gnu.org>
+
+       PR target/20849
+        * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
+        (.rodata): New section.
+        (.data): Remove .rodata*.
+
+2017-02-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
+       Set up HPUX defsym.  Run pr14170 tests and build symbol3 objects,
+       defining HPUX where necessary.  Define HPUX for implib tests.
+       * testsuite/ld-elf/comm-data4.d: Run for hpux.
+       * testsuite/ld-elf/endsym.d: Likewise.
+       * testsuite/ld-elf/linkoncerdiff.d: Likewise.
+       * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
+       * testsuite/ld-elf/comm-data5.s: Likewise.
+       * testsuite/ld-elf/endsym.s: Likewise.
+       * testsuite/ld-elf/pr14170c.s: Likewise.
+       * testsuite/ld-elf/symbol3.s: Likewise.
+       * testsuite/ld-elf/implib.s: Likewise.  Don't start directives
+       in first column.
+       * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
+       * testsuite/ld-elf/warn3.d: Run for hpux.
+       * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
+       * testsuite/ld-scripts/rgn-at11.d: Likewise.
+       * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
+
+2017-02-24  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-elf/ver_def.d: New test.
+       * testsuite/ld-elf/ver_def.ld: New test linker script.
+       * testsuite/ld-elf/ver_def.ver: New test version script.
+       * testsuite/ld-elf/ver_def.s: New test source.
+       * testsuite/ld-elf/readelf.exp: New test script.
+
+2017-02-23  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
+       option.
+       * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
+       * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
+       * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
+
+2017-02-23  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/jalr4.dd: New test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
+
+2017-02-23  Alan Modra  <amodra@gmail.com>
+
+       PR 20744
+       * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
+       each group.
+       * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
+       and sdarel reloc fix.
+
+2017-02-22  Maciej W. Rozycki  <macro@imgtec.com>
+
+       PR ld/20828
+       * testsuite/ld-elf/pr20828-d.sd: New test.
+       * testsuite/ld-elf/pr20828-e.sd: New test.
+       * testsuite/ld-elf/pr20828-v.od: New test.
+       * testsuite/ld-elf/pr20828-v.ver: New test version script.
+       * testsuite/ld-elf/pr20828-v.ld: New test linker script.
+       * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
+       `.gnu.version_d'.
+       * testsuite/ld-elf/shared.exp: Run the new tests.
+
+2017-02-21  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
+       about non-void function returning without a result.
+
+2017-02-17  Alan Modra  <amodra@gmail.com>
+
+       PR 15041
+       * scripttempl/pe.sc: Don't combine sections for ld -r.
+       * scripttempl/pep.sc: Likewise.
+
+2017-02-17  Alan Modra  <amodra@gmail.com>
+
+       PR 21099
+       * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
+       rather than using OTHER_SECTIONS.
+       * emulparams/elf32mt.sh: Likewise.
+       * emulparams/elf32rx.sh: Likewise.
+       * emulparams/elf32rl78.sh: Likewise.  Use OTHER_SYMBOLS to
+       define __rl78_abs__.
+       * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
+       rather than using OTHER_SECTIONS.
+       * emulparams/shelf32.sh: Likewise.  Use OTHER_SECTIONS for .cranges.
+       * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
+       * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
+       * emulparams/shelf_uclinux.sh: Likewise.
+       * emulparams/shlsymbian.sh: Unset STACK_ADDR.  Use OTHER_SYMBOLS
+       to define _stack, not OTHER_SECTIONS.
+       * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
+       TINY_BSS_SECTION before debug sections.  Add STACK_SENTINEL.
+       * scripttempl/arclinux.sc: Likewise.
+       * scripttempl/elf64hppa.sc: Likewise.
+       * scripttempl/elfxtensa.sc: Likewise.
+       * scripttempl/nds32elf.sc: Likewise.
+       * scripttempl/armbpabi.sc: Move STACK before debug sections.
+       * scripttempl/elf_chaos.sc: Likewise.
+       * scripttempl/elfarc.sc: Delete STACK.
+       * scripttempl/epiphany_4x4.sc: Delete STACK.  Move TINY_DATA_SECTION,
+       TINY_BSS_SECTION, and .stack before debug sections.
+
+2017-02-17  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/20825
+       * ld.texinfo (Options): Add missing @item entry for --pop-state.
+
+2017-02-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/dwarf2.err: Accept other errors between the
+       multiple definition errors.
+
+2017-02-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
+       * testsuite/ld-elf/dwarf3.err: Likewise.  Allow match without filename.
+
+2017-02-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/ld-elf/shared.exp: Update expected results.
+       * testsuite/ld-elf/dwarf2.err: Likewise
+
+2017-02-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
+       * testsuite/ld-elf/dwarf2.err: New file.
+       * testsuite/ld-elf/dwarf2a.c: New file.
+       * testsuite/ld-elf/dwarf2b.c: New file.
+       * testsuite/ld-elf/dwarf3.c: New file.
+       * testsuite/ld-elf/dwarf3.err: New file.
+
+2017-02-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
+       error, warning_output, and error_output actions.  Remove separate
+       warnings parameter.
+       * testsuite/ld-elf/shared.exp (build_tests): Updated to use
+       'warning' action.
+       * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
+
+2017-02-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
+       from void pointers to function pointers.
+       * testsuite/ld-elf/pr18718.c: Update to suit.
+       * testsuite/ld-elf/pr18720a.c: Update to suit.
+
+2017-02-16  Alan Modra  <amodra@gmail.com>
+
+       PR 21000
+       * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
+       * testsuite/ld-elf/loadaddr2.d: Likewise.
+       * testsuite/ld-elf/loadaddr3a.d: Likewise.
+       * testsuite/ld-scripts/rgn-at5.d: Likewise.
+
+2017-02-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
+       * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
+
+2017-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/21168
+       * testsuite/ld-i386/i386.exp: Run pr21168.
+       * testsuite/ld-i386/pr21168a.c: New file.
+       * testsuite/ld-i386/pr21168b.S: Likewise.
+
+2017-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20244
+       * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
+       pr20244-4c.
+       * testsuite/ld-i386/pr20244-4.s: New file.
+       * testsuite/ld-i386/pr20244-4a.d: Likewise.
+       * testsuite/ld-i386/pr20244-4b.d: Likewise.
+       * testsuite/ld-i386/pr20244-4c.d: Likewise.
+
+2017-02-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * ldmisc.c (vfinfo): Don't print the function name again either
+       if no source file name has been found both now and previously.
+       * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
+       * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
+       * testsuite/ld-powerpc/tocopt.out: Likewise.
+       * testsuite/ld-powerpc/tocopt7.out: Likewise.
+
+2017-02-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
+
+2017-02-15  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       * testsuite/ld-scripts/sysroot-prefix.exp
+       (get_base_dir_for_scripts): New function.
+       (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
+
+2017-02-13  Palmer Dabbelt  <palmer@dabbelt.com>
+
+       * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
+       _gp to __global_pointer$
+
+2017-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * configure.tgt (arc*-*-linux*): Change the default linker
+       emulation based on --with-cpu selection.
+       * NEWS: Mention new configuration option.
+
+2017-02-06  Jiong Wang  <jiong.wang@arm.com>
+
+       * testsuite/ld-elf/compress.exp: Don't print to stdout for all
+       "readelf -w".
+
+2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
+
+2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
+       s/regexp/regex/.
+
 2017-02-02  Jiong Wang  <jiong.wang@arm.com>
 
        * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
This page took 0.025608 seconds and 4 git commands to generate.