mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
17 lines
317 B
C
17 lines
317 B
C
#include <stdio.h>
|
|
|
|
void
|
|
foo (void)
|
|
{
|
|
printf ("MAIN\n");
|
|
}
|
|
|
|
asm (".symver foo,foo@FOO");
|
|
asm (".set foo_alias,foo");
|
|
asm (".global foo_alias");
|
|
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
|
|
asm (".symver .foo,.foo@FOO");
|
|
asm (".set .foo_alias,.foo");
|
|
asm (".global .foo_alias");
|
|
#endif
|