URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 338 |
/* Don't assemble, as this section syntax may not be valid on all platforms
|
/* Don't assemble, as this section syntax may not be valid on all platforms
|
(e.g., Darwin). */
|
(e.g., Darwin). */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
/* { dg-require-effective-target named_sections } */
|
/* { dg-require-effective-target named_sections } */
|
|
|
static __attribute__ ((__section__ (".init.data"))) char *message;
|
static __attribute__ ((__section__ (".init.data"))) char *message;
|
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
|
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
|
void unpack_to_rootfs(void)
|
void unpack_to_rootfs(void)
|
{
|
{
|
while (!message)
|
while (!message)
|
{
|
{
|
if(!actions[0])
|
if(!actions[0])
|
return;
|
return;
|
}
|
}
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.