bfd_elf_define_start_stop: Fix check
[binutils-gdb.git] / ld / testsuite / ld-elf / beginwarn.c
1 static const char _evoke_link_warning_foo []
2 __attribute__ ((used, section (".gnu.warning.foo")))
3 = "function foo is deprecated";
4
5 extern void foo (void);
6
7 static void (*const init_array []) (void)
8 __attribute__ ((used, section (".init_array"), aligned (sizeof (void *))))
9 = { foo };