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