mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
12 lines
195 B
C
12 lines
195 B
C
|
#include <stdio.h>
|
||
|
|
||
|
void
|
||
|
foo (void)
|
||
|
{
|
||
|
printf ("TEST2\n");
|
||
|
}
|
||
|
|
||
|
static void (*const init_array []) (void)
|
||
|
__attribute__ ((used, section (".init_array"), aligned (sizeof (void *))))
|
||
|
= { foo };
|