Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2010 12:43:36 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r215212 - head/sys/net
Message-ID:  <4CDE6BD8.7040501@freebsd.org>
In-Reply-To: <201011122259.oACMxoIV026900@svn.freebsd.org>
References:  <201011122259.oACMxoIV026900@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 13/11/2010 00:59 Dimitry Andric said the following:
> Author: dim
> Date: Fri Nov 12 22:59:50 2010
> New Revision: 215212
> URL: http://svn.freebsd.org/changeset/base/215212
> 
> Log:
>   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.

Thanks!

>   There is already an UPDATING entry about needing a recent ld.
>   
>   MFC after:	1 month
> 
> Modified:
>   head/sys/net/vnet.h
> 
> Modified: head/sys/net/vnet.h
> ==============================================================================
> --- head/sys/net/vnet.h	Fri Nov 12 22:43:40 2010	(r215211)
> +++ head/sys/net/vnet.h	Fri Nov 12 22:59:50 2010	(r215212)
> @@ -193,15 +193,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


-- 
Andriy Gapon



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