svn commit: r250306 - in stable/8/sys: net sys

Dimitry Andric dim at
Mon May 6 20:10:45 UTC 2013

On May 6, 2013, at 21:59, Dimitry Andric <dim at> wrote:
> Author: dim
> Date: Mon May  6 19:59:13 2013
> New Revision: 250306
> URL:
> 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:

More information about the svn-src-stable-8 mailing list