Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2011 19:13:29 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r217276 - stable/8/sys/net
Message-ID:  <201101111913.p0BJDTJ3031881@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Jan 11 19:13:29 2011
New Revision: 217276
URL: http://svn.freebsd.org/changeset/base/217276

Log:
  MFC r215212:
  
  Similar to r212647, remove the workaround in sys/net/vnet.h for an ld
  bug (incorrect placement of __start_SECNAME in some cases) that was
  fixed in r210245.
  
  There is already an UPDATING entry about needing a recent ld.

Modified:
  stable/8/sys/net/vnet.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/net/vnet.h
==============================================================================
--- stable/8/sys/net/vnet.h	Tue Jan 11 19:07:34 2011	(r217275)
+++ stable/8/sys/net/vnet.h	Tue Jan 11 19:13:29 2011	(r217276)
@@ -191,15 +191,6 @@ extern struct sx vnet_sxlock;
  * Virtual network stack memory allocator, which allows global variables to
  * be automatically instantiated for each network stack instance.
  */
-__asm__(
-#if defined(__arm__)
-	".section " VNET_SETNAME ", \"aw\", %progbits\n"
-#else
-	".section " VNET_SETNAME ", \"aw\", @progbits\n"
-#endif
-	"\t.p2align " __XSTRING(CACHE_LINE_SHIFT) "\n"
-	"\t.previous");
-
 #define	VNET_NAME(n)		vnet_entry_##n
 #define	VNET_DECLARE(t, n)	extern t VNET_NAME(n)
 #define	VNET_DEFINE(t, n)	t VNET_NAME(n) __section(VNET_SETNAME) __used



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