Author: andrew Date: Sat Nov 24 18:23:53 2018 New Revision: 340910 URL: https://svnweb.freebsd.org/changeset/base/340910
Log: Add the missing 0 at the end of the .jcr section. Without this the dynamic library test was failing as it was calling _Jv_RegisterClasses multiple times. Modified: head/lib/csu/common/crtend.c Modified: head/lib/csu/common/crtend.c ============================================================================== --- head/lib/csu/common/crtend.c Sat Nov 24 18:23:05 2018 (r340909) +++ head/lib/csu/common/crtend.c Sat Nov 24 18:23:53 2018 (r340910) @@ -41,6 +41,9 @@ static crt_func __CTOR_END__[] __section(".ctors") __u static crt_func __DTOR_END__[] __section(".dtors") __used = { (crt_func)0 }; +static crt_func __JCR_LIST__[] __section(".jcr") __used = { + (crt_func)0 +}; static void __do_global_ctors_aux(void) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"