Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/pr23161c.c
2023-03-06 14:48:14 +01:00

9 lines
250 B
C

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];
}