From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- elf/unload7mod1.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 elf/unload7mod1.c (limited to 'elf/unload7mod1.c') diff --git a/elf/unload7mod1.c b/elf/unload7mod1.c new file mode 100644 index 0000000000..7435adce2c --- /dev/null +++ b/elf/unload7mod1.c @@ -0,0 +1,11 @@ +#include +#include + +int +foo (int i) +{ + if (dlsym (RTLD_DEFAULT, "unload7_nonexistent_symbol") == NULL) + return 1; + puts ("dlsym returned non-NULL"); + return 0; +} -- cgit 1.4.1