Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2008 03:18:21 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 150075 for review
Message-ID:  <200809190318.m8J3ILCV078896@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150075

Change 150075 by imp@imp_paco-paco on 2008/09/19 03:17:40

	Merge from svn

Affected files ...

.. //depot/projects/mips2/src/usr.bin/gprof/mips.h#3 edit

Differences ...

==== //depot/projects/mips2/src/usr.bin/gprof/mips.h#3 (text+ko) ====

@@ -1,7 +1,11 @@
 /*-
- * Copyright (c) 1991, 1993
+ * Copyright (c) 1992, 1993
  *	The Regents of the University of California.  All rights reserved.
  *
+ * This software was developed by the Computer Systems Engineering group
+ * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
+ * contributed to Berkeley. Modified by Ralph Campbell for mips.
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -28,14 +32,15 @@
  *
  *	@(#)mips.h	8.1 (Berkeley) 6/6/93
  * From: @(#)sparc.h	5.1 (Berkeley) 7/8/92
- * $FreeBSD: src/usr.bin/gprof/mips.h,v 1.4 2008/09/02 15:35:47 obrien Exp $
+ * $FreeBSD: head/usr.bin/gprof/mips.h 182681 2008-09-02 15:35:47Z obrien $
  */
 
-    /*
-     *	offset (in bytes) of the code from the entry address of a routine.
-     *	(see asgnsamples for use and explanation.)
-     */
+/*
+ * offset (in bytes) of the code from the entry address of a routine.
+ * (see asgnsamples for use and explanation.)
+ */
 #define OFFSET_OF_CODE	0
+#define	UNITS_TO_CODE	(OFFSET_OF_CODE / sizeof(UNIT))
 
 enum opermodes { dummy };
 typedef enum opermodes	operandenum;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809190318.m8J3ILCV078896>