git: crt1.o: provide symbol definition of __progname

John Marino marino at crater.dragonflybsd.org
Sat Oct 15 02:29:43 PDT 2011


commit 2f81c0d4bcb03808e3507105f7739ad6baf3af72
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/2f81c0d4bcb03808e3507105f7739ad6baf3af72


-- 
DragonFly BSD source repository





More information about the Commits mailing list