Machine-translated by Google. Questions are authored in English.
Top

Discussion

Information a compiler writes for the linker about a module includes

  • A.a record of which optimisations were applied to the module
  • B.which names it defines and which it has left unresolved
  • C.the complete symbol table including all of the local names
  • D.the text of the module itself, kept for later reference

Answer: B

The linker needs exported definitions and imported references to connect modules. Local names are irrelevant to it, though they may be kept separately for a debugger. Keeping them in a separate section allows a binary to be stripped later.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.