aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2015-07-16 10:38:29 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2015-07-16 10:38:29 +0530
commite591758b38a606f6197cfdd0f8382fa8397b5e77 (patch)
treea0e6cb49796002fbc3660aed9a4a58e85fb91779 /elf
parent9ceb5f6251fa0c0de5304e081e979b3f855148ed (diff)
downloadglibc-e591758b38a606f6197cfdd0f8382fa8397b5e77.tar
glibc-e591758b38a606f6197cfdd0f8382fa8397b5e77.tar.gz
glibc-e591758b38a606f6197cfdd0f8382fa8397b5e77.tar.bz2
glibc-e591758b38a606f6197cfdd0f8382fa8397b5e77.zip
Add comment to clarify how the test can fail
Diffstat (limited to 'elf')
-rw-r--r--elf/tst-nodelete-opened.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-nodelete-opened.c b/elf/tst-nodelete-opened.c
index 43b00fa16d..501d005f81 100644
--- a/elf/tst-nodelete-opened.c
+++ b/elf/tst-nodelete-opened.c
@@ -58,6 +58,8 @@ do_test (void)
return 1;
}
+ /* This FOO dereference will crash with a segfault if the DSO was
+ unloaded. */
printf ("foo == %d\n", *foo);
return 0;