summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-05-22 08:33:03 +0000
committerobrien <obrien@FreeBSD.org>2000-05-22 08:33:03 +0000
commitf9cf2be8ca5bb4c159ec2734947594a8831e0bfc (patch)
tree57f08a282ee99b4941087996bb059837b5f6c88d /gnu/usr.bin
parentaa7968485de566bc42d0f5d97acf39461153943d (diff)
downloadFreeBSD-src-f9cf2be8ca5bb4c159ec2734947594a8831e0bfc.zip
FreeBSD-src-f9cf2be8ca5bb4c159ec2734947594a8831e0bfc.tar.gz
Tweaks to match those done in the Binutils mainline code.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/libbfd/i386/bfd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/i386/bfd.h b/gnu/usr.bin/binutils/libbfd/i386/bfd.h
index eafbf61..618dc1f 100644
--- a/gnu/usr.bin/binutils/libbfd/i386/bfd.h
+++ b/gnu/usr.bin/binutils/libbfd/i386/bfd.h
@@ -91,7 +91,7 @@ typedef struct _bfd bfd;
/* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h> -fnf */
/* It gets worse if the host also defines a true/false enum... -sts */
/* And even worse if your compiler has built-in boolean types... -law */
-#if defined (__GNUG__) && (__GNUC_MINOR__ > 5)
+#if defined (__GNUG__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6))
#define TRUE_FALSE_ALREADY_DEFINED
#endif
#ifdef MPW
@@ -642,6 +642,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
OpenPOWER on IntegriCloud