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