* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 4e538f2467abf58152bdcd4fe108835ab8e85aba..404da2a082c409446a03a18804163224d2bff54b 100644 (file)
@@ -1,3 +1,417 @@
+start-sanitize-sky
+Fri Jun  5 15:55:26 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
+       for .DVP.overlay.*.
+
+end-sanitize-sky
+Fri Jun  5 18:19:59 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
+       config.has_shared to true.
+       * emultempl/linux.em (gld${EMULATION_NAME}_before_parse):
+       Likewise.
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse):
+       Likewise.
+
+Tue Jun  2 12:55:03 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (lang_finish): If the entry symbol is not found, try
+       parsing it as a number.
+       * ld.texinfo (Options): Document this.
+
+Mon Jun  1 14:01:20 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.texinfo (Input Section Wildcards): Document SORT keyword.
+
+Mon May 18 12:42:53 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * ld.h (ld_config_type): New member has_shared.
+       * ldmain.c (main): Initialize it.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set it.
+       * lexsup.c (parse_args): Treat -shared as error if not supported.
+
+Mon May 18 13:14:43 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       From Jason Merrill <jason@cygnus.com>:
+       * ldlang.c (wild_sort): Correct order of sort.
+       * scripttempl/elf.sc: Put *crtbegin.o before other .ctors and
+       .dtors.
+       * scripttempl/elfd10v.sc: Likewise.
+start-sanitize-d30v
+       * scripttempl/elfd30v.sc: Likewise.
+end-sanitize-d30v
+       * scripttempl/elfppc.sc: Likewise.
+
+Fri May 15 00:22:35 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlex.l: Recognize keyword SORT.
+       * ldgram.y (current_file): Change to struct wildcard_spec.
+       (%union): Add new fields cname and wildcard.
+       (wildcard_name, wildcard_spec): New nonterminals.
+       (file_NAME_list): Use wildcard_spec.
+       (input_section_spec): Change current_file usage.
+       * ld.h (struct wildcard_spec): Define.
+       * ldlang.h (lang_wild_statement_struct): Add new fields
+       sections_sorted and filenames_sorted.
+       (lang_add_wild): Update declaration.
+       * ldlang.c (wild_sort): New static function.
+       (wild_section): Use wild_sort.
+       (print_wild_statement): Print sorting information.
+       (lang_add_wild): Add new parameters sections_sorted and
+       filenames_sorted.  Change all callers.
+       * mri.c (mri_draw_tree): Update calls to lang_add_wild.
+       * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name.
+       * scripttempl/elfd10v.sc: Likewise.
+start-sanitize-d30v
+       * scripttempl/elfd30v.sc: Likewise.
+end-sanitize-d30v
+       * scripttempl/elfppc.sc: Likewise.
+
+Thu May 14 18:39:16 1998  Richard Henderson  <rth@cygnus.com>
+
+       * emulparams/m32relf.sh (TEMPLATE_NAME): Define.
+
+Thu May 14 14:51:24 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * ldemul.h: Add new prototype: ldemul_list_emulation_options.
+       (ld_emulation_xfer_struct): Add new field: list_options.
+       * ldemul.c (ldemul_list_options): New function.  Call the
+       list_options field of the ld_emulation_xfer_struct for each
+       supported emulation, if such a function is present.
+       * lexsup.c (help): Call ldemul_list_emulation_options.
+       * emultempl/pe.em (gld_<>_list_options): New function.  Describe 
+       the pe emulation specific command line options.
+       * emultempl/armcoff.em (gld<>_list_options): New function.
+       Describe  the armcoff emulation specific command line options.
+
+       * emultempl/pe.em: Add a new command line option:
+       --support-old-code.
+       * emultempl/armcoff.em: Ditto.
+       * ld.texinfo: Document the --support-old-code option.
+
+       * Makefile.in: Add emulation files for POTFILES.in target.
+       * emultempl/pe.em: Internationalise suitable strings.
+       * emultempl/armcoff.em: Internationalise suitable strings. 
+       * po/POTFILES.in: Rebuilt.
+       
+Sun May 10 22:36:30 1998  Jeffrey A Law  (law@cygnus.com)
+
+        * po/Make-in (install-info): New target.
+
+Tue Apr 28 19:18:30 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * ldmain.c (main): Conditionally call setlocale.
+       * ld.h: Include <locale.h> if HAVE_LOCALE_H.
+       (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
+
+Mon Apr 27 11:56:21 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Change version number to 2.9.4
+       * configure: Rebuild.
+
+       * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf.
+
+       Based on patch from H.J. Lu <hjl@gnu.org>:
+       * emultempl/elf32.em (global_vercheck_needed): New file static
+       variable.
+       (global_vercheck_failed): New file static variable.
+       (gld${EMULATION_NAME}_after_open): Check for shared libraries
+       twice, once with force set to 0 and once with it set to 1.
+       (gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter.
+       Change all callers.
+       (gld${EMULATION_NAME}_search_needed): Likewise.
+       (gld${EMULATION_NAME}_try_needed): Likewise.  If not force, check
+       whether the libraries needs any incompatible versions.
+       (gld${EMULATION_NAME}_vercheck): New static function.
+
+Wed Apr 22 16:01:35 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
+
+Wed Apr 22 12:40:56 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when
+       invoking runtest.
+       * Makefile.in: Rebuild.
+
+       * lexsup.c (parse_args): Change -l options into --library options
+       to avoid confusion between -li and -library.
+
+       * ld.texinfo (MEMORY): Clarify use of >REGION.
+
+Tue Apr 21 23:12:40 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
+
+       * Many files: Added gettext invocations around user-visible
+       strings.
+       * ld.h: Added gettext-related includes and defines.
+       * ldmain.c: Call setlocale, bindtextdomain, textdomain.
+       * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
+       HAVE_LC_MESSAGES): Define.
+       * configure.in: Call CY_GNU_GETTEXT.  Create po/Makefile.in and
+       po/Makefile.  Use AM_PROG_LEX.
+       (TDIRS): AC_SUBST early on, to avoid having value split when it
+       happens to cross line 90 of the generated sed script.
+       * Makefile.am (SUBDIRS): New macro.
+       (POTFILES): Likewise.
+       (po/POTFILES.in): New target.
+       (ld_new_LDADD): Added INTLLIBS.
+       (ld_new_DEPENDENCIES): Added INTLDEPS.
+       * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
+
+Tue Apr 21 23:07:07 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.texinfo (Simple Example): Rewrite a few things as suggested
+       by Nick Clifton <nickc@cygnus.com>.
+       (PROVIDE): Likewise.
+
+Tue Apr 21 09:55:06 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * emultempl/pe.em: Rename external arm interworking functions
+       to conform to BFD naming conventions.  Add code to _after_open()
+       function to obtain a bfd for use by the interworking code.
+
+       * emultempl/armcoff.em: Rename external arm interworking functions
+       to conform to BFD naming conventions.  Add new _after_open()
+       function to obtain a bfd for use by the interworking code.
+
+Sun Apr 19 19:23:09 1998  Richard Henderson  <rth@cygnus.com>
+
+       * ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]:
+       Update dot and the default memory section even when relaxing.
+
+Sat Apr 18 18:41:12 1998  Richard Henderson  <rth@cygnus.com>
+
+       * ldlang.c (lang_one_common): Manipulate the section's cooked size
+       rather than its raw size.
+
+Tue Apr  7 13:35:29 1998  H.J. Lu  <hjl@gnu.org>
+
+       * configure.in (TESTBFDLIB): New.  Defined and substituted.
+       * Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
+       * configure, Makefile.in: Rebuild.
+
+Mon Apr  6 15:33:39 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (ld.info): Invoke makeinfo with -I options directly
+       rather than relying on default rule.  Don't depend upon
+       bfdsumm.texi.
+       (ld.dvi): Likewise.
+       (bfdsumm.texi): Remove target.
+       (CLEANFILES): Take bfdsumm.texi out of value.
+       * Makefile.in: Rebuild.
+
+Sun Apr  5 13:07:57 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/pe.sc: Use shell variables to avoid depending upon
+       how $ is handled when expanding a shell substitution.
+
+Fri Apr  3 00:56:50 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
+       (DISTCLEANFILES): Add site.exp and site.bak.
+       * Makefile.in: Rebuild.
+
+       * configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
+       rather than in a shell variable and using AC_SUBST.
+       * Makefile.am (DISTCLEANFILES): Remove ldscripts.  Add tdirs.
+       (distclean-local): New target.
+       * configure, Makefile.in: Rebuild.
+
+       * ld.texinfo: Completely rewrite linker script documentation.
+
+Mon Mar 30 12:47:33 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Set version to 2.9.1.
+       * configure: Rebuild.
+
+       * Branched binutils 2.9.
+
+Sat Mar 28 16:48:19 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
+       (mostlyclean-local): New target to remove tmpdir.
+       * Makefile.in: Rebuild.
+
+       Fix some gcc -Wall warnings:
+       * ldcref.c (output_cref): Add casts to avoid warnings.
+       * ldfile.c (ldfile_add_arch): Likewise.
+       * ldlang.c (lang_leave_overlay_section): Likewise.
+       * lexsup.c (OPTION_COUNT): Likewise.
+       (parse_args): Likewise.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
+       Likewise.
+       * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
+       * ldlang.c (lang_check): Initialize variables to avoid warnings.
+       * ldwrite.c (build_link_order): Likewise.
+       * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
+       * emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
+       Remove unused variables.
+
+       * Makefile.am (MOSTLYCLEANFILES): Correct name (was
+       MOSTCLEANFILES).
+       * Makefile.in: Rebuild.
+
+Fri Mar 27 16:39:25 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
+       ARM code inside ifdef TARGET_IS_armpe.
+
+Wed Mar 25 11:34:13 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       Based on patch from H.J. Lu  <hjl@gnu.org>:
+       * Makefile.am (LDDISTSTUFF): New variable.
+       (diststuff): New target.
+       * Makefile.in: Rebuild.
+
+       * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
+       relocating.
+
+Tue Mar 24 15:59:29 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/pe.sc (.text): Add .glue_7 and .glue_7t sections to
+       hold Arm/Thumb stubs.
+
+       * emultempl/pe.em (gld_pe_before_allocation): Call
+       arm_process_before_allocation (for ARM/Thumb targets) in order to
+       gather interworking stb information.
+
+Mon Mar 23 18:54:15 1998  Joel Sherrill  <joel@OARcorp.com>
+
+       * configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF.
+
+Fri Mar 20 19:17:13 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aclocal.m4, configure: Rebuild with libtool 1.2.
+
+Thu Mar 19 14:54:45 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy
+       section to avoid copying certain data on fork.  The linker used to
+       include this between __data_start__ and __data_end__, but that
+       breaks building the cygwin32 dll.  The fix is to rename the
+       section ".data_cygwin_nocopy" and explictly include it after
+       __data_end__.
+
+Wed Mar 18 09:42:24 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.tgt (targ_extra_emuls): Add thumb-pe target.
+
+Sun Mar  8 23:34:14 1998  Stan Cox  <scox@equinox.cygnus.com>
+
+       * configure.tgt (sparclite*-*-elf): Added.
+
+start-sanitize-vr4320
+Tue Mar  3 11:16:35 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.
+
+end-sanitize-vr4320
+Mon Mar  2 19:24:08 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * ldlang.c (lang_size_sections): If the default memory region is
+       *default*, see if there is a memory region that could be used.
+
+start-sanitize-d30v
+Thu Feb 26 17:09:53 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * scripttempl/elfd30v.sc: Add support for .eit_v section and put
+       it at 0xfffff020.
+       * emulparams/d30v{elf,_o,_e}.sh: Ditto.
+
+end-sanitize-d30v
+Mon Feb 23 17:46:51 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/pe.em (sort_sections): Permit the wildcard to include
+       a trailing '*' when sorting grouped sections.
+       * scripttempl/pe.sc: Include grouped sections using NAME\$*.  Only
+       include them when relocating.
+
+Wed Feb 18 23:39:46 1998  Richard Henderson  <rth@cygnus.com>
+
+       * Makefile.am (install-exec-local): Install properly when ln
+       fails or tooldir == prefix.
+
+Fri Feb 13 15:24:06 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Define.
+       * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
+
+Thu Feb 12 14:10:44 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/elf.sc: Align the _end symbol according to the ELF
+       format size.  From Gordon W. Ross <gwr@mc.com>.
+
+       NetBSD patches from Gordon W. Ross <gwr@mc.com>:
+       * configure.host (alpha*-*-netbsd*): New host.
+       * configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
+       targets.
+
+       * lexsup.c (help): Update bug-gnu-utils address.
+       * ld.texinfo (Bug Reporting): Likewise.
+
+Tue Feb 10 18:05:56 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (lang_size_sections): Warn if some memory regions were
+       defined, but a loadable section is going into the default memory
+       region.
+
+Tue Feb 10 16:17:20 1998  H.J. Lu  <hjl@gnu.org>
+
+       * ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix.
+
+Tue Feb 10 15:09:45 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (Makefile): Add target, for dependencies on
+       configure.host and configure.tgt.
+       * configure.host, configure.tgt: Change -linux* to -linux-gnu*.
+       * Makefile.in: Rebuild.
+
+start-sanitize-r5900
+Tue Feb 10 11:52:33 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (ALL_EMULATIONS): Add eelf32l5900.o
+       (eelf32l5900.c): Add rule for building.
+       * configure.tgt: Use r5900 specific emulation script.
+       * emulparams/elf32l5900.sh: 5900 specific emulation script.
+
+end-sanitize-r5900
+Mon Feb  9 13:44:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE.
+
+       * emulparams/d10velf.sh (READONLY_START_ADDR): Read only section
+       moved to 0x00.....4.
+
+Sat Feb  7 15:41:26 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure, aclocal.m4: Rebuild with new libtool.
+
+Thu Feb  5 12:16:11 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
+       From Thomas de Lellis <tdel@wrs.com>.
+
+       * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
+
+Wed Feb  4 13:02:32 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (ld_new_LDADD): Remove @LEXLIB@.
+       * Makefile.in: Rebuild.
+
+Mon Feb  2 19:34:54 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>
+
+       Add tms320c30 support:
+       * configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets.
+       * emulparams/tic30aout.sh: New file.
+       * emulparams/tic30coff.sh: New file.
+       * scripttempl/tic30aout.sc: New file.
+       * scripttempl/tic30coff.sc: New file.
+       * Makefile.am (ALL_EMULATIONS): Add etic30aout.o and
+       etic30coff.o.
+       (etic30aout.c, etic30coff.c): New targets.
+       * Makefile.in: Rebuild.
+
 Mon Feb  2 14:10:59 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
This page took 0.027222 seconds and 4 git commands to generate.