diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-12-11 01:04:36 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-12-11 01:04:36 +0000 |
commit | d872faec9d0b393417b8015930c26a217355dcbe (patch) | |
tree | 20a53b82f5f9bbd63bbf2a7fc006ee9d9f63dbef | |
parent | 599548e9e1d172cea61610e5cfc85acab617238c (diff) | |
download | src-test2-d872faec9d0b393417b8015930c26a217355dcbe.tar.gz src-test2-d872faec9d0b393417b8015930c26a217355dcbe.zip |
Notes
-rw-r--r-- | lib/csu/tests/fini_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/tests/fini_test.c b/lib/csu/tests/fini_test.c index ea825e51acf9..c06e62e093f8 100644 --- a/lib/csu/tests/fini_test.c +++ b/lib/csu/tests/fini_test.c @@ -141,9 +141,9 @@ dso_handle_check(void) { void *dso = __dso_handle; -#ifdef DSO_LIB +#if defined(DSO_LIB) || defined(__PIE__) ATF_REQUIRE_MSG(dso != NULL, - "Null __dso_handle in DSO"); + "Null __dso_handle in DSO/PIE"); #else ATF_REQUIRE_MSG(dso == NULL, "Invalid __dso_handle in non-DSO"); |