[wpa_supplicant] bump to version 0.6.9.
[openwrt.git] / toolchain / uClibc / patches / 0.9.28.2 / 240-cris-crt0.patch
1 diff -urN uClibc-0.9.28.2.orig/libc/sysdeps/linux/cris/crt0.c uClibc-0.9.28.2/libc/sysdeps/linux/cris/crt0.c
2 --- uClibc-0.9.28.2.orig/libc/sysdeps/linux/cris/crt0.c 2007-05-18 00:27:56.000000000 +0200
3 +++ uClibc-0.9.28.2/libc/sysdeps/linux/cris/crt0.c 2007-05-18 00:32:08.000000000 +0200
4 @@ -31,11 +31,10 @@
5
6 #include <features.h>
7
8 -extern void __uClibc_main(int argc, char **argv, char **envp)
9 - __attribute__ ((__noreturn__));
10 -extern void __uClibc_start_main(int argc, char **argv, char **envp,
11 - void (*app_init)(void), void (*app_fini)(void))
12 - __attribute__ ((__noreturn__));
13 +extern void __uClibc_main(int (*main)(int, char **, char **), int argc,
14 + char **argv, void (*app_init)(void), void (*app_fini)(void),
15 + void (*rtld_fini)(void), void *stack_end) __attribute__ ((__noreturn__));
16 +
17 extern void weak_function _init(void);
18 extern void weak_function _fini(void);
19
20 @@ -64,10 +63,5 @@
21 */
22 --environ;
23
24 -#if defined L_crt0 || ! defined __UCLIBC_CTOR_DTOR__
25 - /* Leave control to the libc */
26 - __uClibc_main(argc, argv, environ);
27 -#else
28 - __uClibc_start_main(argc, argv, environ, _init, _fini);
29 -#endif
30 + __uClibc_main(__mainp, argc, argv, 0, 0, 0, 0);
31 }
This page took 0.042526 seconds and 5 git commands to generate.