摘要:
3.1 Basic Linker Script ConceptsWe need todefine some basic concepts and vocabulary in order to describe the linkerscript language.The linker combines input files into a single output file. Theoutput file and each input file are in a special data format known as anobjectfile format. Each file is cal 阅读全文
摘要:
GNU binutils是一组二进制工具集。包括:addr2line ar gprof nm objcopy objdump ranlib size strings strip. 本文归纳他们的常用法。ar ar用于建立、修改、提取档案文件(archive)。archive是一个包含多个被包含文件的单一文件(也称之为库文件),其结构保证了可以从中检索 并得到原始的被包含文件(称之为archive中的member)。member的原始文件内容、模式(权限)、时间戳、所有着和组等属性都被保存在 archive中。member被提取后,他们的属性被恢复到初始状态。 ar主要用于创建C库文件(关于.o 阅读全文