OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Kurt Miller (kurtcvs.openbsd.org)
Date: Thu Jun 12 2008 - 14:50:04 CDT


CVSROOT: /cvs
Module name: src
Changes by: kurtcvs.openbsd.org 2008/06/12 13:50:04

Modified files:
        libexec/ld.so : loader.c

Log message:
- rename _dl_boot argument loff to dyn_loff to differentiate it from
exe_loff
- calculate minva, maxva, exe_loff for the executable for passing to
_dl_finialize_object and completing the executable elf_object_t data.
this fixes ldd output for the exe object and prepares for PIE support.
- calculate the interpreter path pointer in a way that allows for the
possibility that PT_INTERP comes before PT_PHDR
- fix an off by one in the init of dl_data

input and okay drahn