summaryrefslogtreecommitdiffstats
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-07-30 10:08:00 +0000
committerJakub Jelinek <jakub@redhat.com>2004-07-30 10:08:00 +0000
commit7946e94a55158e8100d029a5ee9825f35e82e422 (patch)
tree4986cf72c6d9bf50b21375e777755a98210cab08 /bfd/bfd-in2.h
parentff636ee388a8727b9b3393d67a2f1e13d7343839 (diff)
downloadppe42-binutils-7946e94a55158e8100d029a5ee9825f35e82e422.tar.gz
ppe42-binutils-7946e94a55158e8100d029a5ee9825f35e82e422.zip
* archures.c (bfd_mach_sparc_64bit_p): Define.
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Use it. * bfd-in2.h: Rebuilt.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index e693f237c4..8f5d59bdae 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1576,6 +1576,9 @@ enum bfd_architecture
#define bfd_mach_sparc_v9_p(mach) \
((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b \
&& (mach) != bfd_mach_sparc_sparclite_le)
+/* Nonzero if MACH is a 64 bit sparc architecture. */
+#define bfd_mach_sparc_64bit_p(mach) \
+ ((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb)
bfd_arch_mips, /* MIPS Rxxxx */
#define bfd_mach_mips3000 3000
#define bfd_mach_mips3900 3900
OpenPOWER on IntegriCloud