crt1.o: provide symbol definition of __progname
authorJohn Marino <draco@marino.st>
Fri, 14 Oct 2011 23:38:11 +0000 (01:38 +0200)
committerJohn Marino <draco@marino.st>
Sat, 15 Oct 2011 09:27:32 +0000 (11:27 +0200)
commit2f81c0d4bcb03808e3507105f7739ad6baf3af72
tree16aa785e2c7563ee50f79441ee35f772300e616c
parent1fabed7b83bfd742c1d725b8831590553393fd5d
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.
lib/csu/i386/Makefile.csu
lib/csu/i386/crt1_c.c
lib/libc/gen/getlogin.c
lib/libc/gen/setprogname.c
lib/libc/include/libc_private.h