+2005-04-06 Jakub Jelinek <jakub@redhat.com>
+
+ * ldlang.c: Formatting.
+ (walk_wild_consider_section): Remember return value from wildcardp.
+ (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
+ (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
+
+2005-04-06 Robert O'Callahan <rocallahan@novell.com>
+
+ * ld.h (lean_section_userdata_type): Remove.
+ (fat_section_userdata_type): Remove file field.
+ (SECTION_USERDATA_SIZE): Remove.
+ * ldlang.c (init_os): Eliminate initialization of unused
+ lean_section_userdata_type.
+
+ * ldlang.h (callback_t, walk_wild_section_handler_t): New
+ typedefs.
+ (struct lang_wild_statement_struct): Add walk_wild_section_handler
+ and handler_data fields.
+ * ldlang.c (callback_t): Removed.
+ (walk_wild_consider_section, walk_wild_section_general,
+ section_iterator_callback, find_section, is_simple_wild,
+ match_simple_wild, walk_wild_section_specs1_wild0,
+ walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
+ walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
+ wild_spec_can_overlap, analyze_walk_wild_section_handler): New
+ functions.
+ (lang_add_wild): Call analyze_walk_wild_section_handler.
+ (walk_wild_section): Renamed to walk_wild_section_general and
+ created a wrapper function.
+ (section_iterator_callback_data): New typedef.
+
+2005-04-04 Nick Clifton <nickc@redhat.com>
+
+ * configure.in: Add a check for <unistd.h> providing a prototype
+ for getopt() which is compatible with the one in
+ include/getopt.h. If so then define HAVE_DECL_GETOPT.
+ * configure: Regenerate.
+ * config.in (HAVE_DECL_GETOPT): Add.
+ * ldemul.c: Include config.h
+ * lexsup.c: Likewise.
+ * emultempl/elf32.sc: Likewise.
+
+2005-03-29 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
+ New function, extracted from static void gld${EMULATION_NAME}_finish.
+ (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
+ (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
+ * emultempl/ppc64elf.em: Revert last change.
+ (ppc_layout_sections_again): Use
+ gld${EMULATION_NAME}_layout_sections_again.
+ (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
+ gld${EMULATION_NAME}_strip_empty_sections and
+ gld${EMULATION_NAME}_provide_init_fini_syms.
+ * emultempl/hppaelf.em: Similarly.
+
+2005-03-29 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
+ (ppc_finish): Don't call bfd_elf_discard_info.
+ * emultempl/hppaelf.em: Similarly.
+
+2005-03-24 Nick Clifton <nickc@redhat.com>
+
+ * po/fr.po: Updated French translation.
+
+2005-03-23 Mike Frysinger <vapier@gentoo.org>
+ Nick Clifton <nickc@redhat.com>
+
+ * configure.host: Accept any C library to accompany a GNU Linux
+ implementation, not just the GNU C library.
+ * configure.tgt: Likewise.
+ * emultempl/elf32.em: Likewise.
+
+2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
+ (gld${EMULATION_NAME}_finish): Call
+ gld${EMULATION_NAME}_provide_bound_symbols to provide
+ __preinit_array_start, __preinit_array_end, __init_array_start,
+ __init_array_end, __fini_array_start and __fini_array_end.
+
+ * scripttempl/elf.sc: Don't provide __preinit_array_start,
+ __preinit_array_end, __init_array_start, __init_array_end,
+ __fini_array_start nor __fini_array_end.
+
+2005-03-23 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
+ SEC_EXCLUDE on .gnu.warning sections.
+
+2005-03-22 Alan Modra <amodra@bigpond.net.au>
+
+ * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
+ function.
+ (LDEMUL_AFTER_ALLOCATION): Define.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/ppc64elf.em (ppc_finish): Rename from
+ gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
+ (LDEMUL_FINISH): Update.
+ * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
+ * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
+
+2005-03-18 Julian Brown <julian@codesourcery.com>
+
+ * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
+ .rel.fini_array.
+ (.rela.dyn): Add .rela.init_array, .rela.fini_array.
+ (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
+
+2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
+ bfd_section when removing unused empty output sections for
+ non-relocatable link.
+
+2005-03-19 Alan Modra <amodra@bigpond.net.au>
+
+ * ldlang.c (lang_insert_orphan): Use old section_tail rather than
+ traversing the bfd section list to find pointer to new section.
+
+2005-03-18 Alan Modra <amodra@bigpond.net.au>
+
+ * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
+ input sections into .sdata and .sbss output respectively.
+
+2005-03-16 David Heine <dlheine@tensilica.com>
+ Bob Wilson <bob.wilson@acm.org>
+
+ * ldlang.c (IGNORE_SECTION): Remove check for zero size.
+ (lang_check_section_addresses): Ignore zero size sections here.
+
+2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
+ unused empty output sections for non-relocatable link.
+
+ * ld.h (args_type): Remove gc_sections.
+
+ * ldlang.c (lang_mark_used_section): New.
+ (lang_gc_sections): Use link_info.gc_sections instead of
+ command_line.gc_sections.
+ * ldmain.c (main): Likewise.
+ * lexsup.c (parse_args): Likewise.
+ * ldlang.c (lang_process): Call lang_mark_used_section.
+
+ * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
+
+2005-03-16 Nick Clifton <nickc@redhat.com>
+ Ben Elliston <bje@au.ibm.com>
+
+ * configure.in (werror): New switch: Add -Werror to the
+ compiler command line. Enabled by default. Disable via
+ --disable-werror.
+ * configure: Regenerate.
+
+2005-03-16 Alan Modra <amodra@bigpond.net.au>
+
+ * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
+ (OTHER_RELRO_SECTIONS): Set this instead.
+
+2005-03-15 Nick Clifton <nickc@redhat.com>
+
+ * NEWS: Add cutoff for changes in 2.16 release.
+
+2005-03-15 Mikkel Krautz <krautz@gmail.com>
+
+ * configure.tgt (x86_64-elf): Add target.
+
+2005-03-15 Alan Modra <amodra@bigpond.net.au>
+
+ * po/es.po: Commit new Spanish translation.
+
+2005-03-14 Alan Modra <amodra@bigpond.net.au>
+
+ * ldexp.c (exp_fold_tree): Ensure return value is initialized.
+ Tidy etree_assert case.
+
+2005-03-14 Alan Modra <amodra@bigpond.net.au>
+
+ * po/tr.po: Commit new Turkish translation.
+
+2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
+ * Makefile.in: Regenerated.
+ * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
+
+2005-03-07 Nick Clifton <nickc@redhat.com>
+
+ * po/fr.po: Updated translation.
+
+2005-03-05 Alan Modra <amodra@bigpond.net.au>
+
+ * po/ld.pot: Regenerate.
+
+2005-03-02 Jan Beulich <jbeulich@novell.com>
+
+ * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
+ * pe-dll.c (pe_dll_generate_implib): Likewise.
+
+2005-02-24 Ben Elliston <bje@au.ibm.com>
+
+ * ldfile.c: Remove GNU960 conditional code.
+ * emultempl/gld960.em: Likewise.
+ * emultempl/gld960c.em: Likewise.
+ * emultempl/lnk960.em: Likewise.
+
+2005-02-24 Nick Clifton <nickc@redhat.com>
+
+ * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
+ empty string from calls to concat.
+
+2005-02-23 Nick Clifton <nickc@redhat.com>
+
+ * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
+ arguments passed to concat() with a NULL.
+
+ * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
+ define types needed by ldfile.h
+
+2005-02-23 Alan Modra <amodra@bigpond.net.au>
+
+ * pe-dll.c: Warning fixes.
+ * emultempl/sunos.em: Likewise.
+
+2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * ldlang.c (section_already_linked): Don't call
+ bfd_section_already_linked for dynamic objects.
+
+2005-02-22 Alan Modra <amodra@bigpond.net.au>
+
+ * ldexp.c: Warning fixes.
+ * ldwrite.c: Likewise.
+ * emultempl/elf32.em: Likewise.
+
+2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
+ tic54x input only.
+ (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
+ and ECOFF output only.
+
+2005-02-21 Alan Modra <amodra@bigpond.net.au>
+
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2005-02-17 Zack Weinberg <zack@codesourcery.com>
+
+ * ldexp.c (assigning_to_dot): New global flag.
+ (fold_name): If assigning_to_dot is true, object immediately to
+ an undefined symbol.
+ (exp_fold_tree): Set and clear assigning_to_dot around the
+ recursive call to exp_fold_tree to process the right-hand side
+ of an assignment to the location counter.
+
+2005-02-17 Paul Brook <paul@codesourcery.com>
+
+ * scripttempl/armbpabi.sc: Add dummy name to version block.
+
+2005-02-17 Alan Modra <amodra@bigpond.net.au>
+
+ * ldexp.c (new_abs): Init new.str.
+
+2005-02-15 Mark Mitchell <mark@codesourcery.com>
+
+ * configure.in (AC_CHECK_FUNCS): Add glob.
+ * configure: Regenerated.
+ * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
+ not defined.
+ (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
+ if HAVE_GLOB is not defined.
+
+2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
+ lib_path if NATIVE is yes.
+
+2005-02-16 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
+ an error creating fake bfd fatal.
+ (ppc_before_allocation): Continue on after errors.
+ (gld${EMULATION_NAME}_finish): Likewise.
+
+2005-02-15 Nick Clifton <nickc@redhat.com>
+
+ * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
+ not declared. It is not used and its presence causes a compile
+ time warning.
+
+2005-02-11 Zack Weinberg <zack@codesourcery.com>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
+ If st.st_ino is zero, do not treat the library as a duplicate.
+
+2005-02-10 Jakub Jelinek <jakub@redhat.com>
+
+ * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
+ Set BFD_LINKER_CREATED on the stubs bfd.
+ * emultempl/ppc64elf.em (ppc_create_output_section_statements):
+ Likewise.
+
+2005-02-08 Mark Mitchell <mark@codesourcery.com>
+
+ * scripttempl/armbpabi.sc (VERSION): Make special section symbols
+ local.
+ (Image$$ER_RO$$Base): Define whenever RELOCATING.
+ (Image$$ER_RO$$Limit): Likewise.
+ (SHT$$INIT_ARRAY$$Base): Likewise.
+ (SHT$$INIT_ARRAY$$Limit): Likeise.
+
+2005-02-10 Ben Elliston <bje@au.ibm.com>
+
+ * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
+
+2005-02-08 Richard Sandiford <rsandifo@redhat.com>
+
+ * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
+ to include o32 and n64 emulations.
+ (mips64*-*-linux-gnu*): Likewise.
+
+2005-02-08 Hans-Peter Nilsson <hp@axis.com>
+
+ * ldmain.c (warning_callback, warning_find_reloc): Prepend
+ "warning: " to warning messages.
+
+2005-02-04 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
+ look up symbol for etree_provide here.
+
+2005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
+
+2005-02-01 Edward Welbourne <eddy@opera.com>
+ Nick Clifton <nickc@redhat.com>
+
+ * ld.texinfo (Source Code Reference): New node describing how to
+ access linker script defined variables from source code.
+
+2005-02-01 Alan Modra <amodra@bigpond.net.au>
+
+ * ld.texinfo: Clarify --as-needed operation.
+
+2005-01-31 Andrew Cagney <cagney@gnu.org>
+
+ * configure: Regenerate to track ../gettext.m4.
+
2005-01-31 Nick Clifton <nickc@redhat.com>
* ldver.c (ldversion): Bump reported copyright date to 2005.
(PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
(PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
(PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
- (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
+ (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
* NEWS: Mention --fix-v4bx.
* ld.texinfo: Document --fix-v4bx.
* ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
Put .init_array, .fini_array, etc. into the read-only data
- segment.
-
+ segment.
+
2005-01-25 Alan Modra <amodra@bigpond.net.au>
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.