1 /* Don't assemble, as this section syntax may not be valid on all platforms 2 (e.g., Darwin). */ 3 /* { dg-do compile } */ 4 5 /* { dg-require-effective-target named_sections } */ 6 7 static __attribute__ ((__section__ (".init.data"))) char *message; 8 static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {}; unpack_to_rootfs(void)9void unpack_to_rootfs(void) 10 { 11 while (!message) 12 { 13 if(!actions[0]) 14 return; 15 } 16 } 17