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