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

10 lines
172 B
Perl

MEMORY { code : ORIGIN = 0, LENGTH = 8M }
SECTIONS
{
ENTRY (entry)
.text 1M : { *(.text*) } >code
/DISCARD/ : { *(*) }
}
foo = LENGTH (code) != 8M ? test0 : test1;