diff options
author | John Gilmore <gnu@cygnus> | 1991-04-25 04:22:55 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-04-25 04:22:55 +0000 |
commit | d6a554ae83d74bcdfbf7b41c262eae4043194df6 (patch) | |
tree | 7a611b2aa59d4eee0e40d4cd543eadfab68ece78 /bfd/archive.c | |
parent | bad3df6720febc5e2e5e4a2af6acbb3bdd66b048 (diff) | |
download | binutils-gdb-d6a554ae83d74bcdfbf7b41c262eae4043194df6.tar.gz |
Minor changes to accomodate merging of three include file directories.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r-- | bfd/archive.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/archive.c b/bfd/archive.c index 530b0aab776..13135406f16 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -417,6 +417,8 @@ bfd_slurp_bsd_armap (abfd) /* The archive has at least 16 bytes in it */ bfd_seek (abfd, -16L, SEEK_CUR); + /* This should be using RANLIBMAG, but at least it can be grepped for + in this comment. */ if (strncmp (nextname, "__.SYMDEF ", 16)) { bfd_has_map (abfd) = false; return true; @@ -1107,7 +1109,7 @@ bsd_write_armap (arch, elength, map, orl_count, stridx) stat (arch->filename, &statbuf); memset ((char *)(&hdr), 0, sizeof (struct ar_hdr)); - sprintf (hdr.ar_name, "__.SYMDEF"); + sprintf (hdr.ar_name, RANLIBMAG); sprintf (hdr.ar_size, "%-10d", (int) mapsize); sprintf (hdr.ar_date, "%ld", statbuf.st_mtime); hdr.ar_fmag[0] = '`'; hdr.ar_fmag[1] = '\n'; |