Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOkOUedcOLRBgmB7ez+bvdcau1g-86ymNHpOSU1AKD8ArqgWsA@mail.gmail.com>
Date: Mon, 4 Jan 2016 11:59:16 -0500
From: N Jain <jain61@...il.com>
To: musl@...ts.openwall.com
Subject: dynamic linker command line invocation

Hi All,

I am trying to add ldso functionality in my kernel. I am loading the
dynamic linker "ld-musl-arm.so.1" into memory and passing the other
application as command line which requires the dynamic libraries but the
linker is generating fault during stage 2 "__dls2" at some random location
0x464cc57f.

I am fairly new to dynamic linking code and trying to understand _dlstart_c
code functionality. Can any one explain what are the command line arguments
dynamic linker expects at this entry point ? I am giving numArgs = 1 and
argv = app.elf after loading "ld-musl-arm.so.1" into memory ? Is this
approach correct ? Do I have to also load app.elf into memory or the
dynamic linker will take care of loading it ?

Thanks,
NJ

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.