home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8941 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.7 KB  |  34 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!minnie!gerth
  3. From: gerth@watson.ibm.com (John Gerth)
  4. Subject: Re: Help with nlist(), XCOFF, and memory architecture...
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <1992Aug20.012457.5537@watson.ibm.com>
  7. Date: Thu, 20 Aug 1992 01:24:57 GMT
  8. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  9. References: <PAVEL.92Aug15180402@pixel.SLAC.Stanford.EDU> <PAVEL.92Aug19163010@pixel.SLAC.Stanford.EDU>
  10. Nntp-Posting-Host: minnie.watson.ibm.com
  11. Organization: IBM T.J. Watson Research Center
  12. Lines: 20
  13.  
  14. The call ld_getinfo() in <sys/ldr.h> is documented as something for
  15. the kernel only and so there isn't any mention of it elsewhere.    
  16. It's moral equivalent for us mere mortals is loadquery() with the
  17. L_GETINFO request -- which is documented (and points to <sys/ldr.h>).
  18.  
  19. I'm pretty sure that the TOC and the 3-word function descriptor
  20. is documented in the Assembler Language manual, along with all
  21. the linkage conventions and whatnot.   The philosophical and design
  22. rationales for the TOC are argued by the AIX architects in 
  23. "RISC System/6000 Technology" (order SA23-2619) in an article
  24. on dynamic loading.
  25.  
  26. The foregoing notwithstanding, I do believe that this stuff is not
  27. adequately explained or cross-referenced.  Fundamental system services
  28. like the binder and program contents management must be comprehensively
  29. documented to encourage responsible use and exploitation of their
  30. capabilities.  In these matters, ignorance is not bliss.
  31.  
  32. -- 
  33. John Gerth     gerth@watson.ibm.com        (914) 784-7639
  34.