readelf: Fix overlarge memory allocation when reading a binary with an excessive...
[deliverable/binutils-gdb.git] / ld / ChangeLog
... / ...
CommitLineData
12017-03-28 Hans-Peter Nilsson <hp@axis.com>
2
3 PR ld/16044
4 * testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s,
5 testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test.
6
72017-03-21 Sandra Loosemore <sandra@codesourcery.com>
8
9 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
10 false for nios2-*-elf.
11
122017-03-21 gingold <gingold@gingold-Precision-7510>
13
14 * ldlang.c (lang_check_section_addresses): Check only for
15 allocated sections.
16
172017-03-17 Alan Modra <amodra@gmail.com>
18
19 * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k.
20
212017-03-15 Tristan Gingold <gingold@adacore.com>
22
23 * testsuite/ld-checks/checks.exp (overflow_check): Disable for
24 non-elf targets.
25
262017-03-14 H.J. Lu <hongjiu.lu@intel.com>
27
28 * ldlang.c (lang_check_section_addresses): Use addr_mask to
29 check VMA and LMA.
30
312017-03-13 Nick Clifton <nickc@redhat.com>
32
33 PR binutils/21202
34 * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.
35
362017-03-13 Tristan Gingold <gingold@adacore.com>
37
38 * ldlang.c (lang_check_section_addresses): Check for address space
39 overflow.
40 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
41 * testsuite/ld-checks/over.s: New test source.
42 * testsuite/ld-checks/over.d: New test.
43 * testsuite/ld-checks/over2.s: New test source.
44 * testsuite/ld-checks/over2.d: New test.
45
462017-03-13 Alexey Neyman <stilor@att.net>
47
48 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
49 cpu, not host.
50
512017-03-11 Alan Modra <amodra@gmail.com>
52
53 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
54 sysroot for -rpath search.
55
562017-03-11 Alan Modra <amodra@gmail.com>
57
58 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
59 Only prefix absolute paths with sysroot. Handle DOS paths.
60 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
61 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
62 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
63 searches. Rename variable. Simplify get_runpath search.
64
652017-03-11 Alan Modra <amodra@gmail.com>
66
67 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
68 than -rdynamic.
69
702017-03-11 Alan Modra <amodra@gmail.com>
71
72 * ld.texinfo (Orphan Sections): Mention that not all targets
73 handle orphans well.
74 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
75 * testsuite/ld-elf/orphan-10.d: Likewise.
76
772017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
78
79 * ldlang.c (lang_size_sections_1): Shortcut loop only after
80 tracking changes to the default regions LMA.
81 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
82 * testsuite/ld-elf/orphan-10.d: New file.
83 * testsuite/ld-elf/orphan-10.s: New file.
84 * NEWS: Mention change in behaviour.
85
862017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * ldlang.c (lang_leave_output_section_statement): Move lma_region
89 logic to...
90 (lang_propagate_lma_regions): ...this new function.
91 (lang_process): Call new function.
92 * testsuite/ld-elf/orphan-9.d: New file.
93 * testsuite/ld-elf/orphan-9.ld: New file.
94 * testsuite/ld-elf/orphan-9.s: New file.
95 * NEWS: Mention change in behaviour.
96
972017-03-07 Alan Modra <amodra@gmail.com>
98
99 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
100 is not an assert before referencing defsym.
101
1022017-03-05 Alan Modra <amodra@gmail.com>
103
104 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
105 * testsuite/ld-elf/eh6.d: Likewise.
106 * testsuite/ld-alpha/tlsbin.dd: Likewise.
107 * testsuite/ld-alpha/tlsbin.td: Likewise.
108 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
109 * testsuite/ld-alpha/tlspic.dd: Likewise.
110 * testsuite/ld-alpha/tlspic.rd: Likewise.
111 * testsuite/ld-alpha/tlspic.sd: Likewise.
112 * testsuite/ld-alpha/tlspic.td: Likewise.
113 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
114 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
115 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
116 * testsuite/ld-x86-64/pr20830a.d: Likewise.
117 * testsuite/ld-x86-64/pr21038a.d: Likewise.
118 * testsuite/ld-x86-64/pr21038b.d: Likewise.
119 * testsuite/ld-x86-64/pr21038c.d: Likewise.
120
1212017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
122
123 PR 12969
124 * pe-dll.c (generate_edata): Fail if the input file(s) require too
125 many ordinals.
126
1272017-03-02 Alan Modra <amodra@gmail.com>
128
129 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
130 and dl3.cc.
131
1322017-02-28 Alan Modra <amodra@gmail.com>
133
134 * testsuite/ld-elf/merge.d: xfail for nios.
135
1362017-02-28 Alan Modra <amodra@gmail.com>
137
138 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
139 limits of addpcis range.
140
1412017-02-28 Maciej W. Rozycki <macro@imgtec.com>
142
143 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
144 instructions.
145 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
146 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
147
1482017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
149
150 PR target/20849
151 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
152 (.rodata): New section.
153 (.data): Remove .rodata*.
154
1552017-02-25 Alan Modra <amodra@gmail.com>
156
157 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
158 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
159 defining HPUX where necessary. Define HPUX for implib tests.
160 * testsuite/ld-elf/comm-data4.d: Run for hpux.
161 * testsuite/ld-elf/endsym.d: Likewise.
162 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
163 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
164 * testsuite/ld-elf/comm-data5.s: Likewise.
165 * testsuite/ld-elf/endsym.s: Likewise.
166 * testsuite/ld-elf/pr14170c.s: Likewise.
167 * testsuite/ld-elf/symbol3.s: Likewise.
168 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
169 in first column.
170 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
171 * testsuite/ld-elf/warn3.d: Run for hpux.
172 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
173 * testsuite/ld-scripts/rgn-at11.d: Likewise.
174 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
175
1762017-02-24 Maciej W. Rozycki <macro@imgtec.com>
177
178 * testsuite/ld-elf/ver_def.vd: New test.
179 * testsuite/ld-elf/ver_def-tic6x.vd: New test.
180 * testsuite/ld-elf/ver_def.ld: New test linker script.
181 * testsuite/ld-elf/ver_def.ver: New test version script.
182 * testsuite/ld-elf/ver_def.s: New test source.
183 * testsuite/ld-elf/readelf.exp: New test script.
184
1852017-02-23 Maciej W. Rozycki <macro@imgtec.com>
186
187 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
188 option.
189 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
190 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
191 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
192
1932017-02-23 Maciej W. Rozycki <macro@imgtec.com>
194
195 * testsuite/ld-mips-elf/jalr4.dd: New test.
196 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
197
1982017-02-23 Alan Modra <amodra@gmail.com>
199
200 PR 20744
201 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
202 each group.
203 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
204 and sdarel reloc fix.
205
2062017-02-22 Maciej W. Rozycki <macro@imgtec.com>
207
208 PR ld/20828
209 * testsuite/ld-elf/pr20828-d.sd: New test.
210 * testsuite/ld-elf/pr20828-e.sd: New test.
211 * testsuite/ld-elf/pr20828-v.od: New test.
212 * testsuite/ld-elf/pr20828-v.ver: New test version script.
213 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
214 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
215 `.gnu.version_d'.
216 * testsuite/ld-elf/shared.exp: Run the new tests.
217
2182017-02-21 Nick Clifton <nickc@redhat.com>
219
220 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
221 about non-void function returning without a result.
222
2232017-02-17 Alan Modra <amodra@gmail.com>
224
225 PR 15041
226 * scripttempl/pe.sc: Don't combine sections for ld -r.
227 * scripttempl/pep.sc: Likewise.
228
2292017-02-17 Alan Modra <amodra@gmail.com>
230
231 PR 21099
232 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
233 rather than using OTHER_SECTIONS.
234 * emulparams/elf32mt.sh: Likewise.
235 * emulparams/elf32rx.sh: Likewise.
236 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
237 define __rl78_abs__.
238 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
239 rather than using OTHER_SECTIONS.
240 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
241 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
242 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
243 * emulparams/shelf_uclinux.sh: Likewise.
244 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
245 to define _stack, not OTHER_SECTIONS.
246 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
247 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
248 * scripttempl/arclinux.sc: Likewise.
249 * scripttempl/elf64hppa.sc: Likewise.
250 * scripttempl/elfxtensa.sc: Likewise.
251 * scripttempl/nds32elf.sc: Likewise.
252 * scripttempl/armbpabi.sc: Move STACK before debug sections.
253 * scripttempl/elf_chaos.sc: Likewise.
254 * scripttempl/elfarc.sc: Delete STACK.
255 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
256 TINY_BSS_SECTION, and .stack before debug sections.
257
2582017-02-17 Nick Clifton <nickc@redhat.com>
259
260 PR ld/20825
261 * ld.texinfo (Options): Add missing @item entry for --pop-state.
262
2632017-02-17 Alan Modra <amodra@gmail.com>
264
265 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
266 multiple definition errors.
267
2682017-02-17 Alan Modra <amodra@gmail.com>
269
270 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
271 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
272
2732017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
274
275 * testsuite/ld-elf/shared.exp: Update expected results.
276 * testsuite/ld-elf/dwarf2.err: Likewise
277
2782017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
279
280 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
281 * testsuite/ld-elf/dwarf2.err: New file.
282 * testsuite/ld-elf/dwarf2a.c: New file.
283 * testsuite/ld-elf/dwarf2b.c: New file.
284 * testsuite/ld-elf/dwarf3.c: New file.
285 * testsuite/ld-elf/dwarf3.err: New file.
286
2872017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
290 error, warning_output, and error_output actions. Remove separate
291 warnings parameter.
292 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
293 'warning' action.
294 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
295
2962017-02-16 Alan Modra <amodra@gmail.com>
297
298 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
299 from void pointers to function pointers.
300 * testsuite/ld-elf/pr18718.c: Update to suit.
301 * testsuite/ld-elf/pr18720a.c: Update to suit.
302
3032017-02-16 Alan Modra <amodra@gmail.com>
304
305 PR 21000
306 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
307 * testsuite/ld-elf/loadaddr2.d: Likewise.
308 * testsuite/ld-elf/loadaddr3a.d: Likewise.
309 * testsuite/ld-scripts/rgn-at5.d: Likewise.
310
3112017-02-16 Alan Modra <amodra@gmail.com>
312
313 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
314 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
315
3162017-02-15 H.J. Lu <hongjiu.lu@intel.com>
317
318 PR ld/21168
319 * testsuite/ld-i386/i386.exp: Run pr21168.
320 * testsuite/ld-i386/pr21168a.c: New file.
321 * testsuite/ld-i386/pr21168b.S: Likewise.
322
3232017-02-15 H.J. Lu <hongjiu.lu@intel.com>
324
325 PR ld/20244
326 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
327 pr20244-4c.
328 * testsuite/ld-i386/pr20244-4.s: New file.
329 * testsuite/ld-i386/pr20244-4a.d: Likewise.
330 * testsuite/ld-i386/pr20244-4b.d: Likewise.
331 * testsuite/ld-i386/pr20244-4c.d: Likewise.
332
3332017-02-15 Maciej W. Rozycki <macro@imgtec.com>
334
335 * ldmisc.c (vfinfo): Don't print the function name again either
336 if no source file name has been found both now and previously.
337 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
338 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
339 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
340 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
341 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
342 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
343 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
344 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
345 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
346 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
347 Likewise.
348 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
349 Likewise.
350 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
351 Likewise.
352 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
353 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
354 Likewise.
355 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
356 Likewise.
357 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
358 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
359 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
360 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
361 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
362 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
363 * testsuite/ld-powerpc/tocopt.out: Likewise.
364 * testsuite/ld-powerpc/tocopt7.out: Likewise.
365
3662017-02-15 Maciej W. Rozycki <macro@imgtec.com>
367
368 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
369
3702017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
371
372 * testsuite/ld-scripts/sysroot-prefix.exp
373 (get_base_dir_for_scripts): New function.
374 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
375
3762017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
377
378 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
379 _gp to __global_pointer$
380
3812017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
382
383 * configure.tgt (arc*-*-linux*): Change the default linker
384 emulation based on --with-cpu selection.
385 * NEWS: Mention new configuration option.
386
3872017-02-06 Jiong Wang <jiong.wang@arm.com>
388
389 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
390 "readelf -w".
391
3922017-02-02 Maciej W. Rozycki <macro@imgtec.com>
393
394 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
395
3962017-02-02 Maciej W. Rozycki <macro@imgtec.com>
397
398 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
399 s/regexp/regex/.
400
4012017-02-02 Jiong Wang <jiong.wang@arm.com>
402
403 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
404 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
405 dlopen support into "dlopen_run_tests". These tests include dl1*main
406 and dl6*main.
407 (dlopen_run_tests): New and only run it when check_libdl_available
408 returns true. XFAIL on *-*-netbsdelf*.
409
4102017-02-01 Maciej W. Rozycki <macro@imgtec.com>
411
412 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
413 presentation of relocation addends.
414 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
415 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
416 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
417
4182017-02-01 Maciej W. Rozycki <macro@imgtec.com>
419
420 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
421 in `.tdata' section.
422 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
423 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
424
4252017-02-01 Jiong Wang <jiong.wang@arm.com>
426
427 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
428 Append $board_cflags to link commands.
429
4302017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
431
432 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
433 check for digit in second decimal place.
434
4352017-02-01 Maciej W. Rozycki <macro@imgtec.com>
436
437 PR ld/20828
438 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
439 indentation.
440
4412017-01-31 Nick Clifton <nickc@redhat.com>
442
443 * ldmain.c (add_archive_element): Eliminate string buffer.
444 * ldlang.c (lang_print_asneeded): Likewise.
445
4462017-01-30 Maciej W. Rozycki <macro@imgtec.com>
447
448 * emultempl/mipself.em (ignore_branch_isa): New variable.
449 (mips_create_output_section_statements): Rename
450 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
451 add `ignore_branch_isa' argument.
452 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
453 OPTION_NO_IGNORE_BRANCH_ISA enum values.
454 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
455 "no-ignore-branch-isa" options.
456 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
457 `--no-ignore-branch-isa'.
458 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
459 OPTION_NO_IGNORE_BRANCH_ISA.
460
461 * ld.texinfo (Options specific to MIPS targets): Add
462 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
463 (ld and the MIPS family): Likewise.
464
465 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
466 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
467 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
468 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
469 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
470 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
471 test.
472 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
473 test.
474 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
475
4762017-01-29 Hans-Peter Nilsson <hp@axis.com>
477
478 PR binutils/19935
479 Fix long-standing buglet and fallout from now-default initfini-array.
480 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
481 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
482
4832017-01-27 Jiong Wang <jiong.wang@arm.com>
484
485 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
486 arm*-*-eabi*.
487
4882017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
489 Nick Clifton <nickc@redhat.com>
490
491 PR 20343
492 * ld.texinfo (Options): Extend documentation of the --plugin
493 option. Include a description of where the plugins should be
494 located.
495
4962017-01-27 Nick Clifton <nickc@redhat.com>
497
498 * po/sr.po: New Serbian translation.
499 * configure.ac (ALL_LINGUAS): Add sr.
500 * configure: Regenerate.
501
5022017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
503
504 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
505 (bfin-*-rtems*): Move to (bfin*-*-elf*).
506 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
507 (m68*-*-rtems*): Move to (m68*-*-elf*).
508 (mips*-*-rtems*): Move to (mips*-*-elf*).
509 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
510 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
511 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
512 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
513
5142017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
515
516 * configure.tgt (h8300-*-rtemscoff*): Remove.
517 (i960-*-rtems*): Likewise.
518 (m68*-*-rtemscoff*): Likewise.
519 (sh-*-rtemscoff*): Likewise.
520
5212017-01-24 Maciej W. Rozycki <macro@imgtec.com>
522
523 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
524 add implicit version nodes if an anonymous version tag is being
525 used.
526
5272017-01-24 Jiong Wang <jiong.wang@arm.com>
528
529 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
530 "Compile 8a", "Compile 8b"...
531 (lto_compile_elf_tests): ...to here. Always run these tests.
532 (lto_run_elf_tests): Move "LTO 7"...
533 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
534 environment where share library is supported.
535
5362017-01-24 Alan Modra <amodra@gmail.com>
537
538 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
539 and symbols.
540 * testsuite/ld-powerpc/tlsexe.d: Likewise.
541 * testsuite/ld-powerpc/tlsexe.g: Likewise.
542
5432017-01-23 Yury Norov <ynorov@caviumnetworks.com>
544
545 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
546 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
547 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
548 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
549 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
550 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
551 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
552 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
553 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
554 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
555 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
556 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
557 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
558
5592017-01-23 Nick Clifton <nickc@redhat.com>
560
561 * po/ga.po: Updated Irish translation.
562
5632017-01-23 Maciej W. Rozycki <macro@imgtec.com>
564
565 PR ld/20828
566 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
567
5682017-01-23 Maciej W. Rozycki <macro@imgtec.com>
569
570 PR ld/20828
571 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
572 `fdata' and `edata' respectively.
573 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
574 * testsuite/ld-elf/pr20828-a.sd: Likewise.
575 * testsuite/ld-elf/pr20828-b.sd: Likewise.
576 * testsuite/ld-elf/pr20828-c.sd: Likewise.
577
5782017-01-23 Maciej W. Rozycki <macro@imgtec.com>
579
580 PR ld/20828
581 * testsuite/ld-elf/pr20828-1.sd: Remove test.
582 * testsuite/ld-elf/pr20828-a.sd: New test.
583 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
584 * testsuite/ld-elf/pr20828-b.sd: ... this.
585 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
586 * testsuite/ld-elf/pr20828-c.sd: ... this.
587 * testsuite/ld-elf/shared.exp: Adjust accordingly.
588
5892017-01-23 Jiong Wang <jiong.wang@arm.com>
590
591 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
592 board_cflags as gcc is used as linker driver.
593 * testsuite/ld-unique/unique.exp: Likewise
594
5952017-01-20 Jiong Wang <jiong.wang@arm.com>
596
597 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
598 * testsuite/ld-aarch64/func-in-so.s: New test source file.
599 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
600 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
601
6022017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
603
604 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
605
6062017-01-18 Maciej W. Rozycki <macro@imgtec.com>
607
608 PR ld/20995
609 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
610 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
611
6122017-01-18 Maciej W. Rozycki <macro@imgtec.com>
613
614 PR ld/20828
615 * testsuite/ld-elf/pr20828-1.sd: New test.
616 * testsuite/ld-elf/pr20828-2a.sd: New test.
617 * testsuite/ld-elf/pr20828-2b.sd: New test.
618 * testsuite/ld-elf/pr20828.ld: New test linker script.
619 * testsuite/ld-elf/pr20828.ver: New test version script.
620 * testsuite/ld-elf/pr20828.s: New test source.
621 * testsuite/ld-elf/shared.exp: Run the new test.
622
6232017-01-18 Maciej W. Rozycki <macro@imgtec.com>
624
625 PR gas/20649
626 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
627 relocation pairing link test.
628
6292017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
630
631 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
632 uniqeue.exp, as not all targets have such support.
633
6342017-01-16 Nick Clifton <nickc@redhat.com>
635
636 * po/sv.po: Updated Swedish translation.
637
6382017-01-12 H.J. Lu <hongjiu.lu@intel.com>
639
640 PR ld/21038
641 * testsuite/ld-x86-64/pr21038b.d: Updated.
642 * testsuite/ld-x86-64/pr21038c.d: New file.
643 * testsuite/ld-x86-64/pr21038c.s: Likewise.
644 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
645
6462017-01-11 H.J. Lu <hongjiu.lu@intel.com>
647
648 PR ld/21038
649 * testsuite/ld-x86-64/pr21038a.d: New file.
650 * testsuite/ld-x86-64/pr21038a.s: Likewise.
651 * testsuite/ld-x86-64/pr21038b.d: Likewise.
652 * testsuite/ld-x86-64/pr21038b.s: Likewise.
653 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
654
6552017-01-11 Jeremy Soller <jackpot51@gmail.com>
656
657 * configure.tgt: Add entries for x86-redox and x86_64-redox.
658
6592017-01-10 H.J. Lu <hongjiu.lu@intel.com>
660
661 * testsuite/ld-x86-64/pr20830b.d: Updated.
662
6632017-01-10 H.J. Lu <hongjiu.lu@intel.com>
664
665 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
666 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
667 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
668 * testsuite/ld-x86-64/pr20830b.d: New file.
669 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
670 Run pr20830b.
671
6722017-01-10 H.J. Lu <hongjiu.lu@intel.com>
673
674 PR ld/20830
675 * testsuite/ld-i386/i386.exp: Run pr20830.
676 * testsuite/ld-x86-64/x86-64.exp: Likewise.
677 * testsuite/ld-i386/pr20830.d: New file.
678 * testsuite/ld-i386/pr20830.s: Likewise.
679 * testsuite/ld-x86-64/pr20830.d: Likewise.
680 * testsuite/ld-x86-64/pr20830.s: Likewise.
681
6822017-01-10 H.J. Lu <hongjiu.lu@intel.com>
683
684 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
685 -Wl,--as-needed to $CC.
686 * testsuite/ld-i386/tls.exp: Likewise.
687
6882017-01-10 Nick Clifton <nickc@redhat.com>
689
690 * po/sv.po: Updated Swedish translation.
691
6922016-12-09 Graham Markall <graham.markall@embecosm.com>
693 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * Makefile.am: Add earclinux_nps.c target and add to
696 ALL_EMULATION_SOURCES.
697 * Makefile.in: Likewise, regenerated.
698 * configure.tgt: Add arclinux_nps as an extra emulation for
699 arc*-*-elf* and arc*-*-linux*.
700 * emulparams/arc-nps.sh: New file.
701 * emulparams/arclinux_nps.sh: New file.
702 * testsuite/ld-arc/arclinux-nps.d,
703 * testsuite/ld-arc/arclinux-nps.s: New test.
704
7052017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
706
707 PR 20958
708 * ldlex.l (option): Add noyywrap
709 (yywrap): Delete.
710 * ldlex.h (yywrap): Delete prototype.
711
7122017-01-04 Alan Modra <amodra@gmail.com>
713
714 * testsuite/ld-elf/audit.exp: Check for shared lib support.
715 * testsuite/ld-elf/compress.exp: Likewise.
716 * testsuite/ld-elf/dwarf.exp: Likewise.
717 * testsuite/ld-elf/shared.exp: Likewise.
718 * testsuite/ld-elf/wrap.exp: Likewise.
719 * testsuite/ld-ifunc/ifunc.exp: Likewise.
720 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
721
7222017-01-03 Alan Modra <amodra@gmail.com>
723
724 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
725 allow test to continue after compilation errors.
726 (run_cc_link_tests): Likewise.
727
7282017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
729
730 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
731 (epruelf.c): Remove unneeded dependencies.
732 * Makefile.in: Regenerate
733
7342017-01-03 Alan Modra <amodra@gmail.com>
735
736 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
737 to various tests.
738 * testsuite/ld-elfweak/elfweak.exp: Likewise.
739 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
740
7412017-01-03 Alan Modra <amodra@gmail.com>
742
743 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
744 * testsuite/ld-pie/pie.exp: Likewise.
745 * testsuite/ld-plugin/lto.exp: Likewise.
746
7472017-01-02 Alan Modra <amodra@gmail.com>
748
749 * Makefile.am (bootstrap): Delete rule.
750 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
751 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
752 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
753 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
754 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
755 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
756 * Makefile.in: Regenerate.
757 * configure: Regenerate.
758 * testsuite/config/default.exp (get_link_files): Delete.
759 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
760 define.
761 (ld_simple_link): Delete.
762 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
763 (default_ld_simple_link): Rename to default_ld_link.
764 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
765 (run_ld_link_tests): Use ld_link, not ld_simple_link.
766 (run_cc_link_tests): Likewise.
767 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
768 Don't run exe when not native, and return unsupported.
769 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
770 Link ld1 etc. using $CC.
771 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
772 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
773 * testsuite/ld-cygwin/exe-export.exp: Likewise.
774 * testsuite/ld-elf/binutils.exp: Likewise.
775 * testsuite/ld-elf/eh-group.exp: Likewise.
776 * testsuite/ld-elf/exclude.exp: Likewise.
777 * testsuite/ld-elf/frame.exp: Likewise.
778 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
779 * testsuite/ld-elf/tls_common.exp: Likewise.
780 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
781 * testsuite/ld-fastcall/fastcall.exp: Likewise.
782 * testsuite/ld-gc/gc.exp: Likewise.
783 * testsuite/ld-ifunc/binutils.exp: Likewise.
784 * testsuite/ld-mep/mep.exp: Likewise.
785 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
786 * testsuite/ld-mn10300/mn10300.exp: Likewise.
787 * testsuite/ld-nios2/nios2.exp: Likewise.
788 * testsuite/ld-pe/pe-compile.exp: Likewise.
789 * testsuite/ld-pe/pe-run.exp: Likewise.
790 * testsuite/ld-pe/pe-run2.exp: Likewise.
791 * testsuite/ld-plugin/plugin.exp: Likewise.
792 * testsuite/ld-scripts/align.exp: Likewise.
793 * testsuite/ld-scripts/alignof.exp: Likewise.
794 * testsuite/ld-scripts/assert.exp: Likewise.
795 * testsuite/ld-scripts/defined.exp: Likewise.
796 * testsuite/ld-scripts/extern.exp: Likewise.
797 * testsuite/ld-scripts/log2.exp: Likewise.
798 * testsuite/ld-scripts/map-address.exp: Likewise.
799 * testsuite/ld-scripts/phdrs.exp: Likewise.
800 * testsuite/ld-scripts/phdrs2.exp: Likewise.
801 * testsuite/ld-scripts/script.exp: Likewise.
802 * testsuite/ld-scripts/section-flags.exp: Likewise.
803 * testsuite/ld-scripts/sizeof.exp: Likewise.
804 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
805 * testsuite/ld-scripts/weak.exp: Likewise.
806 * testsuite/ld-selective/selective.exp: Likewise.
807 * testsuite/ld-sh/sh.exp: Likewise.
808 * testsuite/ld-sh/sh64/relax.exp: Likewise.
809 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
810 * testsuite/ld-srec/srec.exp: Likewise.
811 * testsuite/ld-tic6x/tic6x.exp: Likewise.
812 * testsuite/ld-undefined/weak-undef.exp: Likewise.
813 * testsuite/ld-versados/versados.exp: Likewise.
814 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
815 * testsuite/ld-xtensa/coalesce.exp: Likewise.
816 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
817 * testsuite/ld-xtensa/lcall.exp: Likewise.
818 * testsuite/ld-elf/audit.exp: Run non-native too.
819 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
820 gcc -Wl, options.
821 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
822 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
823 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
824 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
825 -Wl,--no-as-needed to most tests.
826 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
827 to simplify quoting. Set run_tests using [list] rather than
828 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
829 to many test. Prefix ld options with -Wl,.
830 (mix_pic_and_non_pic): Don't run exe if not native.
831 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
832 -Wl,--no-as-needed and prefix ld options with -Wl,.
833 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
834 not ld_simple_link.
835 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
836 (visibility_test): Don't run exe if not native.
837 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
838 not ld_simple_link.
839 (build_exec): Don't run exe if not native.
840 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
841 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
842 to some tests and prefix ld options with -Wl,. Expect GNU
843 for hppa-linux even when no ifuncs. Delete cleanup.
844 * testsuite/ld-pie/pie.exp: Run non-native too.
845 * testsuite/ld-plugin/lto.exp: Likewise.
846 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
847 not ld_simple_link.
848 (shared_test): Don't run exe if not native.
849 * testsuite/ld-size/size.exp: Run non-native too. Add
850 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
851 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
852 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
853 to some tests and prefix ld options with -Wl,. Expect GNU
854 for hppa-linux even when no unique syms. Delete cleanup.
855 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
856 tests and prefix ld options with -Wl,.
857 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
858 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
859
8602017-01-02 Alan Modra <amodra@gmail.com>
861
862 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
863
8642017-01-02 Alan Modra <amodra@gmail.com>
865
866 PR ld/21000
867 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
868 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
869 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
870 is already defined.
871
8722017-01-02 Alan Modra <amodra@gmail.com>
873
874 Update year range in copyright notice of all files.
875
876For older changes see ChangeLog-2016
877\f
878Copyright (C) 2017 Free Software Foundation, Inc.
879
880Copying and distribution of this file, with or without modification,
881are permitted in any medium without royalty provided the copyright
882notice and this notice are preserved.
883
884Local Variables:
885mode: change-log
886left-margin: 8
887fill-column: 74
888version-control: never
889End:
This page took 0.029305 seconds and 4 git commands to generate.