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