git: rtld: Set foundation to use aux vectors to get osreldate

John Marino marino at crater.dragonflybsd.org
Mon Jan 23 08:15:09 PST 2012


commit b566341b03125971f3394e8c877fba725175ce1f
Author: John Marino <draco at marino.st>
Date:   Sat Jan 21 14:13:17 2012 +0100

    rtld: Set foundation to use aux vectors to get osreldate
    
    __getosreldate isn't used by rtld currently.  The FreeBSD dynamic linker
    does use it indirectly in libc's mmap wrapper.  The capability is included
    here both to ease the task to synchronizing with FreeBSD, and to quickly
    obtain the capability in the future if necessary.  It's currently disabled
    with the undefined ENABLE_OSRELDATE macro.
    
    The splitting of digest_dynamic required to use aux vectors also has the
    benefit of avoiding the use of malloc at startup.

Summary of changes:
 libexec/rtld-elf/rtld.c |   88 +++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 73 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b566341b03125971f3394e8c877fba725175ce1f


-- 
DragonFly BSD source repository





More information about the Commits mailing list