mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-12 12:40:36 +00:00
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.
This commit is contained in:
parent
e2fe2df4d3
commit
91c9d02916
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user