diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2015-01-09 18:59:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:36:30 +0000 |
commit | 0421c67c02273ff49db63c5b6c25db3292032038 (patch) | |
tree | 783a6bf69ef975f41f4efedeb52a5523bc09eb5a /meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch | |
parent | 5832ed334048fa8c63b962b7d7c8a4a8fc616d56 (diff) | |
download | poky-0421c67c02273ff49db63c5b6c25db3292032038.tar.gz |
elfutils: upgrade to 1.161
Drop PREFERRED_VERSION_elfutils in meta/conf/distro/include/
tcmode-default.inc, it builds the latest version by default.
(From OE-Core rev: 7ff30c54439a761d66fd4ceca80073e3653373bf)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch b/meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch new file mode 100644 index 0000000000..35b1b389fb --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Index: elfutils-0.159/libdwfl/linux-pid-attach.c | ||
2 | =================================================================== | ||
3 | --- elfutils-0.159.orig/libdwfl/linux-pid-attach.c | ||
4 | +++ elfutils-0.159/libdwfl/linux-pid-attach.c | ||
5 | @@ -393,6 +393,16 @@ pid_getthread (Dwfl *dwfl __attribute__ | ||
6 | return false; | ||
7 | } | ||
8 | |||
9 | +bool | ||
10 | +internal_function | ||
11 | +__libdwfl_ptrace_attach (pid_t tid __attribute__ ((unused)), | ||
12 | + bool *tid_was_stoppedp __attribute__ ((unused))) | ||
13 | +{ | ||
14 | + errno = ENOSYS; | ||
15 | + __libdwfl_seterrno (DWFL_E_ERRNO); | ||
16 | + return false; | ||
17 | +} | ||
18 | + | ||
19 | static bool | ||
20 | pid_memory_read (Dwfl *dwfl __attribute__ ((unused)), | ||
21 | Dwarf_Addr addr __attribute__ ((unused)), | ||
22 | @@ -419,6 +429,13 @@ pid_detach (Dwfl *dwfl __attribute__ ((u | ||
23 | { | ||
24 | } | ||
25 | |||
26 | +void | ||
27 | +internal_function | ||
28 | +__libdwfl_ptrace_detach (pid_t tid __attribute__ ((unused)), | ||
29 | + bool tid_was_stopped __attribute__ ((unused))) | ||
30 | +{ | ||
31 | +} | ||
32 | + | ||
33 | static void | ||
34 | pid_thread_detach (Dwfl_Thread *thread __attribute__ ((unused)), | ||
35 | void *thread_arg __attribute__ ((unused))) | ||