aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/rel.c
blob: fd94f71919f6ba37d26be4a55c64f612e17cfe3e (plain)
1
2
3
4
5
6
7
8
9
static int seven = 7;
static int *__attribute__((section("auto"))) auto_10 = &seven;

int
eight (void)
{
  extern int *__start_auto[], *__stop_auto[];
  return *auto_10 + __stop_auto - __start_auto;
}