* alpha.c: Add missing prototypes.

* sparc.c: Likewise.
	* tahoe.c: Likewise.
	* vax.c: Likewise.
	* i386.c: Likewise.
	(i386_iscall): Don't use DEFUN.
This commit is contained in:
Alan Modra 2001-08-09 14:57:42 +00:00
parent badaf34c72
commit 5789ecea4c
6 changed files with 27 additions and 1 deletions

View file

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

View file

@ -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

View file

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

View file

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

View file

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

View file

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