From 8c11363a29e068373b3511a6c989a53b4dcb2133 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 6 Aug 1993 16:39:44 +0000 Subject: * ecoff.c (ecoff_slurp_armap): From Arne Henrik Juul : Handle a COFF style armap. --- bfd/ecoff.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bfd/ecoff.c') diff --git a/bfd/ecoff.c b/bfd/ecoff.c index f6450f5..685ab4e 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -3947,6 +3947,14 @@ ecoff_slurp_armap (abfd) bfd_seek (abfd, (file_ptr) -16, SEEK_CUR); + /* Irix 4.0.5F apparently can use either an ECOFF armap or a + standard COFF armap. We could move the ECOFF armap stuff into + bfd_slurp_armap, but that seems inappropriate since no other + target uses this format. Instead, we check directly for a COFF + armap. */ + if (strncmp (nextname, "/ ", 16) == 0) + return bfd_slurp_armap (abfd); + /* See if the first element is an armap. */ if (strncmp (nextname, ecoff_backend (abfd)->armap_start, ARMAP_START_LENGTH) != 0 -- cgit v1.1