--remove, --no_remove

This option enables or disables the removal of unused input sections from the image. An input section is considered used if it contains an entry point, or if it is referred to from a used section.


The default is --remove.


Use --no_remove when debugging to retain all input sections in the final image even if they are unused.

Use --remove with the --keep option to retain specific sections in a normal build.

Show/hideSee also

Copyright © 2008, 2011-2012 ARM. All rights reserved.ARM DUI 0458C