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