فهرست منبع

* Corrected TUContext record for aarch64-linux and aarch64-android. It fixes obtaining of an address of the instruction where a signal has thrown.

git-svn-id: trunk@39871 -
yury 6 سال پیش
والد
کامیت
42c46207cd
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      rtl/linux/aarch64/sighndh.inc

+ 6 - 1
rtl/linux/aarch64/sighndh.inc

@@ -42,6 +42,11 @@ type
     uc_flags : cULong;
     uc_link : PUContext;
     uc_stack : stack_t;
-    uc_mcontext : TSigContext;
     uc_sigmask : sigset_t;
+    __padding : array[1..128 - sizeof(sigset_t)] of byte;
+    __pad : cULong;
+    { The following field should be 16-byte-aligned. Currently the
+      directive for specifying alignment is buggy, so the preceding
+      field was added so that the record has the right size. }
+    uc_mcontext : TSigContext;
   end;