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