Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2018 11:19:47 +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: r339913 - head/lib/csu/tests
Message-ID:  <201810301119.w9UBJlMv083033@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810301119.w9UBJlMv083033>