Home | History | Annotate | Download | only in ld-elf
      1 #include <stdio.h>
      2 
      3 void
      4 foo2 (void)
      5 {
      6   printf ("MAIN2\n");
      7 }
      8 
      9 asm (".symver foo2,foo@@FOO2");
     10 
     11 void
     12 foo1 (void)
     13 {
     14   printf ("MAIN1\n");
     15 }
     16 
     17 asm (".symver foo1,foo@FOO1");
     18