From 968dad0ab1f367a087ff4ad503b511dd0c565adc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 19 Jan 2011 15:32:35 -0500 Subject: Fix ordering of DSO constructors and destructors. --- elf/tst-order-main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 elf/tst-order-main.c (limited to 'elf/tst-order-main.c') diff --git a/elf/tst-order-main.c b/elf/tst-order-main.c new file mode 100644 index 0000000000..80f4f6be18 --- /dev/null +++ b/elf/tst-order-main.c @@ -0,0 +1,10 @@ +#include +#include +#include + +int +main( int argc, char *argv[] ) +{ + printf( "main\n" ); + exit(EXIT_SUCCESS); +} -- cgit v1.2.3-70-g09d2