update OpenSSH to v4.2p1
[openwrt/svn-archive/archive.git] / openwrt / toolchain / uClibc / patches / gcc4.0-fix.patch
1 diff -urN uClibc-0.9.27.old/ldso/include/ldso.h uClibc-0.9.27.dev/ldso/include/ldso.h
2 --- uClibc-0.9.27.old/ldso/include/ldso.h 2005-01-12 08:59:21.000000000 +0100
3 +++ uClibc-0.9.27.dev/ldso/include/ldso.h 2005-04-29 17:44:05.000000000 +0200
4 @@ -42,8 +42,6 @@
5 extern char *_dl_preload; /* Things to be loaded before the libs */
6 extern char *_dl_ldsopath; /* Where the shared lib loader was found */
7 extern const char *_dl_progname; /* The name of the executable being run */
8 -extern unsigned char *_dl_malloc_addr; /* Lets _dl_malloc use the already allocated memory page */
9 -extern unsigned char *_dl_mmap_zero; /* Also used by _dl_malloc */
10 extern int _dl_secure; /* Are we dealing with setuid stuff? */
11 extern size_t _dl_pagesize; /* Store the page size for use later */
12 extern const char *_dl_progname; /* The name of the shared library loader */
13 diff -urN uClibc-0.9.27.old/libc/stdlib/malloc-standard/free.c uClibc-0.9.27.dev/libc/stdlib/malloc-standard/free.c
14 --- uClibc-0.9.27.old/libc/stdlib/malloc-standard/free.c 2005-01-12 08:59:21.000000000 +0100
15 +++ uClibc-0.9.27.dev/libc/stdlib/malloc-standard/free.c 2005-04-29 17:46:43.000000000 +0200
16 @@ -16,6 +16,7 @@
17
18 #include "malloc.h"
19
20 +static int __malloc_trim(size_t pad, mstate av);
21
22 /* ------------------------- malloc_trim -------------------------
23 malloc_trim(size_t pad);