Fix x86-64 build without multiarch.
[glibc.git] / elf / unload6mod1.c
blob24f2e5a19aaf7283596cbe1925c6d1da8b0194de
1 #include <dlfcn.h>
2 #include <stdio.h>
4 int
5 foo (int i)
7 void *h = dlopen ("unload6mod2.so", RTLD_LAZY);
8 if (h == NULL)
10 puts ("dlopen unload6mod2.so failed");
11 return 1;
14 dlclose (h);
15 return i + 8;