home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / misc / 90 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.3 KB  |  37 lines

  1. Newsgroups: comp.sys.sgi.misc
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!sgiblab!sgigate!sgi!quasar.mti.sgi.com!davea
  3. From: davea@quasar.mti.sgi.com (David B.Anderson)
  4. Subject: Re: nlist and pre/post IRIX 4.0.5
  5. Message-ID: <tvolh50@sgi.sgi.com>
  6. Sender: davea@quasar.mti.sgi.com
  7. Organization: Silicon Graphics, Inc.  Mountain View, CA
  8. Date: Thu, 24 Dec 1992 00:05:54 GMT
  9. Lines: 26
  10.  
  11. In article <1992Dec23.203244.4762@sifon.cc.mcgill.ca> isaac@physics.mcgill.ca writes:
  12. >
  13. >    It looks like IRIX 4.0.5 nlist() now returns n_type if found and
  14. >    0 if not instead of the pre-4.0.5 IRIX versions which were
  15. >    returning n_type + 1 if found and n_type otherwise.
  16. >
  17. >    If this is the case, how can I tell the pre-compiler to
  18. >    make the distinction?
  19.  
  20. Arrgghh..  This is a botch.  Another botch is that 4.0.5 nlist will not
  21. find static symbols.
  22.  
  23. This has been fixed for the next major release, but that does not help
  24. you.  (Bringing nlist back to 4.0.1,2,3,4 behavior with a twist  to get
  25. SVR4 behavior.)
  26.  
  27. I don't see any way for you to tell which nlist is which other than
  28. running nlist on a known a.out and checking n_type on something whose
  29. type you know.  Maybe someone else can think of a practical way to
  30. tell.
  31.  
  32. Sorry.
  33. [ David B. Anderson             (415)390-4263             davea@sgi.com ]
  34.  
  35.  
  36.  
  37.