aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog1
-rw-r--r--bfd/archures.c2
-rw-r--r--bfd/bfd-in2.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1d72b5a..5b99212 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -24,6 +24,7 @@ start-sanitize-v8plus
(bfd_mach_sparc_{v8plus,v8plusa}): Define.
end-sanitize-v8plus
(bfd_mach_sparc_v9a): Define.
+ (bfd_mach_sparc_v9_p): Define.
* bfd-in2.h: Regenerated.
* aoutx.h (aout,machine_type): bfd_mach_sparc64 renamed to
bfd_mach_sparc_v9.
diff --git a/bfd/archures.c b/bfd/archures.c
index 96b08e3..4c106e2 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -99,6 +99,8 @@ DESCRIPTION
. {* end-sanitize-v8plus *}
.#define bfd_mach_sparc_v9 4
.#define bfd_mach_sparc_v9a 5 {* v9 with ultrasparc add'ns *}
+.{* Nonzero if MACH has the v9 instruction set. *}
+.#define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc)
. bfd_arch_mips, {* MIPS Rxxxx *}
. bfd_arch_i386, {* Intel 386 *}
. bfd_arch_we32k, {* AT&T WE32xxx *}
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 9ffab26..246d537 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1116,6 +1116,8 @@ enum bfd_architecture
/* end-sanitize-v8plus */
#define bfd_mach_sparc_v9 4
#define bfd_mach_sparc_v9a 5 /* v9 with ultrasparc add'ns */
+ /* Nonzero if MACH has the v9 instruction set. */
+#define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc)
bfd_arch_mips, /* MIPS Rxxxx */
bfd_arch_i386, /* Intel 386 */
bfd_arch_we32k, /* AT&T WE32xxx */