summaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-17 03:54:53 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-17 03:54:53 +0000
commit2156eec6cbafa2d32d3a7fe043b0b798005928a3 (patch)
treeba4b5e36e90c71d5cee4cd9fdb70316824354108 /bfd/bfd-in2.h
parent39dc26fb056ee976cdad5c2bbd60103d048253a7 (diff)
downloadgdb-2156eec6cbafa2d32d3a7fe043b0b798005928a3.tar.gz
* bfd-in.h (BFD_VERSION): Remove wrong comment.
(BFD_DEFAULT_TARGET_SIZE): New. (BFD_ARCH_SIZE): Comment. * configure.in (target_size): New. Set instead of target64 in selvecs case statement. Set target64 from it. (bfd_default_target_size): New. Set from taget_size. AC_SUBST. * bfd-in2.h: Regenerate. * configure: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 3f7c61062aa..37dae3da465 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -52,9 +52,16 @@ extern "C" {
#include "ansidecl.h"
-/* These two lines get substitutions done by commands in Makefile.in. */
#define BFD_VERSION "@VERSION@"
+
+/* The word size used by BFD on the host. This may be 64 with a 32
+ bit target if the host is 64 bit, or if other 64 bit targets have
+ been selected with --enable-targets, or if --enable-64-bit-bfd. */
#define BFD_ARCH_SIZE @wordsize@
+
+/* The word size of the default bfd target. */
+#define BFD_DEFAULT_TARGET_SIZE @bfd_default_target_size@
+
#define BFD_HOST_64BIT_LONG @BFD_HOST_64BIT_LONG@
#if @BFD_HOST_64_BIT_DEFINED@
#define BFD_HOST_64_BIT @BFD_HOST_64_BIT@