when I link files together, does the linker strip out unused code from the object file?
For example, I create an object file that contains a lot of functions. I write a main.c that only calls one of the functions in the object code. Does the whole object file get included in my final exe?