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