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