Rename switch to enable/disable -Werror to --enable-werror/--disable-werror
[deliverable/binutils-gdb.git] / ld / ChangeLog
index b8a5e7d1ef3e7d26335803a1602fc4c76be2db25..e47e8ca135f8586b678457eef62763714cee79e9 100644 (file)
@@ -1,3 +1,397 @@
+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.
+
+2005-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * configure.tgt: Remove obsolete targets m68k-lynxos and
+       sparc-lynxos.
+
+2005-01-28  Julian Brown  <julian@codesourcery.com>
+
+       * emultempl/armelf.em (fix_v4bx): New variable.
+       (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
+       value to bfd.
+       (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.
+       * NEWS: Mention --fix-v4bx.
+       * ld.texinfo: Document --fix-v4bx.
+
+2005-01-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
+       as to include .ARM.exidx$${Base,Limit}.
+       * 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.
+
+2005-01-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
+       (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
+       only needed by an as-needed lib that didn't get linked.
+
+2005-01-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
+       __DTOR_LIST__ description.
+
+2005-01-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo (Location Counter <dot outside sections>): Document
+       effects of orphan section placement, and ". = ." workaround.
+       * Makefile.in: Regenerate.
+
+2005-01-22  Richard Sandiford  <rsandifo@redhat.com>
+
+       * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
+       * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
+
+2005-01-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldgram.y (AS_NEEDED): New token.
+       (input_list): Handle AS_NEEDED ( input_list ).
+       * ldlex.l (AS_NEEDED): Add.
+       * ld.texinfo: Document AS_NEEDED ().
+       * NEWS: Mention AS_NEEDED ().
+
+2005-01-21  Ben Elliston  <bje@au.ibm.com>
+
+       * ldlang.c (lang_reasonable_defaults): Remove.
+       (lang_process): Don't call lang_reasonable_defaults.
+
+       * ldexp.c (exp_assop): Remove #if 0'd code.
+       (exp_print_tree): Likewise.
+       * ldlang.c (lang_memory_region_lookup): Likewise.
+       (open_output): Likewise.
+       (lang_do_assignments_1): Likewise.
+       (lang_place_orphans): Likewise.
+       (lang_enter_output_section_statement): Likewise.
+       (lang_reasonable_defaults): Likewise.
+       * ldlang.h (struct lang_input_statement_struct): Likewise.
+       * mri.c (mri_draw_tree): Likewise.
+       (mri_load): Likewise.
+       * pe-dll.c (generate_reloc): Likewise.
+       (make_import_fixup_entry): Likewise.
+       (pe_as16): Likewise.
+       * emultempl/beos.em (set_pe_subsystem): Likewise.
+       * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
+
+2005-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
+       (earmelfb_linux_eabi.c): New target.
+       * Makefile.in: Regenerated.
+       * configure.tgt (arm*b-*-linux-gnueabi): New target.
+       * emulparams/armelfb_linux_eabi.sh: New file.
+
+2005-01-20  Nick Hudson  <skrll@netbsd.org>
+
+       PR ld/676
+       * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
+       Handle bfd_elf32_hppa_nbsd_vec.
+
+2005-01-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * ldmain.h (ld_sysroot): Change type to a constant string.
+       * ldmain.c (ld_sysroot): Likewise.
+       (get_relative_sysroot, get_sysroot): New functions, adding command-line
+       support for changing the sysroot.
+       (main): Call the new functions.
+       * lexsup.c (OPTION_SYSROOT): New.
+       (ld_options): Add --sysroot.
+       (parse_args): Add a dummy handler for it.
+       * ld.texinfo (--sysroot): Document.
+       * NEWS: Mention the new --sysroot option.
+
+2005-01-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
+       (lang_place_orphans): Don't abort on just_syms_flag, instead call
+       bfd_link_just_syms.
+
+2005-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * defilep.y (def_name, def_library): Combine into...
+       (def_image_name): New function.  Strip name to basename,
+       with warning.
+
+2005-01-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Be sure to invoke config.sub using the shell.
+       * configure: Regenerate.
+
+2005-01-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.host: Correct sed patterns for last change.
+
+2005-01-10  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/609
+       * ldmisc.c (vfinfo): Add an extra argument: is_warning.  Use this
+       to determine whether config.make_executable should be set to FALSE in
+       conjunction with config.fatal_warnings.
+       (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
+       (einfo): Pass TRUE as the extra argument.
+
+2005-01-10  Greg Schaffer  <gschafer@zip.com.au>
+
+       * configure.host (linux targets): Use "${CC} -dumpspecs" instead
+       of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
+       (ia64-*-aix): Delete - this target is obsolete, and would be
+       broken by this patch.
+
+2005-01-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
+       (sparc64-sun-solaris2*): New host.
+
+2005-01-06  Paul Brook  <paul@codesourcery.com>
+
+       * Makefie.am: Add earmelf_vxworks.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Make arm-*-vxworks a separate case.
+       * emulparams/armelf_vxworks.sh: New function.
+
+2005-01-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (no_multi_toc): New var.
+       (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
+       (OPTION_NO_MULTI_TOC): Define.
+       (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
+       (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
+
+2005-01-05  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/614
+       * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
+       Standard's specification for parsable error messages.
+
+2005-01-04  Paul Brook  <paul@codesourcery.com>
+
+       * Makefile.am: Correct dependency for earmsymbian.c.
+       * Makefile.in: Regenerate.
+
+2004-12-28  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (set_pe_subsystem): Change second arg to
+       lang_add_entry to FALSE.
+
+2004-12-23  Nick Clifton  <nickc@redhat.com>
+
+       PR 600
+       * emulparams/shelf.sh (.stack): Increase stack start address to
+       0x300000.
+
 2004-12-20  Nick Clifton  <nickc@redhat.com>
 
        * ldmain.c (main): Issue an error message if -static and -shared
 
        * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
        * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
-       * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions 
+       * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
        which return the length and origin of a memory.
        * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
        * NEWS: Mention support for ORIGIN and LENGTH operators.
This page took 0.025831 seconds and 4 git commands to generate.