Clear initfini list after freeing. Fixes bug 15308.
[glibc.git] / elf / unload4mod3.c
blob4b280bc05b055b36e4ae2c2170cce87692c04a0a
1 #include <stdio.h>
3 int
4 __attribute__((noinline))
5 mod3fn1 (int x)
7 puts ("in mod3fn1");
8 return x + 6;
11 int
12 mod3fn2 (int x)
14 puts ("in mod3fn2");
15 return mod3fn1 (x / 2) * 2;