This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Enable profile on mips
- From: "H . J . Lu" <hjl at kernel dot org>
- To: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 13 Feb 2002 16:54:21 -0800
- Subject: PATCH: Enable profile on mips
On Fri, Feb 08, 2002 at 05:09:24PM -0500, Daniel Jacobowitz wrote:
> On Fri, Feb 08, 2002 at 01:55:08PM -0800, H.J. Lu wrote:
> > Hi, Daniel,
> >
> > Your glibc patch seems to work fine. Here is a patch for binutils.
> >
> > BTW, binutils is broken for canadian cross build. I have a patch
> >
> > http://sources.redhat.com/ml/binutils/2002-02/msg00169.html
> >
> > to fix the problem.
>
> Did DJ ever respond to this one?
I don't think so.
>
> > 2002-02-08 H.J. Lu (hjl@gnu.org)
> >
> > * configure.in: Enable gprof for mips*-*-linux*.
>
> Actually, I also need to check if gprof is now cross-safe. It appears
> that Jason fixed it. You should probably post that patch anyway.
>
I didn't check cross compile. Right now the current gcc/binutils is broken
on Linux/mips :-(.
H.J.
---
2002-02-08 H.J. Lu (hjl@gnu.org)
* configure.in: Enable gprof for mips*-*-linux*.
--- binutils/configure.in.gprof Wed Jan 30 23:35:40 2002
+++ binutils/configure.in Fri Feb 8 11:38:08 2002
@@ -889,6 +889,9 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof target-libffi" # same as generic mips
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
;;
+ mips*-*-linux*)
+ noconfigdirs="$noconfigdirs target-libffi"
+ ;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof target-libffi"
;;