--cgfile=type linker option
Controls the type of files to use for obtaining the symbols to be included in the callgraph.
where type can be one of the following:
Includes symbols from all files.
Includes only symbols from user defined objects and libraries.
Includes only symbols from system libraries.
The default is --cgfile=all.