Commit Graph
4 Commits
Author SHA1 Message Date
Rich Felker 5c1909a8d2 add ldd and main program loading support to dynamic linker 2012-05-27 16:01:44 -04:00
Rich Felker b94608ca10 cleanup dynamic linker start code cruft
two actual issues: one is that __dynlink no longer wants/needs a GOT
pointer argument, so the code to generate that argument can be
removed. the other issue was that in the i386 code, argc/argv were
being loaded into registers that would be call-clobbered, then copied
to preserved registers, rather than just being loaded into the proper
call-preserved registers to begin with.

this cleanup is in preparation for adding new dynamic linker
functionality (ability to explicitly invoke the dynamic linker to run
a program).
2012-05-27 14:49:55 -04:00
Rich Felker 8b98c09f8c dlsym entry point for arm 2011-10-01 01:35:42 -04:00
Rich Felker fcaf706569 dynamic linker entry point for arm
mildly tested, seems to work
2011-10-01 01:33:31 -04:00