[!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard.

This commit is contained in:
Ulrich Drepper 2009-01-11 04:40:39 +00:00
parent 8be96dd183
commit 5b656a0d30
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998-2006, 2007 Free Software Foundation, Inc.
/* Copyright (C) 1998-2006, 2007, 2009 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
@ -140,7 +140,7 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
__pthread_initialize_minimal ();
/* Set up the stack checker's canary. */
uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard ();
uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard (_dl_random);
# ifdef THREAD_SET_STACK_GUARD
THREAD_SET_STACK_GUARD (stack_chk_guard);
# else