summaryrefslogtreecommitdiff
path: root/csu
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-01 00:06:18 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-01 00:06:18 +0000
commit3a7ac8a0f596bb73093212cd1109c1413777e1f8 (patch)
tree9c64740adc4772cffb095959028506a98f604eec /csu
parentf3499f95c8610364264479d42d455a79f15c4c86 (diff)
downloadglibc-3a7ac8a0f596bb73093212cd1109c1413777e1f8.tar.gz
Remove bp-start.h and INIT_ARGV_and_ENVIRON.
Diffstat (limited to 'csu')
-rw-r--r--csu/libc-start.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/csu/libc-start.c b/csu/libc-start.c
index 3e62b8aaac..d4a135f21b 100644
--- a/csu/libc-start.c
+++ b/csu/libc-start.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <bp-start.h>
#include <bp-sym.h>
extern void __libc_init_first (int argc, char **argv, char **envp);
@@ -140,7 +139,7 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
#ifndef SHARED
char *__unbounded *__unbounded ubp_ev = &ubp_av[argc + 1];
- INIT_ARGV_and_ENVIRON;
+ __environ = ubp_ev;
/* Store the lowest stack address. This is done in ld.so if this is
the code for the DSO. */