aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog8
-rwxr-xr-xgprof/configure2
-rw-r--r--gprof/configure.in2
-rw-r--r--gprof/ns532.c12
-rw-r--r--gprof/ns532.h8
5 files changed, 20 insertions, 12 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index b094852..427c0c9 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,11 @@
+Fri Aug 25 15:30:05 1995 Ken Raeburn <raeburn@cygnus.com>
+
+ NS32K changes from Ian Dall:
+ * configure.in: Use ns32k, not ns532.
+ * ns532.c: Include symtab.h.
+ (find_call): Renamed from findcall. Print a message.
+ * ns532.h: Remove dummy.h comments.
+
Tue Aug 22 10:00:45 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* Makefile.in (install): Remove "brokensed" hack, unnecessary now
diff --git a/gprof/configure b/gprof/configure
index b9a6fca..2408cbd 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -603,7 +603,7 @@ i[345]86-*-*) MY_TARGET=i386 ;;
sparc-*-*) MY_TARGET=sparc ;;
tahoe-*-*) MY_TARGET=tahoe ;;
vax-*-*) MY_TARGET=vax ;;
-ns532-*-*|*-pc532-*) MY_TARGET=ns532;;
+ns32k-*-*|*-pc532-*) MY_TARGET=ns532;;
*-*-*) MY_TARGET=dummy ;;
esac
diff --git a/gprof/configure.in b/gprof/configure.in
index d75454c..7849a85 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -16,7 +16,7 @@ changequote([,])dnl
sparc-*-*) MY_TARGET=sparc ;;
tahoe-*-*) MY_TARGET=tahoe ;;
vax-*-*) MY_TARGET=vax ;;
-ns532-*-*|*-pc532-*) MY_TARGET=ns532;;
+ns32k-*-*) MY_TARGET=ns532;;
*-*-*) MY_TARGET=dummy ;;
esac
diff --git a/gprof/ns532.c b/gprof/ns532.c
index ae3f801..c68fae4 100644
--- a/gprof/ns532.c
+++ b/gprof/ns532.c
@@ -1,13 +1,17 @@
#include "gprof.h"
+#include "symtab.h"
/*
* dummy.c -- This file should be used for an unsupported processor type.
* It does nothing, but prevents findcall() from being unresolved.
*/
-findcall (parentp, p_lowpc, p_highpc)
- nltype *parentp;
- unsigned long p_lowpc;
- unsigned long p_highpc;
+void
+find_call (parent, p_lowpc, p_highpc)
+ Sym *parent;
+ bfd_vma p_lowpc;
+ bfd_vma p_highpc;
{
+ fprintf (stderr, "%s: -c supported on this machine architecture\n",
+ whoami);
}
diff --git a/gprof/ns532.h b/gprof/ns532.h
index 9eb92a5..2fa2233 100644
--- a/gprof/ns532.h
+++ b/gprof/ns532.h
@@ -34,13 +34,9 @@
*/
/*
- * dummy.h -- This file should be used when a processor is not yet supported.
+ * offset (in bytes) of the code from the entry address of a routine.
+ * (see asgnsamples for use and explanation.)
*/
-
- /*
- * offset (in bytes) of the code from the entry address of a routine.
- * (see asgnsamples for use and explanation.)
- */
#ifdef MACH
#include <machine/mach_param.h>
#define hertz() (HZ)