The table below contains the link-level details of two different procedures. In this exercise, you will be

Question:

The table below contains the link-level details of two different procedures. In this exercise, you will be taking the place of the linker.a. Text Segment Data Segment Symbol Table Address Instruction 0 4 0 *** Relocation Address Info 0 4 Procedureb. Text Segment Data Segment Procedure A Address Instruction Symbol Table 0 4 www 0x84 www 0 *** Relocation

Link the object files above to form the executable file header. Assume that Procedure A has a text size of 0x140 and data size of 0x40 and Procedure B has a text size of 0x300 and data size of 0x50. Also assume the memory allocation strategy as shown in Figure 2.13.$sp-7fff fffChex $gp-1000 8000 hex 1000 0000 hex pc-0040 0000 hex 0 Stack  Dynamic data Static data Text

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Organization And Design The Hardware Software Interface

ISBN: 9780123747501

4th Revised Edition

Authors: David A. Patterson, John L. Hennessy

Question Posted: