diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-03 22:16:40 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-03 22:16:40 +0000 |
commit | 9675c281afc1e00a613f2820371043df844bff43 (patch) | |
tree | ce9241e337e7505b30789d0f4eb4e95e516c371c /bfd/elfcode.h | |
parent | d07445c31057d2ba49fb9f578ef85810b1701fdd (diff) | |
download | gdb-9675c281afc1e00a613f2820371043df844bff43.zip gdb-9675c281afc1e00a613f2820371043df844bff43.tar.gz gdb-9675c281afc1e00a613f2820371043df844bff43.tar.bz2 |
* bfd.c (enum bfd_error): Define bfd_error_no_armap.
(bfd_errmsgs): Add string for bfd_error_no_armap.
* bfd-in2.h: Rebuild.
* ecoff.c (ecoff_link_add_archive_symbols): If an archive has no
armap, set bfd_error_no_armap rather than bfd_error_no_symbols.
* elfcode.h (elf_link_add_archive_symbols): Likewise.
* linker.c (_bfd_generic_link_add_archive_symbols): Likewise.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 4c73825..2ce8bed 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -4035,7 +4035,7 @@ elf_link_add_archive_symbols (abfd, info) /* An empty archive is a special case. */ if (bfd_openr_next_archived_file (abfd, (bfd *) NULL) == NULL) return true; - bfd_set_error (bfd_error_no_symbols); + bfd_set_error (bfd_error_no_armap); return false; } |