Remove extra space so that symbol renaming works properly.

This commit is contained in:
itohy 2007-03-03 10:08:18 +00:00
parent 3e166b9534
commit d2585a8c91
4 changed files with 28 additions and 24 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: init_main.c,v 1.295 2007/02/17 22:31:42 pavel Exp $ */
/* $NetBSD: init_main.c,v 1.296 2007/03/03 10:08:18 itohy Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.295 2007/02/17 22:31:42 pavel Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.296 2007/03/03 10:08:18 itohy Exp $");
#include "opt_ipsec.h"
#include "opt_kcont.h"
@ -217,7 +217,7 @@ __stack_chk_fail(void)
#endif
void __secmodel_none(void);
__weak_alias(secmodel_start, __secmodel_none);
__weak_alias(secmodel_start,__secmodel_none);
void
__secmodel_none(void)
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_mutex.c,v 1.7 2007/03/02 13:14:12 itohy Exp $ */
/* $NetBSD: kern_mutex.c,v 1.8 2007/03/03 10:08:19 itohy Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007 The NetBSD Foundation, Inc.
@ -49,7 +49,7 @@
#define __MUTEX_PRIVATE
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.7 2007/03/02 13:14:12 itohy Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.8 2007/03/03 10:08:19 itohy Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@ -224,13 +224,13 @@ MUTEX_CLEAR_WAITERS(kmutex_t *mtx)
#endif
#ifndef __HAVE_MUTEX_STUBS
__strong_alias(mutex_enter, mutex_vector_enter);
__strong_alias(mutex_exit, mutex_vector_exit);
__strong_alias(mutex_enter,mutex_vector_enter);
__strong_alias(mutex_exit,mutex_vector_exit);
#endif
#ifndef __HAVE_SPIN_MUTEX_STUBS
__strong_alias(mutex_spin_enter, mutex_vector_enter);
__strong_alias(mutex_spin_exit, mutex_vector_exit);
__strong_alias(mutex_spin_enter,mutex_vector_enter);
__strong_alias(mutex_spin_exit,mutex_vector_exit);
#endif
void mutex_abort(kmutex_t *, const char *, const char *);
@ -280,7 +280,11 @@ mutex_dump(volatile void *cookie)
* generates a lot of machine code in the DIAGNOSTIC case, so
* we ask the compiler to not inline it.
*/
__attribute ((noinline)) __attribute ((noreturn)) void
#if __GNUC_PREREQ__(3, 0)
__attribute ((noinline)) __attribute ((noreturn))
#endif
void
mutex_abort(kmutex_t *mtx, const char *func, const char *msg)
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_rwlock.c,v 1.5 2007/02/26 19:06:10 ad Exp $ */
/* $NetBSD: kern_rwlock.c,v 1.6 2007/03/03 10:08:19 itohy Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007 The NetBSD Foundation, Inc.
@ -47,7 +47,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_rwlock.c,v 1.5 2007/02/26 19:06:10 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_rwlock.c,v 1.6 2007/03/03 10:08:19 itohy Exp $");
#define __RWLOCK_PRIVATE
@ -140,8 +140,8 @@ RW_SET_WAITERS(krwlock_t *rw, uintptr_t need, uintptr_t set)
#endif
#ifndef __HAVE_RW_STUBS
__strong_alias(rw_enter, rw_vector_enter);
__strong_alias(rw_exit, rw_vector_exit);
__strong_alias(rw_enter,rw_vector_enter);
__strong_alias(rw_exit,rw_vector_exit);
#endif
void rw_dump(volatile void *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_stub.c,v 1.1 2007/02/10 11:32:21 ad Exp $ */
/* $NetBSD: kern_stub.c,v 1.2 2007/03/03 10:08:19 itohy Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.1 2007/02/10 11:32:21 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.2 2007/03/03 10:08:19 itohy Exp $");
#include "opt_ptrace.h"
@ -53,20 +53,20 @@ __KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.1 2007/02/10 11:32:21 ad Exp $");
* error in case process won't see signal immediately (blocked or ignored).
*/
#ifndef PTRACE
__weak_alias(sys_ptrace, sys_nosys);
__weak_alias(sys_ptrace,sys_nosys);
#endif
/*
* Scheduler activations system calls. These need to remain until libc's
* major version is bumped.
*/
__strong_alias(sys_sa_register, sys_nosys);
__strong_alias(sys_sa_stacks, sys_nosys);
__strong_alias(sys_sa_enable, sys_nosys);
__strong_alias(sys_sa_setconcurrency, sys_nosys);
__strong_alias(sys_sa_yield, sys_nosys);
__strong_alias(sys_sa_preempt, sys_nosys);
__strong_alias(sys_sa_unblockyield, sys_nosys);
__strong_alias(sys_sa_register,sys_nosys);
__strong_alias(sys_sa_stacks,sys_nosys);
__strong_alias(sys_sa_enable,sys_nosys);
__strong_alias(sys_sa_setconcurrency,sys_nosys);
__strong_alias(sys_sa_yield,sys_nosys);
__strong_alias(sys_sa_preempt,sys_nosys);
__strong_alias(sys_sa_unblockyield,sys_nosys);
/* ARGSUSED */
int