Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 08:51:07 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r229562 - head/sys/i386/include
Message-ID:  <201201050851.q058p7IP022644@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Thu Jan  5 08:51:06 2012
New Revision: 229562
URL: http://svn.freebsd.org/changeset/base/229562

Log:
  Also import WEAK_ALIAS() from the MIPS code.

Modified:
  head/sys/i386/include/asm.h

Modified: head/sys/i386/include/asm.h
==============================================================================
--- head/sys/i386/include/asm.h	Thu Jan  5 07:19:05 2012	(r229561)
+++ head/sys/i386/include/asm.h	Thu Jan  5 08:51:06 2012	(r229562)
@@ -90,6 +90,13 @@
 #endif
 
 /*
+ * WEAK_ALIAS: create a weak alias.
+ */
+#define	WEAK_ALIAS(alias,sym)						\
+	.weak alias;							\
+	alias = sym
+
+/*
  * STRONG_ALIAS: create a strong alias.
  */
 #define	STRONG_ALIAS(alias,sym)						\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201050851.q058p7IP022644>