diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-05-05 18:12:53 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-05-05 18:12:53 +0000 |
commit | acf6fc9f47d3bddc8ac4bd30e0aa0eab521433cf (patch) | |
tree | f1cd2014e31090d767d7c70d5513f02cd62982b6 /bfd/bfd-in.h | |
parent | cf31b86b1ae6f734dbdd761d2df7ad28e0768728 (diff) | |
download | binutils-redhat-acf6fc9f47d3bddc8ac4bd30e0aa0eab521433cf.tar.gz |
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-in.h')
-rw-r--r-- | bfd/bfd-in.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 127d96136f..dc172bf7da 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.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 |