aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-17 03:54:53 +0000
committerAlan Modra <amodra@gmail.com>2001-08-17 03:54:53 +0000
commit69263e90830e3f72f0babb3b8dab93114e8f8669 (patch)
treea0f3a95b286ad96a7b52c94751523f1fb140205f /bfd/bfd-in2.h
parent3619ad0439dad3a20a39cbfb5f2c838e343e753a (diff)
downloadbinutils-69263e90830e3f72f0babb3b8dab93114e8f8669.zip
binutils-69263e90830e3f72f0babb3b8dab93114e8f8669.tar.gz
binutils-69263e90830e3f72f0babb3b8dab93114e8f8669.tar.bz2
* 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 3f7c610..37dae3d 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@