diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-09-01 20:42:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-09-01 20:42:39 +0000 |
commit | 9efccabb26eed2b4b4ccb4a89561e1212b81d649 (patch) | |
tree | 8498d580186cad71e147c14a69a5728d9ddd8e2f /test/ldso/howdy.c | |
parent | cea5b5c0657e999b561a6438c77861e00689b306 (diff) |
A better test for a dlopen problem with weak symbols, based
on a much improve test by mjn3.
Diffstat (limited to 'test/ldso/howdy.c')
-rw-r--r-- | test/ldso/howdy.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/ldso/howdy.c b/test/ldso/howdy.c deleted file mode 100644 index e2724068e..000000000 --- a/test/ldso/howdy.c +++ /dev/null @@ -1,24 +0,0 @@ -#include <pthread.h> -#include <stdio.h> - -extern int __pthread_return_0 (void); - -int howdy(const char *s) -{ - return printf("howdy: __pthread_return_0 = %p\n" - "howdy: pthread_cond_signal = %p\n", - __pthread_return_0, pthread_cond_signal); -} - -void __attribute__((constructor)) howdy_ctor(void) -{ - printf("I am the libhowdy constructor!\n"); -} - -void __attribute__((destructor)) howdy_dtor(void) -{ - printf("I am the libhowdy destructor!\n"); -} - - - |