Problem: subraction giving very strange results

No the Linker will strip what the program doesn't use.