Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/foo.c
2023-03-06 14:48:14 +01:00

11 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 };