From af0786b4013325351bbb5e0c50d0b0510cea62c2 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 5 Sep 1995 19:04:22 +0000 Subject: some ns32k updates from Ian Dall --- gprof/ChangeLog | 8 ++++++++ gprof/configure | 2 +- gprof/configure.in | 2 +- gprof/ns532.c | 12 ++++++++---- gprof/ns532.h | 8 ++------ 5 files changed, 20 insertions(+), 12 deletions(-) (limited to 'gprof') 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 + + 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 * 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 #define hertz() (HZ) -- cgit v1.1