Removed linking functionality from gccld.cpp and moved it to linker.cpp.