summaryrefslogtreecommitdiffstats
path: root/sources/valgrind.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-27 09:13:00 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-27 09:13:00 +0000
commit6318885fcd52e51b513386ef2365123d767cd8b5 (patch)
treecb83c09d8e9eada5c32f85ca400c6807e4c56b69 /sources/valgrind.patch
parent3aff447b6114ae52c4622e208256da2220e13f0e (diff)
downloadbuildroot-novena-6318885fcd52e51b513386ef2365123d767cd8b5.tar.gz
buildroot-novena-6318885fcd52e51b513386ef2365123d767cd8b5.zip
Lets try that again...
Diffstat (limited to 'sources/valgrind.patch')
-rw-r--r--sources/valgrind.patch21
1 files changed, 19 insertions, 2 deletions
diff --git a/sources/valgrind.patch b/sources/valgrind.patch
index 7f0b2a88a..2ce25255a 100644
--- a/sources/valgrind.patch
+++ b/sources/valgrind.patch
@@ -1,5 +1,5 @@
---- build/valgrind-1.0pre6.orig/vg_libpthread.c Sat Jul 13 06:59:27 2002
-+++ build/valgrind-1.0pre6/vg_libpthread.c Sat Jul 27 02:50:53 2002
+--- valgrind-1.0pre6.orig/vg_libpthread.c Sat Jul 13 06:59:27 2002
++++ valgrind-1.0pre6/vg_libpthread.c Sat Jul 27 02:50:53 2002
@@ -2821,6 +2821,7 @@
/* I've no idea what these are, but they get called quite a lot.
@@ -16,3 +16,20 @@
/* This doesn't seem to be needed to simulate libpthread.so's external
interface, but many people complain about its absence. */
+--- valgrind-1.0pre6.orig/vg_clientfuncs.c Mon Jul 15 19:44:21 2002
++++ valgrind-1.0pre6/vg_clientfuncs.c Sat Jul 27 02:59:33 2002
+@@ -560,12 +560,14 @@
+ void VG_(__libc_freeres_wrapper)( void )
+ {
+ int res;
++#ifndef __UCLIBC__
+ extern void __libc_freeres(void);
+ __libc_freeres();
+ VALGRIND_MAGIC_SEQUENCE(res, 0 /* default */,
+ VG_USERREQ__LIBC_FREERES_DONE, 0, 0, 0, 0);
+ /*NOTREACHED*/
+ vg_assert(12345+54321 == 999999);
++#endif
+ }
+
+