diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2010-03-29 15:13:53 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-03-29 15:13:53 -0700 |
commit | bc58236c652761240fbe52f946f4a5efdd503fab (patch) | |
tree | d79c5b44f766d8506e1d1b25e71914940e9403b8 /sysdeps | |
parent | 8f4a5048eea6536ee85c0f2670adbb97d71e427d (diff) | |
download | glibc-bc58236c652761240fbe52f946f4a5efdd503fab.tar glibc-bc58236c652761240fbe52f946f4a5efdd503fab.tar.gz glibc-bc58236c652761240fbe52f946f4a5efdd503fab.tar.bz2 glibc-bc58236c652761240fbe52f946f4a5efdd503fab.zip |
Handle platforms without aux vector
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 2440682903..f87b6e07dc 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -1,5 +1,5 @@ /* Operating system support for run-time dynamic linker. Hurd version. - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2010 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -116,7 +116,8 @@ static void fmh(void) { ElfW(Addr) _dl_sysdep_start (void **start_argptr, void (*dl_main) (const ElfW(Phdr) *phdr, ElfW(Word) phent, - ElfW(Addr) *user_entry)) + ElfW(Addr) *user_entry, + ElfW(auxv_t) *auxv))) { void go (intptr_t *argdata) { @@ -197,7 +198,7 @@ unfmh(); /* XXX */ up and leave us to transfer control to USER_ENTRY. */ (*dl_main) ((const ElfW(Phdr) *) _dl_hurd_data->phdr, _dl_hurd_data->phdrsz / sizeof (ElfW(Phdr)), - &_dl_hurd_data->user_entry); + &_dl_hurd_data->user_entry, NULLy); /* The call above might screw a few things up. |