|
|
发表于 2005-5-17 12:19:28
|
显示全部楼层
|
There are some segments in the binary file created by assembler and linker. For example, there are data, text, and bss segments in the old UNIX a.out format. String literals you refered often resides in data segment in the binary file. When linking several relocatable files, they will be relocated into the new data segment. For more information, please refer to Computer Systems: A Programmer's Perspective by Randal E. Bryant and David R. O'Hallaron (http://csapp.cs.cmu.edu/). |
|