Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/pr9676-1.c

16 lines
171 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak));
int
foo (void)
{
return 1;
}
extern int foo2 (void);
int
bar (void)
{
return foo2 ();
}