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