1 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
3 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
4 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
5 and to not skipping .idata* sections.
7 2006-08-16 Alan Modra <amodra@bigpond.net.au>
10 * ldlang.h (lang_output_section_statement_type): Replace
11 "processed" field with "processed_vma" and "processed_lma".
12 * ldlang.c (lang_do_assignments_1): Move lma setting code..
13 (lang_size_sections_1): ..to here.
14 (lang_reset_memory_regions): Adjust for
15 lang_output_section_statement_type change.
16 * ldexp.c (fold_name): Likewise.
18 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
20 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
21 "CONSTANT (MAXPAGESIZE)".
23 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
26 * ldlang.c (lang_section_bst_type): Moved to ...
29 * ldlang.h (lang_wild_statement_struct): Add a tree field.
31 * ldlang.c (wild_sort_fast): Use the tree field for BST.
33 (analyze_walk_wild_section_handler): Initialize the tree field.
35 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
38 * ldlang.c (update_wild_statements): Update the whole wild
41 2006-08-04 Nick Clifton <nickc@redhat.com>
42 Mike Frysinger <michael.frysinger@analog.com>
44 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
45 (__preinit_array_start, __preinit_array_end, __init_array_start,
46 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
47 Use ${USER_LABEL_PREFIX}.
48 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
49 (USER_LABEL_PREFIX): Set.
51 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
53 * ldmain.c (main): Initialise print_gc_sections field of link_info
55 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
57 * ld.texinfo: Document new switches.
58 * NEWS: Mention new switches.
60 2006-08-04 Richard Sandiford <richard@codesourcery.com>
61 Kazu Hirata <kazu@codesourcery.com>
62 Phil Edwards <phil@codesourcery.com>
64 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
66 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
67 * Makefile.in: Regenerate.
68 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
70 * emulparams/shelf_vxworks.sh: New file.
71 * emulparams/shlelf_vxworks.sh: Likewise.
72 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
73 (OTHER_END_SYMBOLS): Likewise _ehdr.
74 (DATA_END_SYMBOLS): Likewise _edata.
75 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
76 is indeed an ELF file before dealing with --force-dynamic.
78 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
81 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
84 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
86 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
87 bfd_make_section_with_flags.
88 (exp_init_os): Updated.
89 (lang_add_section): Call init_os with flags.
90 (map_input_to_output_sections): Likewise.
92 2006-07-29 Richard Sandiford <richard@codesourcery.com>
94 * Makefile.am (eelf32b4300.c): Update dependencies.
95 (eelf32bmip.c): Likewise.
96 (eelf32bsmip.c): Likewise.
97 (eelf32btsmip.c): Likewise.
98 (eelf32btsmipn32.c): Likewise.
99 (eelf32ltsmip.c): Likewise.
100 (eelf32ltsmipn32.c): Likewise.
101 (eelf32ebmip.c): Likewise.
102 (eelf32ebmipvxworks.c): Likewise.
103 (eelf32elmip.c): Likewise.
104 (eelf32elmipvxworks.c): Likewise.
105 (eelf32bmipn32.c): Likewise.
106 (eelf32lmip.c): Likewise.
107 (eelf32mipswindiss.c): Likewise.
108 (eelf32lsmip.c): Likewise.
109 (eelf64bmip.c): Likewise.
110 (eelf64btsmip.c): Likewise.
111 (eelf64ltsmip.c): Likewise.
112 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
113 (emipsbsd.c): Likewise.
114 (emipsidt.c): Update dependencies.
115 (emipsidtl.c): Likewise.
116 (emipslit.c): Likewise.
117 (emipslnews.c): Likewise.
118 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
119 * Makefile.in: Regenerate.
120 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
121 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
122 * emultempl/irix.em: Include emultempl/mipself.em.
123 * emultempl/mipself.em: New file.
125 2006-07-26 Alan Modra <amodra@bigpond.net.au>
127 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
128 layout happens before segment map. Don't do segment map on
131 2006-07-26 Alan Modra <amodra@bigpond.net.au>
133 * ldexp.c (fold_name <LOADADDR>): Use the lma.
134 * ldlang.h (lang_memory_region_type): Delete old_length. Add
136 * ldlang.c (lang_memory_region_lookup): Init new field.
137 (lang_reset_memory_regions): Reset new field.
138 (lang_insert_orphan): Don't set load_base.
139 (lang_leave_overlay): Likewise.
140 (lang_size_sections_1): Delete unnecessary code setting lma_region
141 to region. Correct lma region check.
142 (lang_do_assignments_1): Rename output_section_statement parm
143 to current_os. Set lma from previous section in region.
145 * ldlang.c: Formatting.
147 2006-07-25 Bob Wilson <bob.wilson@acm.org>
149 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
150 Set discarded section's output_section to bfd_abs_section_ptr.
152 2006-07-26 Alan Modra <amodra@bigpond.net.au>
154 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
157 2006-07-24 Bob Wilson <bob.wilson@acm.org>
159 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
160 in dep_sec_name for null terminator. Make sure dep_sec_name has a
163 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
165 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
166 Set for *-*-solaris2*.
168 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
170 * ld.texinfo: Fix spelling mistakes.
171 * ldint.texinfo: Likewise.
173 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
175 * ldlang.c (lang_section_bst): New structure for sorting sections
177 (wild_sort_fast): New function: Insert a section into a binary
179 (output_section_callback_fast): New function: Store a section in
181 (output_section_callback_tree_to_list): New function: Convert a
183 (analyze_walk_wild_section_handler): Initialize handler_data
185 (wild): If the data is sorted by name use the BST method to sort
188 2006-07-19 Alan Modra <amodra@bigpond.net.au>
190 * ld.h (handle_asneeded_cref): Declare.
191 * ldcref.c: Include objalloc.h.
192 (old_table, old_count, old_tab, alloc_mark): New variables.
193 (tabsize, entsize, refsize, old_symcount): Likewise.
194 (add_cref): Use bfd_hash_allocate for refs.
195 (handle_asneeded_cref): New function.
196 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
198 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
200 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
201 typo setting targ_extra_libpath.
203 2006-07-10 Jakub Jelinek <jakub@redhat.com>
205 * scripttempl/elf.sc: Add .gnu.hash section.
206 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
207 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
208 (gld${EMULATION_NAME}_handle_option): Handle it.
209 (gld${EMULATION_NAME}_list_options): Document it.
210 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
211 * ld.texinfo: Document --hash-style option.
213 2006-07-10 Nick Clifton <nickc@redhat.com>
215 * po/zh_TW.po: New Chinese (traditional) translation.
216 * configure.in (ALL_LINGUAS): Add zh_TW.
217 * configure: Regenerate.
219 2006-07-07 Nick Clifton <nickc@redhat.com>
222 * ld.texinfo: Remove "Using LD" from the title since it is
225 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
228 * ld.texinfo: Fix spelling mistakes.
230 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
231 Nick Clifton <nickc@redhat.com>
233 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
234 length of format strings in the libname_fmt[] array, rather than
235 relying upon a statically chosen value. Adjust xmalloc call to
236 use this longest length.
238 2006-06-27 Nick Clifton <nickc@redhat.com>
240 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
243 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
245 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
248 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
250 * pe-dll.c (pe_details_type): Add new pointer for symbols list
252 (autofilter_symbollist): Split into autofilter_symbollist_generic
253 and autofilter_symbollist_i386.
254 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
255 autofilter_symbollist_generic for all the others.
256 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
257 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
258 into autofilter_symbollist_i386.
259 (auto_export): Get autofilter_symbollist from pe_details.
261 2006-06-22 Nick Clifton <nickc@redhat.com>
264 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
265 output files mention the file name and the fact that it is an
268 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
270 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
271 Restructure. Add native "%s.lib" format to search list
272 * ld.texinfo (node WIN32): Update documentation on dynamic lib
273 search order. Add another reason for using import libs.
275 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
277 * ldlang.c (lang_insert_orphan): Correctly handle the case where
278 the section is to end up after the section currently at the end
279 of the list in output_bfd.
281 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
283 * emultempl/mmo.em: Improve comments. Explain why there's
286 2006-06-21 Alan Modra <amodra@bigpond.net.au>
288 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
289 loop to ten iterations. Throw away any previous linker generated
291 * ldlang.c (lang_phdr_list): Make global.
292 * ldlang.h (lang_phdr_list): Declare.
293 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
294 * Makefile.in: Regenerate.
296 2006-06-20 Alan Modra <amodra@bigpond.net.au>
298 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
299 many ELF emul file deps that incorrectly said they needed elf32.em
300 instead of generic.em. Add genelf.em as required.
301 * Makefile.in: Regenerate.
302 * ldlang.c (lang_process): Call ldemul_finish before
303 lang_check_section_addresses.
304 * emulparams/arcelf.sh: Generic elf target needs genelf.
305 * emulparams/d30v_e.sh: Likewise.
306 * emulparams/d30v_o.sh: Likewise.
307 * emulparams/d30velf.sh: Likewise.
308 * emulparams/elf32_dlx.sh: Likewise.
309 * emulparams/elf32_i860.sh: Likewise.
310 * emulparams/elf32fr30.sh: Likewise.
311 * emulparams/elf32frv.sh: Likewise.
312 * emulparams/elf32iq10.sh: Likewise.
313 * emulparams/elf32iq2000.sh: Likewise.
314 * emulparams/elf32mt.sh: Likewise.
315 * emulparams/mn10200.sh: Likewise.
316 * emulparams/or32.sh: Likewise.
317 * emulparams/or32elf.sh: Likewise.
318 * emulparams/pjelf.sh: Likewise.
319 * emulparams/msp430all.sh: Likewise. Extract common entries.
320 * emulparams/pjlelf.sh: Include pjelf.sh.
321 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
322 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
323 * emultempl/elf-generic.em: New file.
324 * emultempl/genelf.em: New file.
325 * emultempl/elf32.em: Include elf-generic.em.
326 (gld${EMULATION_NAME}_layout_sections_again): Delete.
327 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
328 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
329 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
330 gld${EMULATION_NAME}_map_segments.
331 (LDEMUL_FINISH): Update.
332 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
333 source elf-generic.em.
334 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
335 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
336 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
337 gld${EMULATION_NAME}_map_segments.
338 (LDEMUL_FINISH): Update.
340 2006-06-19 Alan Modra <amodra@bigpond.net.au>
342 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
344 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
346 * ld.texinfo: Document new -z lazy option.
347 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
349 (gld${EMULATION_NAME}_list_options): Update help text.
351 2006-06-12 Fred Fish <fnf@specifix.com>
353 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
354 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
355 generated by mips gcc.
357 2006-06-12 Thiemo Seufer <ths@mips.com>
359 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
362 2006-06-09 Alan Modra <amodra@bigpond.net.au>
364 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
365 * ldlang.c (struct out_section_hash_entry): Rename from
366 output_statement_hash_entry. Delete output_section_statement_type
367 entry. Add statement_union_type entry. Adjust all users.
368 (output_section_statement_table): Rename from output_statement_table.
370 (output_section_statement_newfunc): Rename from
371 output_statement_newfunc. Adjust all users.
372 (output_section_statement_table_init): Rename from
373 output_statement_table_init. Adjust all users.
374 (output_section_statement_table_free): Rename from
375 output_statement_table_free. Adjust all users.
377 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
379 * po/Make-in (pdf, ps): New dummy targets.
381 2006-06-07 Alan Modra <amodra@bigpond.net.au>
383 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
384 info_section and overlay_section. Add noalloc_section.
385 * ldlang.c (lang_add_section): Adjust.
386 * ldgram.y (type): Adjust.
388 2006-06-06 Alan Modra <amodra@bigpond.net.au>
390 * ldlang.c (init_os): Whitespace.
391 (map_input_to_output_sections): Don't init_os for lang_input_section.
392 (print_all_symbols): Remove forward declaration. Convert to ISO C.
394 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
396 * po/Make-in (top_builddir): Define.
398 2006-06-05 Alan Modra <amodra@bigpond.net.au>
400 * ldexp.c (exp_get_abs_int): Make error message the same as
401 others emitted in this file.
403 2006-06-05 Alan Modra <amodra@bigpond.net.au>
405 * config.in: Regenerate.
407 2006-06-05 Alan Modra <amodra@bigpond.net.au>
409 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
411 2006-06-03 Alan Modra <amodra@bigpond.net.au>
413 * emultempl/elf32.em (global_found): Make it a pointer.
414 (stat_needed, try_needed): Adjust.
415 (check_needed): Don't skip non-loaded as-needed entries. Only
416 consider entries with both filename and the_bfd non-null.
417 (after_open): Try loading non-loaded as-needed libs to satisfy
420 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
422 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
423 * Makefile.in: Regenerate.
425 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
427 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
428 and LIBINTL_DEP everywhere.
430 (INCLUDES): Use @INCINTL@.
431 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
432 Remove local code for po/Makefile.
433 * Makefile.in, configure: Regenerated.
435 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
437 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
438 "CONSTANT (MAXPAGESIZE)".
439 * emulparams/armelf_nbsd.sh: Likewise.
440 * emulparams/armelf_vxworks.sh: Likewise.
441 * emulparams/armnto.sh: Likewise.
442 * emulparams/armsymbian.sh: Likewise.
443 * emulparams/crislinux.sh: Likewise.
444 * emulparams/elf32_i860.sh: Likewise.
445 * emulparams/elf32_i960.sh: Likewise.
446 * emulparams/elf32am33lin.sh: Likewise.
447 * emulparams/elf32bfinfd.sh: Likewise.
448 * emulparams/elf32bmipn32-defs.sh: Likewise.
449 * emulparams/elf32frvfd.sh: Likewise.
450 * emulparams/elf32i370.sh: Likewise.
451 * emulparams/elf32lppcnto.sh: Likewise.
452 * emulparams/elf32mcore.sh: Likewise.
453 * emulparams/elf32openrisc.sh: Likewise.
454 * emulparams/elf32ppcnto.sh: Likewise.
455 * emulparams/elf32ppcwindiss.sh: Likewise.
456 * emulparams/elf32vax.sh: Likewise.
457 * emulparams/elf32xc16x.sh: Likewise.
458 * emulparams/elf32xc16xl.sh: Likewise.
459 * emulparams/elf32xc16xs.sh: Likewise.
460 * emulparams/elf64_aix.sh: Likewise.
461 * emulparams/elf64hppa.sh: Likewise.
462 * emulparams/elf64mmix.sh: Likewise.
463 * emulparams/elf_i386_be.sh: Likewise.
464 * emulparams/elf_i386_chaos.sh: Likewise.
465 * emulparams/elf_i386_ldso.sh: Likewise.
466 * emulparams/hppa64linux.sh: Likewise.
467 * emulparams/hppalinux.sh: Likewise.
468 * emulparams/hppaobsd.sh: Likewise.
469 * emulparams/i386lynx.sh: Likewise.
470 * emulparams/i386moss.sh: Likewise.
471 * emulparams/i386nto.sh: Likewise.
472 * emulparams/i386nw.sh: Likewise.
473 * emulparams/m32relf_linux.sh: Likewise.
474 * emulparams/m68kpsos.sh: Likewise.
475 * emulparams/or32elf.sh: Likewise.
476 * emulparams/pjelf.sh: Likewise.
477 * emulparams/pjlelf.sh: Likewise.
478 * emulparams/ppclynx.sh: Likewise.
479 * emulparams/ppcnw.sh: Likewise.
480 * emulparams/shelf32_nbsd.sh : Likewise.
481 * emulparams/shelf_nbsd.sh: Likewise.
482 * emulparams/shelf_nto.sh: Likewise.
483 * emulparams/shlelf_nto.sh: Likewise.
484 * emulparams/xtensa-config.sh: Likewise.
486 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
487 "CONSTANT (MAXPAGESIZE)".
488 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
489 * emulparams/elf32_sparc.sh: Likewise.
490 * emulparams/elf32bmip.sh: Likewise.
491 * emulparams/elf32ppccommon.sh: Likewise.
492 * emulparams/elf64_ia64.sh: Likewise.
493 * emulparams/elf64_s390.sh: Likewise.
494 * emulparams/elf64_sparc.sh: Likewise.
495 * emulparams/elf64alpha.sh: Likewise.
496 * emulparams/elf64ppc.sh: Likewise.
497 * emulparams/elf_i386.sh: Likewise.
498 * emulparams/elf_i386_vxworks.sh: Likewise.
499 * emulparams/elf_s390.sh: Likewise.
500 * emulparams/elf_x86_64.sh: Likewise.
501 * emulparams/shlelf32_linux.sh: Likewise.
502 * emulparams/shlelf_linux.sh: Likewise.
504 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
505 "CONSTANT (COMMONPAGESIZE)".
506 * emulparams/elf32btsmipn32.sh: Likewise.
508 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
509 "-z max-page-size=" and "-z common-page-size=".
510 (gld${EMULATION_NAME}_list_options): Likewise.
512 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
514 * ld.texinfo: Document "-z max-page-size=" and
515 "-z common-page-size=".
517 * ldexp.c (exp_print_token): Handle CONSTANT.
518 (fold_name): Likewise.
519 * ldgram.y: Likewise.
522 * ldmain.c (main): Initiliaze config.maxpagesize and
523 config.commonpagesize. Call bfd_emul_set_maxpagesize if
524 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
525 config.commonpagesize config.maxpagesize isn't 0.
527 2006-05-30 Nick Clifton <nickc@redhat.com>
529 * po/es.po: Updated Spanish translation.
531 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
533 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
535 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
538 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
539 bfd. Support 64bit host for --enable-targets=all.
540 * configure: Regenerated.
542 2006-05-24 Nick Clifton <nickc@redhat.com>
544 * po/vi.po: Updated Vietnamese translation.
546 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
548 * configure.tgt: Add avr6 to emulation list.
549 * Makefile.am: Add eavr6.o and corresponding rule.
550 * Makefile.in: Regenerate.
551 * emulparams/avr6.sh: New file.
552 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
553 for target option support.
554 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
555 * scripttempl/avr.sc: Add ".trampolines" section.
556 * emultempl/avrelf.em: Add new file for target specific options.
558 2006-05-22 Nick Clifton <nickc@redhat.com>
560 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
562 2006-05-19 Alan Modra <amodra@bigpond.net.au>
564 * ldlang.c (lang_size_sections_1): Don't check mem regions for
565 os->ignored sections.
567 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
569 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
570 before redoing one_lang_size_sections_pass.
572 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
574 * ld.texinfo: Rename "Index" to "LD Index"
576 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
578 * pe-dll.c (autofilter_symbollist): Add Dllmain,
579 DllMainCRTStartup, _DllMainCRTStartup and .text.
580 (autofilter_liblist): Add libcegcc.
581 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
582 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
583 they can still contain relocs that need processing.
584 Skip the .idata$6 section.
585 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
586 (make_one): Use the new array.
587 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
588 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
590 2006-05-05 Alan Modra <amodra@bigpond.net.au>
592 * ld.texinfo: Document PowerPC and PowerPC64 options.
593 * gen-doc.texi: Enable.
595 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
597 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
598 (TEXI2POD): Use AM_MAKEINFOFLAGS.
599 (configdoc.texi): Don't set top_srcdir.
600 * ld.texinfo: Don't use top_srcdir.
601 * aclocal.m4, Makefile.in: Regenerated.
603 2006-04-19 Alan Modra <amodra@bigpond.net.au>
605 * ldlang.c (wild): Tidy default_common_section loop.
606 (print_input_section): Format.
608 * configure: Regenerate.
610 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
612 * po/POTFILES.in: Regenerated.
614 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
616 * config.in: Regenerated.
618 2006-04-14 David Heine <dlheine@tensilica.com>
619 Bob Wilson <bob.wilson@acm.org>
621 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
622 function to strip inconsistent linkonce sections.
623 (input_section_linked_worker, input_section_linked): New.
624 (is_inconsistent_linkonce_section): New.
625 (xtensa_strip_inconsistent_linkonce_sections): New.
627 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
629 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
630 and Dragonfly targets.
631 * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
632 * Makefile.am (HFILES): Add elf-hints-local.h.
633 * elf-hints-local.h: New file.
634 * Makefile.in: Regenerate.
635 * configure: Regenerate.
637 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
639 * ld.texinfo: Fix typo in documentation of --check-sections.
641 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
643 * ldlang.c (load_symbols): Set as_needed and add_needed according
644 to the corresponding script's fields while processing it.
646 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
648 * Makefile.am: Add install-html, install-html-am, and
649 install-html-recursive targets.
650 * Makefile.in: Regenerate.
651 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
652 * configure: Regenerate.
653 * po/Make-in: Add install-html target.
655 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
657 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
658 link_info.need_relax_finalize.
660 * ldlang.c (relax_sections): New.
661 (lang_process): Use. Call relax_sections link_info.relax_pass
664 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
665 link_info.need_relax_finalize.
667 2006-04-05 Alan Modra <amodra@bigpond.net.au>
669 * Makefile.am (GENSCRIPTS): Pass prefix.
670 * Makefile.in: Regenerate.
671 * genscripts.sh: Adjust for extra parameter.
672 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
674 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
677 2006-04-05 Richard Sandiford <richard@codesourcery.com>
678 Daniel Jacobowitz <dan@codesourcery.com>
680 * configure.tgt (sparc*-*-vxworks*): New stanza.
681 * emulparams/elf32_sparc_vxworks.sh: New file.
682 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
683 (eelf32_sparc_vxworks.c): New rule.
684 * Makefile.in: Regenerate.
686 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
688 * ldlang.c (lang_map): Print the list of discarded input sections.
689 (print_input_section): Change parameter and print zero-sized sections.
690 (print_statement): Adjust call to print_input_section.
692 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
694 * deffilep.y (def_image_name): If LIBRARY or NAME statement
695 specifies an empty string, retain the name specified on command
697 * ld.texinfo: Document above.
699 2006-03-31 Jakub Jelinek <jakub@redhat.com>
701 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
702 bfd_find_nearest_line succeeded for %C or %D, but filename
703 is NULL, print section+offset at the end.
705 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
707 * emulparams/elf32bfinfd.sh: New file.
708 * emultempl/bfin.em: Delete.
709 * emulparams/bfin.sh: Lose reference to bfin.em.
710 * Makefile.am (eelf32bfin.c): Likewise.
711 (eelf32bfinfd.c): New.
712 * Makefile.in: Regenerate.
713 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
716 2006-03-22 Richard Sandiford <richard@codesourcery.com>
717 Daniel Jacobowitz <dan@codesourcery.com>
718 Phil Edwards <phil@codesourcery.com>
719 Zack Weinberg <zack@codesourcery.com>
720 Mark Mitchell <mark@codesourcery.com>
721 Nathan Sidwell <nathan@codesourcery.com>
723 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
724 separate VxWorks emulations.
725 * emulparams/elf32ebmipvxworks.sh: New file.
726 * emulparams/elf32elmipvxworks.sh: New file.
727 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
728 eelf32elmipvxworks.o.
729 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
730 * Makefile.in: Regenerate.
732 2006-03-16 Alan Modra <amodra@bigpond.net.au>
735 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
736 * ldlang.c (output_statement_table_init, lang_init): Likewise.
737 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
738 (undefined_symbol): Likewise.
740 2006-03-07 Richard Sandiford <richard@codesourcery.com>
741 Daniel Jacobowitz <dan@codesourcery.com>
742 Zack Weinberg <zack@codesourcery.com>
743 Nathan Sidwell <nathan@codesourcery.com>
744 Paul Brook <paul@codesourcery.com>
745 Ricardo Anguiano <anguiano@codesourcery.com>
746 Phil Edwards <phil@codesourcery.com>
748 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
749 (MAXPAGESIZE): Define.
750 * emulparams/vxworks.sh: Undefine EMBEDDED.
751 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
752 * Makefile.in: Regenerate.
754 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
756 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
757 Add KEEP() directives.
758 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
759 .bss output sections.
761 2006-03-03 Richard Sandiford <richard@codesourcery.com>
763 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
764 (EXTRA_EM_FILE): Define.
765 * emultempl/vxworks.em: New file.
766 * ld.texinfo (--force-dynamic): Document.
767 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
769 * Makefile.in: Regenerate.
771 2006-03-02 Richard Sandiford <richard@codesourcery.com>
773 * emulparams/elf32ppccommon.sh: New file, extracted from...
774 * emulparams/elf32ppc.sh: ...here.
775 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
776 instead of elf32ppc.sh.
777 (BSS_PLT): Remove override.
778 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
779 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
780 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
781 (eelf32ppclinux.c): Likewise.
782 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
783 * Makefile.in: Regenerate.
785 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
787 * Makefile.am: Add html target.
788 * Makefile.in: Regenerate.
789 * po/Make-in: Add html target.
791 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
792 Anil Paranjape <anilp1@kpitcummins.com>
793 Shilin Shakti <shilins@kpitcummins.com>
795 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
796 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
797 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
798 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
799 * emulparams/elf32xc16xl.sh: Emulation script for large model.
800 * emulparams/elf32xc16xs.sh: Emulation script for small model.
801 * Makefile.am: Add entry to make xc16x target.
802 * Makefile.in: Regenerate.
803 * configure.tgt: Specify default and other emulation parameters
805 * NEWS: Announce the support for the new target.
807 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
809 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
810 Use the traditional target.
812 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
814 * configure.tgt (arm*b-*-linux-gnueabi): Change to
816 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
818 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
821 * NEWS: Updated for the Linux linker search order change.
823 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
824 gld${EMULATION_NAME}_check_ld_so_conf before checking default
825 search directories for DT_NEEDED entries.
827 2006-02-07 Paul Brook <paul@codesourcery.com>
829 * emultempl/armelf.em: Include elf/arm.h.
830 (arm_elf_finish): Set low address bit if enty point is a Thumb
833 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
835 * deffilep.y (def_image_name): If the image name does not have
836 a suffix, append the default.
837 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
839 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
841 * NEWS: Mention support for forward exports in PE-COFF dll's.
842 * ld.texinfo: Expand documentation of EXPORT statements in
845 2006-01-31 Filip Navara <navaraf@reactos.com>
847 * deffile.h (struct def_file_export): Add field flag_forward.
848 * pe-dll.c (process_def_file): Check for forward exports.
849 (generate_edata): Generate forward export symbols.
850 (fill_edata): Emit them.
852 * pe-dll.c (process_def_file): Don't crash on malformed
853 fastcall symbol names in .def file.
855 2006-01-30 Nick Clifton <nickc@redhat.com>
857 * po/vi.po: Updated Vietnamese translation.
859 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
861 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
862 file:" as informational message, not a warning.
864 2006-01-18 Roger Sayle <roger@eyesopen.com>
866 * emultempl/irix.em: Use lbasename instead of basename.
868 2006-01-16 Nick Clifton <nickc@redhat.com>
870 * po/zh_CN.po: New Chinese (simplified) translation.
871 * configure.in (ALL_LINGUAS): Add "zh_CH".
872 * configure: Regenerate.
874 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
876 * ld.texinfo (Options): Fix typo.
878 For older changes see ChangeLog-2005
884 version-control: never