I was wondering what is the purpose of linking step after assembling step? Why not run the output of assembler without the linking step?
For C, linking is to combine several object files generated by compilation into a single object file. But for assembly language, there is just one object file to "link", so why bother to link a single object file? For example, http://zahidirfan.blogspot.com/2010/01/two-steps-to-using-assembly-in-linux.html
If there is only one object file and no library is needed, will linking be unnecessary? Just like in the example I gave above?
Do the output of assembler and output of the linker have the same format? Are they both binary files?
Thanks and regards!