mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-02 16:01:20 +03:00
Update.
* sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't initialize __environ again.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1998-2003, 2004 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1998-2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -106,9 +106,9 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
|
||||
|
||||
__libc_multiple_libcs = &_dl_starting_up && !_dl_starting_up;
|
||||
|
||||
#ifndef SHARED
|
||||
INIT_ARGV_and_ENVIRON;
|
||||
|
||||
#ifndef SHARED
|
||||
/* Store the lowest stack address. This is done in ld.so if this is
|
||||
the code for the DSO. */
|
||||
__libc_stack_end = stack_end;
|
||||
|
Reference in New Issue
Block a user