URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 156 |
/*
|
/*
|
* Test supplied by Ulrich. Verify that we can correctly force 'a'
|
* Test supplied by Ulrich. Verify that we can correctly force 'a'
|
* to local scope.
|
* to local scope.
|
*/
|
*/
|
int
|
int
|
__a_internal (int e)
|
__a_internal (int e)
|
{
|
{
|
return e + 10;
|
return e + 10;
|
}
|
}
|
|
|
int
|
int
|
__b_internal (int e)
|
__b_internal (int e)
|
{
|
{
|
return e + 42;
|
return e + 42;
|
}
|
}
|
|
|
asm (".symver __a_internal,hide_a@@VERS_1");
|
asm (".symver __a_internal,hide_a@@VERS_1");
|
asm (".symver __b_internal,show_b@@VERS_1");
|
asm (".symver __b_internal,show_b@@VERS_1");
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.