Fix sanitizer build on sparc.
authorDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 21:20:46 +0000 (21:20 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Tue, 14 Oct 2014 21:20:46 +0000 (14:20 -0700)
commitc84733360b2a78e24d2c59fb38c454010090769a
tree516612d142828be065c207b85d0833724c68f6c1
parent5940e204bd31aacbdb3cbb2660483f18ce750593
Fix sanitizer build on sparc.

* sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
Define at __kernel_time_t, as needed for sparc.
(struct __old_kernel_stat): Don't check if __sparc__ is defined.
* libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
(__sanitizer): Define struct___old_kernel_stat_sz,
struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
(__sanitizer_ipc_perm): Adjust for sparc targets.
(__sanitizer_shmid_ds): Likewsie.
(__sanitizer_sigaction): Likewsie.
(IOC_SIZE): Likewsie.

From-SVN: r216224
libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h