1 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
2 Ina Pandit <ina.pandit@kpitcummins.com>
4 * configure.tgt: Match all v850 targets.
6 2010-07-20 Mike Frysinger <vapier@gentoo.org>
8 * ld.texinfo (VERSION): Remove "int" from example script and add ";".
9 Declare the default language as C.
11 2010-07-17 Alan Modra <amodra@gmail.com>
13 * ldlang.c (lang_check_section_addresses): Catch overlap for
14 sections that wrap around the address space.
16 2010-06-29 Nick Clifton <nickc@redhat.com>
18 * scripttempl/xstormy16.sc (.gcc_except_table): Include sections
19 with the .gcc_except_table. prefix.
21 2010-06-29 Alan Modra <amodra@gmail.com>
23 * emulparams/maxqcoff.sh: Delete file.
24 * scripttempl/maxqcoff.sc: Delete file.
25 * Makefile.am: Remove references to maxq.
26 * configure.tgt: Likewise.
27 * Makefile.in: Regenerate.
28 * configure: Regenerate.
29 * po/POTFILES.in: Regenerate.
31 2010-06-27 Alan Modra <amodra@gmail.com>
33 * pe-dll.c (fill_edata): Avoid set but unused warning.
34 (pe_walk_relocs_of_symbol): Delete set but unused variables.
35 (generate_reloc, pe_implied_import_dll): Likewise.
36 * emultempl/aix.em (open_dynamic_archive): Likewise.
37 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
38 (xtensa_layout_wild): Likewise.
39 (xtensa_colocate_output_literals_callback): Likewise.
41 2010-06-25 Alan Modra <amodra@gmail.com>
43 * emultempl/ppc64elf.em (prelim_size_sections): New function.
44 (ppc_before_allocation): Use it. Size sections before toc edit too.
46 2010-06-25 Alan Modra <amodra@gmail.com>
48 * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
50 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net>
52 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
53 auto-import and merge-rdata defaults same for i[3-7]86 and
56 2010-06-15 Joseph Myers <joseph@codesourcery.com>
58 * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
60 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com>
63 * pe-dll.c (process_def_file_and_drectve): Reorder check for
64 forwarded export name after check for ordinary export.
66 2010-06-08 Bernd Schmidt <bernds@codesourcery.com>
68 * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
70 2010-06-08 Nick Clifton <nickc@redhat.com>
72 * fdl.texi: Replace with v1.3 text.
73 * ld.texinfo: Replace abbreviated 20th century year numbers with
75 * ldint.texinfo: Likewise.
76 Relicense under GFDL v1.3. Replace text of v1.1 FDL with an
77 include of the fdl.texi file.
79 2010-06-01 Tristan Gingold <gingold@adacore.com>
81 * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
82 readonly output-section. Handle LIB$INITIALIZE and sections
84 * emultempl/vms.em (vms_place_orphan): Add comments.
86 2010-05-28 Nick Clifton <nickc@redhat.com>
88 * Makefile.am (eshlelf_fd.c): Fix typo in rule.
89 * Makefile.in: Regenerate.
91 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
94 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
95 multiple of maximum page size.
97 2010-05-25 Nick Clifton <nickc@redhat.com>
99 * Makefile.am: Fix typo.
100 * Makefile.in: Regenerate.
102 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
103 Joseph Myers <joseph@codesourcery.com>
104 Andrew Stubbs <ams@codesourcery.com>
106 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
107 (eshelf_fd.c, eshlelf_fd.c): New rules.
108 * Makefile.in: Regenerate.
109 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
111 * emulparams/shelf_fd.sh: New file.
112 * emulparams/shlelf_fd.sh: New file.
113 * emulparams/shlelf_linux.sh: Update comment.
115 2010-05-25 Jay Krell <jay.krell@cornell.edu>
118 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
119 * Makefile.in: Regenerate.
121 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
123 * deffilep.y (opt_name): Allow leading dot.
124 (dot_name): Likewise.
125 (anylang_id): Likewise.
126 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
128 (gld${EMULATION_NAME}_handle_option): Warn about v1.
129 (pep_find_data_imports): Remove superflous warnings about
131 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
132 and active pseudo-relocation-v2 rdata into data section.
133 * emultempl/pe.em (default_merge_rdata): New shell variable.
134 (MERGE_RDATA_V2): New macro.
135 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
138 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
140 * emultempl/pe.em (is_underscoring): New helper function.
141 (gld_${EMULATION_NAME}_before_parse): Replace code
142 for pe(p)_leading_underscore detection by is_underscoring.
144 (GET_INIT_SYMBOL_NAME): Likewise.
148 (gld_${EMULATION_NAME}_set_symbols):
149 * emultempl/pep.em: Likewise.
150 * pe-dll.c (pe_detail_list): Set default
151 underscoring for x64 target.
152 (pe_dll_id_target): Add initialization of
153 pe(p)_leading_underscore.
155 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
157 * pe-dll.c: Removed trailing whitespaces.
159 2010-05-14 Alan Modra <amodra@gmail.com>
162 * ldexp.c (exp_fold_tree_1): If assignment source expression is
163 invalid, make the destination symbol undefined.
165 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
167 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
168 Initialize pe(p)_leading_underscore variable.
169 (set_pe_name): Likewise.
170 * emultempl/pep.em: Likewise.
171 Additional change default to non-underscore for
172 pep_leading_underscore equal to -1.
174 2010-05-07 Tristan Gingold <gingold@adacore.com>
176 * Makefile.in: Regenerate with automake 1.11.1.
179 2010-05-05 Nick Clifton <nickc@redhat.com>
181 * po/es.po: Updated Spanish translation.
183 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
185 * pe-dll.c (_nm_-symbols): Use always underscored variant
187 (__imp_-symbols): Likewise.
188 (___imp_-symbols): Likewise.
189 * NEWS: Mention ABI change for x64 PE-COFF.
191 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
193 * Makefile.am (install-exec-local): Properly install ld as
194 default cross linker.
195 * Makefile.in: Regenerated.
197 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
198 Nick Clifton <nickc@redhat.com>
200 * configure.in (install_as_default): Define and set to true
201 unless --enable-gold=both/gold has been specified.
202 * configure: Regenerate.
204 * Makefile.am (transform): Use ld.bfd as the default name of
206 (install-exec-local): Also install the executable as a binary
207 named 'ld' if install_as_default is true.
208 * Makefile.in: Regenerate.
210 2010-04-22 Nick Clifton <nickc@redhat.com>
212 * po/ld.pot: Updated by the Translation project.
213 * po/vi.po: Updated Vietnamese translation.
214 * po/bg.po: Updated Bulgarian translation.
216 2010-04-15 Andrew Haley <aph@redhat.com>
218 * emultempl/armelf.em (merge_exidx_entries): New variable.
219 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
220 ("no-merge-exidx-entries"): New option.
221 * ld.texinfo (merge-exidx-entries): Document this option.
223 2010-04-14 Tristan Gingold <gingold@adacore.com>
225 * emulparams/alphavms.sh: New file.
226 * emultempl/vms.em: New file.
227 * scripttempl/alphavms.sc: New file.
228 * configure.tgt (alpha*-*-*vms*): Added.
229 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
230 (ealphavms.c): New target.
231 * Makefile.in: Regenerate.
233 2010-04-09 Nick Clifton <nickc@redhat.com>
235 * ldlang.c (wild_sort): Remove unused variable section_name.
237 2010-04-07 Alan Modra <amodra@gmail.com>
239 * configure: Regenerate.
241 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
244 * ld/testsuite/ld-x86-64/unique1.d: New.
245 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
247 * ld-x86-64/x86-64.exp: Run unique1.
249 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
251 * emultempl/pep.em (U): Macro modified.
252 (U_SIZE): New helper macro.
253 (GET_INIT_SYMBOL_NAME): Likewise.
254 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
255 and OPTION_LEADING_UNDERSCORE enumerator-values.
256 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
258 (definfo): Add new member is_c_symbol.
259 (D): Add to macro underscore mode parameter.
260 (init): Add definition for is_c_symbol.
261 (gld_${EMULATION_NAME}_list_options): Display new options.
262 (set_pep_name): Adjust underscoring dependent fixed
264 (gld_${EMULATION_NAME}_set_symbols): Likewise.
265 (saw_option): Likewise.
266 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
267 (set_entry_point): Initial initial_symbol_char dependent to
268 target's default and new option flag pep_leading_underscore.
269 * emultempl/pe.em (U): Macro modified.
270 (U_SIZE): New helper macro.
271 (GET_INIT_SYMBOL_NAME): Likewise.
272 (OPTION_LEADING_UNDERSCORE): Add new option define.
273 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
274 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
276 (definfo): Add new member is_c_symbol.
277 (D): Add to macro underscore mode parameter.
278 (init): Add definition for is_c_symbol.
279 (gld_${EMULATION_NAME}_list_options): Display new options.
280 (set_pep_name): Adjust underscoring dependent fixed
282 (gld_${EMULATION_NAME}_set_symbols): Likewise.
283 (saw_option): Likewise.
284 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
285 (set_entry_point): Initial initial_symbol_char dependent to
286 target's default and new option flag pep_leading_underscore.
287 * pe-dll.c (pe_leading_underscore): New flag variable.
288 (pe_detail_list): Remove const to allow modify of
290 (pe_dll_id_target): Initialize pe_details' underscore variable
291 dependent to target's default and flag pe_leading_underscore.
292 * pe-dll.h (pe_leading_underscore): Add extern declaration of
294 * pep-dll.c (pe_leading_underscore): Add alias define for
295 pep_leading_underscore.
296 * pep-dll.h (pep_leading_underscore) Add extern declaration of
298 * ld.texinfo: Add documentation for --(no-)leading-underscore
301 2010-03-26 Alan Modra <amodra@gmail.com>
304 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
305 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
307 2010-03-25 Joseph Myers <joseph@codesourcery.com>
309 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
311 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
312 * NEWS: Add news entry for TI C6X support.
313 * configure.tgt (tic6x-*-*): New.
314 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
316 2010-03-23 Joseph Myers <joseph@codesourcery.com>
318 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
319 BSS_NAME): Define if not already defined. Use in place of some
320 hardcoded section names.
322 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
324 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
326 2010-03-18 Aymeric Vincent <vincent@labri.fr>
329 * emultempl/sh64elf.em: Add missing EOF.
331 2010-03-18 Doug Semler <dougsemler@gmail.com>
333 * pe-dll.c (make_one): Make text section readonly.
334 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
335 the jump stub on X86 as /SAFESEH compatible for
338 2010-03-17 Alan Modra <amodra@gmail.com>
340 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
341 *prev instead. Update all callers.
343 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
345 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
346 region and phdrs as their placement section.
348 2010-03-15 Alan Modra <amodra@gmail.com>
350 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
351 (ppc_before_allocation): Call sort_toc_sections.
352 (no_toc_sort, OPTION_NO_TOC_SORT): New.
353 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
354 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
356 2010-03-14 Alan Modra <amodra@gmail.com>
359 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
360 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
362 2010-03-11 George Gensure <werkt0@gmail.com>
365 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
367 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
369 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
371 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
372 (eelf32_sparc_sol2.c): New rule.
373 (eelf64_sparc_sol2.c): Likewise.
374 (eelf_x86_64_sol2.c): Likewise.
375 (eelf_i386_sol2.c): Likewise.
376 * Makefile.in: Regenerate.
377 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
379 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
380 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
381 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
382 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
383 Add target_extra_emuls.
384 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
385 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
386 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
387 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
388 * emulparams/elf32_sparc_sol2.sh: New file.
389 * emulparams/elf64_sparc_sol2.sh: New file.
390 * emulparams/elf_i386_sol2.sh: New file.
391 * emulparams/elf_x86_64_sol2.sh: New file.
392 * emultempl/solaris2.em: New file.
394 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
397 * ld.texinfo: Replace explicitely with explicitly.
399 2010-02-27 Jie Zhang <jie@codesourcery.com>
401 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
402 .fini_array.* when do relocatable linking.
403 * scripttempl/elf.sc: Likewise.
404 * scripttempl/elf32sh-symbian.sc: Likewise.
405 * scripttempl/elf64hppa.sc: Likewise.
406 * scripttempl/elfxtensa.sc: Likewise.
408 2010-02-26 Alan Modra <amodra@gmail.com>
410 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
412 * scripttempl/armbpabi.sc: Likewise.
413 * scripttempl/elf32sh-symbian.sc: Likewise.
414 * scripttempl/elf64hppa.sc: Likewise.
415 * scripttempl/elfxtensa.sc: Likewise.
417 2010-02-25 Alan Modra <amodra@gmail.com>
420 * ldlang.c (init_os): Remove isec param. Don't check for
421 bfd_section already set or call bfd_init_private_section_data
423 (exp_init_os): Update init_os call.
424 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
425 flags. Call bfd_init_private_section_data here.
426 (map_input_to_output_sections): Tidy. Update init_os calls.
427 Use os->sectype to select sec flags for lang_data_statement.
429 2010-02-23 Alan Modra <amodra@gmail.com>
432 * ldlang.c: Revert last patch.
434 2010-02-23 Nick Clifton <nickc@redhat.com>
436 * po/bg.po: Updated Bulgarian translation.
438 2010-02-22 Alan Modra <amodra@gmail.com>
441 * ldlang.c (exp_init_os): Delete forward declaration.
442 (init_os): Don't check for bfd_section already created and don't
443 init addr_tree and load_base expressions here.
444 (map_input_to_output_sections): Only map input to output sections
445 and set constraints here, and as an exception, create output
446 sections which have their address set. Move all the other code to..
447 (create_other_output_sections): ..here. New function. Handle init
448 of addr_tree and load_base here too.
449 (lang_process): Call create_other_output_sections.
451 2010-02-19 Alan Modra <amodra@gmail.com>
453 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
454 * Makefile.in: Regenerate.
456 2010-02-19 Alan Modra <amodra@gmail.com>
458 * ldlang.c (unique_section_p): Add os param. Allow group
459 sections to match /DISCARD/. Update all callers.
460 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
461 (LDEMUL_BEFORE_ALLOCATION): Define.
463 2010-02-15 Nick Clifton <nickc@redhat.com>
465 * po/vi.po: Updated Vietnamese translation.
467 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
469 * Makefile.am (CFILES): Add ldlex-wrapper.c.
470 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
471 (ldlex.o): Replace with...
472 (ldlex-wrapper.o): ...this new rule.
473 (EXTRA_ld_new_SOURCES): Add ldlex.l.
474 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
475 * Makefile.in: Regenerate.
476 * ldlex.l (sysdep.h): Don't include here.
477 * ldlex-wrapper.c: New file.
479 2010-02-09 Alan Modra <amodra@gmail.com>
481 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
484 2010-02-05 Nick Clifton <nickc@redhat.com>
486 * configure.in (ALL_LIBGUAS): Add bg.
487 * configure: Regenerate.
488 * po/bg.po: New Bulgarian translation.
490 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
492 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
493 --target1-abs and --target1-rel options.
495 2010-02-03 Nick Clifton <nickc@redhat.com>
497 * emultempl/alphaelf.em: Update value expected from elf_object_id.
498 * emultempl/hppaelf.em: Likewise.
499 * emultempl/mipself.em: Likewise.
500 * emultempl/ppc32elf.em: Likewise.
501 * emultempl/ppc64elf.em: Likewise.
503 2010-02-03 Alan Modra <amodra@gmail.com>
505 * emultempl/ppc64elf.em (build_toc_list): Report errors from
506 ppc64_elf_next_toc_section.
507 (after_allocation): Update for changed function names and params.
508 Run second pass of multitoc partitioning.
510 2010-01-21 Jon Grant <jg@jguk.org>
511 Nick Clifton <nickc@redhat.com>
514 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
515 a missing file or library. Instead mark the entry as missing and
516 set the global flag to indicate that missing files were
518 * ldlang.c (missing_files): New exported variable.
519 (load_symbols): Skip loading if the file is missing.
520 (open_input_bfds): Terminate link if any input files were
522 * ldlang.h (struct lang_input_statement_struct): Add missing_file
524 Add export of missing_file variable.
526 2010-01-13 DJ Delorie <dj@redhat.com>
528 * emultempl/elf32.em (_place_orphan): If an input section doesn't
529 match an existing output section, but an unused output section
530 statement does match, use it.
531 * emultempl/pe.em (_place_orphan): Likewise.
532 * emultempl/pep.em (_place_orphan): Likewise.
534 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
536 * configure: Regenerate.
537 * Makefile.in: Regenerate.
539 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
541 * ldver.c (ldversion): Change to "Copyright 2010".
543 2010-01-08 Alan Modra <amodra@gmail.com>
546 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
548 For older changes see ChangeLog-2009
554 version-control: never