git: loader: use _end symbol instead of end

John Marino marino at crater.dragonflybsd.org
Fri Feb 24 15:49:22 PST 2012


commit 3fd0a84aa59533ebe90529e3d013e49fc04f35e1
Author: John Marino <draco at 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





More information about the Commits mailing list