3.6.4.4 Input section and garbage collection
When link-time garbage collection is in use (`--gc-sections'),
it is often useful to mark sections that should not be eliminated.
This is accomplished by surrounding an input section's wildcard entry
with KEEP()
, as in KEEP(*(.init))
or
KEEP(SORT(*)(.ctors))
.
This document was generated
by Stephen Zander on April, 18 2003
using texi2html