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