aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-09 14:57:42 +0000
committerAlan Modra <amodra@gmail.com>2001-08-09 14:57:42 +0000
commit5789ecea4c53e1fa61db1211f4e3f132bbd57788 (patch)
treede68f18fb58c99f4a69ff4ddfaacbdb30ed54ac2
parentbadaf34c728a73cd58e339219e49a1774878c9fa (diff)
downloadbinutils-5789ecea4c53e1fa61db1211f4e3f132bbd57788.zip
binutils-5789ecea4c53e1fa61db1211f4e3f132bbd57788.tar.gz
binutils-5789ecea4c53e1fa61db1211f4e3f132bbd57788.tar.bz2
* alpha.c: Add missing prototypes.
* sparc.c: Likewise. * tahoe.c: Likewise. * vax.c: Likewise. * i386.c: Likewise. (i386_iscall): Don't use DEFUN.
-rw-r--r--gprof/ChangeLog9
-rw-r--r--gprof/alpha.c1
-rw-r--r--gprof/i386.c5
-rw-r--r--gprof/sparc.c2
-rw-r--r--gprof/tahoe.c5
-rw-r--r--gprof/vax.c6
6 files changed, 27 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index df9019b..72ab53e 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,12 @@
+2001-08-09 Alan Modra <amodra@bigpond.net.au>
+
+ * alpha.c: Add missing prototypes.
+ * sparc.c: Likewise.
+ * tahoe.c: Likewise.
+ * vax.c: Likewise.
+ * i386.c: Likewise.
+ (i386_iscall): Don't use DEFUN.
+
2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
* NOTES: Rename to README for consistency with other binutils.
diff --git a/gprof/alpha.c b/gprof/alpha.c
index 8aad74d..edf244b 100644
--- a/gprof/alpha.c
+++ b/gprof/alpha.c
@@ -62,6 +62,7 @@ alpha_Instruction;
static Sym indirect_child;
+void alpha_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
/*
* On the Alpha we can only detect PC relative calls, which are
diff --git a/gprof/i386.c b/gprof/i386.c
index 338a443..8836dc3 100644
--- a/gprof/i386.c
+++ b/gprof/i386.c
@@ -22,9 +22,12 @@
#include "hist.h"
#include "symtab.h"
+int i386_iscall PARAMS ((unsigned char *));
+void i386_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
int
-DEFUN (i386_iscall, (ip), unsigned char *ip)
+i386_iscall (ip)
+ unsigned char *ip;
{
if (*ip == 0xe8)
return 1;
diff --git a/gprof/sparc.c b/gprof/sparc.c
index 0365827..9ffdeb0 100644
--- a/gprof/sparc.c
+++ b/gprof/sparc.c
@@ -27,6 +27,8 @@
*/
#define CALL (0xc0000000)
+void sparc_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
+
void
sparc_find_call (parent, p_lowpc, p_highpc)
Sym *parent;
diff --git a/gprof/tahoe.c b/gprof/tahoe.c
index 750c7ad..f9f72c0 100644
--- a/gprof/tahoe.c
+++ b/gprof/tahoe.c
@@ -46,6 +46,11 @@ typedef enum tahoe_opermodes tahoe_operandenum;
*/
Sym indirectchild;
+tahoe_operandenum tahoe_operandmode PARAMS ((unsigned char *));
+char *tahoe_operandname PARAMS ((tahoe_operandenum));
+long tahoe_operandlength PARAMS ((unsigned char *));
+bfd_vma tahoe_reladdr PARAMS ((char *));
+void tahoe_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
tahoe_operandenum
tahoe_operandmode (modep)
diff --git a/gprof/vax.c b/gprof/vax.c
index 0d7cc30..9d67430 100644
--- a/gprof/vax.c
+++ b/gprof/vax.c
@@ -53,6 +53,12 @@ struct modebyte
Sym indirectchild;
+static operandenum vax_operandmode PARAMS ((struct modebyte *));
+static char *vax_operandname PARAMS ((operandenum));
+static long vax_operandlength PARAMS ((struct modebyte *));
+static bfd_vma vax_reladdr PARAMS ((struct modebyte *));
+void vax_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
+
static operandenum
vax_operandmode (modep)
struct modebyte *modep;