gcdm Decision Maker Option
6-7
6
Substitution Suppression
• nosubst=
module-set
The nosubst=
module-set
argument suppresses substitution for the
named modules. This is equivalent to
subst=
module-set
+ (the
option-
list
consists only of a + character). nosubst is typically used to exclude
a subset of modules from a previous
subst.
For example, the
gcdm option and argument:
-gcdm,subst=*:*+O5,nosubst=:intr_handler
would substitute all modules except intr_handler.
External Reference Controls
• ref=
module-set
• noref=
module-set
These reference controls cause gcdm960 to assume/not assume that
functions or data defined in the objects named by
module-set
are
referenced outside the set of object files presented to the linker. You
would normally use
ref to keep the global decision making and
optimization step from discarding modules that appear to be unused. The
last
ref or noref to name a given module applies. noref is typically
used to exclude a subset of modules from a previous
ref. The default is
noref.
Inline Level Control
• inline=
n
This gcdm option argument controls how aggressively global inlining
decisions are made.
n
defaults to 3, and
n
must be less than or equal to 4.
The higher the argument, the more aggressive the inlining, and the larger
your program may become. Note that inlining must be enabled (i.e.,
+O5
control is used) for this control to have any effect.