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