summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/sysprof/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/sysprof/files')
-rw-r--r--meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch b/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch
new file mode 100644
index 0000000000..dcc2cbe67c
--- /dev/null
+++ b/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch
@@ -0,0 +1,22 @@
1On uclibc elf.h does not have GNU extentions but we need this define
2so we define it locally if its not getting it from elf.h
3
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Upstream-Status: Pending
7
8Index: git/elfparser.h
9===================================================================
10--- git.orig/elfparser.h 2011-07-16 18:57:41.000000000 -0700
11+++ git/elfparser.h 2011-07-16 20:28:54.733829895 -0700
12@@ -17,6 +17,10 @@
13 */
14 #include <glib.h>
15
16+#ifndef NT_GNU_BUILD_ID
17+#define NT_GNU_BUILD_ID 3
18+#endif
19+
20 typedef struct ElfSym ElfSym;
21 typedef struct ElfParser ElfParser;
22