1#include <stdio.h>
2
3extern void start_a1( void ) __attribute__((constructor));
4extern void finish_a1( void ) __attribute__((destructor));
5
6void
7start_a1( void )
8{
9 printf( format: "start_a1\n" );
10}
11
12void
13finish_a1( void )
14{
15 printf( format: "finish_a1\n" );
16}
17

source code of glibc/elf/tst-initordera1.c