git: imgact_elf: accept .note.ABI-tag sections located anywhere

Simon Schubert corecode at crater.dragonflybsd.org
Wed Oct 28 18:50:29 PDT 2009


commit 7c34d798a4d6ae46122607d9f54d30bd09006395
Author: Simon Schubert <corecode at dragonflybsd.org>
Date:   Thu Oct 29 02:38:13 2009 +0100

    imgact_elf: accept .note.ABI-tag sections located anywhere
    
    This follows up on commit d9f47b9b82dc9e762119fd00267eef9a0268680a.
    
    While our current build infrastructure now produces binaries which can
    be read properly by the kernel, this does not hold true for any non-base
    linker, particularly binutils compiled directly from source, or even the
    recent binutils-2.20 import.
    
    Instead of relying on local modifications to the Elf linker scripts,
    bite the bullet and make the kernel deal with PT_NOTE sections that lie
    outside the first page.

Summary of changes:
 sys/kern/imgact_elf.c |  111 +++++++++++++++++++++++++++++++++++++------------
 sys/kern/kern_exec.c  |   59 ++++++++++++++++++--------
 sys/sys/exec.h        |    4 ++
 3 files changed, 129 insertions(+), 45 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7c34d798a4d6ae46122607d9f54d30bd09006395


-- 
DragonFly BSD source repository





More information about the Commits mailing list