Update French translation of ld strings.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2015-04-09 Nick Clifton <nickc@redhat.com>
2
3 * po/fr.po: Updated French translation.
4
5 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
6
7 * configure.ac (elf_list_options): Set to TRUE for
8 --enable-targets=all.
9 (elf_shlib_list_options): Likewise.
10 (elf_plt_unwind_list_options): Likewise.
11 * configure: Regenerated.
12
13 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
14
15 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
16
17 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
18
19 * Makefile.am (ELF_CLFAGS): New.
20 (AM_CFLAGS): Add $(ELF_CLFAGS).
21 * configure.ac (elf_list_options): New. AC_SUBST.
22 (elf_shlib_list_options): Likewise.
23 (elf_plt_unwind_list_options): Likewise.
24 * lexsup.c (elf_shlib_list_options): New.
25 (elf_static_list_options): Likewise.
26 (elf_plt_unwind_list_options): Likewise.
27 (ld_list_options): Likewise.
28 (help): Call ld_list_options.
29 * Makefile.in: Regenerated.
30 * configure: Likewise.
31 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
32 (PARSE_AND_LIST_OPTIONS): Removed.
33 * emultempl/elf32.em (gld_list_options): New.
34 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
35 PARSE_AND_LIST_OPTIONS is defined.
36 (ld_${EMULATION_NAME}_emulation): Replace
37 gld${EMULATION_NAME}_list_options with ${gld_list_options.
38
39 2015-04-07 Alan Modra <amodra@gmail.com>
40
41 PR ld/18176
42 * ldlang.c (lang_size_sections): Cast shift expression.
43
44 2015-04-07 Alan Modra <amodra@gmail.com>
45
46 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
47 (params): Init new field.
48 (ppc_before_allocation): Enable relaxation for pic_fixup.
49
50 2015-04-07 Nick Clifton <nickc@redhat.com>
51
52 * ld.h (struct ld_config_type): Add new field: warn_orphan.
53 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
54 OPTION_NO_WARN_ORPHAN.
55 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
56 (parse_args): Handle the new options.
57 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
58 message when an orphan section is placed in the output file.
59 * ld.texinfo: Document the new option.
60 * NEWS: Mention the new feature.
61
62 2015-04-02 Andrew Turner <andrew@freebsd.org>
63
64 * Makefile.am: Add FreeBSD aarch64 files.
65 * Makefile.in: Regenerate.
66 * configure.tgt: Add aarch64-*-freebsd* target triple.
67 * emulparams/aarch64fbsd.sh: New file.
68 * emulparams/aarch64fbsdb.sh: New file.
69
70 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
71
72 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
73 around a GCC uninitialized warning bug fixed in GCC 4.6.
74
75 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
76
77 * emultempl/aarch64elf.em
78 (aarch64_elf_create_output_section_statements): Add parameter in
79 bfd_elf${ELFSIZE}_aarch64_set_options call.
80 (OPTION_FIX_ERRATUM_843419): Define.
81 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
82 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
83
84 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
85
86 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
87 relocating operation.
88
89 2015-04-01 Alan Modra <amodra@gmail.com>
90
91 PR ld/18176
92 * ldlang.c (lang_size_sections): When alignment of sections
93 results in relro base adjustment being too large, don't go lower
94 than the initial value.
95 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
96 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
97 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
98
99 2015-04-01 Alan Modra <amodra@gmail.com>
100
101 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
102 init ehdr_start_save.
103
104 2015-04-01 Alan Modra <amodra@gmail.com>
105
106 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
107 ldemul-list.h.
108 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
109 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
110 eelf32ppcsim.c): Rearrange deps for consistency.
111 * Makefile.in: Regenerate.
112
113 2015-04-01 Ed Schouten <ed@nuxi.nl>
114
115 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
116 the ehdr_start_save variable.
117
118 2015-03-31 Ed Schouten <ed@nuxi.nl>
119
120 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
121 eelf_x86_64_cloudabi.c.
122 (eelf_x86_64_cloudabi.c): New.
123 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
124 x86_64-*-cloudabi*.
125 * Makefile.in: Regenerated.
126 * emulparams/elf_x86_64_cloudabi.sh: New file.
127
128 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
129
130 * configure.ac (AM_ZLIB): Removed.
131 * Makefile.in: Regenerated.
132 * config.in: Likewise.
133 * configure: Likewise.
134
135 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
136
137 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
138 alignment to 2.
139
140 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
141
142 * emultempl/aarch64elf.em
143 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
144
145 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
146
147 * ldmain.c (main): Use %F instead of %X for einfo.
148
149 2015-03-02 Alan Modra <amodra@gmail.com>
150
151 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
152
153 2015-02-27 Nick Clifton <nickc@redhat.com>
154
155 PR ld/17900
156 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
157 sense of the following memory region attribute characters.
158
159 2015-02-27 Alan Modra <amodra@gmail.com>
160
161 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
162 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
163 eh8300sxelf_linux.c): Do not invoke genscripts here.
164 * Makefile.in: Regenerate.
165
166 2015-02-24 Nick Clifton <nickc@redhat.com>
167
168 * Makefile.am (ev850.c): Add dependency upon
169 $(srcdir)/emultempl/v850elf.em.
170 (ev850_rh850.c): Likewise.
171 * Makefile.in: Regenerate.
172 * emultempl/v850elf.em: New file.
173 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
174 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
175 * scripttempl/v850.sc: Add .note.renesas section.
176 * scripttempl/v850_rh850.sc: Likewise.
177
178 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
179
180 * scripttempl/avr.sc: Add new user_signatures region. Define and
181 use symbols for all region lengths.
182 * scripttempl/avrtiny.sc: Define and use symbols for all region
183 lengths.
184
185 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
186
187 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
188 * Makefile.in: Regenerate.
189 * configure.tgt: Add h8300-*-linux
190 * emulparams/h8300elf_linux.sh: Add new emulation.
191 * emulparams/h8300helf_linux.sh: Likewise.
192 * emulparams/h8300self_linux.sh: Likewise.
193 * emulparams/h8300sxelf_linux.sh: Likewise.
194
195 2015-02-23 Nick Clifton <nickc@redhat.com>
196
197 * lexsup.c (parse_args): Produce a more reasonable error message
198 when -ixxx or -rxxx is the last option on the linker command line.
199
200 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
201
202 PR ld/17973
203 * testplug2.c (allsymbolsread_silent): New.
204 (set_register_hook): Handle allsymbolsreadsilent.
205 (onall_symbols_read): Skip a message if allsymbolsread_silent is
206 TRUE.
207
208 2015-02-14 Alan Modra <amodra@gmail.com>
209
210 PR ld/17973
211 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
212 * ldlang.c (lang_process): Don't set loading_lto_outputs.
213 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
214 to bfd.
215 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
216
217 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
218
219 * NEWS: Mention support for LLVM plugin.
220
221 2015-02-13 Alan Modra <amodra@gmail.com>
222
223 * ld.texinfo (Options <--defsym>): Correct cross reference.
224
225 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
226
227 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
228 option compatibility.
229
230 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
231
232 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
233 "error:" for LDPL_FATAL and LDPL_ERROR.
234 * testplug2.c (parse_option): Handle fatal, error and warning.
235
236 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
237
238 * testplug2.c (dump_tv_tag): Removed.
239 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
240 closed.
241 * testplug3.c (dump_tv_tag): Removed.
242 (onclaim_file): Fix typo.
243
244 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
245
246 PR ld/17878
247 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
248 libldtestplug3.la.
249 (libldtestplug2_la_SOURCES): New.
250 (libldtestplug2_la_CFLAGS): Likewise.
251 (libldtestplug2_la_LDFLAGS): Likewise.
252 (libldtestplug3_la_SOURCES): New.
253 (libldtestplug3_la_CFLAGS): Likewise.
254 (libldtestplug3_la_LDFLAGS): Likewise.
255 * Makefile.in: Regenerated.
256 * testplug2.c: New file.
257 * testplug3.c: Likewise.
258
259 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
260
261 PR ld/17878
262 * plugin.c: Include ../bfd/plugin.h.
263 (plugin_get_ir_dummy_bfd): Call bfd_create with
264 link_info.output_bfd instead of srctemplate. Copy BFD info
265 from srctemplate only if it doesn't use BFD plugin target
266 vector.
267 (plugin_load_plugins): Call register_ld_plugin_object_p with
268 (plugin_object_p)
269 (plugin_maybe_claim): Renamed to ...
270 (plugin_object_p): This. Return dummy BFD target vector if
271 input is calimed by plugin library, otherwise return NULL.
272 Update plugin_format and plugin_dummy_bfd.
273 (plugin_maybe_claim): New. Use plugin_object_p.
274
275 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
276
277 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
278
279 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
280
281 * plugin.c (plugin_input_file_t): Add use_mmap.
282 (plugin_pagesize): New.
283 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
284 (plugin_load_plugins): Initialize plugin_pagesize.
285 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
286 file.
287
288 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
289
290 * plugin.c (get_view): Align offset passed to mmap.
291
292 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
293
294 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
295 if plugin isn't active or there is no thing more to claim.
296
297 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
298
299 * plugin.c (plugin_maybe_claim): Check format against bfd_object
300 directly.
301
302 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
303
304 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
305 ibfd.
306
307 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
308
309 * plugin.c: Include "libbfd.h".
310 (plugin_strdup): New.
311 (plugin_maybe_claim): Remove the argument of pointer to struct
312 ld_plugin_input_file. Open and handle input entry.
313 * plugin.h (plugin_maybe_claim): Updated.
314 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
315 without passing a pointer to struct ld_plugin_input_file.
316 * ldmain.c: Don't include "libbfd.h".
317 (add_archive_element): Call plugin_maybe_claim directly without
318 passing a pointer to struct ld_plugin_input_file.
319
320 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
321
322 * ld.texinfo: Document -z text, -z notext and -z textoff.
323 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
324 -z text, -z notext and -z textoff.
325
326 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
327
328 * configure.ac: Add AC_FUNC_MMAP.
329 * config.in: Regenerated.
330 * configure: Likewise.
331 * plugin.c: Include <sys/mman.h>.
332 (MAP_FAILED): New. Defined if not defined.
333 (PROT_READ): Likewise.
334 (MAP_PRIVATE): Likewise.
335 (view_buffer_t): New.
336 (plugin_input_file_t): Add view_buffer.
337 (get_view): Try mmap and cache the view buffer.
338 (plugin_maybe_claim): Initialize view_buffer.
339
340 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
341
342 * plugin.c (release_input_file): Set fd to -1 after closing it.
343 (plugin_maybe_claim): Close fd only if fd != -1.
344
345 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
346
347 PR ld/17878
348 * plugin.c: Include <errno.h>.
349 (errno): New. Declare if needed.
350 (plugin_input_file_t): New.
351 (get_input_file): Implemented.
352 (get_view): Likewise.
353 (release_input_file): Likewise.
354 (add_symbols): Updated.
355 (get_symbols): Likewise.
356 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
357 only for a bfd_object input.
358
359 2015-02-02 Alan Modra <amodra@gmail.com>
360
361 * emultempl/ppc64elf.em (toc_section_name): New var.
362 (ppc_after_open): Set it.
363 (ppc_before_allocation): Use it.
364 (gld${EMULATION_NAME}_after_allocation): Here too.
365
366 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
367
368 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
369 with link_info.lto_plugin_active.
370 * ldlang.c (lang_process): Likewise.
371 * ldmain.c (add_archive_element): Likewise.
372 * plugin.c (plugin_active_plugins_p): Removed.
373 * plugin.h (plugin_active_plugins_p): Likewise.
374
375 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
376
377 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
378 ...
379 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
380
381 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
382
383 PR ld/17878
384 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
385 (get_view): New function.
386 (set_tv_header): Handle LDPT_GET_VIEW.
387 * testplug.c (tag_names): Add LDPT_GET_VIEW.
388 (tv_get_view): New.
389 (dump_tv_tag): Handle LDPT_GET_VIEW.
390 (parse_tv_tag): Likewise.
391
392 2015-01-28 Alan Modra <amodra@gmail.com>
393
394 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
395 * emultempl/ppc64elf.em (params): Init new field.
396 (ppc_after_open): New function.
397 (LDEMUL_AFTER_OPEN): Define.
398 * ldlang.c (lang_final): Whitespace fix.
399
400 2015-01-28 James Bowman <james.bowman@ftdichip.com>
401
402 * Makefile.am: Add FT32 files.
403 * configure.tgt: Handle FT32 target.
404 * emulparams/elf32ft32.sh: New file.
405 * scripttempl/ft32.sc: New file.
406 * Makefile.in: Regenerate.
407
408 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
409
410 PR 4643
411 * ldexp.c (fold_name): Fold LENGTH only after
412 lang_first_phase_enum.
413 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
414 rightaway.
415 * ldlang.h (struct memory_region_struct): Add origin_exp and
416 length_exp fields.
417 * ldlang.c (lang_do_memory_regions): New.
418 (lang_memory_region_lookup): Initialize origin_exp and
419 length_exp fields.
420 (lang_process): Call lang_do_memory_regions.
421
422 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
423
424 * ldlang.c (print_assignment): Only evaluate the expression for a
425 PROVIDE'd assignment when the destination is being defined.
426 Display a special message for PROVIDE'd symbols that are not being
427 provided.
428
429 2015-01-20 Alan Modra <amodra@gmail.com>
430
431 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
432 (OTHER_BSS_SYMBOLS): ..this.
433 (OTHER_PLT_RELOC_SECTIONS): Don't define.
434 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
435 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
436 (OTHER_RELRO_SECTIONS_2): ..here.
437 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
438
439 2015-01-20 Alan Modra <amodra@gmail.com>
440
441 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
442 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
443 (OTHER_RELRO_SECTIONS_2): ..here.
444 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
445 PLT_BEFORE_GOT): Define.
446 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
447 PLT_BEFORE_GOT combination.
448 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
449
450 2015-01-20 Alan Modra <amodra@gmail.com>
451
452 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
453 (OTHER_RELRO_SECTIONS_2): ..here, new define.
454 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
455
456 2015-01-19 Alan Modra <amodra@gmail.com>
457
458 PR ld/17615
459 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
460
461 2015-01-14 Jiong Wang <jiong.wang@arm.com>
462
463 * ld-arm/elf32-reject.s: New testcase.
464 * ld-arm/elf32-reject.d: Likewise.
465 * ld-arm/elf32-reject-pie.s: Likewise.
466 * ld-arm/elf32-reject-pie.d: Likewise.
467 * ld-arm/arm-elf.exp: Run new testcases.
468 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
469 * ld-arm/ifunc-7.rd: Likewise.
470 * ld-arm/ifunc-7.gd: Likewise.
471 * ld-arm/ifunc-7.dd: Likewise.
472 * ld-arm/ifunc-8.s: Likewise.
473 * ld-arm/ifunc-8.rd: Likewise.
474 * ld-arm/ifunc-8.gd: Likewise.
475 * ld-arm/ifunc-8.dd: Likewise.
476
477 2015-01-01 Alan Modra <amodra@gmail.com>
478
479 * ldver.c (ldversion): Just print current year.
480
481 2015-01-01 Alan Modra <amodra@gmail.com>
482
483 Update year range in copyright notice of all files.
484
485 For older changes see ChangeLog-2014
486 \f
487 Copyright (C) 2015 Free Software Foundation, Inc.
488
489 Copying and distribution of this file, with or without modification,
490 are permitted in any medium without royalty provided the copyright
491 notice and this notice are preserved.
492
493 Local Variables:
494 mode: change-log
495 left-margin: 8
496 fill-column: 74
497 version-control: never
498 End:
This page took 0.038844 seconds and 4 git commands to generate.