summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/include
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2013-03-28 17:30:46 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2013-03-28 17:30:46 +0000
commitdd27625163090c5e5b351e017cd1ffd03a373b5f (patch)
treef866b9f603ad996d274d4f4ab20ca3a2f0f97b0c /sys/arch/loongson/include
parentfcc4d6add65a985a9353ecdcfdc4f44880982afb (diff)
Add __strong_alias macros for all architectures to be able to alias
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
Diffstat (limited to 'sys/arch/loongson/include')
-rw-r--r--sys/arch/loongson/include/cdefs.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/loongson/include/cdefs.h b/sys/arch/loongson/include/cdefs.h
index 386909009ab..61caa1e2c3c 100644
--- a/sys/arch/loongson/include/cdefs.h
+++ b/sys/arch/loongson/include/cdefs.h
@@ -1,8 +1,3 @@
-/* $OpenBSD: cdefs.h,v 1.1 2009/07/31 09:28:41 miod Exp $ */
+/* $OpenBSD: cdefs.h,v 1.2 2013/03/28 17:30:45 martynas Exp $ */
/* public domain */
#include <mips64/cdefs.h>
-
-#if defined(lint) && !defined(__MIPSEL__)
-#define __MIPSEL__
-#undef __MIPSEB__
-#endif