Module Name: src Committed By: christos Date: Thu Jan 20 02:58:17 UTC 2011
Modified Files: src/include/ssp: ssp.h Log Message: Use the _sys alias instead of the _ alias as the way to access the baseline syscall. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/include/ssp/ssp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/ssp/ssp.h diff -u src/include/ssp/ssp.h:1.5 src/include/ssp/ssp.h:1.6 --- src/include/ssp/ssp.h:1.5 Wed Jan 19 14:21:29 2011 +++ src/include/ssp/ssp.h Wed Jan 19 21:58:17 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ssp.h,v 1.5 2011/01/19 19:21:29 christos Exp $ */ +/* $NetBSD: ssp.h,v 1.6 2011/01/20 02:58:17 christos Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -43,7 +43,12 @@ # endif #endif -#define __ssp_weak_name(fun) _ ## fun +#ifdef _NAMESPACE_H_ +#define __ssp_weak_name(fun) _sys ## fun +#else +#define __ssp_weak_name(fun) _sys_ ## fun +#endif + #define __ssp_inline static __inline __attribute__((__always_inline__)) #define __ssp_bos(ptr) __builtin_object_size(ptr, __SSP_FORTIFY_LEVEL > 1)