summary refs log tree commit diff
path: root/elf/unload4mod3.c
blob: 4b280bc05b055b36e4ae2c2170cce87692c04a0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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;
}