/*
- * Copyright (c) 1983 Regents of the University of California.
+ * Copyright (c) 1983, 2001 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
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;
* skip the count of the number of arguments.
*/
DBG (CALLDEBUG,
- printf ("[findcall]\t0x%x:calls",
- instructp - (unsigned char *) core_text_space));
+ printf ("[findcall]\t0x%lx:calls",
+ ((unsigned long)
+ (instructp - (unsigned char *) core_text_space))));
firstmode = vax_operandmode ((struct modebyte *) (instructp + length));
switch (firstmode)
{
case longrel:
/*
* regular pc relative addressing
- * check that this is the address of
+ * check that this is the address of
* a function.
*/
destpc = vax_reladdr ((struct modebyte *) (instructp + length))