aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr23161c.c
blob: db5ec4a334aabffae72d087d20cbc63bbb003373 (plain)
1
2
3
4
5
6
7
8
9
extern char *_end __attribute__ ((visibility("hidden")));
extern char *_edata __attribute__ ((visibility("hidden")));
extern char *__bss_start __attribute__ ((visibility("hidden")));

int
foo (void)
{
  return _end[0] + _edata[0] + __bss_start[0];
}