git: DragonFly_RELEASE_2_12 crt1.o: provide symbol definition of __progname

John Marino marino at crater.dragonflybsd.org
Sat Oct 15 02:42:24 PDT 2011


commit 025b0bacec636ccf315250ecc2f022c0684418c6
Author: John Marino <draco at marino.st>
Date:   Sat Oct 15 01:38:11 2011 +0200

    crt1.o: provide symbol definition of __progname
    
    When the linker version script requests "local: *", the linker chokes on
    it because the weak __progname crt1.o symbol comes back undefined.
    
    This is a duplicate definition to the ones provided by csu, but harmless
    since the linker resolves it.
    
    Also cleaned up some files involving libc_private.h that should have been
    updated in previous changesets.

Summary of changes:
 lib/csu/i386/Makefile.csu       |    3 ++-
 lib/csu/i386/crt1_c.c           |   16 ++++++++++------
 lib/libc/gen/getlogin.c         |    3 +--
 lib/libc/gen/setprogname.c      |    3 +--
 lib/libc/include/libc_private.h |    2 +-
 5 files changed, 15 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/025b0bacec636ccf315250ecc2f022c0684418c6


-- 
DragonFly BSD source repository





More information about the Commits mailing list