fredvs wrote: > In ld doc: > http://sourceware.org/binutils/docs-2.16/ld/Options.html > <http://sourceware.org/binutils/docs-2.16/ld/Options.html> > > => -X --discard-locals > Delete all temporary local symbols. For most targets, this is all local > symbols whose names begin with L. > > I guess that the fpc compiler option -CX is using that ld option -X to > "smart-link" their program. > Without any "customization" (yes/no ?). > > If so, ld is responsable of the "smart-linking" and fpc has nothing to do > with it (yes/no ?).
None of the above has anything to do with smart linking/dead code stripping. It's about removing symbols (not the code/data they point to) from the symbol table of the linked program. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal