1 2010-06-29 Nick Clifton <nickc@redhat.com>
3 * scripttempl/xstormy16.sc (.gcc_except_table): Include sections
4 with the .gcc_except_table. prefix.
6 2010-06-29 Alan Modra <amodra@gmail.com>
8 * emulparams/maxqcoff.sh: Delete file.
9 * scripttempl/maxqcoff.sc: Delete file.
10 * Makefile.am: Remove references to maxq.
11 * configure.tgt: Likewise.
12 * Makefile.in: Regenerate.
13 * configure: Regenerate.
14 * po/POTFILES.in: Regenerate.
16 2010-06-27 Alan Modra <amodra@gmail.com>
18 * pe-dll.c (fill_edata): Avoid set but unused warning.
19 (pe_walk_relocs_of_symbol): Delete set but unused variables.
20 (generate_reloc, pe_implied_import_dll): Likewise.
21 * emultempl/aix.em (open_dynamic_archive): Likewise.
22 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
23 (xtensa_layout_wild): Likewise.
24 (xtensa_colocate_output_literals_callback): Likewise.
26 2010-06-25 Alan Modra <amodra@gmail.com>
28 * emultempl/ppc64elf.em (prelim_size_sections): New function.
29 (ppc_before_allocation): Use it. Size sections before toc edit too.
31 2010-06-25 Alan Modra <amodra@gmail.com>
33 * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
35 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net>
37 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
38 auto-import and merge-rdata defaults same for i[3-7]86 and
41 2010-06-15 Joseph Myers <joseph@codesourcery.com>
43 * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
45 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com>
48 * pe-dll.c (process_def_file_and_drectve): Reorder check for
49 forwarded export name after check for ordinary export.
51 2010-06-08 Bernd Schmidt <bernds@codesourcery.com>
53 * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
55 2010-06-08 Nick Clifton <nickc@redhat.com>
57 * fdl.texi: Replace with v1.3 text.
58 * ld.texinfo: Replace abbreviated 20th century year numbers with
60 * ldint.texinfo: Likewise.
61 Relicense under GFDL v1.3. Replace text of v1.1 FDL with an
62 include of the fdl.texi file.
64 2010-06-01 Tristan Gingold <gingold@adacore.com>
66 * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
67 readonly output-section. Handle LIB$INITIALIZE and sections
69 * emultempl/vms.em (vms_place_orphan): Add comments.
71 2010-05-28 Nick Clifton <nickc@redhat.com>
73 * Makefile.am (eshlelf_fd.c): Fix typo in rule.
74 * Makefile.in: Regenerate.
76 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
79 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
80 multiple of maximum page size.
82 2010-05-25 Nick Clifton <nickc@redhat.com>
84 * Makefile.am: Fix typo.
85 * Makefile.in: Regenerate.
87 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
88 Joseph Myers <joseph@codesourcery.com>
89 Andrew Stubbs <ams@codesourcery.com>
91 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
92 (eshelf_fd.c, eshlelf_fd.c): New rules.
93 * Makefile.in: Regenerate.
94 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
96 * emulparams/shelf_fd.sh: New file.
97 * emulparams/shlelf_fd.sh: New file.
98 * emulparams/shlelf_linux.sh: Update comment.
100 2010-05-25 Jay Krell <jay.krell@cornell.edu>
103 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
104 * Makefile.in: Regenerate.
106 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
108 * deffilep.y (opt_name): Allow leading dot.
109 (dot_name): Likewise.
110 (anylang_id): Likewise.
111 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
113 (gld${EMULATION_NAME}_handle_option): Warn about v1.
114 (pep_find_data_imports): Remove superflous warnings about
116 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
117 and active pseudo-relocation-v2 rdata into data section.
118 * emultempl/pe.em (default_merge_rdata): New shell variable.
119 (MERGE_RDATA_V2): New macro.
120 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
123 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
125 * emultempl/pe.em (is_underscoring): New helper function.
126 (gld_${EMULATION_NAME}_before_parse): Replace code
127 for pe(p)_leading_underscore detection by is_underscoring.
129 (GET_INIT_SYMBOL_NAME): Likewise.
133 (gld_${EMULATION_NAME}_set_symbols):
134 * emultempl/pep.em: Likewise.
135 * pe-dll.c (pe_detail_list): Set default
136 underscoring for x64 target.
137 (pe_dll_id_target): Add initialization of
138 pe(p)_leading_underscore.
140 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
142 * pe-dll.c: Removed trailing whitespaces.
144 2010-05-14 Alan Modra <amodra@gmail.com>
147 * ldexp.c (exp_fold_tree_1): If assignment source expression is
148 invalid, make the destination symbol undefined.
150 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
152 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
153 Initialize pe(p)_leading_underscore variable.
154 (set_pe_name): Likewise.
155 * emultempl/pep.em: Likewise.
156 Additional change default to non-underscore for
157 pep_leading_underscore equal to -1.
159 2010-05-07 Tristan Gingold <gingold@adacore.com>
161 * Makefile.in: Regenerate with automake 1.11.1.
164 2010-05-05 Nick Clifton <nickc@redhat.com>
166 * po/es.po: Updated Spanish translation.
168 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
170 * pe-dll.c (_nm_-symbols): Use always underscored variant
172 (__imp_-symbols): Likewise.
173 (___imp_-symbols): Likewise.
174 * NEWS: Mention ABI change for x64 PE-COFF.
176 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
178 * Makefile.am (install-exec-local): Properly install ld as
179 default cross linker.
180 * Makefile.in: Regenerated.
182 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
183 Nick Clifton <nickc@redhat.com>
185 * configure.in (install_as_default): Define and set to true
186 unless --enable-gold=both/gold has been specified.
187 * configure: Regenerate.
189 * Makefile.am (transform): Use ld.bfd as the default name of
191 (install-exec-local): Also install the executable as a binary
192 named 'ld' if install_as_default is true.
193 * Makefile.in: Regenerate.
195 2010-04-22 Nick Clifton <nickc@redhat.com>
197 * po/ld.pot: Updated by the Translation project.
198 * po/vi.po: Updated Vietnamese translation.
199 * po/bg.po: Updated Bulgarian translation.
201 2010-04-15 Andrew Haley <aph@redhat.com>
203 * emultempl/armelf.em (merge_exidx_entries): New variable.
204 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
205 ("no-merge-exidx-entries"): New option.
206 * ld.texinfo (merge-exidx-entries): Document this option.
208 2010-04-14 Tristan Gingold <gingold@adacore.com>
210 * emulparams/alphavms.sh: New file.
211 * emultempl/vms.em: New file.
212 * scripttempl/alphavms.sc: New file.
213 * configure.tgt (alpha*-*-*vms*): Added.
214 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
215 (ealphavms.c): New target.
216 * Makefile.in: Regenerate.
218 2010-04-09 Nick Clifton <nickc@redhat.com>
220 * ldlang.c (wild_sort): Remove unused variable section_name.
222 2010-04-07 Alan Modra <amodra@gmail.com>
224 * configure: Regenerate.
226 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
229 * ld/testsuite/ld-x86-64/unique1.d: New.
230 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
232 * ld-x86-64/x86-64.exp: Run unique1.
234 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
236 * emultempl/pep.em (U): Macro modified.
237 (U_SIZE): New helper macro.
238 (GET_INIT_SYMBOL_NAME): Likewise.
239 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
240 and OPTION_LEADING_UNDERSCORE enumerator-values.
241 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
243 (definfo): Add new member is_c_symbol.
244 (D): Add to macro underscore mode parameter.
245 (init): Add definition for is_c_symbol.
246 (gld_${EMULATION_NAME}_list_options): Display new options.
247 (set_pep_name): Adjust underscoring dependent fixed
249 (gld_${EMULATION_NAME}_set_symbols): Likewise.
250 (saw_option): Likewise.
251 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
252 (set_entry_point): Initial initial_symbol_char dependent to
253 target's default and new option flag pep_leading_underscore.
254 * emultempl/pe.em (U): Macro modified.
255 (U_SIZE): New helper macro.
256 (GET_INIT_SYMBOL_NAME): Likewise.
257 (OPTION_LEADING_UNDERSCORE): Add new option define.
258 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
259 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
261 (definfo): Add new member is_c_symbol.
262 (D): Add to macro underscore mode parameter.
263 (init): Add definition for is_c_symbol.
264 (gld_${EMULATION_NAME}_list_options): Display new options.
265 (set_pep_name): Adjust underscoring dependent fixed
267 (gld_${EMULATION_NAME}_set_symbols): Likewise.
268 (saw_option): Likewise.
269 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
270 (set_entry_point): Initial initial_symbol_char dependent to
271 target's default and new option flag pep_leading_underscore.
272 * pe-dll.c (pe_leading_underscore): New flag variable.
273 (pe_detail_list): Remove const to allow modify of
275 (pe_dll_id_target): Initialize pe_details' underscore variable
276 dependent to target's default and flag pe_leading_underscore.
277 * pe-dll.h (pe_leading_underscore): Add extern declaration of
279 * pep-dll.c (pe_leading_underscore): Add alias define for
280 pep_leading_underscore.
281 * pep-dll.h (pep_leading_underscore) Add extern declaration of
283 * ld.texinfo: Add documentation for --(no-)leading-underscore
286 2010-03-26 Alan Modra <amodra@gmail.com>
289 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
290 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
292 2010-03-25 Joseph Myers <joseph@codesourcery.com>
294 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
296 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
297 * NEWS: Add news entry for TI C6X support.
298 * configure.tgt (tic6x-*-*): New.
299 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
301 2010-03-23 Joseph Myers <joseph@codesourcery.com>
303 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
304 BSS_NAME): Define if not already defined. Use in place of some
305 hardcoded section names.
307 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
309 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
311 2010-03-18 Aymeric Vincent <vincent@labri.fr>
314 * emultempl/sh64elf.em: Add missing EOF.
316 2010-03-18 Doug Semler <dougsemler@gmail.com>
318 * pe-dll.c (make_one): Make text section readonly.
319 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
320 the jump stub on X86 as /SAFESEH compatible for
323 2010-03-17 Alan Modra <amodra@gmail.com>
325 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
326 *prev instead. Update all callers.
328 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
330 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
331 region and phdrs as their placement section.
333 2010-03-15 Alan Modra <amodra@gmail.com>
335 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
336 (ppc_before_allocation): Call sort_toc_sections.
337 (no_toc_sort, OPTION_NO_TOC_SORT): New.
338 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
339 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
341 2010-03-14 Alan Modra <amodra@gmail.com>
344 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
345 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
347 2010-03-11 George Gensure <werkt0@gmail.com>
350 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
352 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
354 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
356 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
357 (eelf32_sparc_sol2.c): New rule.
358 (eelf64_sparc_sol2.c): Likewise.
359 (eelf_x86_64_sol2.c): Likewise.
360 (eelf_i386_sol2.c): Likewise.
361 * Makefile.in: Regenerate.
362 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
364 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
365 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
366 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
367 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
368 Add target_extra_emuls.
369 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
370 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
371 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
372 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
373 * emulparams/elf32_sparc_sol2.sh: New file.
374 * emulparams/elf64_sparc_sol2.sh: New file.
375 * emulparams/elf_i386_sol2.sh: New file.
376 * emulparams/elf_x86_64_sol2.sh: New file.
377 * emultempl/solaris2.em: New file.
379 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
382 * ld.texinfo: Replace explicitely with explicitly.
384 2010-02-27 Jie Zhang <jie@codesourcery.com>
386 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
387 .fini_array.* when do relocatable linking.
388 * scripttempl/elf.sc: Likewise.
389 * scripttempl/elf32sh-symbian.sc: Likewise.
390 * scripttempl/elf64hppa.sc: Likewise.
391 * scripttempl/elfxtensa.sc: Likewise.
393 2010-02-26 Alan Modra <amodra@gmail.com>
395 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
397 * scripttempl/armbpabi.sc: Likewise.
398 * scripttempl/elf32sh-symbian.sc: Likewise.
399 * scripttempl/elf64hppa.sc: Likewise.
400 * scripttempl/elfxtensa.sc: Likewise.
402 2010-02-25 Alan Modra <amodra@gmail.com>
405 * ldlang.c (init_os): Remove isec param. Don't check for
406 bfd_section already set or call bfd_init_private_section_data
408 (exp_init_os): Update init_os call.
409 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
410 flags. Call bfd_init_private_section_data here.
411 (map_input_to_output_sections): Tidy. Update init_os calls.
412 Use os->sectype to select sec flags for lang_data_statement.
414 2010-02-23 Alan Modra <amodra@gmail.com>
417 * ldlang.c: Revert last patch.
419 2010-02-23 Nick Clifton <nickc@redhat.com>
421 * po/bg.po: Updated Bulgarian translation.
423 2010-02-22 Alan Modra <amodra@gmail.com>
426 * ldlang.c (exp_init_os): Delete forward declaration.
427 (init_os): Don't check for bfd_section already created and don't
428 init addr_tree and load_base expressions here.
429 (map_input_to_output_sections): Only map input to output sections
430 and set constraints here, and as an exception, create output
431 sections which have their address set. Move all the other code to..
432 (create_other_output_sections): ..here. New function. Handle init
433 of addr_tree and load_base here too.
434 (lang_process): Call create_other_output_sections.
436 2010-02-19 Alan Modra <amodra@gmail.com>
438 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
439 * Makefile.in: Regenerate.
441 2010-02-19 Alan Modra <amodra@gmail.com>
443 * ldlang.c (unique_section_p): Add os param. Allow group
444 sections to match /DISCARD/. Update all callers.
445 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
446 (LDEMUL_BEFORE_ALLOCATION): Define.
448 2010-02-15 Nick Clifton <nickc@redhat.com>
450 * po/vi.po: Updated Vietnamese translation.
452 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
454 * Makefile.am (CFILES): Add ldlex-wrapper.c.
455 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
456 (ldlex.o): Replace with...
457 (ldlex-wrapper.o): ...this new rule.
458 (EXTRA_ld_new_SOURCES): Add ldlex.l.
459 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
460 * Makefile.in: Regenerate.
461 * ldlex.l (sysdep.h): Don't include here.
462 * ldlex-wrapper.c: New file.
464 2010-02-09 Alan Modra <amodra@gmail.com>
466 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
469 2010-02-05 Nick Clifton <nickc@redhat.com>
471 * configure.in (ALL_LIBGUAS): Add bg.
472 * configure: Regenerate.
473 * po/bg.po: New Bulgarian translation.
475 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
477 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
478 --target1-abs and --target1-rel options.
480 2010-02-03 Nick Clifton <nickc@redhat.com>
482 * emultempl/alphaelf.em: Update value expected from elf_object_id.
483 * emultempl/hppaelf.em: Likewise.
484 * emultempl/mipself.em: Likewise.
485 * emultempl/ppc32elf.em: Likewise.
486 * emultempl/ppc64elf.em: Likewise.
488 2010-02-03 Alan Modra <amodra@gmail.com>
490 * emultempl/ppc64elf.em (build_toc_list): Report errors from
491 ppc64_elf_next_toc_section.
492 (after_allocation): Update for changed function names and params.
493 Run second pass of multitoc partitioning.
495 2010-01-21 Jon Grant <jg@jguk.org>
496 Nick Clifton <nickc@redhat.com>
499 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
500 a missing file or library. Instead mark the entry as missing and
501 set the global flag to indicate that missing files were
503 * ldlang.c (missing_files): New exported variable.
504 (load_symbols): Skip loading if the file is missing.
505 (open_input_bfds): Terminate link if any input files were
507 * ldlang.h (struct lang_input_statement_struct): Add missing_file
509 Add export of missing_file variable.
511 2010-01-13 DJ Delorie <dj@redhat.com>
513 * emultempl/elf32.em (_place_orphan): If an input section doesn't
514 match an existing output section, but an unused output section
515 statement does match, use it.
516 * emultempl/pe.em (_place_orphan): Likewise.
517 * emultempl/pep.em (_place_orphan): Likewise.
519 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
521 * configure: Regenerate.
522 * Makefile.in: Regenerate.
524 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
526 * ldver.c (ldversion): Change to "Copyright 2010".
528 2010-01-08 Alan Modra <amodra@gmail.com>
531 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
533 For older changes see ChangeLog-2009
539 version-control: never