buildtools/binutils/ld/ChangeLog

325 lines
10 KiB
Plaintext
Raw Normal View History

2017-08-05 16:32:14 +02:00
2017-07-25 Tristan Gingold <gingold@adacore.com>
2016-07-21 21:35:07 +02:00
* configure: Regenerate.
2017-08-05 16:32:14 +02:00
2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
Backport from mainline
2017-05-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-arm/arm-elf.exp
(Secure gateway import library generation): Check e_type field
of import library and executable produced.
* testsuite/ld-arm/cmse-implib.type: Expectations for e_type field.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
* emulparams/call_nop.sh: Remove -z prefix-nop.
* ld.texinfo: Likewise.
* testsuite/ld-i386/call3c.d: Check for linker error.
* testsuite/ld-x86-64/call1c.d: Likewise.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-05-31 Alan Modra <amodra@gmail.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
* emultempl/ppc64elf.em (plt-static-chain help): Fix quoting.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-05-18 Alan Modra <amodra@gmail.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
Apply from master
2017-03-13 Alexey Neyman <stilor@att.net>
* emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
cpu, not host.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-04-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
PR ld/21404
* testsuite/ld-avr/pr21404-1.d: New test.
* testsuite/ld-avr/pr21404-1.s: New test.
* testsuite/ld-avr/pr21404-2.d: New test.
* testsuite/ld-avr/pr21404-2.s: New test.
* testsuite/ld-avr/pr21404-3.d: New test.
* testsuite/ld-avr/pr21404-3.s: New test.
* testsuite/ld-avr/pr21404-4.d: New test.
* testsuite/ld-avr/pr21404-4.s: New test.
* testsuite/ld-avr/pr21404-5.d: New test.
* testsuite/ld-avr/pr21404-5.s: New test.
* testsuite/ld-avr/pr21404-6.d: New test.
* testsuite/ld-avr/pr21404-6.s: New test.
* testsuite/ld-avr/pr21404-7.d: New test.
* testsuite/ld-avr/pr21404-7.s: New test.
* testsuite/ld-avr/pr21404-8.d: New test.
* testsuite/ld-avr/pr21404-8.s: New test.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-04-24 H.J. Lu <hongjiu.lu@intel.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
PR ld/20815
* testsuite/ld-i386/vxworks2.sd: Add space for program headers.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-03-28 Hans-Peter Nilsson <hp@axis.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
PR ld/16044
* testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s,
testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
PR ld/19579
PR ld/21306
* testsuite/ld-elf/pr19579a.c (main): Updated.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-04-05 Maciej W. Rozycki <macro@imgtec.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
PR ld/21233
* ldlang.c (insert_undefined): Set `mark' for ELF symbols.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-03-07 Alan Modra <amodra@gmail.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
* ldlang.c (open_input_bfds): Check that lang_assignment_statement
is not an assert before referencing defsym.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-03-02 Tristan Gingold <gingold@adacore.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
* configure: Regenerate.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-03-02 Tristan Gingold <gingold@adacore.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
* configure: Regenerate.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-02-28 Alan Modra <amodra@gmail.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-elf/merge.d: xfail for nios.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-02-28 Alan Modra <amodra@gmail.com>
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
limits of addpcis range.
2016-10-10 16:55:00 +02:00
2017-08-05 16:32:14 +02:00
2017-02-23 Alan Modra <amodra@gmail.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
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.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-02-16 Alan Modra <amodra@gmail.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-unique/unique.exp: xfail two tests for hppa.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-02-16 Alan Modra <amodra@gmail.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
* 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.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-02-16 Alan Modra <amodra@gmail.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
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.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-02-16 Alan Modra <amodra@gmail.com>
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
* testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
2016-07-21 21:35:07 +02:00
2017-08-05 16:32:14 +02:00
2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
PR ld/21168
* testsuite/ld-i386/i386.exp: Run pr21168.
* testsuite/ld-i386/pr21168a.c: New file.
* testsuite/ld-i386/pr21168b.S: Likewise.
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
* emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
_gp to __global_pointer$
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
2017-02-03 Alan Modra <amodra@gmail.com>
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
PR ld/21000
* emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
(DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
* scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
is already defined.
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
2017-02-02 Hans-Peter Nilsson <hp@axis.com>
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
PR binutils/19935
Fix long-standing buglet and fallout from now-default initfini-array.
* emulparams/criself.sh (USER_LABEL_PREFIX): Define.
(OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
presentation of relocation addends.
* testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
* testsuite/ld-mips-elf/vxworks1.dd: Likewise.
* testsuite/ld-mips-elf/vxworks1.rd: Likewise.
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
in `.tdata' section.
* testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
* testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
2015-07-23 20:15:18 +02:00
2017-08-05 16:32:14 +02:00
* emultempl/mipself.em (ignore_branch_isa): New variable.
(mips_create_output_section_statements): Rename
`_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
add `ignore_branch_isa' argument.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
OPTION_NO_IGNORE_BRANCH_ISA enum values.
(PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
"no-ignore-branch-isa" options.
(PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
`--no-ignore-branch-isa'.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
OPTION_NO_IGNORE_BRANCH_ISA.
2017-08-05 16:32:14 +02:00
* ld.texinfo (Options specific to MIPS targets): Add
`--ignore-branch-isa' and `--no-ignore-branch-isa' options.
(ld and the MIPS family): Likewise.
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
* testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
* testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
* testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
test.
* testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
2016-10-10 16:55:00 +02:00
test.
* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2017-08-05 16:32:14 +02:00
2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
* emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
add implicit version nodes if an anonymous version tag is being
used.
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
2017-08-05 16:32:14 +02:00
PR ld/20828
* testsuite/ld-elf/pr20828.ld: Add `.plt'.
2017-08-05 16:32:14 +02:00
2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
2017-08-05 16:32:14 +02:00
PR ld/20828
* testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
`fdata' and `edata' respectively.
* testsuite/ld-elf/pr20828.ver: Adjust accordingly.
* testsuite/ld-elf/pr20828-a.sd: Likewise.
* testsuite/ld-elf/pr20828-b.sd: Likewise.
* testsuite/ld-elf/pr20828-c.sd: Likewise.
2017-08-05 16:32:14 +02:00
2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
2017-08-05 16:32:14 +02:00
PR ld/20828
* testsuite/ld-elf/pr20828-1.sd: Remove test.
* testsuite/ld-elf/pr20828-a.sd: New test.
* testsuite/ld-elf/pr20828-2a.sd: Rename test to...
* testsuite/ld-elf/pr20828-b.sd: ... this.
* testsuite/ld-elf/pr20828-2b.sd: Rename test to...
* testsuite/ld-elf/pr20828-c.sd: ... this.
* testsuite/ld-elf/shared.exp: Adjust accordingly.
2017-08-05 16:32:14 +02:00
2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
2017-08-05 16:32:14 +02:00
PR ld/20995
* testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
`mips*-*-*' target and `pr20995' and `pr20995-2' tests.
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
PR ld/20828
* testsuite/ld-elf/pr20828-1.sd: New test.
* testsuite/ld-elf/pr20828-2a.sd: New test.
* testsuite/ld-elf/pr20828-2b.sd: New test.
* testsuite/ld-elf/pr20828.ld: New test linker script.
* testsuite/ld-elf/pr20828.ver: New test version script.
* testsuite/ld-elf/pr20828.s: New test source.
* testsuite/ld-elf/shared.exp: Run the new test.
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
PR gas/20649
* testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
relocation pairing link test.
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
PR 21059
* ldlex.l: Support processing with flex 2.6.3.
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
2017-01-13 H.J. Lu <hongjiu.lu@intel.com>
2017-08-05 16:32:14 +02:00
Backport from master
2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
2017-08-05 16:32:14 +02:00
PR ld/21038
* testsuite/ld-x86-64/pr21038b.d: Updated.
* testsuite/ld-x86-64/pr21038c.d: New file.
* testsuite/ld-x86-64/pr21038c.s: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
PR ld/21038
* testsuite/ld-x86-64/pr21038a.d: New file.
* testsuite/ld-x86-64/pr21038a.s: Likewise.
* testsuite/ld-x86-64/pr21038b.d: Likewise.
* testsuite/ld-x86-64/pr21038b.s: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
2017-01-13 H.J. Lu <hongjiu.lu@intel.com>
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
Backport from master
2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
* testsuite/ld-x86-64/pr20830b.d: Updated.
2016-02-10 18:58:24 +01:00
2017-08-05 16:32:14 +02:00
2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
2017-08-05 16:32:14 +02:00
* emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
* testsuite/ld-x86-64/pr20830.d: Renamed to ...
* testsuite/ld-x86-64/pr20830a.d: This. Updated.
* testsuite/ld-x86-64/pr20830b.d: New file.
* testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
Run pr20830b.
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
2014-03-19 17:25:32 +01:00
2017-08-05 16:32:14 +02:00
PR ld/20830
* testsuite/ld-i386/i386.exp: Run pr20830.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* testsuite/ld-i386/pr20830.d: New file.
* testsuite/ld-i386/pr20830.s: Likewise.
* testsuite/ld-x86-64/pr20830.d: Likewise.
* testsuite/ld-x86-64/pr20830.s: Likewise.
2013-04-03 21:39:13 +02:00
2017-08-05 16:32:14 +02:00
2017-01-02 Alan Modra <amodra@gmail.com>
2012-01-05 23:13:27 +01:00
2016-02-10 18:58:24 +01:00
Update year range in copyright notice of all files.
2017-08-05 16:32:14 +02:00
For older changes see ChangeLog-2016
2017-08-05 16:32:14 +02:00
Copyright (C) 2017 Free Software Foundation, Inc.
2014-03-19 17:25:32 +01:00
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End: