diff options
Diffstat (limited to 'dynamic-layers/selinux/android-tools/android-tools/libunwind-debian/user_pt_regs.patch')
-rw-r--r-- | dynamic-layers/selinux/android-tools/android-tools/libunwind-debian/user_pt_regs.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dynamic-layers/selinux/android-tools/android-tools/libunwind-debian/user_pt_regs.patch b/dynamic-layers/selinux/android-tools/android-tools/libunwind-debian/user_pt_regs.patch deleted file mode 100644 index 8051b6d..0000000 --- a/dynamic-layers/selinux/android-tools/android-tools/libunwind-debian/user_pt_regs.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Author: Kai-Chung Yan <seamlikok@gmail.com> | ||
2 | Last-Update: 2016-08-24 | ||
3 | Description: Manual definition of struct user_pt_regs | ||
4 | On ARM64, libunwind uses struct user_pt_regs which is not defined in | ||
5 | anywhere, which causes FTBFS. | ||
6 | --- a/src/ptrace/_UPT_access_reg.c | ||
7 | +++ b/src/ptrace/_UPT_access_reg.c | ||
8 | @@ -26,6 +26,15 @@ | ||
9 | |||
10 | #include "_UPT_internal.h" | ||
11 | |||
12 | +#if defined(__aarch64__) | ||
13 | + struct user_pt_regs { | ||
14 | + __u64 regs[31]; | ||
15 | + __u64 sp; | ||
16 | + __u64 pc; | ||
17 | + __u64 pstate; | ||
18 | + }; | ||
19 | +#endif | ||
20 | + | ||
21 | #if UNW_TARGET_IA64 | ||
22 | # include <elf.h> | ||
23 | # ifdef HAVE_ASM_PTRACE_OFFSETS_H | ||