🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.misc
1 messages
1 total messages Started by David B.Anderson Thu, 24 Dec 1992 00:05
Re: nlist and pre/post IRIX 4.0.5
#74
Author: David B.Anderson
Date: Thu, 24 Dec 1992 00:05
23 lines
1322 bytes
In article <1992Dec23.203244.4762@sifon.cc.mcgill.ca> isaac@physics.mcgill.ca writes:
>
>	It looks like IRIX 4.0.5 nlist() now returns n_type if found and
>	0 if not instead of the pre-4.0.5 IRIX versions which were
>	returning n_type + 1 if found and n_type otherwise.
>
>	If this is the case, how can I tell the pre-compiler to
>	make the distinction?

Arrgghh..  This is a botch.  Another botch is that 4.0.5 nlist will not
find static symbols.

This has been fixed for the next major release, but that does not help
you.  (Bringing nlist back to 4.0.1,2,3,4 behavior with a twist  to get
SVR4 behavior.)

I don't see any way for you to tell which nlist is which other than
running nlist on a known a.out and checking n_type on something whose
type you know.  Maybe someone else can think of a practical way to
tell.

Sorry.
[ David B. Anderson             (415)390-4263             davea@sgi.com ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads