home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8321 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.7 KB  |  42 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!fuug!funic!nntp.hut.fi!vipunen.hut.fi!sakaria
  3. From: sakaria@vipunen.hut.fi (Sakari Aaltonen)
  4. Subject: Jump Tables: A Mystery
  5. Message-ID: <1992Aug15.085244.10732@nntp.hut.fi>
  6. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  7. Nntp-Posting-Host: vipunen.hut.fi
  8. Reply-To: sakaria@vipunen.hut.fi (Sakari Aaltonen)
  9. Organization: Helsinki University of Technology
  10. Date: Sat, 15 Aug 1992 08:52:44 GMT
  11. Lines: 29
  12.  
  13.  
  14. Several people responded to my recent whining about shared libraries
  15. by mentioning "jump tables".
  16.  
  17. Jump tables?
  18.  
  19. Is there a book or an article that explains the structure of shared
  20. libraries and of programs using them? I, too, would like to understand
  21. jump tables. I just can't find anything on them in Tanenbaum.
  22.  
  23. My impression now is that shared libraries are something like MS-Windows
  24. dynamic link libraries. "Dynamic" seems a good description, as a matter
  25. of fact - code that is loaded into memory dynamically, at runtime.
  26.  
  27. However, I think you can change MS-Windows DLL's as often as you like
  28. without recompiling or relinking the programs that use the libraries.
  29. You just have to keep the name of the DLL and the indexes of the functions
  30. therein the same, because the calling programs refer to the functions by
  31. library name (LINUX.DLL, say) and index (96, say). I don't know whether the
  32. name of the function matters.
  33.  
  34. Why can't shared libraries be like that?
  35.  
  36.  
  37. -- 
  38. -----------------------------------------------------------------------------
  39. Sakari Aaltonen                             Helsinki University of Technology
  40. Email: sakaria@vipunen.hut.fi
  41. ---  You can't keep a Finn down without him getting all red in the face  ----
  42.