1 2010-05-07 Tristan Gingold <gingold@adacore.com>
3 * Makefile.in: Regenerate with automake 1.11.1.
6 2010-05-05 Nick Clifton <nickc@redhat.com>
8 * po/es.po: Updated Spanish translation.
10 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
12 * pe-dll.c (_nm_-symbols): Use always underscored variant
14 (__imp_-symbols): Likewise.
15 (___imp_-symbols): Likewise.
16 * NEWS: Mention ABI change for x64 PE-COFF.
18 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
20 * Makefile.am (install-exec-local): Properly install ld as
22 * Makefile.in: Regenerated.
24 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
25 Nick Clifton <nickc@redhat.com>
27 * configure.in (install_as_default): Define and set to true
28 unless --enable-gold=both/gold has been specified.
29 * configure: Regenerate.
31 * Makefile.am (transform): Use ld.bfd as the default name of
33 (install-exec-local): Also install the executable as a binary
34 named 'ld' if install_as_default is true.
35 * Makefile.in: Regenerate.
37 2010-04-22 Nick Clifton <nickc@redhat.com>
39 * po/ld.pot: Updated by the Translation project.
40 * po/vi.po: Updated Vietnamese translation.
41 * po/bg.po: Updated Bulgarian translation.
43 2010-04-15 Andrew Haley <aph@redhat.com>
45 * emultempl/armelf.em (merge_exidx_entries): New variable.
46 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
47 ("no-merge-exidx-entries"): New option.
48 * ld.texinfo (merge-exidx-entries): Document this option.
50 2010-04-14 Tristan Gingold <gingold@adacore.com>
52 * emulparams/alphavms.sh: New file.
53 * emultempl/vms.em: New file.
54 * scripttempl/alphavms.sc: New file.
55 * configure.tgt (alpha*-*-*vms*): Added.
56 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
57 (ealphavms.c): New target.
58 * Makefile.in: Regenerate.
60 2010-04-09 Nick Clifton <nickc@redhat.com>
62 * ldlang.c (wild_sort): Remove unused variable section_name.
64 2010-04-07 Alan Modra <amodra@gmail.com>
66 * configure: Regenerate.
68 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
71 * ld/testsuite/ld-x86-64/unique1.d: New.
72 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
74 * ld-x86-64/x86-64.exp: Run unique1.
76 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
78 * emultempl/pep.em (U): Macro modified.
79 (U_SIZE): New helper macro.
80 (GET_INIT_SYMBOL_NAME): Likewise.
81 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
82 and OPTION_LEADING_UNDERSCORE enumerator-values.
83 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
85 (definfo): Add new member is_c_symbol.
86 (D): Add to macro underscore mode parameter.
87 (init): Add definition for is_c_symbol.
88 (gld_${EMULATION_NAME}_list_options): Display new options.
89 (set_pep_name): Adjust underscoring dependent fixed
91 (gld_${EMULATION_NAME}_set_symbols): Likewise.
92 (saw_option): Likewise.
93 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
94 (set_entry_point): Initial initial_symbol_char dependent to
95 target's default and new option flag pep_leading_underscore.
96 * emultempl/pe.em (U): Macro modified.
97 (U_SIZE): New helper macro.
98 (GET_INIT_SYMBOL_NAME): Likewise.
99 (OPTION_LEADING_UNDERSCORE): Add new option define.
100 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
101 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
103 (definfo): Add new member is_c_symbol.
104 (D): Add to macro underscore mode parameter.
105 (init): Add definition for is_c_symbol.
106 (gld_${EMULATION_NAME}_list_options): Display new options.
107 (set_pep_name): Adjust underscoring dependent fixed
109 (gld_${EMULATION_NAME}_set_symbols): Likewise.
110 (saw_option): Likewise.
111 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
112 (set_entry_point): Initial initial_symbol_char dependent to
113 target's default and new option flag pep_leading_underscore.
114 * pe-dll.c (pe_leading_underscore): New flag variable.
115 (pe_detail_list): Remove const to allow modify of
117 (pe_dll_id_target): Initialize pe_details' underscore variable
118 dependent to target's default and flag pe_leading_underscore.
119 * pe-dll.h (pe_leading_underscore): Add extern declaration of
121 * pep-dll.c (pe_leading_underscore): Add alias define for
122 pep_leading_underscore.
123 * pep-dll.h (pep_leading_underscore) Add extern declaration of
125 * ld.texinfo: Add documentation for --(no-)leading-underscore
128 2010-03-26 Alan Modra <amodra@gmail.com>
131 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
132 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
134 2010-03-25 Joseph Myers <joseph@codesourcery.com>
136 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
138 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
139 * NEWS: Add news entry for TI C6X support.
140 * configure.tgt (tic6x-*-*): New.
141 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
143 2010-03-23 Joseph Myers <joseph@codesourcery.com>
145 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
146 BSS_NAME): Define if not already defined. Use in place of some
147 hardcoded section names.
149 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
151 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
153 2010-03-18 Aymeric Vincent <vincent@labri.fr>
156 * emultempl/sh64elf.em: Add missing EOF.
158 2010-03-18 Doug Semler <dougsemler@gmail.com>
160 * pe-dll.c (make_one): Make text section readonly.
161 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
162 the jump stub on X86 as /SAFESEH compatible for
165 2010-03-17 Alan Modra <amodra@gmail.com>
167 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
168 *prev instead. Update all callers.
170 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
172 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
173 region and phdrs as their placement section.
175 2010-03-15 Alan Modra <amodra@gmail.com>
177 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
178 (ppc_before_allocation): Call sort_toc_sections.
179 (no_toc_sort, OPTION_NO_TOC_SORT): New.
180 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
181 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
183 2010-03-14 Alan Modra <amodra@gmail.com>
186 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
187 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
189 2010-03-11 George Gensure <werkt0@gmail.com>
192 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
194 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
196 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
198 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
199 (eelf32_sparc_sol2.c): New rule.
200 (eelf64_sparc_sol2.c): Likewise.
201 (eelf_x86_64_sol2.c): Likewise.
202 (eelf_i386_sol2.c): Likewise.
203 * Makefile.in: Regenerate.
204 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
206 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
207 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
208 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
209 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
210 Add target_extra_emuls.
211 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
212 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
213 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
214 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
215 * emulparams/elf32_sparc_sol2.sh: New file.
216 * emulparams/elf64_sparc_sol2.sh: New file.
217 * emulparams/elf_i386_sol2.sh: New file.
218 * emulparams/elf_x86_64_sol2.sh: New file.
219 * emultempl/solaris2.em: New file.
221 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
224 * ld.texinfo: Replace explicitely with explicitly.
226 2010-02-27 Jie Zhang <jie@codesourcery.com>
228 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
229 .fini_array.* when do relocatable linking.
230 * scripttempl/elf.sc: Likewise.
231 * scripttempl/elf32sh-symbian.sc: Likewise.
232 * scripttempl/elf64hppa.sc: Likewise.
233 * scripttempl/elfxtensa.sc: Likewise.
235 2010-02-26 Alan Modra <amodra@gmail.com>
237 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
239 * scripttempl/armbpabi.sc: Likewise.
240 * scripttempl/elf32sh-symbian.sc: Likewise.
241 * scripttempl/elf64hppa.sc: Likewise.
242 * scripttempl/elfxtensa.sc: Likewise.
244 2010-02-25 Alan Modra <amodra@gmail.com>
247 * ldlang.c (init_os): Remove isec param. Don't check for
248 bfd_section already set or call bfd_init_private_section_data
250 (exp_init_os): Update init_os call.
251 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
252 flags. Call bfd_init_private_section_data here.
253 (map_input_to_output_sections): Tidy. Update init_os calls.
254 Use os->sectype to select sec flags for lang_data_statement.
256 2010-02-23 Alan Modra <amodra@gmail.com>
259 * ldlang.c: Revert last patch.
261 2010-02-23 Nick Clifton <nickc@redhat.com>
263 * po/bg.po: Updated Bulgarian translation.
265 2010-02-22 Alan Modra <amodra@gmail.com>
268 * ldlang.c (exp_init_os): Delete forward declaration.
269 (init_os): Don't check for bfd_section already created and don't
270 init addr_tree and load_base expressions here.
271 (map_input_to_output_sections): Only map input to output sections
272 and set constraints here, and as an exception, create output
273 sections which have their address set. Move all the other code to..
274 (create_other_output_sections): ..here. New function. Handle init
275 of addr_tree and load_base here too.
276 (lang_process): Call create_other_output_sections.
278 2010-02-19 Alan Modra <amodra@gmail.com>
280 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
281 * Makefile.in: Regenerate.
283 2010-02-19 Alan Modra <amodra@gmail.com>
285 * ldlang.c (unique_section_p): Add os param. Allow group
286 sections to match /DISCARD/. Update all callers.
287 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
288 (LDEMUL_BEFORE_ALLOCATION): Define.
290 2010-02-15 Nick Clifton <nickc@redhat.com>
292 * po/vi.po: Updated Vietnamese translation.
294 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
296 * Makefile.am (CFILES): Add ldlex-wrapper.c.
297 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
298 (ldlex.o): Replace with...
299 (ldlex-wrapper.o): ...this new rule.
300 (EXTRA_ld_new_SOURCES): Add ldlex.l.
301 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
302 * Makefile.in: Regenerate.
303 * ldlex.l (sysdep.h): Don't include here.
304 * ldlex-wrapper.c: New file.
306 2010-02-09 Alan Modra <amodra@gmail.com>
308 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
311 2010-02-05 Nick Clifton <nickc@redhat.com>
313 * configure.in (ALL_LIBGUAS): Add bg.
314 * configure: Regenerate.
315 * po/bg.po: New Bulgarian translation.
317 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
319 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
320 --target1-abs and --target1-rel options.
322 2010-02-03 Nick Clifton <nickc@redhat.com>
324 * emultempl/alphaelf.em: Update value expected from elf_object_id.
325 * emultempl/hppaelf.em: Likewise.
326 * emultempl/mipself.em: Likewise.
327 * emultempl/ppc32elf.em: Likewise.
328 * emultempl/ppc64elf.em: Likewise.
330 2010-02-03 Alan Modra <amodra@gmail.com>
332 * emultempl/ppc64elf.em (build_toc_list): Report errors from
333 ppc64_elf_next_toc_section.
334 (after_allocation): Update for changed function names and params.
335 Run second pass of multitoc partitioning.
337 2010-01-21 Jon Grant <jg@jguk.org>
338 Nick Clifton <nickc@redhat.com>
341 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
342 a missing file or library. Instead mark the entry as missing and
343 set the global flag to indicate that missing files were
345 * ldlang.c (missing_files): New exported variable.
346 (load_symbols): Skip loading if the file is missing.
347 (open_input_bfds): Terminate link if any input files were
349 * ldlang.h (struct lang_input_statement_struct): Add missing_file
351 Add export of missing_file variable.
353 2010-01-13 DJ Delorie <dj@redhat.com>
355 * emultempl/elf32.em (_place_orphan): If an input section doesn't
356 match an existing output section, but an unused output section
357 statement does match, use it.
358 * emultempl/pe.em (_place_orphan): Likewise.
359 * emultempl/pep.em (_place_orphan): Likewise.
361 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
363 * configure: Regenerate.
364 * Makefile.in: Regenerate.
366 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
368 * ldver.c (ldversion): Change to "Copyright 2010".
370 2010-01-08 Alan Modra <amodra@gmail.com>
373 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
375 For older changes see ChangeLog-2009
381 version-control: never