summaryrefslogtreecommitdiffstats
path: root/package/valgrind/valgrind-dont-include-a-out-header.patch
diff options
context:
space:
mode:
authorJérôme Pouiller <jezz@sysmic.org>2014-01-02 17:34:40 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-01-04 23:41:00 +0100
commitbfbe4dd19e94fb24037e3b6080acd75435adbb67 (patch)
treea51697bf63e159759e85d15800d436fe343e3b05 /package/valgrind/valgrind-dont-include-a-out-header.patch
parent4e2b7057c65f06426b7c9b37df8ee9a3d1e62fb9 (diff)
downloadbuildroot-bfbe4dd19e94fb24037e3b6080acd75435adbb67.tar.gz
buildroot-bfbe4dd19e94fb24037e3b6080acd75435adbb67.zip
valgrind: bump to version 3.9.0
Drop some patches: - glibc 2.17 and 2.18 are now supported by upstream - coregrind/link_tool_exe_linux.in has been reworked and should now support ccache [Peter: drop unneeded AUTORECONF as configure.in no longer gets patched] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/valgrind/valgrind-dont-include-a-out-header.patch')
-rw-r--r--package/valgrind/valgrind-dont-include-a-out-header.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/package/valgrind/valgrind-dont-include-a-out-header.patch b/package/valgrind/valgrind-dont-include-a-out-header.patch
deleted file mode 100644
index 2afd44a886..0000000000
--- a/package/valgrind/valgrind-dont-include-a-out-header.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Add replacement for <a.out.h>
-
-Valgrind includes <a.out.h> to get the definition of 'struct
-nlist'. However, while glibc directly defines 'struct nlist' in
-<a.out.h>, uClibc relies on it being defined by kernel headers (i.e
-<a.out.h> simply includes <linux/a.out.h>). This works for most
-architectures, but not for PowerPC, on which the a.out binary format
-has never been supported, and therefore the <linux/a.out.h> kernel
-header does not exist.
-
-One solution would have been to use the <nlist.h> header, but this one
-is only available in glibc, and it also has a slightly different
-definition than the one in <a.out.h>. So, for the time being, the
-easiest solution is to just replace the #include <a.out.h> in Valgrind
-code by a copy/paste of the 'struct nlist' definition.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: b/coregrind/m_debuginfo/readstabs.c
-===================================================================
---- a/coregrind/m_debuginfo/readstabs.c
-+++ b/coregrind/m_debuginfo/readstabs.c
-@@ -53,7 +53,21 @@
-
- /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */
- #if defined(VGO_linux)
--# include <a.out.h> /* stabs defns */
-+/* Copied from a.out.h, because it is otherwise not available on
-+ PowerPC/uClibc */
-+struct nlist
-+{
-+ union
-+ {
-+ char *n_name;
-+ struct nlist *n_next;
-+ long n_strx;
-+ } n_un;
-+ unsigned char n_type;
-+ char n_other;
-+ short n_desc;
-+ unsigned long n_value;
-+};
- #elif defined(VGO_darwin)
- # include <mach-o/nlist.h>
- # define n_other n_sect
OpenPOWER on IntegriCloud