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 | ec0806ec8163a1819054c7ac01dfd465d4b15aef (patch) | |
tree | 9c187a22f384ede7e8fc12e62c57dd786f13ad62 /gprof/corefile.c | |
parent | 9cb61eabc1602dbecf3c3aa58c568284e76e6d7d (diff) | |
download | fsf-binutils-gdb-ec0806ec8163a1819054c7ac01dfd465d4b15aef.zip fsf-binutils-gdb-ec0806ec8163a1819054c7ac01dfd465d4b15aef.tar.gz fsf-binutils-gdb-ec0806ec8163a1819054c7ac01dfd465d4b15aef.tar.bz2 |
* 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 82db0f6..55515ec 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)); |