* ldlang.c (map_input_to_output_sections): For lang_address, call
[binutils-gdb.git] / ld / ChangeLog
index f0ebae59b03d2b677d0ec458e9b5e60738ca823c..41cdc4dbaddb1a24118098ee830a0caf1e5da72f 100644 (file)
@@ -1,3 +1,48 @@
+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".