simplify dynamic linker startup
authorRich Felker <dalias@aerifal.cx>
Sun, 24 Jul 2011 04:26:12 +0000 (00:26 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 24 Jul 2011 04:26:12 +0000 (00:26 -0400)
commita53de812d258a7b0be44ce5dfc96e0f8ce137817
tree7c7a84aee7a4ff0c6622edffd5f77231c7ec69b4
parente3eb49321c85e43fcc6842f3f57ee097b32555e4
simplify dynamic linker startup

instead of creating temp dso objects on the stack and moving them to
the heap if dlopen/dlsym are used, use static objects to begin with,
and just donate them to malloc if we no longer need them.
src/ldso/dynlink.c