preloader: Allow compiling the preloader with -fstack-protector.

This commit is contained in:
Mike McCormack 2006-01-26 13:21:54 +01:00 committed by Alexandre Julliard
parent dd57bbd1d2
commit 7cd9a8f8dc
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ struct wld_link_map {
*/ */
void __bb_init_func() { return; } void __bb_init_func() { return; }
/* similar to the above but for -fstack-protector */
void *__stack_chk_guard = 0;
void __stack_chk_fail(void) { return; }
/* /*
* The _start function is the entry and exit point of this program * The _start function is the entry and exit point of this program