From 1a4247dba8df12ce7eabca1fdb3417da6c5c4c2f Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 11 Mar 1995 03:49:50 +0000 Subject: [PATCH] Moved bb stuff to support.s per Bruces suggestion. --- sys/amd64/amd64/locore.S | 14 +------------- sys/amd64/amd64/locore.s | 14 +------------- sys/amd64/amd64/support.S | 14 +++++++++++++- sys/amd64/amd64/support.s | 14 +++++++++++++- sys/i386/i386/locore.s | 14 +------------- sys/i386/i386/support.s | 14 +++++++++++++- 6 files changed, 42 insertions(+), 42 deletions(-) diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 65ff44e0024e..367ab8404930 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.49 1995/02/17 02:22:41 phk Exp $ + * $Id: locore.s,v 1.50 1995/03/10 08:41:26 phk Exp $ */ /* @@ -758,15 +758,3 @@ 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 65ff44e0024e..367ab8404930 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.49 1995/02/17 02:22:41 phk Exp $ + * $Id: locore.s,v 1.50 1995/03/10 08:41:26 phk Exp $ */ /* @@ -758,15 +758,3 @@ 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/support.S b/sys/amd64/amd64/support.S index 5d35236fb0aa..d87332e4ea25 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: support.s,v 1.19 1994/09/25 21:31:47 davidg Exp $ + * $Id: support.s,v 1.20 1995/02/12 09:13:27 davidg Exp $ */ #include "assym.s" /* system definitions */ @@ -1108,3 +1108,15 @@ ENTRY(longjmp) xorl %eax,%eax /* return(1); */ incl %eax ret + +/* + * 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(%esp),%eax + movl $1,(%eax) + ret diff --git a/sys/amd64/amd64/support.s b/sys/amd64/amd64/support.s index 5d35236fb0aa..d87332e4ea25 100644 --- a/sys/amd64/amd64/support.s +++ b/sys/amd64/amd64/support.s @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: support.s,v 1.19 1994/09/25 21:31:47 davidg Exp $ + * $Id: support.s,v 1.20 1995/02/12 09:13:27 davidg Exp $ */ #include "assym.s" /* system definitions */ @@ -1108,3 +1108,15 @@ ENTRY(longjmp) xorl %eax,%eax /* return(1); */ incl %eax ret + +/* + * 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(%esp),%eax + movl $1,(%eax) + ret diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s index 65ff44e0024e..367ab8404930 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.49 1995/02/17 02:22:41 phk Exp $ + * $Id: locore.s,v 1.50 1995/03/10 08:41:26 phk Exp $ */ /* @@ -758,15 +758,3 @@ 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/support.s b/sys/i386/i386/support.s index 5d35236fb0aa..d87332e4ea25 100644 --- a/sys/i386/i386/support.s +++ b/sys/i386/i386/support.s @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: support.s,v 1.19 1994/09/25 21:31:47 davidg Exp $ + * $Id: support.s,v 1.20 1995/02/12 09:13:27 davidg Exp $ */ #include "assym.s" /* system definitions */ @@ -1108,3 +1108,15 @@ ENTRY(longjmp) xorl %eax,%eax /* return(1); */ incl %eax ret + +/* + * 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(%esp),%eax + movl $1,(%eax) + ret