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 | 3425c182982bf3458d0bc152c89117a6393a5196 (patch) | |
tree | a379f1682851ce6964e342c5feda3b7b03d1ebb2 /bfd/bfd-in.h | |
parent | 318b21ef35b29746252ca0b6e998b305471ae01f (diff) | |
download | gdb-3425c182982bf3458d0bc152c89117a6393a5196.zip gdb-3425c182982bf3458d0bc152c89117a6393a5196.tar.gz 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-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 127d961..dc172bf 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 |