Blame elf/tst-order-b2.c

Packit 6c4009
#include <stdio.h>
Packit 6c4009
Packit 6c4009
extern void start_b2( void ) __attribute__((constructor));
Packit 6c4009
extern void finish_b2( void ) __attribute__((destructor));
Packit 6c4009
Packit 6c4009
void
Packit 6c4009
start_b2( void )
Packit 6c4009
{
Packit 6c4009
  printf( "start_b2\n" );
Packit 6c4009
}
Packit 6c4009
Packit 6c4009
void
Packit 6c4009
finish_b2( void )
Packit 6c4009
{
Packit 6c4009
  printf( "finish_b2\n" );
Packit 6c4009
}