mailing list of musl libc
 help / color / mirror / code / Atom feed
* dynamic linker command line invocation
@ 2016-01-04 16:59 N Jain
  2016-01-04 19:22 ` Markus Wichmann
  2016-01-04 20:59 ` Rich Felker
  0 siblings, 2 replies; 13+ messages in thread
From: N Jain @ 2016-01-04 16:59 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 893 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-01-14 22:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-04 16:59 dynamic linker command line invocation N Jain
2016-01-04 19:22 ` Markus Wichmann
2016-01-04 20:52   ` Rich Felker
2016-01-04 20:59 ` Rich Felker
2016-01-05 16:45   ` N Jain
2016-01-05 17:32     ` Rich Felker
2016-01-05 18:00       ` N Jain
2016-01-05 18:23         ` Rich Felker
2016-01-07 23:29           ` N Jain
2016-01-08 11:09             ` Markus Wichmann
2016-01-11 17:03               ` N Jain
2016-01-12 16:24                 ` Markus Wichmann
2016-01-14 22:30                   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).