aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-12-16 02:17:49 +0000
committerPer Bothner <per@bothner.com>1992-12-16 02:17:49 +0000
commit91c9d02916f5a86959c17863092559810ce95bd3 (patch)
tree94a34e44bb5f73db91f8d7091e9104e5e12f31ef /bfd
parente2fe2df4d341bdae2a75dab9bc014898aac956fa (diff)
downloadgdb-91c9d02916f5a86959c17863092559810ce95bd3.zip
gdb-91c9d02916f5a86959c17863092559810ce95bd3.tar.gz
gdb-91c9d02916f5a86959c17863092559810ce95bd3.tar.bz2
Revert change making writing the archive map the standard. Instead, change
the ar program so that *its* default is to always request writing the map.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/archive.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index 33c144b..a9bb469 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -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;