home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / gnuc / string / rcs / defs.h,v < prev    next >
Encoding:
Text File  |  1992-07-04  |  1.7 KB  |  65 lines

  1. head    1.1;
  2. access;
  3. symbols
  4.     version39-41:1.1;
  5. locks;
  6. comment    @ * @;
  7.  
  8.  
  9. 1.1
  10. date    92.06.08.17.58.42;    author mwild;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @initial checkin
  17. @
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @/*-
  26.  * Copyright (c) 1990 The Regents of the University of California.
  27.  * All rights reserved.
  28.  *
  29.  * This code is derived from software contributed to Berkeley by
  30.  * the Systems Programming Group of the University of Utah Computer
  31.  * Science Department.
  32.  *
  33.  * Redistribution and use in source and binary forms are permitted
  34.  * provided that: (1) source distributions retain this entire copyright
  35.  * notice and comment, and (2) distributions including binaries display
  36.  * the following acknowledgement:  ``This product includes software
  37.  * developed by the University of California, Berkeley and its contributors''
  38.  * in the documentation or other materials provided with the distribution
  39.  * and in all advertising materials mentioning features or use of this
  40.  * software. Neither the name of the University nor the names of its
  41.  * contributors may be used to endorse or promote products derived
  42.  * from this software without specific prior written permission.
  43.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  44.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  45.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  46.  *
  47.  *    @@(#)DEFS.h    5.1 (Berkeley) 5/12/90
  48.  */
  49.  
  50. #ifdef PROF
  51. #ifdef __GNUC__
  52. #define    ENTRY(x) \
  53.     .globl _/**/x; .even; _/**/x:; .data; PROF/**/x:; .long 0; .text; \
  54.     link a6,#0; lea PROF/**/x,a0; jsr mcount; unlk a6
  55. #else
  56. #define    ENTRY(x) \
  57.     .globl _/**/x; .even; _/**/x:; .data; PROF/**/x:; .long 0; .text; \
  58.     lea PROF/**/x,a0; jsr mcount
  59. #endif
  60. #else
  61. #define    ENTRY(x) \
  62.     .globl _/**/x; .even; _/**/x:
  63. #endif
  64. @
  65.