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

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


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Oct 2009 18:48:14 -0700 (PDT)

commit 7c34d798a4d6ae46122607d9f54d30bd09006395
Author: Simon Schubert <corecode@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



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