2004-11-30 Paul Brook <paul@codesourcery.com>
[binutils-gdb.git] / ld / ChangeLog
index 26d47e70e6edb983ba3fad8ce34194bb48fbaeea..97cc36cd7e0be30c744f9d3a20a5288fca1c8e8c 100644 (file)
@@ -1,3 +1,181 @@
+2004-11-30  Paul Brook  <paul@codesourcery.com>
+
+       * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
+
+2004-11-30  Tero Niemela  <tero_niemela@yahoo.com>
+
+       * Makefile.am: Change LOCALEDIR to $(datadir)/share.
+       * Makefile.in: Regenerate.
+
+2004-11-26  Melissa Mears  <asterisk@graces.dricas.com>
+
+       * emultempl/pe.em: Add --subsystem:xbox as well as
+       --subsystem:%d.
+       * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
+       and numeric subsystems.
+
+2004-11-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c (fold_name): Correct PR 338 fix.
+
+2004-11-19  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
+       (earmelf_linux_eabi.c): New target.
+       * configure.tgt (arm*-*-linux-gnueabi): Handle it.
+       * emulparams/armelf_linux_eabi.sh: New file.
+       * Makefile.in: Regenerated.
+
+2004-11-19  Nick Clifton  <nickc@redhat.com>
+
+       PR 518
+       * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
+       LENGTH fields in the MEMORY command, to explicitly state that
+       symbols cannot be used in their expressions.
+
+2004-11-19  Jon Beniston <jon@beniston.com>
+
+       * 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 
+       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.
+
+2004-11-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
+       a dynamic object for stubs.
+
+2004-11-04  Paul Brook  <paul@codesourcery.com>
+
+       * ld.texinfo: Document --default-imported-symver.
+       * ldmain.c (main): Set link_info.default_imported_symver.
+       * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
+       (ld_options): Add --default-imported-symver.
+       (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
+
+2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
+           Vineet Sharma      <vineets@noida.hcltech.com>
+
+       * Makefile.am: Add entries for new maxq-coff target.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add support for maxq.
+       * emulparams/maxqcoff.sh: New File.
+       * scripttempl/maxqcoff.sc: New linker script for target maxq.
+       * NEWS: Mention the new target.
+
+2004-11-08  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
+
+       * testsuite/ld-scripts/weak.exp: Enable test on PE,
+       XFAIL non-i386 PE.
+       * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
+       XFAIL non-i386 PE.
+       * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
+
+2004-11-04  Daniel Jacobowitz  <dan@debian.org>
+
+       * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
+       (earmelf_oabi.c): Remove rule.
+       * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
+       * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
+       * Makefile.in: Regenerated.
+
+2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
+       * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
+       (FINI_START): Ditto.
+       (INIT_END): Remove emitted "jump [sp+]".
+       (FINI_END): Ditto.
+
+2004-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
+       (no_opd_opt, no_toc_opt): New static vars.
+       (ppc_before_allocation): Don't edit opt if no_opd_opt.  Call
+       ppc64_elf_edit_toc.
+       (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
+       (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
+       (PARSE_AND_LIST_OPTIONS): Describe new options.
+       (PARSE_AND_LIST_ARGS_CASES): Handle them.
+
+2004-10-27  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
+       parameter to invocation of lang_section_start.
+       * emultempl/aix.em (_handle_option): Likewise.
+
+       * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
+       eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
+       * Makefile.in: Regenerate.
+
+2004-10-26  Mark Mitchell  <mark@codesourcery.com>
+
+       * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
+       __exidx_{start,end} when not relocating.
+
+2004-10-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
+       * ldexp.h (segment_type): New type.
+       (segments): New variable.
+       * ldexp.c (segments): New variable.
+       (exp_print_token): Handle SEGMENT_START.
+       (fold_binary): Likewise.
+       * ldgram.y (SEGMENT_START): Declare it as a token.
+       (exp): Handle SEGMENT_START.
+       * ldlang.h (lang_address_statement_type): Add segment field.
+       (lang_section_start): Change prototype.
+       * ldlang.c (map_input_to_output_sections): Do not process section
+       assignments if a corresponding SEGMENT_START has already been
+       seen.
+       (lang_section_start): Add segment parameter.
+       * ldlex.l (SEGMENT_START): Add it.
+       * lexsup.c (seg_segment_start): New function.
+       (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
+       * ld.texinfo (SEGMENT_START): Document it.
+       * emulparams/armsymbian.sh (EMBEDDED): Set it.
+       * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
+       base addresses.  Do not map relocations.
+       * NEWS: Mention SEGMENT_START.
+
+2004-10-26  Paul Brook  <paul@codesourcery.com>
+
+       * ld.texinfo: Document --default-symver.
+       * ldmain.c (main): Set link_info.create_default_symver.
+       * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
+       (ld_options): Add default-symver.
+       (parse_args): Handle OPTION_DEFAULT_SYMVER.
+
+2004-10-24 Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * pe-dll.c (process_def_file): Don't export all symbols by default if
+       building a position-independent executable.
+
+2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 463
+       * ldmain.c (reloc_overflow): Accept a pointer to struct
+       bfd_link_hash_entry. Report symbol location for relocation
+       overflow.
+
+2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * genscripts.sh (libpath.exp): Really generate for first
+       emulation only.
+
+2004-10-19  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
+       comparison and replacement of filenames.
+
+2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 459
+       * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
+       option on linker script as the one for linker script.
+
 2004-10-16  Daniel Jacobowitz  <dan@debian.org>
 
        * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)