The linker has no idea that the function is unreachable, it has to link it in to resolve the external symbols.
The linker has no idea that the function is unreachable, it has to link it in to resolve the external symbols.