aboutsummaryrefslogtreecommitdiff
path: root/gprof/dummy.c
blob: 184cec6505207f5df5eb939551877612da84ed32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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.
 */

void
DEFUN (find_call, (parent, p_lowpc, p_highpc),
       Sym * parent AND bfd_vma p_lowpc AND bfd_vma p_highpc)
{
  fprintf (stderr, "%s: -c not supported on this machine architecture\n",
	   whoami);

  /* Don't give the error more than once.  */
  ignore_direct_calls = FALSE;
}