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

git: loader: use _end symbol instead of end


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 24 Feb 2012 15:49:22 -0800 (PST)

commit 3fd0a84aa59533ebe90529e3d013e49fc04f35e1
Author: John Marino <draco@marino.st>
Date:   Fri Feb 24 18:23:39 2012 +0100

    loader: use _end symbol instead of end
    
    A long time ago, the "_end" symbol replaced the "end" symbol.  The "end"
    symbol was never present on the x86_64 DragonFly platform, but it was
    erroneously carried inside the i386 libc for a few years (removed with
    commit 8f73bea34efe21334e560a312017af168f3d1991).
    
    The main.c file of the loader has been carrying the old version of the
    symbol, but this was masked with the standard linker script which defined
    "end: as an alias of "_end" and put both symbols in the binary.
    
    This is the only instance of "end" found in the DragonFly code base, and
    now it is gone.

Summary of changes:
 sys/boot/pc32/loader/main.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3fd0a84aa59533ebe90529e3d013e49fc04f35e1


-- 
DragonFly BSD source repository



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