NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: problem using dladdr API in NetBSD
In article
<515c64960810122150q3807e09aha4f659e6fc6b5e8d%mail.gmail.com@localhost>,
Channa <channa.kad%gmail.com@localhost> wrote:
>Hi,
>It worked for me when i changed the rtld code
>in the headers.c file
>
>Line No:792 for (symoffset = 0; symoffset < obj->strsz; symoffset++) {
> ........
> ..........
> }
>
>Since the obj->nchains is not getting filled, i chaged the condition
>in the for loop to
>as shown above.
>I assume that the size of the nchains got from the has table is same
>as obj->strsz i.e string table size.
>Please correct me if my assumption is wrong.
>
What does the code from head look like which is presumably correct?
christos
Home |
Main Index |
Thread Index |
Old Index