CVSROOT:        /cvs
Module name:    src
Changes by:     guent...@cvs.openbsd.org        2016/03/19 20:32:40

Modified files:
        lib/csu        : crt0.c 
        lib/csu/alpha  : md_init.h 
        lib/csu/amd64  : md_init.h 
        lib/csu/arm    : md_init.h 
        lib/csu/hppa   : md_init.h 
        lib/csu/hppa64 : md_init.h 
        lib/csu/i386   : md_init.h 
        lib/csu/m88k   : md_init.h 
        lib/csu/mips64 : md_init.h 
        lib/csu/powerpc: md_init.h 
        lib/csu/sh     : md_init.h 
        lib/csu/sparc  : md_init.h 
        lib/csu/sparc64: md_init.h 
        lib/libc       : Symbols.list shlib_version 
        lib/libc/dlfcn : Makefile.inc 
        lib/libc/gen   : getpagesize.c sysconf.c 
        lib/libc/hidden: unistd.h 
Added files:
        lib/libc/arch/alpha/gdtoa: kbind.h 
        lib/libc/arch/amd64/gdtoa: kbind.h 
        lib/libc/arch/arm/gdtoa: kbind.h 
        lib/libc/arch/hppa/gdtoa: kbind.h 
        lib/libc/arch/hppa64/gdtoa: kbind.h 
        lib/libc/arch/i386/gdtoa: kbind.h 
        lib/libc/arch/m88k/gdtoa: kbind.h 
        lib/libc/arch/mips64/gdtoa: kbind.h 
        lib/libc/arch/powerpc/gdtoa: kbind.h 
        lib/libc/arch/sh/gdtoa: kbind.h 
        lib/libc/arch/sparc/gdtoa: kbind.h 
        lib/libc/arch/sparc64/gdtoa: kbind.h 
        lib/libc/dlfcn : init.c 

Log message:
Rearrange C runtime bits: now that ld.so exports environ and __progname,
move their definitions and initialization in static links to libc.a
Make crt0 always invoke a new func _csu_finish() in libc to process the auxv
and to either register the ld.so cleanup function (in dynamic links) or
initialize environ and __progname and do MC_DISABLE_KBIND (in static links).
In libc, get pagesize from auxv; cache that between getpagesize() and
sysconf(_SC_PAGESIZE)

ok mpi@ "good time" deraadt@

Reply via email to