re PR sanitizer/63958 (bootstrap failure in the sanitizer libs on sparc-linux-gnu)
authorJakub Jelinek <jakub@redhat.com>
Mon, 9 Mar 2015 18:25:28 +0000 (19:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 9 Mar 2015 18:25:28 +0000 (19:25 +0100)
commitee876e59156337667c4945c3346c0c7876f3a98c
tree4e2dc32f50e6188d004a0a01d4bfa13ce81f7d96
parent578c2339f0eeffdf10296e29beddce9588cbf403
re PR sanitizer/63958 (bootstrap failure in the sanitizer libs on sparc-linux-gnu)

PR sanitizer/63958
Reapply:
2014-10-14  David S. Miller  <davem@davemloft.net>

* 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): Likewise.
(IOC_SIZE): Likewsie.

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