* ldlang.c (map_input_to_output_sections): For lang_address, call
[binutils-gdb.git] / ld / ChangeLog
index 7eb00bbd0dea5a3900087f76a30459794ae2c796..41cdc4dbaddb1a24118098ee830a0caf1e5da72f 100644 (file)
@@ -1,3 +1,89 @@
+Thu Jun  9 00:17:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldlang.c (map_input_to_output_sections): For lang_address, call
+       init_os if it hasn't already been called.
+
+Thu Jun  2 17:24:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Add support for SunOS shared libraries.
+       * aout.sc: Don't define __DYNAMIC here.  Add new sections used by
+       shared library support code.
+       * emultempl/sunos.em: New file.
+       * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos.
+       * emulparams/sun3.sh (TEMPLATE_NAME): Likewise.
+       * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
+       (esun3.c): Likewise.
+
+       * ldlang.c: Minor formatting cleanups.
+       (lang_for_each_input_file): New function.
+       * ldlang.h (lang_for_each_input_file): Declare.
+
+       * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline
+       field.
+       (search_head): Declare.
+       (ldfile_add_library_path): Add new cmdline argument in prototype.
+       * ldfile.c (search_head): Make non-static.
+       (search_dirs_type): Move to ldfile.h.
+       (ldfile_add_library_path): Accept cmdline argument, and save it.
+       * lexsup.c (parse_args): Pass true for new cmdline argument of
+       ldfile_add_library_path.
+       (set_default_dirlist): Likewise.
+       * ldmain.c (check_for_scripts_dir): Pass false for new cmdline
+       argument of ldfile_add_library_path.
+       * ldgram.y (ifile_p1): Likewise.
+
+Wed Jun  1 14:24:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldlang.h (lang_input_statement_type): Remove fields subfiles,
+       total_size, superfile and chain.
+       * ldfile.c (open_a): Don't clear search_dirs_flag.
+       (ldfile_open_file): Don't try to open superfile.  Assert that file
+       has not already been opened.
+       * ldlang.c (new_afile): Don't initialize superfile.
+       * ldmain.c (add_archive_element): Don't initialize subfiles or
+       chain or superfile.  Initialize search_dirs_flag to false.
+
+Fri May 27 12:25:33 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * ldver.c (ldversion): Changed version to "cygnus-2.4.1".
+
+       Changes from binutils-2.4 release:
+
+       * genscripts.sh (RELOCATING, CONSTRUCTING): When setting
+       variables, use whitespace, so scripts don't break.
+
+       * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted.
+
+       * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}.
+
+       * cdtest-bar.cc: Renamed from cdtest-func.cc.
+       * Makefile.in: Noted change.
+
+       * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I
+       don't know where that's supposed to come from, or why it's
+       necessary.
+
+       Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
+
+       * configure.bat: update to latest makefile.in
+       * emulpara/go32.sh: set to coff-go32 not aout
+       * emultemp/generic.em: strength-reduce the structure of
+         this shell script, since the only available shell for
+         DOS can't handle complex syntax.
+       * emultemp/stringify.sed: for "sed -f" instead of inline.
+       * makefile.in: depend on stringify.sed as well as genscripts.sh
+       * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format
+       * genscripts.sh: empty variables aren't always considered "set",
+         so set them to "y" instead.
+
+Fri May 27 01:08:14 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldlang.c (entry_symbol): Make static.
+       (lang_add_entry): Add cmdline argument.
+       * ldlang.h (lang_add_entry): Change prototype.
+       * ldgram.y (statement_anywhere): Change lang_add_entry call.
+       * lexsup.c (parse_args): Likewise.
+
 Tue May 24 16:13:43 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give