This problem concerns the m.o and swap.o modules from Figure 7.5. For each symbol that is defined

Question:


This problem concerns the m.o and swap.o modules from Figure 7.5. For each symbol that is defined or referenced in swap.o, indicate whether or not it will have a symbol table entry in the .symtab section in module swap.o. If so, indicate the module that defines the symbol (swap.o or m.o), the symbol type (local, global, or extern), and the section (.text, .data, .bss, or COMMON) it is assigned to in the module.

1 2 3 4 5 6 7 8 9 void swap(); int buf [2] = {1, 2}; int main() } swap(); return 0;

1 2 3 4 5 6 7 8 9 extern int buf []; int *bufpo=&buf [0]; int *bufp1; void swap() { 10 11 12 13 14 } int

Symbol buf bufpo bufp1 swap temp .symtab entry? Symbol type Module where defined Section

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

Step by Step Answer:

Related Book For  book-img-for-question

Computer Systems A Programmers Perspective

ISBN: 9781292101767

3rd Global Edition

Authors: Randal E. Bryant, David R. O'Hallaron

Question Posted: