From owner-svn-src-stable@FreeBSD.ORG Mon May 6 20:10:45 2013 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 65246803; Mon, 6 May 2013 20:10:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7E6FD; Mon, 6 May 2013 20:10:45 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::cd6b:c604:1989:9c5c] (unknown [IPv6:2001:7b8:3a7:0:cd6b:c604:1989:9c5c]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 213835C5B; Mon, 6 May 2013 22:10:42 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: svn commit: r250306 - in stable/8/sys: net sys From: Dimitry Andric In-Reply-To: <201305061959.r46JxEUA041105@svn.freebsd.org> Date: Mon, 6 May 2013 22:10:37 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <201305061959.r46JxEUA041105@svn.freebsd.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-Mailer: Apple Mail (2.1503) X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 20:10:45 -0000 On May 6, 2013, at 21:59, Dimitry Andric wrote: > Author: dim > Date: Mon May 6 19:59:13 2013 > New Revision: 250306 > URL: http://svnweb.freebsd.org/changeset/base/250306 > > Log: > MFC r215137: > > Revert r103230, which depended on ld preserving the __start_xxx and > __stop_xxx symbols for custom sections, even when these were not > referenced (at link time). This behaviour was changed again in binutils > commit 0b8ed435c3fe8bd09a08c23920e65bfb03251221. > > This time, put the __GLOBL macro definition in cdefs.h, so it can be > reused in a few other places where it will be needed. > > Reviewed by: kib > > MFC r215138: > > Use the same treatment as in linker_set.h for the __start and __stop > symbols of the set_vnet and set_pcpu sections, so those symbols will > always be emitted in kernel modules, if they use vnet.h or pcpu.h. > > Also, for pcpu.h, make the __(start|stop)_set_pcpu declarations, and > associated macros invisible to userland, to prevent it picking up these > symbols. > > Reviewed by: kib See the following discussion for the reason to merge these changes: http://docs.freebsd.org/cgi/mid.cgi?20130416121135.GA81519