9.81 --merge, --no_merge

Enables or disables the merging of const strings that are placed in shareable sections by the compiler.


Using --merge can reduce the size of the image if there are similarities between const strings.
Use --info=merge to see a listing of the merged const strings.
By default, merging happens between different load and execution regions. Therefore, code from one execution or load region might use a string stored in different region. If you do not want this behavior, then do one of the following:
  • Use the PROTECTED load region attribute if you are using scatter-loading.
  • Globally disable merging with --no_merge.


The default is --merge.
Related reference
9.55 --info=topic[,topic,…]
8.3.3 Load region attributes
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.