Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37820143
en ru br
ALT Linux repositórios
S:10.0.0-alt5.r36

Group :: Development/Tools
RPM: android-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: user_pt_regs.patch
Download


Author: Kai-Chung Yan <seamlikok@gmail.com>
Last-Update: 2016-08-24
Description: Manual definition of struct user_pt_regs
 On ARM64, libunwind uses struct user_pt_regs which is not defined in
 anywhere, which causes FTBFS.
--- a/src/ptrace/_UPT_access_reg.c
+++ b/src/ptrace/_UPT_access_reg.c
@@ -26,6 +26,15 @@
 
 #include "_UPT_internal.h"
 
+#if defined(__aarch64__)
+  struct user_pt_regs {
+    __u64		regs[31];
+    __u64		sp;
+    __u64		pc;
+    __u64		pstate;
+  };
+#endif
+
 #if UNW_TARGET_IA64
 # include <elf.h>
 # ifdef HAVE_ASM_PTRACE_OFFSETS_H
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009