PATCH: Enable profile on mips

H . J . Lu hjl@kernel.org
Wed Feb 13 17:03:00 GMT 2002


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"
     ;;



More information about the Binutils mailing list