When you use ild in place of ld, the initial link causes the various text, data, bss, exception table sections, etc., to be padded with additional space for future expansion (see FIGURE 4-1). The cost of the reduced link time is an increase in the size of the executable. On the initial link, ild requires about the same amount of time that ld requires, but subsequent ild links can be much faster than an ld link. Linking your application on every build does not require the same amount of time small changes in code can be relinked very quickly. The time required to re link depends upon the amount of code modified. Ild links incrementally so you can insert modified object code into an executable file that you created earlier, without relinking unmodified object files. For more information on fix and continue, see Chapter 11 in Debugging a Program With dbx. However, if you need to relink, the process can be faster if you use ild. You can avoid relinking entirely by using the fix and continue feature of dbx which allows you to work without relinking. Use ild to complete the edit, compile, link, and debug loop efficiently and more quickly. Ild is an incremental version of the Link Editor ld, and replaces ld for linking programs.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |