* ldmain.c (undefined_symbol): Handle section being NULL.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 904ea7f1cdaa8688a58b57ad0b9cb57ebd861c85..f7be828c7ca86de007abf85e1f095695b8b87bb4 100644 (file)
@@ -1,5 +1,666 @@
+Mon Feb  6 12:17:24 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldmain.c (undefined_symbol): Handle section being NULL.
+
+       * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak.
+       * ldexp.c (fold_name): Likewise.
+       * ldlang.c (print_one_symbol): Likewise.
+       (lang_finish): Likewise.
+       * ldmain.c (multiple_common): Likewise.
+       * ldwrite.c (print_symbol): Likewise.  Also, bfd_link_hash_weak
+       renamed to bfd_link_hash_undefweak.
+
+       * scripttempl/alpha.sc: Set address of .data section correctly
+       when -n or -N is used.  Patch from Chris G Demetriou
+       <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>.
+       * scripttempl/mips.sc: Similar change.
+
+Tue Jan 31 16:20:52 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * ldlang.c (lang_size_sections): Clarify error message when user
+       specified start addr conflicts with region.  Fix resetting of
+       region pointer.
+
+Tue Jan 31 12:37:09 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldexp.c (fold_name): In case NAME, permit an absolute symbol
+       in lang_allocating_phase_enum.
+
+Mon Jan 30 11:33:25 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (distclean): Depend upon clean.  Don't bother to
+       remove files which will be removed by clean.  From patch by
+       alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra).
+
+Fri Jan 27 16:27:34 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For
+       a MIPS target, clobber the size of all but the first input
+       .reginfo section to be 0, so that lang_size_sections sets the
+       correct size for the output .reginfo section.
+
+Thu Jan 26 19:53:37 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
+       Remove unused variable is.
+
+Thu Jan 26 12:33:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in: Add support for powerpc-*-eabi.
+
+       * scripttempl/elfppc.sc: New file for PowerPC embedded ABI
+       support.
+
+       * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of
+       elf.sc, which defines some new symbols PowerPC elf needs.
+
+Tue Jan 24 10:32:15 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ldctor.c (ldctor_add_set_entry): Don't dump core if a
+       constructor entry is in the absolute section.
+
+Mon Jan 23 13:58:13 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
+       * config/i386-gnu.mt: New file.  Include ELF support.
+
+Thu Jan 19 16:22:11 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If
+       there are any input sections named .gnu.warning, treat them as
+       containing a warning message to be printed by the linker, and
+       clobber the size so that the message is not copied into the output
+       file.
+       * scripttempl/elf.sc: Put .gnu.warning sections into the .text
+       section.
+
+Sun Jan 15 16:45:00 1995  Steve Chamberlain  <sac@splat>
+
+       * configure.in (w65-*-*): New target.
+       * Makefile.in: Update.
+       * scripttempl/w65.sc: New.
+       * config/coff-w65.mt: New.
+
+Thu Jan 12 01:32:25 1995  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
+
+       * ldlang.c (lang_place_orphans): Don't ignore files with
+       just_syms_flag set.  Instead, put all their sections in
+       bfd_abs_section_ptr, using the section VMA as the output_offset.
+
+Wed Jan 11 22:59:09 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * ldctor.c (ldctor_build_sets): Don't use `const' with typedef
+       name `reloc_howto_type', since it's now defined to be const.
+       * ldlang.c (lang_add_reloc): Ditto.
+       * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto.
+
+Wed Jan 11 11:24:45 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ldexp.c (fold_binary): Adding or subtracting an absolute value
+       to a relative value does not require forcing the relative value to
+       be absolute.  Also, reindent function.
+
+Wed Dec 28 22:05:52 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * ldwrite.c (clone_section): Create a symbol with the
+       same name as the section.
+
+Mon Dec 19 14:02:13 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * ld.h (split_by_reloc, split_by_file): New flags.
+       * ldwrite.c  (clone_section, split_sections): New functions.
+       * lexsup.c (parse_args): Understand new split options.
+
+start-sanitize-arc
+Tue Dec 13 16:45:18 1994  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (arc-elf): New target.
+       * Makefile.in (earcelf.c): New target.
+       * config/arc-elf.mt: New file.
+       * emulparms/arcelf.sh: New file.
+end-sanitize-arc
+
+Fri Dec  9 17:22:55 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to
+       .data segment.  They must be writable when creating a shared
+       library.  From H.J. Lu <hjl@nynexst.com>.
+
+Fri Dec  2 14:09:00 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
+
+       * emultempl/miposecoff.em: New file.
+       * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff.
+       * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise.
+       * scripttempl/mips.sc: Put .rel.sdata sections in .text, and
+       provide __runtime_reloc_start and __runtime_reloc_stop if they are
+       used.   Align _fdata to a 16 byte boundary.
+       * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than
+       generic.em.
+       (emipsidtl.c): Likewise.
+       (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.
+
+       * ld.h (args_type): Add new field embedded_relocs.
+       * ldemul.h (ldemul_after_open, after_open_default): Declare.
+       (ld_emulation_xfer_struct): Add new field after_open.
+       * ldemul.c (ldemul_after_open): New function.
+       (after_open_default): New function.
+       * ldlang.c (lang_process): Call ldemul_after_open.
+       * lexsup.c (parse_args): Handle --embedded-relocs.
+       * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize
+       new after_open field to after_open_default.
+       * emultempl/generic.em, emultempl/gld960.em: Likewise.
+       * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise.
+       * emultempl/linux.em, emultempl/m88kbcs.em: Likewise.
+       * emultempl/sunos.em, emultempl/vanilla.em: Likewise.
+       * ld.texinfo, ld.1: Mention -embedded-relocs.
+
+Wed Nov 23 22:04:47 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * Makefile.in: Add eshl.o.
+       * config/coff-sh.mt: Add shl emulation.
+
+Tue Nov 22 11:55:37 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * scripttempl/elf.sc: Fill .text section with NOPS.  From Eric
+       Youngdale <eric@aib.com>.
+
+Thu Nov 17 14:39:48 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).
+       * config/i386linux.mh: New file; set HOSTING_CRT0.
+       * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is
+       /usr/lib, since that is already in LIB_PATH.
+
+Wed Nov 16 10:03:03 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start
+       address.
+       (.data, .bss): If "-N", then place the data/bss just after the end
+       of the .text section rather than at the default 0x40000000.
+
+       * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the
+       text segment.
+
+Sat Nov 12 15:55:56 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Patches from Eric Youngdale <eric@aib.com>:
+       * ldlang.c (lang_finish): Don't warn if entry symbol not found
+       when generating a shared library.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if
+       attempting to place an orphaned relocation section when generating
+       a dynamically linked object.
+
+       * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to
+       _start.
+
+Fri Nov 11 14:27:23 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ld.h (args_type): Add field export_dynamic.
+       * lexsup.c (parse_args): Recognize --export-dynamic.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
+       Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.
+
+Wed Nov  9 12:47:11 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
+       we allocate common symbols.
+
+Tue Nov  8 17:50:43 1994  Eric Youngdale  (eric@aib.com)
+
+       * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and
+       .rela.fini to the list of .rel* sections.
+
+Tue Nov  8 17:47:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ldlang.c (load_symbols): Add new argument place.  Only accept
+       linker scripts if place is not NULL.  Put commands found in an
+       assumed linker script into place.
+       (lookup_name): Pass NULL as place argument to load_symbols.
+       (open_input_bfds): In lang_input_statement_enum case, pass a place
+       argument to load_symbols, and store any new statements after the
+       current one.
+
+Mon Nov  7 15:53:02 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * ldver.c (ldversion): Bump to 2.5.3.
+
+Fri Nov  4 15:11:26 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * Makefile.in (e*nbsd.c): Fix typo in dependencies.
+
+Thu Nov  3 19:35:44 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * Makefile.in (check): Add missing "else true" clause.
+
+       * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out".
+
+       * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default
+       entry point to "start".  Align at end of each section to 0x200.
+       Start .text section 0x1000 later.  Add _etext, _edata, _end
+       symbols.
+
+Wed Nov  2 12:17:49 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ldctor.c (ldctor_add_set_entry): Don't permit a set to be
+       composed of different object file formats.
+       (ldctor_build_sets): If the output format does not support the
+       reloc, and we are not generating a relocateable link, try getting
+       the reloc from the input format.
+
+Tue Nov  1 10:30:19 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
+
+       * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o.
+         (em68knbsd.c): New target.
+
+       * config/m68k-nbsd.mt: New file.
+       * emulparams/m68knbsd.sh: New file.
+       * configure.in (m68*-*-netbsd*): Use above configs.
+
+Mon Oct 31 19:35:17 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an
+       appropriately named static library, stop the search at that
+       directory.
+
+Wed Oct 26 13:59:12 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
+
+       * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o 
+         and esparcnbsd.o; sorted entries.
+          (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets.
+
+       * config/netbsd532.mt: Removed.
+       * emulparams/netbsd532.sh: Removed.
+
+       * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files.
+       * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files.
+       * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, 
+         sparc*-*-netbsd*): Use above configs.
+
+Tue Oct 25 11:47:10 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ldmain.c (multiple_common): One of the types may now be
+       bfd_link_hash_indirect.  The old BFD argument may be NULL.
+
+Thu Oct 20 22:01:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * configure.in: Add * at the end of m68k-hp-hpux.
+
+Tue Oct 18 15:58:39 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to
+       YY_CHAR *.
+
+Mon Oct 17 14:53:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
+
+       * scripttempl/nw.sc: Gather constructors and destructors and
+         define __CTOR__LIST__ and __DTOR_LIST__ appropriately.
+
+Fri Oct 14 14:35:38 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
+
+       * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o.
+         (ei386nw.c, eppcnw.c): New targets.
+
+       * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh,
+         scripttempl/nw.sc: New files, for i386 and powerpc netware.
+         
+       * configure.in: Changed netware ld_target name to be {i386,ppc}-nw
+         instead of {i386,ppc}-elf.
+
+       * configure.in (sparc*-*-netware): Removed.  There is no such
+         thing anymore.
+
+       * ldint.texinfo: Move misplaced `@end iftex'.
+
+Fri Oct 14 12:02:18 1994  Eric Youngdale  (eric@aib.com)
+
+       * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and
+       .rela.dtors to the list of .rel* sections.
+
+Thu Oct 13 14:16:27 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * ldver.c (ldversion): Update to version 2.5.
+       * Version 2.5 released.
+
+       * configure.in (all_targets): Handle i386-linux*.
+
+Thu Oct 13 11:24:33 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * scripttempl/aout.sc: Set _etext and __etext to ., not
+       ${DATA_ALIGNMENT}.  This is compatible with SunOS, and, with luck,
+       will not break any other system.  From Eric Valette
+       <ev@chorus.fr>.
+
+Wed Oct 12 16:22:58 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * lexsup.c (parse_args): Change -V to be a synonym for -v.  Add
+       --verbose to get the old -V behaviour.
+       * ld.1, ld.texinfo: Document this change.
+
+Tue Sep 27 14:56:20 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
+       assertion, since it could fail with a user defined linker script.
+
+       * ldexp.c (fold_name): For DEFINED case, don't try to look up the
+       name in the hash table during the first phase--the hash table does
+       not even exist at that point, much less have the right value.
+
+       * Makefile.in (CC): Define.
+       (CXX): Move definition, change from g++ to gcc.
+       (EXPECT, RUNTEST): Copy definitions from top level Makefile.in.
+       (RUNTEST_CC, RUNTEST_CFLAGS): Remove.
+       (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove.
+       (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in.
+       (.cc.o): Comment out.
+       (testdir): Remove.
+       (site.exp): Don't create testdir or set tmpdir.
+       (check): Run checks even if not running native.  Use CC_FOR_TARGET
+       instead of RUNTEST_CC, and likewise for CXX.
+       (cdtest targets): Comment out.
+       * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once.
+       * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove.
+       * cdtest-main.cc, cdtest.exp: Remove.
+
+Mon Sep 26 11:40:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS
+       file naming problems.
+       * emulparams/elf32lmip.sh: Rename from elf32mipl.sh.
+       * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to
+       eelf32bmip.o and eelf32mipl.o to eelf32lmip.o.
+       (eelf32bmip.c): Rename from eelf32mipb.c.  Use elf32bmip.sh.
+       (eelf32lmip.c): Rename from eelf32mipl.c.  Use elf32lmip.sh.
+       * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb.
+       * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl.
+
+       * genscripts.sh: Always search /usr/local/TARGET/lib.
+
+       * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".".
+
+Fri Sep 23 15:05:49 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * configure.in: Handle i386-bsdi* targets like i386-bsd.
+
+Fri Sep 23 00:06:59 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * lexsup.c (parse_args): Add support for -a for HP/UX
+       compatibility.
+
+       * lexsup.c (parse_args): -c takes an argument.
+
+Tue Sep 20 14:35:27 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ld.h (args_type): Add new field endian.
+       * lexsup.c (parse_args): Handle -EB and -EL by setting
+       command_line.endian.
+       * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments.
+       * ldlang.c (lang_add_output_format): Add arguments big and little.
+       If command_line.endian is set, use it to select big or little
+       rather than the default.  Changed all callers.
+       * ldlang.h (lang_add_output_format): Update declaration.
+       * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and
+       LITTLE_OUTPUT_FORMAT.
+       * emulparams/elf32mipl.sh: Likewise.
+       * emulparams/mipsbig.sh: Likewise.
+       * emulparams/mipsbsd.sh: Likewise.
+       * emulparams/mipsidt.sh: Likewise.
+       * emulparams/mipsidtl.sh: Likewise.
+       * emulparams/mipslit.sh: Likewise.
+       * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and
+       LITTLE_OUTPUT_FORMAT if not already defined.  Pass them to
+       OUTPUT_FORMAT.
+       * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and
+       LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT.
+       * scripttempl/mipsbsd.sc: Likewise.
+
+       * Makefile.in (ldgram.h): Make separate target from ldgram.c,
+       depending upon ldgram.c, so that a parallel make does not try to
+       build both at once.
+
+       * configure.in (mips*el-elf*): New target.
+       * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o.
+       (eelf32mipl.c): New target.
+
+       * config/mipsl-elf32.mt: New file.
+       * emulparams/elf32mipl.sh: New file.
+
+Fri Sep 16 12:16:20 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as
+       ld -r -S -x.
+
+Thu Sep 15 13:05:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldmisc.c (vfinfo): Print BFD file name as well as file name
+       returned by find_nearest_line, in case the file name is something
+       unhelpful such as a .h file.  Handle %u.
+
+Wed Sep 14 12:49:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * ldlang.c (lang_do_assignments): Make sure output statement
+       has an attached bfd_section before trying to dereference it.
+
+Wed Sep 14 12:48:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ld.h (ld_config_type): Add new field warn_once.
+       * ldmain.c (undefined_symbol): Handle -warn-once.
+       * lexsup.c (parse_args): Recognize -warn-once.
+       * ld.texinfo (Options): Document -warn-once.
+       * ld.1: Likewise.
+
+       * ldmisc.c (vfinfo): Handle %D as %C, but never print the function
+       name.  For %C, print the function name on a separate line, to keep
+       the length of error messages under control.
+       * ldmain.c (multiple_definition): Use %D for ``first defined
+       here.''
+       (undefined_symbol): Use %D for ``more undefined references
+       follow''.
+
+       * ldmisc.c (multiple_warn): Remove; no longer used.
+       * ldmisc.h (multiple_warn): Don't declare.
+
+Tue Sep 13 20:47:58 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * ldlang.c (print_output_section_statement): Print all lines
+       to the map file.
+
+Tue Sep 13 16:30:11 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldlang.c (load_symbols): Check for archive before object.  Use
+       bfd_check_format_matches, and, if ambiguous, print a list of
+       matching formats.  If file format is not recognized, treat file as
+       a linker script.
+       * ldgram.y (yyerror): If assuming an object file is a script,
+       mention that.  Tweak the format of the error messages.
+       * ldlex.l (lex_warn_invalid): If assuming an object is a script,
+       guess that this is not actually a script, and just report that the
+       file format was not recognized.
+       * ld.texinfo (Options): Admit that -( may be used more than once.
+       Add note that unrecognized object files are now treated as linker
+       scripts.
+
+       * ldfile.c (ldfile_input_filename): Make const.
+       (ldfile_assumed_script): New variable.
+       (try_open): Change arguments types to const.
+       (ldfile_find_command_file): Likewise.
+       (ldfile_open_command_file): Likewise.  Also, set lineno to 1.
+       * ldfile.h: Update declarations for ldfile.c changes.
+       * ldlex.l: Include <ctype.h>.
+       (file_name_stack): Change to be const char *.
+       (lineno_stack): New static variable.
+       (<<EOF>>): Set lineno as well as ldfile_input_filename.
+       (lex_push_file): Make name argument const.  Initialize
+       lineno_stack entry.
+       (lex_redirect): Initialize lineno_stack entry.
+       (lex_warn_invalid): Handle non printable characters nicely.
+       * ldlex.h (lex_push_file): Declare second argument as const.
+
+       * ldgram.y (ifile_p1): Recognize GROUP.
+       * ldlex.l: Recognize GROUP.
+       * ld.texinfo (Option Commands): Document GROUP.
+
+Mon Sep 12 17:04:27 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * config/m68klynx.mh: New file.
+
+Mon Sep 12 01:50:03 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * emultempl/hppaelf.em: Add newlines to the error messages.
+
+Sat Sep 10 16:05:38 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/i386lynx.mh: New file.
+       * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text
+       unless CONSTRUCTING.
+
+Thu Sep  8 13:25:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32.
+       (GENERATE_SHLIB_SCRIPT): Define as yes.
+       (DYNAMIC_LINK): Define as false.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
+       Initialize config.dynamic_link to DYNAMIC_LINK if it is defined.
+       (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end.
+       * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than
+       generic.em.
+
+Thu Sep  8 16:30:37 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+        * scripttempl/h8500b.sc: Put rdata stuff into own segment.
+
+Thu Sep  8 13:25:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define;
+       .got section is now explicitly handled in elf.sc.
+
+Wed Sep  7 13:08:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * scripttempl/alpha.sc: Redo script to set . outside of sections
+       and not bother to explicitly specify section addresses.
+       Explicitly place .sdata section.
+
+Tue Sep  6 23:51:45 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * scripttempl/m68kcoff.sc: Put .bss in data segment.
+
+       * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of
+       0, and to only be marked as NOLOAD if relocating.
+       * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise.
+       * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise.
+       * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise.
+       * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise.
+       * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise.
+       * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise.
+       * scripttempl/sparclynx.sc: Likewise.
+
+Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
+
+       * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX.
+       * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc:
+       New files.
+
+Tue Aug 30 11:48:08 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * ld.h (args_type): Add field soname.
+       * lexsup.c (parse_args): Handle -soname argument.
+       * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections,
+       pass soname.
+       * ld.texinfo: Document -soname.
+
+Mon Aug 29 15:21:50 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldlang.c (lang_check): Don't try to set the architecture if the
+       input and output files are incompatible.  Just warn.
+
+Wed Aug 24 12:52:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * configure.in: Change i[34]86 to i[345]86.
+
+Sun Aug 21 16:17:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0.
+
+Thu Aug 18 15:37:45 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       Make the ELF linker handle orphaned sections reasonably.  Also,
+       define __start_SECNAME and __stop_SECNAME around sections whose
+       names can be represented in C, for the benefit of symbol sets in
+       glibc.
+       * ldemul.h (ldemul_place_orphan): Declare.
+       (ld_emulation_xfer_type): Add place_orphan field.
+       * ldemul.c (ldemul_place_orphan): New function.
+       * ldlang.h (wild_doit): Declare.
+       * ldlang.c (wild_doit): Make nonstatic.
+       (lang_place_orphans): Call ldemul_place_orphan.
+       * emultempl/elf32.em: Include <ctype.h> and "ldgram.h".
+       (hold_section, hold_use, hold_text, hold_data, hold_bss): New
+       static variables.
+       (gld${EMULATION_NAME}_place_orphan): New static function.
+       (gld${EMULATION_NAME}_place_section): New static function.
+       (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field.
+
+Tue Aug 16 00:17:20 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * scripttempl/aout.sc: Add .linux-dynamic after .data.
+
+Tue Aug 16 00:08:22 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * lexsup.c (parse_args) Treat --dll-verbose as --version, for
+       Linux compatibility.  From hjl@nynexst.com (H.J. Lu).
+
+Mon Aug 15 17:17:33 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldexp.h (exp_get_abs_int): Declare.
+
+Sat Aug  6 01:45:39 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * ldlang.c (lang_do_assignments):  Handle complex AT's better.
+       * ldexp.c (exp_get_abs_int):  New function.
+
+Fri Aug  5 20:55:55 1994  Jason Molenda (crash@phydeaux.cygnus.com)
+
+       * configure.in: add i960-nindy-coff support.
+
+Thu Aug  4 14:45:50 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldlex.l (yy_create_string_buffer): Handle change to internal
+       interface in flex 2.4.7.
+
+Tue Aug  2 11:52:06 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement):
+       New function; add 0x20 to any use of -Ttext.
+       (gld${EMULATION_NAME}_create_output_section_statements): New
+       function.
+       (ld_${EMULATION_NAME}_emulation): Use the new function
+       gld${EMULATION_NAME}_create_output_section_statements.
+
+Mon Aug  1 15:50:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * scripttempl/mips.sc: Redo script to set . outside of sections
+       and not bother to explicitly specify section addresses.
+
+Tue Jul 26 11:02:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * scripttempl/elf.sc: Copy several more relocation sections into
+       the output.  Put .got.plt sections into .got.
+
 Fri Jul 22 12:15:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
 
+       * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.
+
+       Add a new script operator, PROVIDE, to define a symbol only if it
+       is needed.
+       * ldgram.y (PROVIDE): New token.
+       (assignment): Accept PROVIDE.
+       * ldlex.l (PROVIDE): New token.
+       * ldexp.h (node_type): Add etree_provide to node_class enum.
+       (exp_provide): Declare.
+       * ldexp.c (exp_fold_tree): Handle etree_provide.
+       (exp_provide): New function.
+       (exp_print_tree): Handle etree_provide.
+       * ld.texinfo: Document PROVIDE.
+
        * ldlang.c (lang_common): Pass desired alignment to
         lang_one_common as power of two.
        (lang_one_common): Get common symbol alignment from linker hash
This page took 0.029053 seconds and 4 git commands to generate.