DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Jan 2012 08:15:09 -0800 (PST)

commit b566341b03125971f3394e8c877fba725175ce1f
Author: John Marino <draco@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]