aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-05-05 18:12:53 +0000
committerMichael Snyder <msnyder@vmware.com>2000-05-05 18:12:53 +0000
commit3425c182982bf3458d0bc152c89117a6393a5196 (patch)
treea379f1682851ce6964e342c5feda3b7b03d1ebb2 /bfd/bfd-in2.h
parent318b21ef35b29746252ca0b6e998b305471ae01f (diff)
downloadfsf-binutils-gdb-3425c182982bf3458d0bc152c89117a6393a5196.zip
fsf-binutils-gdb-3425c182982bf3458d0bc152c89117a6393a5196.tar.gz
fsf-binutils-gdb-3425c182982bf3458d0bc152c89117a6393a5196.tar.bz2
2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
* elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1. * bfd-in.h: Prototype bfd_elf_get_arch_size. * bfd-in2.h: Prototype bfd_elf_get_arch_size.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 8d89199..01d735f 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -640,6 +640,9 @@ extern long bfd_get_elf_phdr_upper_bound PARAMS ((bfd *abfd));
error occurs; bfd_get_error will return an appropriate code. */
extern int bfd_get_elf_phdrs PARAMS ((bfd *abfd, void *phdrs));
+/* Return the arch_size field of an elf bfd, or -1 if not elf. */
+extern int bfd_elf_get_arch_size PARAMS ((bfd *));
+
/* SunOS shared library support routines for the linker. */
extern struct bfd_link_needed_list *bfd_sunos_get_needed_list