1#include <stdio.h>
2
3extern int foo (void);
4extern int bar (void);
5
6void
7__attribute__ ((constructor))
8init (void)
9{
10 (void) (foo () - bar ());
11}
12
13static void
14__attribute__ ((destructor))
15fini (void)
16{
17 putchar (c: '2');
18}
19

source code of glibc/elf/order2mod2.c