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