Libraries
Prev: Symbol Management Next: Relocation
Problems
6.1
What should a linker do if two modules in different libraries define the same symbol? Is it an error?
6.2
Library symbol directories generally include only defined global symbols. Would it be useful to include undefined global symbols as well?
6.3
When sorting object files using lorder and tsort, it’s possible that tsort won’t be able to come up with a total order for the files. When will this happen, and is it a problem?
6.4
Some library formats put the directory at the front of the library while others put it at the end. What practical difference does it make?
6.5
Describe some other situations where weak externals and weak definitions are useful.