re PR sanitizer/64435 (Bootstrap failure in libsanitizer on AArch64 with Linux kernel...
authorJakub Jelinek <jakub@redhat.com>
Mon, 19 Jan 2015 08:39:27 +0000 (09:39 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 19 Jan 2015 08:39:27 +0000 (09:39 +0100)
PR sanitizer/64435
* sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
upstream r223925.

From-SVN: r219833

libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc

index ab22345b1131d67ce92952477478cfd57e58d2d6..3de7396f854b9256ac637419b871d93a919ea0c8 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/64435
+       * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
+       upstream r223925.
+
 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
 
        * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
index 13d908e9f8c3ef5b5e93e1601a8600a27372a26e..7ea8706dfc69c26322baca117add0e1f9a40a780 100644 (file)
@@ -1003,8 +1003,12 @@ CHECK_SIZE_AND_OFFSET(__sysctl_args, newlen);
 
 CHECK_TYPE_SIZE(__kernel_uid_t);
 CHECK_TYPE_SIZE(__kernel_gid_t);
+
+#if !defined(__aarch64__)
 CHECK_TYPE_SIZE(__kernel_old_uid_t);
 CHECK_TYPE_SIZE(__kernel_old_gid_t);
+#endif
+
 CHECK_TYPE_SIZE(__kernel_off_t);
 CHECK_TYPE_SIZE(__kernel_loff_t);
 CHECK_TYPE_SIZE(__kernel_fd_set);