Sun Studio 12 Update 1: C++ User's Guide

A.2.125.1 Values

v can be one or more of the following:

Table A–32 The -xF Values

Value  

Meaning  

[no%]func

[Do not] fragment functions into separate sections. 

[no%]gbldata

[Do not] fragment global data (variables with external linkage) into separate sections. 

[no%]lcldata

[Do not] fragment local data (variables with internal linkage) into separate sections. 

%all

Fragment functions, global data, and local data. 

%none

Fragment nothing. 

Defaults

If you do not specify -xF, the default is -xF=%none. If you specify -xF without any arguments, the default is -xF=%none,func.

Interactions

Using -xF=lcldata inhibits some address calculation optimizations, so you should only use this flag when it is experimentally justified.

See also

analyzer(1), debugger(1), ld(1) man pages