~vorlon/ubuntu/natty/eglibc/multiarch

« back to all changes in this revision

Viewing changes to elf/tst-initordera3.c

  • Committer: Steve Langasek
  • Date: 2011-02-18 21:18:44 UTC
  • mfrom: (103.1.7 eglibc)
  • Revision ID: steve.langasek@linaro.org-20110218211844-lodmi8b1qhyq3f3x
Tags: 2.13~pre1-0ubuntu1+multiarch.1
merge from natty

Show diffs side-by-side

added added

removed removed

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