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