Local symbols can be suppressed from a symbol file with the -X option. Global symbols will always appear in the symbol file.
-X