From a334319f6530564d22e775935d9c91663623a1b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Dec 2004 20:10:10 +0000 Subject: (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. --- elf/unload6.c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 elf/unload6.c (limited to 'elf/unload6.c') diff --git a/elf/unload6.c b/elf/unload6.c deleted file mode 100644 index 1efc7eb841..0000000000 --- a/elf/unload6.c +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include - -int -main (void) -{ - void *h = dlopen ("unload6mod1.so", RTLD_LAZY); - if (h == NULL) - { - puts ("dlopen unload6mod1.so failed"); - return 1; - } - - int (*fn) (int); - fn = dlsym (h, "foo"); - if (fn == NULL) - { - puts ("dlsym failed"); - return 1; - } - - int val = fn (16); - if (val != 24) - { - printf ("foo returned %d != 24\n", val); - return 1; - } - - return 0; -} -- cgit 1.4.1