Deleted Added
full compact
2,3c2,3
< * Copyright (c) 1990, 1993
< * The Regents of the University of California. All rights reserved.
---
> * Copyright (c) 1990 The Regents of the University of California.
> * All rights reserved.
36c36,38
< * @(#)SYS.h 8.1 (Berkeley) 6/4/93
---
> * from: @(#)SYS.h 5.5 (Berkeley) 5/7/91
> *
> * $Id: SYS.h,v 1.3 1993/11/04 00:01:17 paul Exp $
39a42
> #include "DEFS.h"
41,44c44,55
< #ifdef PROF
< #define ENTRY(x) .globl _/**/x; \
< .data; 1:; .long 0; .text; .align 2; _/**/x: \
< movl $1b,%eax; call mcount
---
> #ifdef PIC
> #define PIC_PROLOGUE \
> pushl %ebx; \
> call 1f; \
> 1: \
> popl %ebx; \
> addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
> #define PIC_EPILOGUE \
> popl %ebx
> #define PIC_PLT(x) x@PLT
> #define PIC_GOT(x) x@GOT(%ebx)
> #define PIC_GOTOFF(x) x@GOTOFF(%ebx)
46,47c57,63
< #define ENTRY(x) .globl _/**/x; .text; .align 2; _/**/x:
< #endif PROF
---
> #define PIC_PROLOGUE
> #define PIC_EPILOGUE
> #define PIC_PLT(x) x
> #define PIC_GOT(x) x
> #define PIC_GOTOFF(x) x
> #endif
>