Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 19378ce4cc5f826e362f8f3638e186bc3b1977e7..ba00e68b5dd46c263b0d8d9e550179b4f8abd085 100644 (file)
@@ -1,5 +1,280 @@
+Wed Aug  7 14:40:48 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
+       * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
+       (NEED_DECLARATION_SBRK): New macro.
+       * configure, config.in: Rebuild.
+       * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR.
+       * ldmain.c (sbrk): Declare if HAVE_SBRK and
+       NEED_DECLARATION_SBRK.
+
+       * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return.
+
+Mon Aug  5 16:26:14 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlex.l: Recognize OVERLAY.
+       * ldgram.y: Add section_phdr field to %union.
+       (section): Handle phdr_opt result.  Add OVERLAY case.
+       (opt_exp_without_type): New nonterminal.
+       (phdr_opt): Return list of phdrs.
+       (overlay_section): New nonterminal.
+       * ldlang.c: Include <ctype.h>.
+       (lang_leave_output_section_statement): Add phdrs parameter.
+       Change all callers.
+       (lang_section_in_phdr): Remove.
+       (overlay_vma, overlay_lmn, overlay_max): New static variables.
+       (struct overlay_list): Define.
+       (overlay_list): New static variable.
+       (lang_enter_overlay, lang_enter_overlay_section): New functions.
+       (lang_leave_overlay_section, lang_leave_overlay): New functions.
+       * ldlang.h (lang_leave_output_section_statement): Update
+       declaration for new parameter.
+       (lang_section_in_phdr): Don't declare.
+       (lang_enter_overlay, lang_enter_overlay_section): Declare.
+       (lang_leave_overlay_section, lang_leave_overlay): Declare.
+       * ld.texinfo (Overlays): New node under SECTIONS, documenting
+       overlays.
+
+       * ldlex.l: Recognize MAX and MIN.
+       * ldgram.y (MAX, MIN): New terminals.
+       (exp): Recognize MAX and MIN.
+       * ldexp.c (fold_binary): Handle MAX and MIN.
+       * ld.texinfo (Arithmetic Functions): Document MAX and MIN.
+
+       * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header
+       index entries.
+
+       * ldgram.y (SIZEOF, ADDR): Do not specify type.
+
+       * ldcref.c (check_nocrossref): Skip symbols with no output
+       sections.
+
+Fri Aug  2 14:57:49 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldgram.y (LOADADDR): New terminal.
+       (exp): Handle LOADADDR.
+       * ldlex.l: Recognize LOADADDR.
+       * ldexp.c (exp_print_token): Add LOADADDR.
+       (fold_name): Implement LOADADDR.
+       * ldlang.c (exp_init_os): Treat LOADADDR like ADDR.
+       * ld.texinfo (Arithmetic Functions): Document LOADADDR.
+
+Thu Aug  1 12:52:19 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.h (check_nocrossrefs): Declare.
+       * ldlang.h (struct lang_nocrossref): Define.
+       (struct lang_nocrossrefs): Define.
+       (nocrossref_list): Declare.
+       (lang_add_nocrossref): Declare.
+       * ldlex.l: Recognize NOCROSSREFS keyword.
+       * ldgram.y (%union): Add nocrossref field.
+       (NOCROSSREFS): New terminal.
+       (ifile_p1): Recognize NOCROSSREFS.
+       (nocrossref_list): New nonterminal.
+       * ldlang.c (nocrossref_list): Define.
+       (lang_add_nocrossref): New function.
+       * ldmain.c (main): If nocrossref_list is not NULL, call
+       check_nocrossrefs.
+       (warning_callback): Free symbols if there is no place to store
+       them.
+       (notice): Call add_cref if nocrossref_list is not NULL.
+       * ldcref.c: Include "ldexp.h" and "ldlang.h".
+       (check_nocrossrefs): New function.
+       (check_nocrossref): New static function.
+       (struct check_refs_info): Define.
+       (check_refs, check_reloc_refs): New static functions.
+       * Makefile.in: Rebuild dependencies.
+       * ld.texinfo (Option Commands): Document NOCROSSREFS.
+
+       * ld.texinfo (Section Placement): Improve the wording of the
+       wildcard documentation.  Mention that wildcards are only searched
+       for on the command line, not in the file system.
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move
+       definition of lib_path inside condition where it is used.
+
+start-sanitize-d10v
+Wed Jul 31 13:17:10 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * emulparams/d10velf.sh: Now works with elf.sc.
+
+Wed Jul 31 11:52:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla.
+
+end-sanitize-d10v      
+Tue Jul 30 14:46:42 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (lang_size_sections): Add the section VMA to the result
+       value when computing the address of a section.
+
+       * ld.h (args_type): Add cref field.
+       * lexsup.c (parse_args): Set command_line.cref.
+       * ldmain.c (main): Check command_line.cref rather than
+       link_info.notice_all.
+       (notice): Likewise.
+
+       * ldcref.c (output_one_cref): Don't crash if a symbol is defined
+       in a section without an owner.
+
+Mon Jul 29 17:23:33 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * fnmatch.h, fnmatch.c: New files.
+       * ldlex.l: Remove unused definition of FILENAME.  Add definition
+       of WILDCHAR.  In SCRIPT mode, accept any sequence of WILDCHAR as a
+       NAME.
+       * ldgram.y (file_NAME_list): Accept '*' and '?' specially.
+       (input_section_spec): Accept '?' specially.
+       (statement): Change exp to mustbe_exp in length and FILL cases.
+       (section): Call ldlex_script before section statements, and call
+       ldlex_popstate after them.
+       * ldlang.c: Include "fnmatch.h".
+       (wildcardp): New static function.
+       (wild_section): Permit the section name to be a wildcard.
+       (wild_file): New static function, broken out of wild.
+       (wild): Call wild_file.  Permit the file name to be a wildcard.
+       (open_input_bfds): Don't call lookup_name for a wildcard pattern.
+       * Makefile.in: Rebuild dependencies.
+       (CFILES): Add fnmatch.c.
+       (HFILES): Add fnmatch.h.
+       (OFILES): Add fnmatch.o.
+       * ld.texinfo: Document that file and section names can now be
+       wildcard patterns.
+
+       * ldlang.c (lang_place_orphans): Correct condition: place a common
+       section if not relocateable or if common definitions are forced.
+
+start-sanitize-d10v
+Wed Jul 24 12:16:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf.
+
+Wed Jul 24 13:38:22 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
+
+       * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v.
+
+Tue Jul 23 10:36:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * Makefile.in (ed10velf.c): New target.
+       * configure.tgt (d10v-*-elf*): New target.
+       * emulparams/d10velf.sh: New file.
+
+end-sanitize-d10v
+Thu Jul 18 16:25:39 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.tgt (sparc*-*-sysv4*): New target.  From Andrew Gierth
+       <ANDREWG@microlise.co.uk>.
+
+       * configure.host: Change irix5 to irix[56]*.
+       * configure.tgt: Likewise.
+
+Wed Jul 17 10:52:46 1996  Kim Knuttila  <krk@cygnus.com>
+
+       * emultempl/pe.em (sort_sections): Pay attention to return code.
+
+       * ldmisc.c (demangle): Remove all prefix '.'s from a name.
+
+Mon Jul 15 11:49:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round
+       the value of __start_SECNAME to the alignment required by the
+       section to be placed.
+
+Tue Jul  9 12:09:02 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.tgt (mips*el-*-elf*): Use elf32elmip.
+       (mips*-*-elf*): Use elf32ebmip.
+       * emulparams/elf32bmip.sh (EMBEDDED): Don't define.
+       * emulparams/elf32lmip.sh (EMBEDDED): Don't define.
+       * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with
+       EMBEDDED defined.
+       * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with
+       EMBEDDED defined.
+       * emulparams/elf32b4300.sh (EMBEDDED): Define.
+       * emulparams/elf32l4300.sh (EMBEDDED): Define.
+       * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o.
+       (eelf32ebmip.c, eelf32elmip.c): New targets.
+
+Thu Jul  4 12:01:03 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldver.c (ldversion): Set version to cygnus-2.7.1.
+
+       * Released binutils 2.7.
+
+       * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid
+       System V file name limitations.
+       * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use
+       pc532macha rather than pc532machaout.
+       * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to
+       epc532macha.o.
+       (epc532macha.c): Rename target from epc532machaout.c.
+
+Wed Jul  3 11:40:10 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (print_padding_statement): Use %u, not %x, to print
+       fill value.
+
+Sun Jun 30 11:16:43 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-eppcmac.c: Update to reflect May 23 change to aix.em.
+
+Thu Jun 27 14:03:42 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa
+       file just before the .so file, rather than just after.
+
+       * configure.host: Use -print-file-name=FILE rather than piping
+       -print-libgcc-file-name through sed.
+       (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and
+       crtend.o files, in case gcc doesn't use them.
+       * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o.
+
+Wed Jun 26 15:57:21 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.tgt (mips*-dec-osf*): New target.
+
+Tue Jun 25 22:15:29 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       * configure: Rebuilt.
+
+Mon Jun 24 18:48:16 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a
+       PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a
+       non-fixed location.
+
+Mon Jun 24 17:55:31 1996  Jouke Numan  <jnuman@bazis.nl>
+
+       * ldlang.h (enum section_type): Define.
+       (lang_output_section_statement_type): Remove loadable field.  Add
+       sectype field.
+       (lang_enter_output_section_statement): Change flags parameter in
+       prototype to sectype.
+       * ldgram.y (typebits): Remove.
+       (sectype): New static variable.
+       (opt_at): Use sectype rather than typebits.
+       (type): Set sectype rather than typebits.
+       (atype): Likewise.
+       * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in
+       EXPRESSION mode.
+       * ldlang.c (lang_output_section_statement_lookup): Set sectype
+       field rather than loadable field.
+       (wild_doit): Check sectype rather than loadable.
+       (lang_record_phdrs): Likewise.
+       (lang_enter_output_section_statement): Rename flags parameter to
+       sectype.  Set sectype field rather than loadable field.  Set flags
+       field based on sectype.
+
 Mon Jun 24 12:00:32 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * scripttempl/elf.sc: Force .stab* and .comment sections to start
+       at 0.
+
        * configure.in: On alpha*-*-osf*, link against libbfd.a if not
        using shared libraries.
        * configure: Rebuild with autoconf 2.10.
@@ -56,7 +331,6 @@ Wed Jun 19 11:40:14 1996  Ian Lance Taylor  <ian@cygnus.com>
        * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0.  From
        <randall.hron@medaphis.com>.
 
-start-sanitize-h8s
 Tue Jun 18 15:53:09 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
 
        * scripttempl/h8300s.sc: New file for H8/S.
@@ -65,7 +339,6 @@ Tue Jun 18 15:53:09 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
        (e_h8300s.c): Add dependencies.
        * configure.tgt: Add H8/S to targ_extra_emuls.
 
-end-sanitize-h8s
 Tue Jun 18 17:55:39 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.tgt (i[345]86*-*-isc*): New target.  From
This page took 0.026713 seconds and 4 git commands to generate.