[RFA] top-level change to enable gprof for mips*-*-netbsd*

Jason R Thorpe thorpej@wasabisystems.com
Sun Jan 20 15:08:00 GMT 2002


Folks...

This is a patch I've been meaning to submit to the gcc folks, but
it is also has the intended side-effect of enabling gprof for MIPS
NetBSD targets, which I'd like to do before 2.12 ships.

Is this the right way to do what I want, and, if so, OK to commit?

	* configure.in (*-*-netbsd*): New.  Skip target-newlib,
	target-libiberty, and target-libgloss.  Skip target-libffi
	if not supported for NetBSD on target CPU.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /cvs/src/src/configure.in,v
retrieving revision 1.47
diff -c -r1.47 configure.in
*** configure.in	2002/01/11 09:29:18	1.47
--- configure.in	2002/01/20 19:27:00
***************
*** 601,606 ****
--- 601,617 ----
  esac
  
  case "${target}" in
+   *-*-netbsd*)
+     # Skip some stuff on all NetBSD configurations.
+     skipdirs="$skipdirs target-newlib target-libiberty target-libgloss"
+ 
+     # Skip some stuff that's unsupported on some NetBSD configurations.
+     case "${target}" in
+       *)
+         noconfigdirs="$noconfigdirs target-libffi"
+ 	;;
+     esac
+     ;;
    *-*-netware)
      noconfigdirs="$noconfigdirs ${libstdcxx_version} target-newlib target-libiberty target-libgloss target-libffi"
      ;;


More information about the Binutils mailing list