binutils-gdb/ld/testsuite/ld-elf/begin.c

6 lines
157 B
C

extern void foo (void);
static void (*const init_array []) (void)
__attribute__ ((used, section (".init_array"), aligned (sizeof (void *))))
= { foo };