Blame elf/tst-initordera3.c
|
Packit Service |
82fcde |
#include <stdio.h>
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
extern void start_a3( void ) __attribute__((constructor));
|
|
Packit Service |
82fcde |
extern void finish_a3( void ) __attribute__((destructor));
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
void
|
|
Packit Service |
82fcde |
start_a3( void )
|
|
Packit Service |
82fcde |
{
|
|
Packit Service |
82fcde |
printf( "start_a3\n" );
|
|
Packit Service |
82fcde |
}
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
void
|
|
Packit Service |
82fcde |
finish_a3( void )
|
|
Packit Service |
82fcde |
{
|
|
Packit Service |
82fcde |
printf( "finish_a3\n" );
|
|
Packit Service |
82fcde |
}
|