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