Linking and loading of programs and implementation of dynamic linking under Linux

  
 

There are many ways to link and load programs, and the most popular ones today are dynamic linking and dynamic loading methods. This paper first reviews the basic working principle of the linker and loader and the development history of this technology, and then analyzes the implementation of dynamic link under Linux system through practical examples. Understanding the implementation details of the underlying key technologies is undoubtedly necessary for system analysis and designers, especially when we are faced with real-time systems that need to accurately measure and grasp the spatiotemporal efficiency of program execution.


In fact, there are many things that you can realize for yourself if you are diligent in thinking. Some foreign experts are trying to find out a lot of secrets that are unknown to them through a little bit of information that everyone can see. Like the authors of "Undocument Dos" and "Undocment Windows
", he set an example for us!

The key to learning a computer is that you must be rich in the spirit of exploration, let yourself know what you know and know why. Mr. Hou wrote in the opening in the book "STL Source Analysis" that "there is no secret before the source code", of course, this is in the case of mastering the source code in our hands, if not, don't forget that Linux also provides us with A lot of utilities like gdb, objdump. With these powerful assistants, even if we don't have the source code, we can do the same with "no secrets".

Copyright © Windows knowledge All Rights Reserved