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