mirror of git://sourceware.org/git/glibc.git
1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c (init1): Call __getopt_clean_environment with __environ instead of envp. * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
This commit is contained in:
parent
531e4bca8e
commit
2b4083dd72
|
@ -1,5 +1,12 @@
|
||||||
|
1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/i386/init-first.c (init1): Call
|
||||||
|
__getopt_clean_environment with __environ instead of envp.
|
||||||
|
|
||||||
1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
|
1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
|
||||||
|
|
||||||
* string/argz-extract.c (__argz_extract): Add de-consting cast for
|
* string/argz-extract.c (__argz_extract): Add de-consting cast for
|
||||||
setting results.
|
setting results.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
ifeq ($(subdir),csu)
|
ifeq ($(subdir),csu)
|
||||||
extra-objs += crt0.o
|
extra-objs += crt0.o
|
||||||
install-lib += crt0.o
|
install-lib += crt0.o
|
||||||
|
omit-deps += crt0
|
||||||
|
|
||||||
$(objpfx)crt0.o: $(objpfx)static-start.o $(objpfx)abi-note.o $(objpfx)init.o
|
$(objpfx)crt0.o: $(objpfx)static-start.o $(objpfx)abi-note.o $(objpfx)init.o
|
||||||
$(link-relocatable)
|
$(link-relocatable)
|
||||||
|
|
|
@ -113,7 +113,7 @@ init1 (int argc, char *arg0, ...)
|
||||||
__libc_init (argc, argv, __environ);
|
__libc_init (argc, argv, __environ);
|
||||||
|
|
||||||
/* This is a hack to make the special getopt in GNU libc working. */
|
/* This is a hack to make the special getopt in GNU libc working. */
|
||||||
__getopt_clean_environment (envp);
|
__getopt_clean_environment (__environ);
|
||||||
|
|
||||||
#ifdef PIC
|
#ifdef PIC
|
||||||
__libc_global_ctors ();
|
__libc_global_ctors ();
|
||||||
|
|
Loading…
Reference in New Issue