From ca34591f29e3548ce4648a90ffb6e78fedec62cc Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 30 Oct 2018 11:19:47 +0000 Subject: [PATCH] Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with the section. MFC with: r339738 Sponsored by: DARPA, AFRL --- lib/csu/tests/init_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/csu/tests/init_test.c b/lib/csu/tests/init_test.c index 7e5cdaa64fc0..4be45cdf963c 100644 --- a/lib/csu/tests/init_test.c +++ b/lib/csu/tests/init_test.c @@ -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) {