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