* ldmain.c (write_map): Don't define. Removed all references.
authorIan Lance Taylor <ian@airs.com>
Sat, 26 Feb 1994 19:01:50 +0000 (19:01 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 26 Feb 1994 19:01:50 +0000 (19:01 +0000)
Just use map_file or map_filename instead.
(add_archive_element): Use minfo to write map information, not
info_msg.
(constructor_callback): Use fprintf to write map information, not
info_msg.
* ldmain.h (write_map): Don't declare.
* ldgram.y (mri_script_command): Removed reference to write_map.
* ldlang.c (lang_one_common): Likewise.
* lexsup.c (parse_args): Likewise.

ld/ChangeLog
ld/ldlang.c

index 4fabc8e56d00cdf7b2cf5e8b0cc31bd88f0f41f6..bdf149e16e5b7c8e9bb3db20d99f1fb3aee71d86 100644 (file)
@@ -1,3 +1,16 @@
+Sat Feb 26 10:58:25 1994  Ian Lance Taylor  (ian@cygnus.com)
+
+       * ldmain.c (write_map): Don't define.  Removed all references.
+       Just use map_file or map_filename instead.
+       (add_archive_element): Use minfo to write map information, not
+       info_msg.
+       (constructor_callback): Use fprintf to write map information, not
+       info_msg.
+       * ldmain.h (write_map): Don't declare.
+       * ldgram.y (mri_script_command): Removed reference to write_map.
+       * ldlang.c (lang_one_common): Likewise.
+       * lexsup.c (parse_args): Likewise.
+
 Fri Feb 25 19:12:03 1994  Ian Lance Taylor  (ian@cygnus.com)
 
        * scripttempl/elf.sc: Force all sections to be aligned.
index 468898c02bb5487e6ec9d8f2a1d73967a93cc95f..5e628b8f0d86c6155d0f0e757772d2744647917f 100644 (file)
@@ -2144,7 +2144,7 @@ lang_one_common (h, info)
   /* Increase the size of the section.  */
   section->_raw_size += size;
 
-  if (write_map && config.map_file != NULL)
+  if (config.map_file != NULL)
     fprintf (config.map_file, "Allocating common %s: %lx at %lx %s\n",
             h->root.string, (unsigned long) size,
             (unsigned long) h->u.def.value, section->owner->filename);