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 
Channa  <> wrote:
>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?


Home | Main Index | Thread Index | Old Index