nlist on 64-bit platforms
nlist on 64-bit platforms
- Subject: nlist on 64-bit platforms
- From: "Neal Sidhwaney" <email@hidden>
- Date: Thu, 10 Apr 2008 15:52:56 -0700
Hi
I noticed in libc/gen/nlist.c that nlist() is commented out for
__LP64__ builds. I have ported it to work on both x86_64 & ppc64
platforms, however I am wondering how Apple envisions the caller
getting the index into the string table to pass into the nlist_64
structure. I sort of hacked something together to suit my purposes -
my nlist function takes a separate array of character arrays, which
are used exactly like the n_name parameter of the 32-bit nlist
structure, and I ignore the n_strx field. Will you expect calls to
make a separate pass through the binary to find the index into the
string table of the string they want, and then call nlist ?
Thanks,
Neal
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden