Date: Sat, 24 Nov 2018 18:23:53 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340910 - head/lib/csu/common Message-ID: <201811241823.wAOINrqF050351@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811241823.wAOINrqF050351>