hurd: Add argv and environ.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 13 Mar 2019 07:51:44 +0000 (03:51 -0400)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 13 Dec 2019 20:52:30 +0000 (21:52 +0100)
commit67d82a6de5f4cd717882fb1d87793b9ecc1b4baa
treed86259fee43a307b4e93084bc54d417bb305456a
parent72c76d6b3aaa1b889df4fd7b5d68a0863b32e7c8
hurd: Add argv and environ.

* include/gnu/hurd.h (struct hurd_startup_data): Add argp, envp.
* lib/gnu/hurd-start.c (__argv, __env): Define them.
* lib/gnu/exec-startup-get-data.c (mach_startup_info2hurd_startup_data):
Set them.
* lib/gnu/x86-mes-gcc/crt1.c (_start): Use them.
* build-aux/configure-lib.sh (libc_mini_SOURCES): Add argz-extract.c.
* include/argz.h: Build fix.
* lib/string/argz-count.c: Likewise.
* lib/string/argz-extract.c: Likewise.
build-aux/configure-lib.sh
include/argz.h
include/gnu/hurd.h
lib/gnu/_exit.c
lib/gnu/exec-startup-get-data.c
lib/gnu/fd-get.c
lib/gnu/hurd-start.c
lib/gnu/x86-mes-gcc/crt1.c
lib/string/argz-count.c
lib/string/argz-extract.c