Support rvalue reference type in parser
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1d3fa25f
AM
12017-03-17 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k.
4
9494d963
TG
52017-03-15 Tristan Gingold <gingold@adacore.com>
6
7 * testsuite/ld-checks/checks.exp (overflow_check): Disable for
8 non-elf targets.
9
9216a6f3
L
102017-03-14 H.J. Lu <hongjiu.lu@intel.com>
11
12 * ldlang.c (lang_check_section_addresses): Use addr_mask to
13 check VMA and LMA.
14
f955cccf
NC
152017-03-13 Nick Clifton <nickc@redhat.com>
16
17 PR binutils/21202
18 * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.
19
d40e34db
TG
202017-03-13 Tristan Gingold <gingold@adacore.com>
21
22 * ldlang.c (lang_check_section_addresses): Check for address space
23 overflow.
24 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
25 * testsuite/ld-checks/over.s: New test source.
26 * testsuite/ld-checks/over.d: New test.
27 * testsuite/ld-checks/over2.s: New test source.
28 * testsuite/ld-checks/over2.d: New test.
29
4b5900d8
AN
302017-03-13 Alexey Neyman <stilor@att.net>
31
32 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
33 cpu, not host.
34
118aa6cf
AM
352017-03-11 Alan Modra <amodra@gmail.com>
36
37 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
38 sysroot for -rpath search.
39
316a1245
AM
402017-03-11 Alan Modra <amodra@gmail.com>
41
42 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
43 Only prefix absolute paths with sysroot. Handle DOS paths.
44 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
45 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
46 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
47 searches. Rename variable. Simplify get_runpath search.
48
bb4287c5
AM
492017-03-11 Alan Modra <amodra@gmail.com>
50
51 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
52 than -rdynamic.
53
e299b355
AM
542017-03-11 Alan Modra <amodra@gmail.com>
55
56 * ld.texinfo (Orphan Sections): Mention that not all targets
57 handle orphans well.
58 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
59 * testsuite/ld-elf/orphan-10.d: Likewise.
60
14ea2c1b
AB
612017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * ldlang.c (lang_size_sections_1): Shortcut loop only after
64 tracking changes to the default regions LMA.
65 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
66 * testsuite/ld-elf/orphan-10.d: New file.
67 * testsuite/ld-elf/orphan-10.s: New file.
68 * NEWS: Mention change in behaviour.
69
77f5e65e
AB
702017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
71
72 * ldlang.c (lang_leave_output_section_statement): Move lma_region
73 logic to...
74 (lang_propagate_lma_regions): ...this new function.
75 (lang_process): Call new function.
76 * testsuite/ld-elf/orphan-9.d: New file.
77 * testsuite/ld-elf/orphan-9.ld: New file.
78 * testsuite/ld-elf/orphan-9.s: New file.
79 * NEWS: Mention change in behaviour.
80
d933941d
AM
812017-03-07 Alan Modra <amodra@gmail.com>
82
83 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
84 is not an assert before referencing defsym.
85
2e0ce1c8
AM
862017-03-05 Alan Modra <amodra@gmail.com>
87
88 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
89 * testsuite/ld-elf/eh6.d: Likewise.
90 * testsuite/ld-alpha/tlsbin.dd: Likewise.
91 * testsuite/ld-alpha/tlsbin.td: Likewise.
92 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
93 * testsuite/ld-alpha/tlspic.dd: Likewise.
94 * testsuite/ld-alpha/tlspic.rd: Likewise.
95 * testsuite/ld-alpha/tlspic.sd: Likewise.
96 * testsuite/ld-alpha/tlspic.td: Likewise.
97 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
98 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
99 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
100 * testsuite/ld-x86-64/pr20830a.d: Likewise.
101 * testsuite/ld-x86-64/pr21038a.d: Likewise.
102 * testsuite/ld-x86-64/pr21038b.d: Likewise.
103 * testsuite/ld-x86-64/pr21038c.d: Likewise.
104
611a3ca9
NC
1052017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
106
107 PR 12969
108 * pe-dll.c (generate_edata): Fail if the input file(s) require too
109 many ordinals.
110
199add01
AM
1112017-03-02 Alan Modra <amodra@gmail.com>
112
113 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
114 and dl3.cc.
115
4ef97a1b
AM
1162017-02-28 Alan Modra <amodra@gmail.com>
117
118 * testsuite/ld-elf/merge.d: xfail for nios.
119
7ba71655
AM
1202017-02-28 Alan Modra <amodra@gmail.com>
121
122 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
123 limits of addpcis range.
124
0e392101
MR
1252017-02-28 Maciej W. Rozycki <macro@imgtec.com>
126
127 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
128 instructions.
129 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
130 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
131
fbf25dfd
GJL
1322017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
133
134 PR target/20849
135 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
136 (.rodata): New section.
137 (.data): Remove .rodata*.
138
dd803a24
AM
1392017-02-25 Alan Modra <amodra@gmail.com>
140
141 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
142 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
143 defining HPUX where necessary. Define HPUX for implib tests.
144 * testsuite/ld-elf/comm-data4.d: Run for hpux.
145 * testsuite/ld-elf/endsym.d: Likewise.
146 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
147 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
148 * testsuite/ld-elf/comm-data5.s: Likewise.
149 * testsuite/ld-elf/endsym.s: Likewise.
150 * testsuite/ld-elf/pr14170c.s: Likewise.
151 * testsuite/ld-elf/symbol3.s: Likewise.
152 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
153 in first column.
154 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
155 * testsuite/ld-elf/warn3.d: Run for hpux.
156 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
157 * testsuite/ld-scripts/rgn-at11.d: Likewise.
158 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
159
c9f02c3e
MR
1602017-02-24 Maciej W. Rozycki <macro@imgtec.com>
161
162 * testsuite/ld-elf/ver_def.d: New test.
163 * testsuite/ld-elf/ver_def.ld: New test linker script.
164 * testsuite/ld-elf/ver_def.ver: New test version script.
165 * testsuite/ld-elf/ver_def.s: New test source.
166 * testsuite/ld-elf/readelf.exp: New test script.
167
5d58c733
MR
1682017-02-23 Maciej W. Rozycki <macro@imgtec.com>
169
170 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
171 option.
172 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
173 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
174 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
175
c1556ecd
MR
1762017-02-23 Maciej W. Rozycki <macro@imgtec.com>
177
178 * testsuite/ld-mips-elf/jalr4.dd: New test.
179 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
180
5499c7c7
AM
1812017-02-23 Alan Modra <amodra@gmail.com>
182
183 PR 20744
184 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
185 each group.
186 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
187 and sdarel reloc fix.
188
902e9fc7
MR
1892017-02-22 Maciej W. Rozycki <macro@imgtec.com>
190
191 PR ld/20828
192 * testsuite/ld-elf/pr20828-d.sd: New test.
193 * testsuite/ld-elf/pr20828-e.sd: New test.
194 * testsuite/ld-elf/pr20828-v.od: New test.
195 * testsuite/ld-elf/pr20828-v.ver: New test version script.
196 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
197 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
198 `.gnu.version_d'.
199 * testsuite/ld-elf/shared.exp: Run the new tests.
200
46519784
NC
2012017-02-21 Nick Clifton <nickc@redhat.com>
202
203 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
204 about non-void function returning without a result.
205
c48cfedd
AM
2062017-02-17 Alan Modra <amodra@gmail.com>
207
208 PR 15041
209 * scripttempl/pe.sc: Don't combine sections for ld -r.
210 * scripttempl/pep.sc: Likewise.
211
74dc9032
AM
2122017-02-17 Alan Modra <amodra@gmail.com>
213
246b9122 214 PR 21099
74dc9032
AM
215 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
216 rather than using OTHER_SECTIONS.
217 * emulparams/elf32mt.sh: Likewise.
218 * emulparams/elf32rx.sh: Likewise.
219 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
220 define __rl78_abs__.
221 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
222 rather than using OTHER_SECTIONS.
223 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
224 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
225 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
226 * emulparams/shelf_uclinux.sh: Likewise.
227 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
228 to define _stack, not OTHER_SECTIONS.
229 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
230 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
231 * scripttempl/arclinux.sc: Likewise.
232 * scripttempl/elf64hppa.sc: Likewise.
233 * scripttempl/elfxtensa.sc: Likewise.
234 * scripttempl/nds32elf.sc: Likewise.
235 * scripttempl/armbpabi.sc: Move STACK before debug sections.
236 * scripttempl/elf_chaos.sc: Likewise.
237 * scripttempl/elfarc.sc: Delete STACK.
238 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
239 TINY_BSS_SECTION, and .stack before debug sections.
240
67cecaba
NC
2412017-02-17 Nick Clifton <nickc@redhat.com>
242
243 PR ld/20825
244 * ld.texinfo (Options): Add missing @item entry for --pop-state.
245
262a40a5
AM
2462017-02-17 Alan Modra <amodra@gmail.com>
247
248 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
249 multiple definition errors.
250
002a5d4e
AM
2512017-02-17 Alan Modra <amodra@gmail.com>
252
253 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
254 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
255
3239a423
AB
2562017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
257
258 * testsuite/ld-elf/shared.exp: Update expected results.
259 * testsuite/ld-elf/dwarf2.err: Likewise
260
90ed9b8b
AB
2612017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
262
263 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
264 * testsuite/ld-elf/dwarf2.err: New file.
265 * testsuite/ld-elf/dwarf2a.c: New file.
266 * testsuite/ld-elf/dwarf2b.c: New file.
267 * testsuite/ld-elf/dwarf3.c: New file.
268 * testsuite/ld-elf/dwarf3.err: New file.
269
2bd7f877
AB
2702017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
271
272 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
273 error, warning_output, and error_output actions. Remove separate
274 warnings parameter.
275 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
276 'warning' action.
277 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
278
37d7d56c
AM
2792017-02-16 Alan Modra <amodra@gmail.com>
280
281 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
282 from void pointers to function pointers.
283 * testsuite/ld-elf/pr18718.c: Update to suit.
284 * testsuite/ld-elf/pr18720a.c: Update to suit.
285
a8c75b76
AM
2862017-02-16 Alan Modra <amodra@gmail.com>
287
288 PR 21000
289 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
290 * testsuite/ld-elf/loadaddr2.d: Likewise.
291 * testsuite/ld-elf/loadaddr3a.d: Likewise.
292 * testsuite/ld-scripts/rgn-at5.d: Likewise.
293
a48cda7f
AM
2942017-02-16 Alan Modra <amodra@gmail.com>
295
296 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
297 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
298
2a568401
L
2992017-02-15 H.J. Lu <hongjiu.lu@intel.com>
300
301 PR ld/21168
302 * testsuite/ld-i386/i386.exp: Run pr21168.
303 * testsuite/ld-i386/pr21168a.c: New file.
304 * testsuite/ld-i386/pr21168b.S: Likewise.
305
a5def14f
L
3062017-02-15 H.J. Lu <hongjiu.lu@intel.com>
307
308 PR ld/20244
309 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
310 pr20244-4c.
311 * testsuite/ld-i386/pr20244-4.s: New file.
312 * testsuite/ld-i386/pr20244-4a.d: Likewise.
313 * testsuite/ld-i386/pr20244-4b.d: Likewise.
314 * testsuite/ld-i386/pr20244-4c.d: Likewise.
315
ebf0b03c
MR
3162017-02-15 Maciej W. Rozycki <macro@imgtec.com>
317
318 * ldmisc.c (vfinfo): Don't print the function name again either
319 if no source file name has been found both now and previously.
320 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
321 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
322 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
323 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
324 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
325 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
326 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
327 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
328 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
329 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
330 Likewise.
331 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
332 Likewise.
333 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
334 Likewise.
335 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
336 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
337 Likewise.
338 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
339 Likewise.
340 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
341 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
342 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
343 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
344 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
345 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
346 * testsuite/ld-powerpc/tocopt.out: Likewise.
347 * testsuite/ld-powerpc/tocopt7.out: Likewise.
348
befe814d
MR
3492017-02-15 Maciej W. Rozycki <macro@imgtec.com>
350
351 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
352
defe6f56
IK
3532017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
354
355 * testsuite/ld-scripts/sysroot-prefix.exp
356 (get_base_dir_for_scripts): New function.
357 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
358
10ddfe62
PD
3592017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
360
361 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
362 _gp to __global_pointer$
363
d7488716
AB
3642017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
365
366 * configure.tgt (arc*-*-linux*): Change the default linker
367 emulation based on --with-cpu selection.
368 * NEWS: Mention new configuration option.
369
65f90e82
JW
3702017-02-06 Jiong Wang <jiong.wang@arm.com>
371
372 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
373 "readelf -w".
374
fa93e3d3
MR
3752017-02-02 Maciej W. Rozycki <macro@imgtec.com>
376
377 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
378
2e9af2d0
MR
3792017-02-02 Maciej W. Rozycki <macro@imgtec.com>
380
381 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
382 s/regexp/regex/.
383
fd121c5c
JW
3842017-02-02 Jiong Wang <jiong.wang@arm.com>
385
386 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
387 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
388 dlopen support into "dlopen_run_tests". These tests include dl1*main
389 and dl6*main.
390 (dlopen_run_tests): New and only run it when check_libdl_available
391 returns true. XFAIL on *-*-netbsdelf*.
392
c0c237fc
MR
3932017-02-01 Maciej W. Rozycki <macro@imgtec.com>
394
395 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
396 presentation of relocation addends.
397 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
398 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
399 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
400
5139cfdb
MR
4012017-02-01 Maciej W. Rozycki <macro@imgtec.com>
402
403 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
404 in `.tdata' section.
405 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
406 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
407
ce790370
JW
4082017-02-01 Jiong Wang <jiong.wang@arm.com>
409
410 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
411 Append $board_cflags to link commands.
412
067869b6
SKS
4132017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
414
415 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
416 check for digit in second decimal place.
417
15a00b13
MR
4182017-02-01 Maciej W. Rozycki <macro@imgtec.com>
419
420 PR ld/20828
421 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
422 indentation.
423
1273da04
NC
4242017-01-31 Nick Clifton <nickc@redhat.com>
425
426 * ldmain.c (add_archive_element): Eliminate string buffer.
427 * ldlang.c (lang_print_asneeded): Likewise.
428
8b10b0b3
MR
4292017-01-30 Maciej W. Rozycki <macro@imgtec.com>
430
431 * emultempl/mipself.em (ignore_branch_isa): New variable.
432 (mips_create_output_section_statements): Rename
433 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
434 add `ignore_branch_isa' argument.
435 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
436 OPTION_NO_IGNORE_BRANCH_ISA enum values.
437 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
438 "no-ignore-branch-isa" options.
439 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
440 `--no-ignore-branch-isa'.
441 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
442 OPTION_NO_IGNORE_BRANCH_ISA.
443
444 * ld.texinfo (Options specific to MIPS targets): Add
445 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
446 (ld and the MIPS family): Likewise.
447
448 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
449 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
450 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
451 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
452 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
453 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
454 test.
455 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
456 test.
457 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
458
bf382b30
HPN
4592017-01-29 Hans-Peter Nilsson <hp@axis.com>
460
c1d45238 461 PR binutils/19935
bf382b30
HPN
462 Fix long-standing buglet and fallout from now-default initfini-array.
463 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
ce6366f9 464 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
bf382b30 465
4471a46f
JW
4662017-01-27 Jiong Wang <jiong.wang@arm.com>
467
468 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
469 arm*-*-eabi*.
470
387dd777
DP
4712017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
472 Nick Clifton <nickc@redhat.com>
473
474 PR 20343
475 * ld.texinfo (Options): Extend documentation of the --plugin
476 option. Include a description of where the plugins should be
477 located.
478
0348d4be
NC
4792017-01-27 Nick Clifton <nickc@redhat.com>
480
481 * po/sr.po: New Serbian translation.
482 * configure.ac (ALL_LINGUAS): Add sr.
483 * configure: Regenerate.
484
c75b4ebd
SH
4852017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
486
487 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
488 (bfin-*-rtems*): Move to (bfin*-*-elf*).
489 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
490 (m68*-*-rtems*): Move to (m68*-*-elf*).
491 (mips*-*-rtems*): Move to (mips*-*-elf*).
492 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
493 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
494 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
495 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
496
850d84f6
SH
4972017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
498
499 * configure.tgt (h8300-*-rtemscoff*): Remove.
500 (i960-*-rtems*): Likewise.
501 (m68*-*-rtemscoff*): Likewise.
502 (sh-*-rtemscoff*): Likewise.
503
1a792e1c
MR
5042017-01-24 Maciej W. Rozycki <macro@imgtec.com>
505
506 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
507 add implicit version nodes if an anonymous version tag is being
508 used.
509
077c11e8
JW
5102017-01-24 Jiong Wang <jiong.wang@arm.com>
511
512 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
513 "Compile 8a", "Compile 8b"...
514 (lto_compile_elf_tests): ...to here. Always run these tests.
515 (lto_run_elf_tests): Move "LTO 7"...
516 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
517 environment where share library is supported.
518
f0158f44
AM
5192017-01-24 Alan Modra <amodra@gmail.com>
520
521 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
522 and symbols.
523 * testsuite/ld-powerpc/tlsexe.d: Likewise.
524 * testsuite/ld-powerpc/tlsexe.g: Likewise.
525
2d0ca824
YN
5262017-01-23 Yury Norov <ynorov@caviumnetworks.com>
527
528 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
529 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
530 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
531 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
532 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
533 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
534 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
535 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
536 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
537 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
538 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
539 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
540 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
541
8069955e
NC
5422017-01-23 Nick Clifton <nickc@redhat.com>
543
544 * po/ga.po: Updated Irish translation.
545
1e5f45bb
MR
5462017-01-23 Maciej W. Rozycki <macro@imgtec.com>
547
548 PR ld/20828
549 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
550
fda46c41
MR
5512017-01-23 Maciej W. Rozycki <macro@imgtec.com>
552
553 PR ld/20828
554 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
555 `fdata' and `edata' respectively.
556 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
557 * testsuite/ld-elf/pr20828-a.sd: Likewise.
558 * testsuite/ld-elf/pr20828-b.sd: Likewise.
559 * testsuite/ld-elf/pr20828-c.sd: Likewise.
560
adcbdc63
MR
5612017-01-23 Maciej W. Rozycki <macro@imgtec.com>
562
563 PR ld/20828
564 * testsuite/ld-elf/pr20828-1.sd: Remove test.
565 * testsuite/ld-elf/pr20828-a.sd: New test.
566 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
567 * testsuite/ld-elf/pr20828-b.sd: ... this.
568 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
569 * testsuite/ld-elf/pr20828-c.sd: ... this.
570 * testsuite/ld-elf/shared.exp: Adjust accordingly.
571
9966f7ee
JW
5722017-01-23 Jiong Wang <jiong.wang@arm.com>
573
574 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
575 board_cflags as gcc is used as linker driver.
576 * testsuite/ld-unique/unique.exp: Likewise
577
7f784814
JW
5782017-01-20 Jiong Wang <jiong.wang@arm.com>
579
580 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
581 * testsuite/ld-aarch64/func-in-so.s: New test source file.
582 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
583 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
584
1737c640
AB
5852017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
588
6984613a
MR
5892017-01-18 Maciej W. Rozycki <macro@imgtec.com>
590
591 PR ld/20995
592 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
593 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
594
81ff47b3
MR
5952017-01-18 Maciej W. Rozycki <macro@imgtec.com>
596
597 PR ld/20828
598 * testsuite/ld-elf/pr20828-1.sd: New test.
599 * testsuite/ld-elf/pr20828-2a.sd: New test.
600 * testsuite/ld-elf/pr20828-2b.sd: New test.
601 * testsuite/ld-elf/pr20828.ld: New test linker script.
602 * testsuite/ld-elf/pr20828.ver: New test version script.
603 * testsuite/ld-elf/pr20828.s: New test source.
604 * testsuite/ld-elf/shared.exp: Run the new test.
605
9e009953
MR
6062017-01-18 Maciej W. Rozycki <macro@imgtec.com>
607
608 PR gas/20649
609 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
610 relocation pairing link test.
611
319b82e4
DD
6122017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
613
614 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
615 uniqeue.exp, as not all targets have such support.
616
6aa1df2d
NC
6172017-01-16 Nick Clifton <nickc@redhat.com>
618
619 * po/sv.po: Updated Swedish translation.
620
8361ed4d
L
6212017-01-12 H.J. Lu <hongjiu.lu@intel.com>
622
623 PR ld/21038
624 * testsuite/ld-x86-64/pr21038b.d: Updated.
625 * testsuite/ld-x86-64/pr21038c.d: New file.
626 * testsuite/ld-x86-64/pr21038c.s: Likewise.
627 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
628
9e659176
L
6292017-01-11 H.J. Lu <hongjiu.lu@intel.com>
630
631 PR ld/21038
632 * testsuite/ld-x86-64/pr21038a.d: New file.
633 * testsuite/ld-x86-64/pr21038a.s: Likewise.
634 * testsuite/ld-x86-64/pr21038b.d: Likewise.
635 * testsuite/ld-x86-64/pr21038b.s: Likewise.
636 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
637
f2e2d2f5
JS
6382017-01-11 Jeremy Soller <jackpot51@gmail.com>
639
640 * configure.tgt: Add entries for x86-redox and x86_64-redox.
641
52b232b3
L
6422017-01-10 H.J. Lu <hongjiu.lu@intel.com>
643
644 * testsuite/ld-x86-64/pr20830b.d: Updated.
645
59a1e29d
L
6462017-01-10 H.J. Lu <hongjiu.lu@intel.com>
647
648 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
649 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
650 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
651 * testsuite/ld-x86-64/pr20830b.d: New file.
652 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
653 Run pr20830b.
654
fff53dae
L
6552017-01-10 H.J. Lu <hongjiu.lu@intel.com>
656
657 PR ld/20830
658 * testsuite/ld-i386/i386.exp: Run pr20830.
659 * testsuite/ld-x86-64/x86-64.exp: Likewise.
660 * testsuite/ld-i386/pr20830.d: New file.
661 * testsuite/ld-i386/pr20830.s: Likewise.
662 * testsuite/ld-x86-64/pr20830.d: Likewise.
663 * testsuite/ld-x86-64/pr20830.s: Likewise.
664
e9237227
L
6652017-01-10 H.J. Lu <hongjiu.lu@intel.com>
666
667 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
668 -Wl,--as-needed to $CC.
669 * testsuite/ld-i386/tls.exp: Likewise.
670
07e8e623
NC
6712017-01-10 Nick Clifton <nickc@redhat.com>
672
673 * po/sv.po: Updated Swedish translation.
674
07ccf83c
GM
6752016-12-09 Graham Markall <graham.markall@embecosm.com>
676 Andrew Burgess <andrew.burgess@embecosm.com>
677
678 * Makefile.am: Add earclinux_nps.c target and add to
679 ALL_EMULATION_SOURCES.
680 * Makefile.in: Likewise, regenerated.
681 * configure.tgt: Add arclinux_nps as an extra emulation for
682 arc*-*-elf* and arc*-*-linux*.
683 * emulparams/arc-nps.sh: New file.
684 * emulparams/arclinux_nps.sh: New file.
685 * testsuite/ld-arc/arclinux-nps.d,
686 * testsuite/ld-arc/arclinux-nps.s: New test.
687
b0556316
DP
6882017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
689
690 PR 20958
691 * ldlex.l (option): Add noyywrap
692 (yywrap): Delete.
693 * ldlex.h (yywrap): Delete prototype.
694
47523653
AM
6952017-01-04 Alan Modra <amodra@gmail.com>
696
697 * testsuite/ld-elf/audit.exp: Check for shared lib support.
698 * testsuite/ld-elf/compress.exp: Likewise.
699 * testsuite/ld-elf/dwarf.exp: Likewise.
700 * testsuite/ld-elf/shared.exp: Likewise.
701 * testsuite/ld-elf/wrap.exp: Likewise.
702 * testsuite/ld-ifunc/ifunc.exp: Likewise.
703 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
704
a44d0bd7
AM
7052017-01-03 Alan Modra <amodra@gmail.com>
706
707 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
708 allow test to continue after compilation errors.
709 (run_cc_link_tests): Likewise.
710
27c3ce29
DD
7112017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
712
713 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
714 (epruelf.c): Remove unneeded dependencies.
715 * Makefile.in: Regenerate
716
8cfc7cf8
AM
7172017-01-03 Alan Modra <amodra@gmail.com>
718
719 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
720 to various tests.
721 * testsuite/ld-elfweak/elfweak.exp: Likewise.
722 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
723
4ce6ca2c
AM
7242017-01-03 Alan Modra <amodra@gmail.com>
725
726 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
727 * testsuite/ld-pie/pie.exp: Likewise.
728 * testsuite/ld-plugin/lto.exp: Likewise.
729
d9816402
AM
7302017-01-02 Alan Modra <amodra@gmail.com>
731
732 * Makefile.am (bootstrap): Delete rule.
733 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
734 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
735 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
736 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
737 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
738 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
739 * Makefile.in: Regenerate.
740 * configure: Regenerate.
741 * testsuite/config/default.exp (get_link_files): Delete.
742 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
743 define.
744 (ld_simple_link): Delete.
745 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
746 (default_ld_simple_link): Rename to default_ld_link.
747 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
748 (run_ld_link_tests): Use ld_link, not ld_simple_link.
749 (run_cc_link_tests): Likewise.
750 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
751 Don't run exe when not native, and return unsupported.
752 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
753 Link ld1 etc. using $CC.
754 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
755 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
756 * testsuite/ld-cygwin/exe-export.exp: Likewise.
757 * testsuite/ld-elf/binutils.exp: Likewise.
758 * testsuite/ld-elf/eh-group.exp: Likewise.
759 * testsuite/ld-elf/exclude.exp: Likewise.
760 * testsuite/ld-elf/frame.exp: Likewise.
761 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
762 * testsuite/ld-elf/tls_common.exp: Likewise.
763 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
764 * testsuite/ld-fastcall/fastcall.exp: Likewise.
765 * testsuite/ld-gc/gc.exp: Likewise.
766 * testsuite/ld-ifunc/binutils.exp: Likewise.
767 * testsuite/ld-mep/mep.exp: Likewise.
768 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
769 * testsuite/ld-mn10300/mn10300.exp: Likewise.
770 * testsuite/ld-nios2/nios2.exp: Likewise.
771 * testsuite/ld-pe/pe-compile.exp: Likewise.
772 * testsuite/ld-pe/pe-run.exp: Likewise.
773 * testsuite/ld-pe/pe-run2.exp: Likewise.
774 * testsuite/ld-plugin/plugin.exp: Likewise.
775 * testsuite/ld-scripts/align.exp: Likewise.
776 * testsuite/ld-scripts/alignof.exp: Likewise.
777 * testsuite/ld-scripts/assert.exp: Likewise.
778 * testsuite/ld-scripts/defined.exp: Likewise.
779 * testsuite/ld-scripts/extern.exp: Likewise.
780 * testsuite/ld-scripts/log2.exp: Likewise.
781 * testsuite/ld-scripts/map-address.exp: Likewise.
782 * testsuite/ld-scripts/phdrs.exp: Likewise.
783 * testsuite/ld-scripts/phdrs2.exp: Likewise.
784 * testsuite/ld-scripts/script.exp: Likewise.
785 * testsuite/ld-scripts/section-flags.exp: Likewise.
786 * testsuite/ld-scripts/sizeof.exp: Likewise.
787 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
788 * testsuite/ld-scripts/weak.exp: Likewise.
789 * testsuite/ld-selective/selective.exp: Likewise.
790 * testsuite/ld-sh/sh.exp: Likewise.
791 * testsuite/ld-sh/sh64/relax.exp: Likewise.
792 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
793 * testsuite/ld-srec/srec.exp: Likewise.
794 * testsuite/ld-tic6x/tic6x.exp: Likewise.
795 * testsuite/ld-undefined/weak-undef.exp: Likewise.
796 * testsuite/ld-versados/versados.exp: Likewise.
797 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
798 * testsuite/ld-xtensa/coalesce.exp: Likewise.
799 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
800 * testsuite/ld-xtensa/lcall.exp: Likewise.
801 * testsuite/ld-elf/audit.exp: Run non-native too.
802 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
803 gcc -Wl, options.
804 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
805 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
806 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
807 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
808 -Wl,--no-as-needed to most tests.
809 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
810 to simplify quoting. Set run_tests using [list] rather than
811 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
812 to many test. Prefix ld options with -Wl,.
813 (mix_pic_and_non_pic): Don't run exe if not native.
814 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
815 -Wl,--no-as-needed and prefix ld options with -Wl,.
816 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
817 not ld_simple_link.
818 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
819 (visibility_test): Don't run exe if not native.
820 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
821 not ld_simple_link.
822 (build_exec): Don't run exe if not native.
823 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
824 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
825 to some tests and prefix ld options with -Wl,. Expect GNU
826 for hppa-linux even when no ifuncs. Delete cleanup.
827 * testsuite/ld-pie/pie.exp: Run non-native too.
828 * testsuite/ld-plugin/lto.exp: Likewise.
829 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
830 not ld_simple_link.
831 (shared_test): Don't run exe if not native.
832 * testsuite/ld-size/size.exp: Run non-native too. Add
833 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
834 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
835 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
836 to some tests and prefix ld options with -Wl,. Expect GNU
837 for hppa-linux even when no unique syms. Delete cleanup.
838 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
839 tests and prefix ld options with -Wl,.
840 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
841 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
842
64859e14
AM
8432017-01-02 Alan Modra <amodra@gmail.com>
844
845 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
846
f5657270
AM
8472017-01-02 Alan Modra <amodra@gmail.com>
848
849 PR ld/21000
850 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
851 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
852 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
853 is already defined.
854
2571583a
AM
8552017-01-02 Alan Modra <amodra@gmail.com>
856
857 Update year range in copyright notice of all files.
858
5c1ad6b5 859For older changes see ChangeLog-2016
3499769a 860\f
5c1ad6b5 861Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
862
863Copying and distribution of this file, with or without modification,
864are permitted in any medium without royalty provided the copyright
865notice and this notice are preserved.
866
867Local Variables:
868mode: change-log
869left-margin: 8
870fill-column: 74
871version-control: never
872End:
This page took 0.128539 seconds and 4 git commands to generate.