aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/indirect4b.c
blob: b8db9d0807aca169ff5d3db38db66e01d6363422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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");