Revert change making writing the archive map the standard. Instead, change
authorPer Bothner <per@bothner.com>
Wed, 16 Dec 1992 02:17:49 +0000 (02:17 +0000)
committerPer Bothner <per@bothner.com>
Wed, 16 Dec 1992 02:17:49 +0000 (02:17 +0000)
the ar program so that *its* default is to always request writing the map.

bfd/archive.c

index 33c144bc530c36cd8d192fdbe4c0288b140ae55f..a9bb469c81b8a1008b4d9e2093ec3ce37892b53c 100644 (file)
@@ -1146,11 +1146,7 @@ _bfd_write_archive_contents (arch)
   char *etable = NULL;
   unsigned int elength = 0;
 
-  /* This used to be:  boolean makemap = bfd_has_map (arch).
-     But Posix.2 prohibits requiring a separate ranlib program, so we
-     need to make a map whenever there are object files in the archive. */
-  boolean makemap = true;
-
+  boolean makemap = bfd_has_map (arch);
   boolean hasobjects = false;  /* if no .o's, don't bother to make a map */
   unsigned int i;