diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-01-26 17:19:35 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-01-26 17:19:35 +0000 |
commit | 1d4fe0350c7b41eda8a532afc9667b0cc0d7ba9a (patch) | |
tree | b089b8b59dd76415907489310ce7b8c2abcbafe1 /gprof/corefile.c | |
parent | d479ab67f1e979a83682776f74a406dc0d7c04fa (diff) | |
download | binutils-redhat-1d4fe0350c7b41eda8a532afc9667b0cc0d7ba9a.tar.gz |
* mips.c: New file.
* Makefile.am (sources): Add mips.c.
(mips.o): New rule.
* Makefile.in: Regenerate.
* corefile.c: Update copyright years.
(find_call): Call mips_find_call for bfd_arch_mips.
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r-- | gprof/corefile.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c index 82db0f685e..55515ecf66 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -1,6 +1,6 @@ /* corefile.c - Copyright 2000, 2001 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -48,6 +48,7 @@ extern void alpha_find_call PARAMS ((Sym *, bfd_vma, bfd_vma)); extern void vax_find_call PARAMS ((Sym *, bfd_vma, bfd_vma)); extern void tahoe_find_call PARAMS ((Sym *, bfd_vma, bfd_vma)); extern void sparc_find_call PARAMS ((Sym *, bfd_vma, bfd_vma)); +extern void mips_find_call PARAMS ((Sym *, bfd_vma, bfd_vma)); static void DEFUN (read_function_mappings, (filename), const char *filename) @@ -261,6 +262,10 @@ DEFUN (find_call, (parent, p_lowpc, p_highpc), tahoe_find_call (parent, p_lowpc, p_highpc); break; + case bfd_arch_mips: + mips_find_call (parent, p_lowpc, p_highpc); + break; + default: fprintf (stderr, _("%s: -c not supported on architecture %s\n"), whoami, bfd_printable_name(core_bfd)); |