From 3425c182982bf3458d0bc152c89117a6393a5196 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 5 May 2000 18:12:53 +0000 Subject: 2000-05-04 Michael Snyder * 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. --- bfd/bfd-in.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/bfd-in.h') 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 -- cgit v1.1