ld: Input Section Keep

1 
1 3.6.4.4 Input Section and Garbage Collection
1 ............................................
1 
1 When link-time garbage collection is in use ('--gc-sections'), it is
1 often useful to mark sections that should not be eliminated.  This is
1 accomplished by surrounding an input section's wildcard entry with
1 'KEEP()', as in 'KEEP(*(.init))' or 'KEEP(SORT_BY_NAME(*)(.ctors))'.
1