Browse Source

* alpha.c: Add missing prototypes.

* sparc.c: Likewise.
	* tahoe.c: Likewise.
	* vax.c: Likewise.
	* i386.c: Likewise.
	(i386_iscall): Don't use DEFUN.
binutils-2_12-branch
Alan Modra 25 years ago
parent
commit
5789ecea4c
  1. 9
      gprof/ChangeLog
  2. 1
      gprof/alpha.c
  3. 5
      gprof/i386.c
  4. 2
      gprof/sparc.c
  5. 5
      gprof/tahoe.c
  6. 6
      gprof/vax.c

9
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.

1
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

5
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;

2
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;

5
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)

6
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;

Loading…
Cancel
Save