glibc/elf/unload4mod3.c
2005-03-18 10:54:53 +00:00

17 lines
187 B
C

#include <stdio.h>
int
__attribute__((noinline))
mod3fn1 (int x)
{
puts ("in mod3fn1");
return x + 6;
}
int
mod3fn2 (int x)
{
puts ("in mod3fn2");
return mod3fn1 (x / 2) * 2;
}