diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-03-10 08:41:26 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-03-10 08:41:26 +0000 |
| commit | 9eefa8bfc4b925a27c431ad779950c62fc6599c0 (patch) | |
| tree | 2d7e54c1973fee8188915d04ef9c25d460e7e696 | |
| parent | a5d1fbe54d131f3e9659879fbc03e08798c9f20f (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/locore.S | 14 | ||||
| -rw-r--r-- | sys/amd64/amd64/locore.s | 14 | ||||
| -rw-r--r-- | sys/i386/i386/locore.s | 14 |
3 files changed, 39 insertions, 3 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 657debdb244a..65ff44e0024e 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.48 1995/02/11 04:21:22 phk Exp $ + * $Id: locore.s,v 1.49 1995/02/17 02:22:41 phk Exp $ */ /* @@ -758,3 +758,15 @@ NON_GPROF_ENTRY(sigcode) .globl _szsigcode _szsigcode: .long _szsigcode-_sigcode + +/* + * Here for doing BB-profiling (gcc -a). + * We rely on the "bbset" instead, but need a dummy function. + */ + .text + .align 2 +.globl ___bb_init_func +___bb_init_func: + movl 4(%ebp),%eax + movl $1,(%eax) + ret diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index 657debdb244a..65ff44e0024e 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.48 1995/02/11 04:21:22 phk Exp $ + * $Id: locore.s,v 1.49 1995/02/17 02:22:41 phk Exp $ */ /* @@ -758,3 +758,15 @@ NON_GPROF_ENTRY(sigcode) .globl _szsigcode _szsigcode: .long _szsigcode-_sigcode + +/* + * Here for doing BB-profiling (gcc -a). + * We rely on the "bbset" instead, but need a dummy function. + */ + .text + .align 2 +.globl ___bb_init_func +___bb_init_func: + movl 4(%ebp),%eax + movl $1,(%eax) + ret diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s index 657debdb244a..65ff44e0024e 100644 --- a/sys/i386/i386/locore.s +++ b/sys/i386/i386/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.48 1995/02/11 04:21:22 phk Exp $ + * $Id: locore.s,v 1.49 1995/02/17 02:22:41 phk Exp $ */ /* @@ -758,3 +758,15 @@ NON_GPROF_ENTRY(sigcode) .globl _szsigcode _szsigcode: .long _szsigcode-_sigcode + +/* + * Here for doing BB-profiling (gcc -a). + * We rely on the "bbset" instead, but need a dummy function. + */ + .text + .align 2 +.globl ___bb_init_func +___bb_init_func: + movl 4(%ebp),%eax + movl $1,(%eax) + ret |
