svn commit: r339738 - in head: gnu/lib lib/csu lib/csu/aarch64 lib/csu/amd64 lib/csu/common lib/csu/i386 lib/csu/powerpc64 lib/csu/tests lib/csu/tests/dynamic lib/csu/tests/static share/mk tools/bu...

Kyle Evans kevans at freebsd.org
Fri Oct 26 02:40:54 UTC 2018


On Thu, Oct 25, 2018 at 12:40 PM Andrew Turner <andrew at freebsd.org> wrote:
>
> Author: andrew
> Date: Thu Oct 25 17:39:41 2018
> New Revision: 339738
> URL: https://svnweb.freebsd.org/changeset/base/339738
>
> Log:
>   Implement a BSD licensed crtbegin/crtend
>
>   These are needed for .ctors/.dtors and .jcr handling. The former needs
>   all the function pointers to be called in the correct order from the
>   .init/.fini section. The latter just needs to call a gcj specific function
>   if it exists with a pointer to the start of the .jcr section.
>
>   This is currently disabled until __dso_handle support is added.
>
>   Reviewed by:  emaste
>   MFC after:    1 month
>   Sponsored by: DARPA, AFRL
>   Differential Revision:        https://reviews.freebsd.org/D17587
>
> Added:
>   head/lib/csu/aarch64/crt.h   (contents, props changed)
>   head/lib/csu/amd64/crt.h   (contents, props changed)
>   head/lib/csu/common/crtbegin.c   (contents, props changed)
>   head/lib/csu/common/crtend.c   (contents, props changed)
>   head/lib/csu/i386/crt.h   (contents, props changed)
>   head/lib/csu/powerpc64/crt.h   (contents, props changed)
>   head/lib/csu/tests/
>   head/lib/csu/tests/Makefile   (contents, props changed)
>   head/lib/csu/tests/Makefile.inc   (contents, props changed)
>   head/lib/csu/tests/Makefile.tests   (contents, props changed)
>   head/lib/csu/tests/cxx_constructors.cc   (contents, props changed)
>   head/lib/csu/tests/dynamic/
>   head/lib/csu/tests/dynamic/Makefile   (contents, props changed)
>   head/lib/csu/tests/fini_test.c   (contents, props changed)
>   head/lib/csu/tests/init_test.c   (contents, props changed)
>   head/lib/csu/tests/static/
>   head/lib/csu/tests/static/Makefile   (contents, props changed)
>   head/tools/build/options/WITHOUT_BSD_CRTBEGIN   (contents, props changed)
>   head/tools/build/options/WITH_BSD_CRTBEGIN   (contents, props changed)
> Modified:
>   head/gnu/lib/Makefile
>   head/lib/csu/Makefile
>   head/lib/csu/Makefile.inc
>   head/share/mk/src.opts.mk
>

Hi,

The tests seems to have given CI some heartburn on ppc64/riscv64 after
they were enabled:
https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/7811/console

Thanks,

Kyle Evans


More information about the svn-src-head mailing list