On May 6, 2013, at 21:59, Dimitry Andric <d...@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

_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to