aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/begin.c
blob: ccc47d4f87089ef06c899cbceb79bfed8bc37695 (plain)
1
2
3
4
5
extern void foo (void);

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