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