mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
18 lines
172 B
C
18 lines
172 B
C
|
#include <stdio.h>
|
||
|
|
||
|
void
|
||
|
foo2 (void)
|
||
|
{
|
||
|
printf ("MAIN2\n");
|
||
|
}
|
||
|
|
||
|
asm (".symver foo2,foo@@FOO2");
|
||
|
|
||
|
void
|
||
|
foo1 (void)
|
||
|
{
|
||
|
printf ("MAIN1\n");
|
||
|
}
|
||
|
|
||
|
asm (".symver foo1,foo@FOO1");
|