GNU Info

Info Node: (ld.info)Input Section Keep

(ld.info)Input Section Keep


Next: Input Section Example Prev: Input Section Common Up: Input Section
Enter node , (file) or (file)node

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))'.


automatically generated by info2www version 1.2.2.9