Optimize linking.

Options to allow the linker to remove unused code from the object files.