Author: andrew
Date: Tue Oct 30 11:19:47 2018
New Revision: 339913
URL: https://svnweb.freebsd.org/changeset/base/339913
Log:
Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with
the section.
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
head/lib/csu/tests/init_test.c
Modified: head/lib/csu/tests/init_test.c
==============================================================================
--- head/lib/csu/tests/init_test.c Tue Oct 30 10:16:21 2018
(r339912)
+++ head/lib/csu/tests/init_test.c Tue Oct 30 11:19:47 2018
(r339913)
@@ -107,7 +107,7 @@ ATF_TC_BODY(ctors_test, tc)
}
#endif
-#ifndef DSO_BASE
+#if !defined(DSO_BASE) && !defined(DSO_LIB)
static void
preinit_array_handler(void)
{
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"