Date: Mon, 6 May 2013 22:10:37 +0200 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: Re: svn commit: r250306 - in stable/8/sys: net sys Message-ID: <F4C77542-CCC3-44AA-AF57-D46437D6C386@FreeBSD.org> In-Reply-To: <201305061959.r46JxEUA041105@svn.freebsd.org> References: <201305061959.r46JxEUA041105@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 6, 2013, at 21:59, Dimitry Andric <dim@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4C77542-CCC3-44AA-AF57-D46437D6C386>