Retro68/binutils/ld/testsuite/ld-elf/foo.c

12 lines
195 B
C
Raw Normal View History

2012-03-26 19:18:29 +00:00
#include <stdio.h>
void
foo (void)
{
printf ("TEST2\n");
}
static void (*const init_array []) (void)
__attribute__ ((used, section (".init_array"), aligned (sizeof (void *))))
= { foo };