1 2010-06-08 Nick Clifton <nickc@redhat.com>
3 * fdl.texi: Replace with v1.3 text.
4 * ld.texinfo: Replace abbreviated 20th century year numbers with
6 * ldint.texinfo: Likewise.
7 Relicense under GFDL v1.3. Replace text of v1.1 FDL with an
8 include of the fdl.texi file.
10 2010-06-01 Tristan Gingold <gingold@adacore.com>
12 * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
13 readonly output-section. Handle LIB$INITIALIZE and sections
15 * emultempl/vms.em (vms_place_orphan): Add comments.
17 2010-05-28 Nick Clifton <nickc@redhat.com>
19 * Makefile.am (eshlelf_fd.c): Fix typo in rule.
20 * Makefile.in: Regenerate.
22 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
26 multiple of maximum page size.
28 2010-05-25 Nick Clifton <nickc@redhat.com>
30 * Makefile.am: Fix typo.
31 * Makefile.in: Regenerate.
33 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
34 Joseph Myers <joseph@codesourcery.com>
35 Andrew Stubbs <ams@codesourcery.com>
37 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
38 (eshelf_fd.c, eshlelf_fd.c): New rules.
39 * Makefile.in: Regenerate.
40 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
42 * emulparams/shelf_fd.sh: New file.
43 * emulparams/shlelf_fd.sh: New file.
44 * emulparams/shlelf_linux.sh: Update comment.
46 2010-05-25 Jay Krell <jay.krell@cornell.edu>
49 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
50 * Makefile.in: Regenerate.
52 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
54 * deffilep.y (opt_name): Allow leading dot.
56 (anylang_id): Likewise.
57 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
59 (gld${EMULATION_NAME}_handle_option): Warn about v1.
60 (pep_find_data_imports): Remove superflous warnings about
62 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
63 and active pseudo-relocation-v2 rdata into data section.
64 * emultempl/pe.em (default_merge_rdata): New shell variable.
65 (MERGE_RDATA_V2): New macro.
66 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
69 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
71 * emultempl/pe.em (is_underscoring): New helper function.
72 (gld_${EMULATION_NAME}_before_parse): Replace code
73 for pe(p)_leading_underscore detection by is_underscoring.
75 (GET_INIT_SYMBOL_NAME): Likewise.
79 (gld_${EMULATION_NAME}_set_symbols):
80 * emultempl/pep.em: Likewise.
81 * pe-dll.c (pe_detail_list): Set default
82 underscoring for x64 target.
83 (pe_dll_id_target): Add initialization of
84 pe(p)_leading_underscore.
86 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
88 * pe-dll.c: Removed trailing whitespaces.
90 2010-05-14 Alan Modra <amodra@gmail.com>
93 * ldexp.c (exp_fold_tree_1): If assignment source expression is
94 invalid, make the destination symbol undefined.
96 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
98 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
99 Initialize pe(p)_leading_underscore variable.
100 (set_pe_name): Likewise.
101 * emultempl/pep.em: Likewise.
102 Additional change default to non-underscore for
103 pep_leading_underscore equal to -1.
105 2010-05-07 Tristan Gingold <gingold@adacore.com>
107 * Makefile.in: Regenerate with automake 1.11.1.
110 2010-05-05 Nick Clifton <nickc@redhat.com>
112 * po/es.po: Updated Spanish translation.
114 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
116 * pe-dll.c (_nm_-symbols): Use always underscored variant
118 (__imp_-symbols): Likewise.
119 (___imp_-symbols): Likewise.
120 * NEWS: Mention ABI change for x64 PE-COFF.
122 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
124 * Makefile.am (install-exec-local): Properly install ld as
125 default cross linker.
126 * Makefile.in: Regenerated.
128 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
129 Nick Clifton <nickc@redhat.com>
131 * configure.in (install_as_default): Define and set to true
132 unless --enable-gold=both/gold has been specified.
133 * configure: Regenerate.
135 * Makefile.am (transform): Use ld.bfd as the default name of
137 (install-exec-local): Also install the executable as a binary
138 named 'ld' if install_as_default is true.
139 * Makefile.in: Regenerate.
141 2010-04-22 Nick Clifton <nickc@redhat.com>
143 * po/ld.pot: Updated by the Translation project.
144 * po/vi.po: Updated Vietnamese translation.
145 * po/bg.po: Updated Bulgarian translation.
147 2010-04-15 Andrew Haley <aph@redhat.com>
149 * emultempl/armelf.em (merge_exidx_entries): New variable.
150 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
151 ("no-merge-exidx-entries"): New option.
152 * ld.texinfo (merge-exidx-entries): Document this option.
154 2010-04-14 Tristan Gingold <gingold@adacore.com>
156 * emulparams/alphavms.sh: New file.
157 * emultempl/vms.em: New file.
158 * scripttempl/alphavms.sc: New file.
159 * configure.tgt (alpha*-*-*vms*): Added.
160 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
161 (ealphavms.c): New target.
162 * Makefile.in: Regenerate.
164 2010-04-09 Nick Clifton <nickc@redhat.com>
166 * ldlang.c (wild_sort): Remove unused variable section_name.
168 2010-04-07 Alan Modra <amodra@gmail.com>
170 * configure: Regenerate.
172 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
175 * ld/testsuite/ld-x86-64/unique1.d: New.
176 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
178 * ld-x86-64/x86-64.exp: Run unique1.
180 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
182 * emultempl/pep.em (U): Macro modified.
183 (U_SIZE): New helper macro.
184 (GET_INIT_SYMBOL_NAME): Likewise.
185 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
186 and OPTION_LEADING_UNDERSCORE enumerator-values.
187 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
189 (definfo): Add new member is_c_symbol.
190 (D): Add to macro underscore mode parameter.
191 (init): Add definition for is_c_symbol.
192 (gld_${EMULATION_NAME}_list_options): Display new options.
193 (set_pep_name): Adjust underscoring dependent fixed
195 (gld_${EMULATION_NAME}_set_symbols): Likewise.
196 (saw_option): Likewise.
197 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
198 (set_entry_point): Initial initial_symbol_char dependent to
199 target's default and new option flag pep_leading_underscore.
200 * emultempl/pe.em (U): Macro modified.
201 (U_SIZE): New helper macro.
202 (GET_INIT_SYMBOL_NAME): Likewise.
203 (OPTION_LEADING_UNDERSCORE): Add new option define.
204 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
205 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
207 (definfo): Add new member is_c_symbol.
208 (D): Add to macro underscore mode parameter.
209 (init): Add definition for is_c_symbol.
210 (gld_${EMULATION_NAME}_list_options): Display new options.
211 (set_pep_name): Adjust underscoring dependent fixed
213 (gld_${EMULATION_NAME}_set_symbols): Likewise.
214 (saw_option): Likewise.
215 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
216 (set_entry_point): Initial initial_symbol_char dependent to
217 target's default and new option flag pep_leading_underscore.
218 * pe-dll.c (pe_leading_underscore): New flag variable.
219 (pe_detail_list): Remove const to allow modify of
221 (pe_dll_id_target): Initialize pe_details' underscore variable
222 dependent to target's default and flag pe_leading_underscore.
223 * pe-dll.h (pe_leading_underscore): Add extern declaration of
225 * pep-dll.c (pe_leading_underscore): Add alias define for
226 pep_leading_underscore.
227 * pep-dll.h (pep_leading_underscore) Add extern declaration of
229 * ld.texinfo: Add documentation for --(no-)leading-underscore
232 2010-03-26 Alan Modra <amodra@gmail.com>
235 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
236 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
238 2010-03-25 Joseph Myers <joseph@codesourcery.com>
240 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
242 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
243 * NEWS: Add news entry for TI C6X support.
244 * configure.tgt (tic6x-*-*): New.
245 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
247 2010-03-23 Joseph Myers <joseph@codesourcery.com>
249 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
250 BSS_NAME): Define if not already defined. Use in place of some
251 hardcoded section names.
253 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
255 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
257 2010-03-18 Aymeric Vincent <vincent@labri.fr>
260 * emultempl/sh64elf.em: Add missing EOF.
262 2010-03-18 Doug Semler <dougsemler@gmail.com>
264 * pe-dll.c (make_one): Make text section readonly.
265 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
266 the jump stub on X86 as /SAFESEH compatible for
269 2010-03-17 Alan Modra <amodra@gmail.com>
271 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
272 *prev instead. Update all callers.
274 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
276 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
277 region and phdrs as their placement section.
279 2010-03-15 Alan Modra <amodra@gmail.com>
281 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
282 (ppc_before_allocation): Call sort_toc_sections.
283 (no_toc_sort, OPTION_NO_TOC_SORT): New.
284 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
285 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
287 2010-03-14 Alan Modra <amodra@gmail.com>
290 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
291 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
293 2010-03-11 George Gensure <werkt0@gmail.com>
296 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
298 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
300 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
302 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
303 (eelf32_sparc_sol2.c): New rule.
304 (eelf64_sparc_sol2.c): Likewise.
305 (eelf_x86_64_sol2.c): Likewise.
306 (eelf_i386_sol2.c): Likewise.
307 * Makefile.in: Regenerate.
308 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
310 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
311 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
312 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
313 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
314 Add target_extra_emuls.
315 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
316 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
317 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
318 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
319 * emulparams/elf32_sparc_sol2.sh: New file.
320 * emulparams/elf64_sparc_sol2.sh: New file.
321 * emulparams/elf_i386_sol2.sh: New file.
322 * emulparams/elf_x86_64_sol2.sh: New file.
323 * emultempl/solaris2.em: New file.
325 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
328 * ld.texinfo: Replace explicitely with explicitly.
330 2010-02-27 Jie Zhang <jie@codesourcery.com>
332 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
333 .fini_array.* when do relocatable linking.
334 * scripttempl/elf.sc: Likewise.
335 * scripttempl/elf32sh-symbian.sc: Likewise.
336 * scripttempl/elf64hppa.sc: Likewise.
337 * scripttempl/elfxtensa.sc: Likewise.
339 2010-02-26 Alan Modra <amodra@gmail.com>
341 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
343 * scripttempl/armbpabi.sc: Likewise.
344 * scripttempl/elf32sh-symbian.sc: Likewise.
345 * scripttempl/elf64hppa.sc: Likewise.
346 * scripttempl/elfxtensa.sc: Likewise.
348 2010-02-25 Alan Modra <amodra@gmail.com>
351 * ldlang.c (init_os): Remove isec param. Don't check for
352 bfd_section already set or call bfd_init_private_section_data
354 (exp_init_os): Update init_os call.
355 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
356 flags. Call bfd_init_private_section_data here.
357 (map_input_to_output_sections): Tidy. Update init_os calls.
358 Use os->sectype to select sec flags for lang_data_statement.
360 2010-02-23 Alan Modra <amodra@gmail.com>
363 * ldlang.c: Revert last patch.
365 2010-02-23 Nick Clifton <nickc@redhat.com>
367 * po/bg.po: Updated Bulgarian translation.
369 2010-02-22 Alan Modra <amodra@gmail.com>
372 * ldlang.c (exp_init_os): Delete forward declaration.
373 (init_os): Don't check for bfd_section already created and don't
374 init addr_tree and load_base expressions here.
375 (map_input_to_output_sections): Only map input to output sections
376 and set constraints here, and as an exception, create output
377 sections which have their address set. Move all the other code to..
378 (create_other_output_sections): ..here. New function. Handle init
379 of addr_tree and load_base here too.
380 (lang_process): Call create_other_output_sections.
382 2010-02-19 Alan Modra <amodra@gmail.com>
384 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
385 * Makefile.in: Regenerate.
387 2010-02-19 Alan Modra <amodra@gmail.com>
389 * ldlang.c (unique_section_p): Add os param. Allow group
390 sections to match /DISCARD/. Update all callers.
391 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
392 (LDEMUL_BEFORE_ALLOCATION): Define.
394 2010-02-15 Nick Clifton <nickc@redhat.com>
396 * po/vi.po: Updated Vietnamese translation.
398 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
400 * Makefile.am (CFILES): Add ldlex-wrapper.c.
401 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
402 (ldlex.o): Replace with...
403 (ldlex-wrapper.o): ...this new rule.
404 (EXTRA_ld_new_SOURCES): Add ldlex.l.
405 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
406 * Makefile.in: Regenerate.
407 * ldlex.l (sysdep.h): Don't include here.
408 * ldlex-wrapper.c: New file.
410 2010-02-09 Alan Modra <amodra@gmail.com>
412 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
415 2010-02-05 Nick Clifton <nickc@redhat.com>
417 * configure.in (ALL_LIBGUAS): Add bg.
418 * configure: Regenerate.
419 * po/bg.po: New Bulgarian translation.
421 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
423 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
424 --target1-abs and --target1-rel options.
426 2010-02-03 Nick Clifton <nickc@redhat.com>
428 * emultempl/alphaelf.em: Update value expected from elf_object_id.
429 * emultempl/hppaelf.em: Likewise.
430 * emultempl/mipself.em: Likewise.
431 * emultempl/ppc32elf.em: Likewise.
432 * emultempl/ppc64elf.em: Likewise.
434 2010-02-03 Alan Modra <amodra@gmail.com>
436 * emultempl/ppc64elf.em (build_toc_list): Report errors from
437 ppc64_elf_next_toc_section.
438 (after_allocation): Update for changed function names and params.
439 Run second pass of multitoc partitioning.
441 2010-01-21 Jon Grant <jg@jguk.org>
442 Nick Clifton <nickc@redhat.com>
445 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
446 a missing file or library. Instead mark the entry as missing and
447 set the global flag to indicate that missing files were
449 * ldlang.c (missing_files): New exported variable.
450 (load_symbols): Skip loading if the file is missing.
451 (open_input_bfds): Terminate link if any input files were
453 * ldlang.h (struct lang_input_statement_struct): Add missing_file
455 Add export of missing_file variable.
457 2010-01-13 DJ Delorie <dj@redhat.com>
459 * emultempl/elf32.em (_place_orphan): If an input section doesn't
460 match an existing output section, but an unused output section
461 statement does match, use it.
462 * emultempl/pe.em (_place_orphan): Likewise.
463 * emultempl/pep.em (_place_orphan): Likewise.
465 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
467 * configure: Regenerate.
468 * Makefile.in: Regenerate.
470 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
472 * ldver.c (ldversion): Change to "Copyright 2010".
474 2010-01-08 Alan Modra <amodra@gmail.com>
477 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
479 For older changes see ChangeLog-2009
485 version-control: never