[EMAIL PROTECTED] writes:

> At this stage we are trying to get the 'ld-2.2.5.so' working. We are
> facing problems in this. We are trying to run this on again on our own
> Linux kernel for ABACUS processor. The GOT & PLT generated through the GCC
> for ld-2.2.5.so is causing the problems.
> 
> At this moment we are into the main of the user test case. We have jumped
> on the User Entry through the LD.so
> 
> There must be some problem in the relocation and now we are unable to
> trace the flow as we are not having the debugger and we use to have  print
> statememts to debug the LD. Now it is not possible to use the print
> statements also.
> 
> Could you please give us some hint about how to proceed further.

You are in the black magic area.  If you have a simulator, you can use
that.  Otherwise, since you presumably have a working kernel, you can
usually hack print statements by using inline assembler to do a direct
invocation of the write system call.  If that doesn't work, the next
step is probably hand simulation of the instructions in the suspect
code.

Ian

Reply via email to