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