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

20 lines
285 B
C

static char *_edata_p;
static char *_end_p;
static char *__bss_start_p;
extern char *_end;
extern char *_edata;
extern char *__bss_start;
void
bar (void)
{
_edata_p = (char*) &_edata;
_end_p = (char*) &_end;
__bss_start_p = (char*) &__bss_start;
}
void
_start ()
{
bar ();
}