Automatic date update in version.in
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
9494d963
TG
12017-03-15 Tristan Gingold <gingold@adacore.com>
2
3 * testsuite/ld-checks/checks.exp (overflow_check): Disable for
4 non-elf targets.
5
9216a6f3
L
62017-03-14 H.J. Lu <hongjiu.lu@intel.com>
7
8 * ldlang.c (lang_check_section_addresses): Use addr_mask to
9 check VMA and LMA.
10
f955cccf
NC
112017-03-13 Nick Clifton <nickc@redhat.com>
12
13 PR binutils/21202
14 * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.
15
d40e34db
TG
162017-03-13 Tristan Gingold <gingold@adacore.com>
17
18 * ldlang.c (lang_check_section_addresses): Check for address space
19 overflow.
20 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
21 * testsuite/ld-checks/over.s: New test source.
22 * testsuite/ld-checks/over.d: New test.
23 * testsuite/ld-checks/over2.s: New test source.
24 * testsuite/ld-checks/over2.d: New test.
25
4b5900d8
AN
262017-03-13 Alexey Neyman <stilor@att.net>
27
28 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
29 cpu, not host.
30
118aa6cf
AM
312017-03-11 Alan Modra <amodra@gmail.com>
32
33 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
34 sysroot for -rpath search.
35
316a1245
AM
362017-03-11 Alan Modra <amodra@gmail.com>
37
38 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
39 Only prefix absolute paths with sysroot. Handle DOS paths.
40 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
41 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
42 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
43 searches. Rename variable. Simplify get_runpath search.
44
bb4287c5
AM
452017-03-11 Alan Modra <amodra@gmail.com>
46
47 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
48 than -rdynamic.
49
e299b355
AM
502017-03-11 Alan Modra <amodra@gmail.com>
51
52 * ld.texinfo (Orphan Sections): Mention that not all targets
53 handle orphans well.
54 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
55 * testsuite/ld-elf/orphan-10.d: Likewise.
56
14ea2c1b
AB
572017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
58
59 * ldlang.c (lang_size_sections_1): Shortcut loop only after
60 tracking changes to the default regions LMA.
61 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
62 * testsuite/ld-elf/orphan-10.d: New file.
63 * testsuite/ld-elf/orphan-10.s: New file.
64 * NEWS: Mention change in behaviour.
65
77f5e65e
AB
662017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * ldlang.c (lang_leave_output_section_statement): Move lma_region
69 logic to...
70 (lang_propagate_lma_regions): ...this new function.
71 (lang_process): Call new function.
72 * testsuite/ld-elf/orphan-9.d: New file.
73 * testsuite/ld-elf/orphan-9.ld: New file.
74 * testsuite/ld-elf/orphan-9.s: New file.
75 * NEWS: Mention change in behaviour.
76
d933941d
AM
772017-03-07 Alan Modra <amodra@gmail.com>
78
79 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
80 is not an assert before referencing defsym.
81
2e0ce1c8
AM
822017-03-05 Alan Modra <amodra@gmail.com>
83
84 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
85 * testsuite/ld-elf/eh6.d: Likewise.
86 * testsuite/ld-alpha/tlsbin.dd: Likewise.
87 * testsuite/ld-alpha/tlsbin.td: Likewise.
88 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
89 * testsuite/ld-alpha/tlspic.dd: Likewise.
90 * testsuite/ld-alpha/tlspic.rd: Likewise.
91 * testsuite/ld-alpha/tlspic.sd: Likewise.
92 * testsuite/ld-alpha/tlspic.td: Likewise.
93 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
94 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
95 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
96 * testsuite/ld-x86-64/pr20830a.d: Likewise.
97 * testsuite/ld-x86-64/pr21038a.d: Likewise.
98 * testsuite/ld-x86-64/pr21038b.d: Likewise.
99 * testsuite/ld-x86-64/pr21038c.d: Likewise.
100
611a3ca9
NC
1012017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
102
103 PR 12969
104 * pe-dll.c (generate_edata): Fail if the input file(s) require too
105 many ordinals.
106
199add01
AM
1072017-03-02 Alan Modra <amodra@gmail.com>
108
109 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
110 and dl3.cc.
111
4ef97a1b
AM
1122017-02-28 Alan Modra <amodra@gmail.com>
113
114 * testsuite/ld-elf/merge.d: xfail for nios.
115
7ba71655
AM
1162017-02-28 Alan Modra <amodra@gmail.com>
117
118 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
119 limits of addpcis range.
120
0e392101
MR
1212017-02-28 Maciej W. Rozycki <macro@imgtec.com>
122
123 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
124 instructions.
125 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
126 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
127
fbf25dfd
GJL
1282017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
129
130 PR target/20849
131 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
132 (.rodata): New section.
133 (.data): Remove .rodata*.
134
dd803a24
AM
1352017-02-25 Alan Modra <amodra@gmail.com>
136
137 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
138 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
139 defining HPUX where necessary. Define HPUX for implib tests.
140 * testsuite/ld-elf/comm-data4.d: Run for hpux.
141 * testsuite/ld-elf/endsym.d: Likewise.
142 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
143 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
144 * testsuite/ld-elf/comm-data5.s: Likewise.
145 * testsuite/ld-elf/endsym.s: Likewise.
146 * testsuite/ld-elf/pr14170c.s: Likewise.
147 * testsuite/ld-elf/symbol3.s: Likewise.
148 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
149 in first column.
150 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
151 * testsuite/ld-elf/warn3.d: Run for hpux.
152 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
153 * testsuite/ld-scripts/rgn-at11.d: Likewise.
154 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
155
c9f02c3e
MR
1562017-02-24 Maciej W. Rozycki <macro@imgtec.com>
157
158 * testsuite/ld-elf/ver_def.d: New test.
159 * testsuite/ld-elf/ver_def.ld: New test linker script.
160 * testsuite/ld-elf/ver_def.ver: New test version script.
161 * testsuite/ld-elf/ver_def.s: New test source.
162 * testsuite/ld-elf/readelf.exp: New test script.
163
5d58c733
MR
1642017-02-23 Maciej W. Rozycki <macro@imgtec.com>
165
166 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
167 option.
168 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
169 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
170 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
171
c1556ecd
MR
1722017-02-23 Maciej W. Rozycki <macro@imgtec.com>
173
174 * testsuite/ld-mips-elf/jalr4.dd: New test.
175 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
176
5499c7c7
AM
1772017-02-23 Alan Modra <amodra@gmail.com>
178
179 PR 20744
180 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
181 each group.
182 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
183 and sdarel reloc fix.
184
902e9fc7
MR
1852017-02-22 Maciej W. Rozycki <macro@imgtec.com>
186
187 PR ld/20828
188 * testsuite/ld-elf/pr20828-d.sd: New test.
189 * testsuite/ld-elf/pr20828-e.sd: New test.
190 * testsuite/ld-elf/pr20828-v.od: New test.
191 * testsuite/ld-elf/pr20828-v.ver: New test version script.
192 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
193 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
194 `.gnu.version_d'.
195 * testsuite/ld-elf/shared.exp: Run the new tests.
196
46519784
NC
1972017-02-21 Nick Clifton <nickc@redhat.com>
198
199 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
200 about non-void function returning without a result.
201
c48cfedd
AM
2022017-02-17 Alan Modra <amodra@gmail.com>
203
204 PR 15041
205 * scripttempl/pe.sc: Don't combine sections for ld -r.
206 * scripttempl/pep.sc: Likewise.
207
74dc9032
AM
2082017-02-17 Alan Modra <amodra@gmail.com>
209
246b9122 210 PR 21099
74dc9032
AM
211 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
212 rather than using OTHER_SECTIONS.
213 * emulparams/elf32mt.sh: Likewise.
214 * emulparams/elf32rx.sh: Likewise.
215 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
216 define __rl78_abs__.
217 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
218 rather than using OTHER_SECTIONS.
219 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
220 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
221 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
222 * emulparams/shelf_uclinux.sh: Likewise.
223 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
224 to define _stack, not OTHER_SECTIONS.
225 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
226 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
227 * scripttempl/arclinux.sc: Likewise.
228 * scripttempl/elf64hppa.sc: Likewise.
229 * scripttempl/elfxtensa.sc: Likewise.
230 * scripttempl/nds32elf.sc: Likewise.
231 * scripttempl/armbpabi.sc: Move STACK before debug sections.
232 * scripttempl/elf_chaos.sc: Likewise.
233 * scripttempl/elfarc.sc: Delete STACK.
234 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
235 TINY_BSS_SECTION, and .stack before debug sections.
236
67cecaba
NC
2372017-02-17 Nick Clifton <nickc@redhat.com>
238
239 PR ld/20825
240 * ld.texinfo (Options): Add missing @item entry for --pop-state.
241
262a40a5
AM
2422017-02-17 Alan Modra <amodra@gmail.com>
243
244 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
245 multiple definition errors.
246
002a5d4e
AM
2472017-02-17 Alan Modra <amodra@gmail.com>
248
249 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
250 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
251
3239a423
AB
2522017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
253
254 * testsuite/ld-elf/shared.exp: Update expected results.
255 * testsuite/ld-elf/dwarf2.err: Likewise
256
90ed9b8b
AB
2572017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
258
259 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
260 * testsuite/ld-elf/dwarf2.err: New file.
261 * testsuite/ld-elf/dwarf2a.c: New file.
262 * testsuite/ld-elf/dwarf2b.c: New file.
263 * testsuite/ld-elf/dwarf3.c: New file.
264 * testsuite/ld-elf/dwarf3.err: New file.
265
2bd7f877
AB
2662017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
267
268 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
269 error, warning_output, and error_output actions. Remove separate
270 warnings parameter.
271 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
272 'warning' action.
273 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
274
37d7d56c
AM
2752017-02-16 Alan Modra <amodra@gmail.com>
276
277 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
278 from void pointers to function pointers.
279 * testsuite/ld-elf/pr18718.c: Update to suit.
280 * testsuite/ld-elf/pr18720a.c: Update to suit.
281
a8c75b76
AM
2822017-02-16 Alan Modra <amodra@gmail.com>
283
284 PR 21000
285 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
286 * testsuite/ld-elf/loadaddr2.d: Likewise.
287 * testsuite/ld-elf/loadaddr3a.d: Likewise.
288 * testsuite/ld-scripts/rgn-at5.d: Likewise.
289
a48cda7f
AM
2902017-02-16 Alan Modra <amodra@gmail.com>
291
292 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
293 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
294
2a568401
L
2952017-02-15 H.J. Lu <hongjiu.lu@intel.com>
296
297 PR ld/21168
298 * testsuite/ld-i386/i386.exp: Run pr21168.
299 * testsuite/ld-i386/pr21168a.c: New file.
300 * testsuite/ld-i386/pr21168b.S: Likewise.
301
a5def14f
L
3022017-02-15 H.J. Lu <hongjiu.lu@intel.com>
303
304 PR ld/20244
305 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
306 pr20244-4c.
307 * testsuite/ld-i386/pr20244-4.s: New file.
308 * testsuite/ld-i386/pr20244-4a.d: Likewise.
309 * testsuite/ld-i386/pr20244-4b.d: Likewise.
310 * testsuite/ld-i386/pr20244-4c.d: Likewise.
311
ebf0b03c
MR
3122017-02-15 Maciej W. Rozycki <macro@imgtec.com>
313
314 * ldmisc.c (vfinfo): Don't print the function name again either
315 if no source file name has been found both now and previously.
316 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
317 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
318 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
319 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
320 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
321 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
322 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
323 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
324 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
325 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
326 Likewise.
327 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
328 Likewise.
329 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
330 Likewise.
331 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
332 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
333 Likewise.
334 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
335 Likewise.
336 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
337 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
338 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
339 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
340 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
341 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
342 * testsuite/ld-powerpc/tocopt.out: Likewise.
343 * testsuite/ld-powerpc/tocopt7.out: Likewise.
344
befe814d
MR
3452017-02-15 Maciej W. Rozycki <macro@imgtec.com>
346
347 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
348
defe6f56
IK
3492017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
350
351 * testsuite/ld-scripts/sysroot-prefix.exp
352 (get_base_dir_for_scripts): New function.
353 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
354
10ddfe62
PD
3552017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
356
357 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
358 _gp to __global_pointer$
359
d7488716
AB
3602017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
361
362 * configure.tgt (arc*-*-linux*): Change the default linker
363 emulation based on --with-cpu selection.
364 * NEWS: Mention new configuration option.
365
65f90e82
JW
3662017-02-06 Jiong Wang <jiong.wang@arm.com>
367
368 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
369 "readelf -w".
370
fa93e3d3
MR
3712017-02-02 Maciej W. Rozycki <macro@imgtec.com>
372
373 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
374
2e9af2d0
MR
3752017-02-02 Maciej W. Rozycki <macro@imgtec.com>
376
377 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
378 s/regexp/regex/.
379
fd121c5c
JW
3802017-02-02 Jiong Wang <jiong.wang@arm.com>
381
382 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
383 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
384 dlopen support into "dlopen_run_tests". These tests include dl1*main
385 and dl6*main.
386 (dlopen_run_tests): New and only run it when check_libdl_available
387 returns true. XFAIL on *-*-netbsdelf*.
388
c0c237fc
MR
3892017-02-01 Maciej W. Rozycki <macro@imgtec.com>
390
391 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
392 presentation of relocation addends.
393 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
394 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
395 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
396
5139cfdb
MR
3972017-02-01 Maciej W. Rozycki <macro@imgtec.com>
398
399 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
400 in `.tdata' section.
401 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
402 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
403
ce790370
JW
4042017-02-01 Jiong Wang <jiong.wang@arm.com>
405
406 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
407 Append $board_cflags to link commands.
408
067869b6
SKS
4092017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
410
411 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
412 check for digit in second decimal place.
413
15a00b13
MR
4142017-02-01 Maciej W. Rozycki <macro@imgtec.com>
415
416 PR ld/20828
417 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
418 indentation.
419
1273da04
NC
4202017-01-31 Nick Clifton <nickc@redhat.com>
421
422 * ldmain.c (add_archive_element): Eliminate string buffer.
423 * ldlang.c (lang_print_asneeded): Likewise.
424
8b10b0b3
MR
4252017-01-30 Maciej W. Rozycki <macro@imgtec.com>
426
427 * emultempl/mipself.em (ignore_branch_isa): New variable.
428 (mips_create_output_section_statements): Rename
429 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
430 add `ignore_branch_isa' argument.
431 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
432 OPTION_NO_IGNORE_BRANCH_ISA enum values.
433 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
434 "no-ignore-branch-isa" options.
435 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
436 `--no-ignore-branch-isa'.
437 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
438 OPTION_NO_IGNORE_BRANCH_ISA.
439
440 * ld.texinfo (Options specific to MIPS targets): Add
441 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
442 (ld and the MIPS family): Likewise.
443
444 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
445 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
446 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
447 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
448 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
449 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
450 test.
451 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
452 test.
453 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
454
bf382b30
HPN
4552017-01-29 Hans-Peter Nilsson <hp@axis.com>
456
c1d45238 457 PR binutils/19935
bf382b30
HPN
458 Fix long-standing buglet and fallout from now-default initfini-array.
459 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
ce6366f9 460 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
bf382b30 461
4471a46f
JW
4622017-01-27 Jiong Wang <jiong.wang@arm.com>
463
464 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
465 arm*-*-eabi*.
466
387dd777
DP
4672017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
468 Nick Clifton <nickc@redhat.com>
469
470 PR 20343
471 * ld.texinfo (Options): Extend documentation of the --plugin
472 option. Include a description of where the plugins should be
473 located.
474
0348d4be
NC
4752017-01-27 Nick Clifton <nickc@redhat.com>
476
477 * po/sr.po: New Serbian translation.
478 * configure.ac (ALL_LINGUAS): Add sr.
479 * configure: Regenerate.
480
c75b4ebd
SH
4812017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
482
483 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
484 (bfin-*-rtems*): Move to (bfin*-*-elf*).
485 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
486 (m68*-*-rtems*): Move to (m68*-*-elf*).
487 (mips*-*-rtems*): Move to (mips*-*-elf*).
488 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
489 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
490 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
491 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
492
850d84f6
SH
4932017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
494
495 * configure.tgt (h8300-*-rtemscoff*): Remove.
496 (i960-*-rtems*): Likewise.
497 (m68*-*-rtemscoff*): Likewise.
498 (sh-*-rtemscoff*): Likewise.
499
1a792e1c
MR
5002017-01-24 Maciej W. Rozycki <macro@imgtec.com>
501
502 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
503 add implicit version nodes if an anonymous version tag is being
504 used.
505
077c11e8
JW
5062017-01-24 Jiong Wang <jiong.wang@arm.com>
507
508 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
509 "Compile 8a", "Compile 8b"...
510 (lto_compile_elf_tests): ...to here. Always run these tests.
511 (lto_run_elf_tests): Move "LTO 7"...
512 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
513 environment where share library is supported.
514
f0158f44
AM
5152017-01-24 Alan Modra <amodra@gmail.com>
516
517 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
518 and symbols.
519 * testsuite/ld-powerpc/tlsexe.d: Likewise.
520 * testsuite/ld-powerpc/tlsexe.g: Likewise.
521
2d0ca824
YN
5222017-01-23 Yury Norov <ynorov@caviumnetworks.com>
523
524 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
525 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
526 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
527 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
528 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
529 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
530 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
531 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
532 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
533 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
534 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
535 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
536 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
537
8069955e
NC
5382017-01-23 Nick Clifton <nickc@redhat.com>
539
540 * po/ga.po: Updated Irish translation.
541
1e5f45bb
MR
5422017-01-23 Maciej W. Rozycki <macro@imgtec.com>
543
544 PR ld/20828
545 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
546
fda46c41
MR
5472017-01-23 Maciej W. Rozycki <macro@imgtec.com>
548
549 PR ld/20828
550 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
551 `fdata' and `edata' respectively.
552 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
553 * testsuite/ld-elf/pr20828-a.sd: Likewise.
554 * testsuite/ld-elf/pr20828-b.sd: Likewise.
555 * testsuite/ld-elf/pr20828-c.sd: Likewise.
556
adcbdc63
MR
5572017-01-23 Maciej W. Rozycki <macro@imgtec.com>
558
559 PR ld/20828
560 * testsuite/ld-elf/pr20828-1.sd: Remove test.
561 * testsuite/ld-elf/pr20828-a.sd: New test.
562 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
563 * testsuite/ld-elf/pr20828-b.sd: ... this.
564 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
565 * testsuite/ld-elf/pr20828-c.sd: ... this.
566 * testsuite/ld-elf/shared.exp: Adjust accordingly.
567
9966f7ee
JW
5682017-01-23 Jiong Wang <jiong.wang@arm.com>
569
570 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
571 board_cflags as gcc is used as linker driver.
572 * testsuite/ld-unique/unique.exp: Likewise
573
7f784814
JW
5742017-01-20 Jiong Wang <jiong.wang@arm.com>
575
576 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
577 * testsuite/ld-aarch64/func-in-so.s: New test source file.
578 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
579 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
580
1737c640
AB
5812017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
582
583 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
584
6984613a
MR
5852017-01-18 Maciej W. Rozycki <macro@imgtec.com>
586
587 PR ld/20995
588 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
589 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
590
81ff47b3
MR
5912017-01-18 Maciej W. Rozycki <macro@imgtec.com>
592
593 PR ld/20828
594 * testsuite/ld-elf/pr20828-1.sd: New test.
595 * testsuite/ld-elf/pr20828-2a.sd: New test.
596 * testsuite/ld-elf/pr20828-2b.sd: New test.
597 * testsuite/ld-elf/pr20828.ld: New test linker script.
598 * testsuite/ld-elf/pr20828.ver: New test version script.
599 * testsuite/ld-elf/pr20828.s: New test source.
600 * testsuite/ld-elf/shared.exp: Run the new test.
601
9e009953
MR
6022017-01-18 Maciej W. Rozycki <macro@imgtec.com>
603
604 PR gas/20649
605 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
606 relocation pairing link test.
607
319b82e4
DD
6082017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
609
610 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
611 uniqeue.exp, as not all targets have such support.
612
6aa1df2d
NC
6132017-01-16 Nick Clifton <nickc@redhat.com>
614
615 * po/sv.po: Updated Swedish translation.
616
8361ed4d
L
6172017-01-12 H.J. Lu <hongjiu.lu@intel.com>
618
619 PR ld/21038
620 * testsuite/ld-x86-64/pr21038b.d: Updated.
621 * testsuite/ld-x86-64/pr21038c.d: New file.
622 * testsuite/ld-x86-64/pr21038c.s: Likewise.
623 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
624
9e659176
L
6252017-01-11 H.J. Lu <hongjiu.lu@intel.com>
626
627 PR ld/21038
628 * testsuite/ld-x86-64/pr21038a.d: New file.
629 * testsuite/ld-x86-64/pr21038a.s: Likewise.
630 * testsuite/ld-x86-64/pr21038b.d: Likewise.
631 * testsuite/ld-x86-64/pr21038b.s: Likewise.
632 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
633
f2e2d2f5
JS
6342017-01-11 Jeremy Soller <jackpot51@gmail.com>
635
636 * configure.tgt: Add entries for x86-redox and x86_64-redox.
637
52b232b3
L
6382017-01-10 H.J. Lu <hongjiu.lu@intel.com>
639
640 * testsuite/ld-x86-64/pr20830b.d: Updated.
641
59a1e29d
L
6422017-01-10 H.J. Lu <hongjiu.lu@intel.com>
643
644 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
645 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
646 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
647 * testsuite/ld-x86-64/pr20830b.d: New file.
648 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
649 Run pr20830b.
650
fff53dae
L
6512017-01-10 H.J. Lu <hongjiu.lu@intel.com>
652
653 PR ld/20830
654 * testsuite/ld-i386/i386.exp: Run pr20830.
655 * testsuite/ld-x86-64/x86-64.exp: Likewise.
656 * testsuite/ld-i386/pr20830.d: New file.
657 * testsuite/ld-i386/pr20830.s: Likewise.
658 * testsuite/ld-x86-64/pr20830.d: Likewise.
659 * testsuite/ld-x86-64/pr20830.s: Likewise.
660
e9237227
L
6612017-01-10 H.J. Lu <hongjiu.lu@intel.com>
662
663 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
664 -Wl,--as-needed to $CC.
665 * testsuite/ld-i386/tls.exp: Likewise.
666
07e8e623
NC
6672017-01-10 Nick Clifton <nickc@redhat.com>
668
669 * po/sv.po: Updated Swedish translation.
670
07ccf83c
GM
6712016-12-09 Graham Markall <graham.markall@embecosm.com>
672 Andrew Burgess <andrew.burgess@embecosm.com>
673
674 * Makefile.am: Add earclinux_nps.c target and add to
675 ALL_EMULATION_SOURCES.
676 * Makefile.in: Likewise, regenerated.
677 * configure.tgt: Add arclinux_nps as an extra emulation for
678 arc*-*-elf* and arc*-*-linux*.
679 * emulparams/arc-nps.sh: New file.
680 * emulparams/arclinux_nps.sh: New file.
681 * testsuite/ld-arc/arclinux-nps.d,
682 * testsuite/ld-arc/arclinux-nps.s: New test.
683
b0556316
DP
6842017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
685
686 PR 20958
687 * ldlex.l (option): Add noyywrap
688 (yywrap): Delete.
689 * ldlex.h (yywrap): Delete prototype.
690
47523653
AM
6912017-01-04 Alan Modra <amodra@gmail.com>
692
693 * testsuite/ld-elf/audit.exp: Check for shared lib support.
694 * testsuite/ld-elf/compress.exp: Likewise.
695 * testsuite/ld-elf/dwarf.exp: Likewise.
696 * testsuite/ld-elf/shared.exp: Likewise.
697 * testsuite/ld-elf/wrap.exp: Likewise.
698 * testsuite/ld-ifunc/ifunc.exp: Likewise.
699 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
700
a44d0bd7
AM
7012017-01-03 Alan Modra <amodra@gmail.com>
702
703 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
704 allow test to continue after compilation errors.
705 (run_cc_link_tests): Likewise.
706
27c3ce29
DD
7072017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
708
709 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
710 (epruelf.c): Remove unneeded dependencies.
711 * Makefile.in: Regenerate
712
8cfc7cf8
AM
7132017-01-03 Alan Modra <amodra@gmail.com>
714
715 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
716 to various tests.
717 * testsuite/ld-elfweak/elfweak.exp: Likewise.
718 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
719
4ce6ca2c
AM
7202017-01-03 Alan Modra <amodra@gmail.com>
721
722 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
723 * testsuite/ld-pie/pie.exp: Likewise.
724 * testsuite/ld-plugin/lto.exp: Likewise.
725
d9816402
AM
7262017-01-02 Alan Modra <amodra@gmail.com>
727
728 * Makefile.am (bootstrap): Delete rule.
729 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
730 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
731 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
732 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
733 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
734 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
735 * Makefile.in: Regenerate.
736 * configure: Regenerate.
737 * testsuite/config/default.exp (get_link_files): Delete.
738 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
739 define.
740 (ld_simple_link): Delete.
741 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
742 (default_ld_simple_link): Rename to default_ld_link.
743 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
744 (run_ld_link_tests): Use ld_link, not ld_simple_link.
745 (run_cc_link_tests): Likewise.
746 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
747 Don't run exe when not native, and return unsupported.
748 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
749 Link ld1 etc. using $CC.
750 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
751 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
752 * testsuite/ld-cygwin/exe-export.exp: Likewise.
753 * testsuite/ld-elf/binutils.exp: Likewise.
754 * testsuite/ld-elf/eh-group.exp: Likewise.
755 * testsuite/ld-elf/exclude.exp: Likewise.
756 * testsuite/ld-elf/frame.exp: Likewise.
757 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
758 * testsuite/ld-elf/tls_common.exp: Likewise.
759 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
760 * testsuite/ld-fastcall/fastcall.exp: Likewise.
761 * testsuite/ld-gc/gc.exp: Likewise.
762 * testsuite/ld-ifunc/binutils.exp: Likewise.
763 * testsuite/ld-mep/mep.exp: Likewise.
764 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
765 * testsuite/ld-mn10300/mn10300.exp: Likewise.
766 * testsuite/ld-nios2/nios2.exp: Likewise.
767 * testsuite/ld-pe/pe-compile.exp: Likewise.
768 * testsuite/ld-pe/pe-run.exp: Likewise.
769 * testsuite/ld-pe/pe-run2.exp: Likewise.
770 * testsuite/ld-plugin/plugin.exp: Likewise.
771 * testsuite/ld-scripts/align.exp: Likewise.
772 * testsuite/ld-scripts/alignof.exp: Likewise.
773 * testsuite/ld-scripts/assert.exp: Likewise.
774 * testsuite/ld-scripts/defined.exp: Likewise.
775 * testsuite/ld-scripts/extern.exp: Likewise.
776 * testsuite/ld-scripts/log2.exp: Likewise.
777 * testsuite/ld-scripts/map-address.exp: Likewise.
778 * testsuite/ld-scripts/phdrs.exp: Likewise.
779 * testsuite/ld-scripts/phdrs2.exp: Likewise.
780 * testsuite/ld-scripts/script.exp: Likewise.
781 * testsuite/ld-scripts/section-flags.exp: Likewise.
782 * testsuite/ld-scripts/sizeof.exp: Likewise.
783 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
784 * testsuite/ld-scripts/weak.exp: Likewise.
785 * testsuite/ld-selective/selective.exp: Likewise.
786 * testsuite/ld-sh/sh.exp: Likewise.
787 * testsuite/ld-sh/sh64/relax.exp: Likewise.
788 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
789 * testsuite/ld-srec/srec.exp: Likewise.
790 * testsuite/ld-tic6x/tic6x.exp: Likewise.
791 * testsuite/ld-undefined/weak-undef.exp: Likewise.
792 * testsuite/ld-versados/versados.exp: Likewise.
793 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
794 * testsuite/ld-xtensa/coalesce.exp: Likewise.
795 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
796 * testsuite/ld-xtensa/lcall.exp: Likewise.
797 * testsuite/ld-elf/audit.exp: Run non-native too.
798 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
799 gcc -Wl, options.
800 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
801 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
802 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
803 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
804 -Wl,--no-as-needed to most tests.
805 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
806 to simplify quoting. Set run_tests using [list] rather than
807 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
808 to many test. Prefix ld options with -Wl,.
809 (mix_pic_and_non_pic): Don't run exe if not native.
810 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
811 -Wl,--no-as-needed and prefix ld options with -Wl,.
812 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
813 not ld_simple_link.
814 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
815 (visibility_test): Don't run exe if not native.
816 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
817 not ld_simple_link.
818 (build_exec): Don't run exe if not native.
819 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
820 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
821 to some tests and prefix ld options with -Wl,. Expect GNU
822 for hppa-linux even when no ifuncs. Delete cleanup.
823 * testsuite/ld-pie/pie.exp: Run non-native too.
824 * testsuite/ld-plugin/lto.exp: Likewise.
825 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
826 not ld_simple_link.
827 (shared_test): Don't run exe if not native.
828 * testsuite/ld-size/size.exp: Run non-native too. Add
829 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
830 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
831 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
832 to some tests and prefix ld options with -Wl,. Expect GNU
833 for hppa-linux even when no unique syms. Delete cleanup.
834 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
835 tests and prefix ld options with -Wl,.
836 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
837 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
838
64859e14
AM
8392017-01-02 Alan Modra <amodra@gmail.com>
840
841 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
842
f5657270
AM
8432017-01-02 Alan Modra <amodra@gmail.com>
844
845 PR ld/21000
846 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
847 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
848 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
849 is already defined.
850
2571583a
AM
8512017-01-02 Alan Modra <amodra@gmail.com>
852
853 Update year range in copyright notice of all files.
854
5c1ad6b5 855For older changes see ChangeLog-2016
3499769a 856\f
5c1ad6b5 857Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
858
859Copying and distribution of this file, with or without modification,
860are permitted in any medium without royalty provided the copyright
861notice and this notice are preserved.
862
863Local Variables:
864mode: change-log
865left-margin: 8
866fill-column: 74
867version-control: never
868End:
This page took 0.116237 seconds and 4 git commands to generate.