summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gprof
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-24 15:24:20 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-24 15:24:20 +0000
commitc4dc47cc0b0fcffeb35d7e35c16a74a0e4d4aa82 (patch)
treeb3870eef26c0152f5dc118e5e73ba555c1e5dba7 /gnu/usr.bin/binutils/gprof
parent489a045c51b07a7e520f3878ef4328c89e3ed295 (diff)
support sparc64
Diffstat (limited to 'gnu/usr.bin/binutils/gprof')
-rw-r--r--gnu/usr.bin/binutils/gprof/gmon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gprof/gmon.h b/gnu/usr.bin/binutils/gprof/gmon.h
index 541fa4dbdf9..70575993b94 100644
--- a/gnu/usr.bin/binutils/gprof/gmon.h
+++ b/gnu/usr.bin/binutils/gprof/gmon.h
@@ -39,7 +39,7 @@ struct raw_phdr
{
/* FIXME: Checking a host compiler define means that we can't use
a cross gprof to the alpha. */
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__sparc64__)
char low_pc[8]; /* base pc address of sample buffer */
char high_pc[8]; /* max pc address of sampled buffer */
#else
@@ -59,7 +59,7 @@ struct old_raw_phdr
{
/* FIXME: Checking a host compiler define means that we can't use
a cross gprof to the alpha. */
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__sparc64__)
char low_pc[8]; /* base pc address of sample buffer */
char high_pc[8]; /* max pc address of sampled buffer */
#else