binutils-gdb/ld/testsuite/ld-selective/keepdot.ld

6 lines
85 B
Plaintext

SECTIONS
{
.myinit : { KEEP (*(.myinit)) }
.mytext : { *(.mytext*) *(.text*) }
}