re PR sanitizer/63958 (bootstrap failure in the sanitizer libs on sparc-linux-gnu)
authorMax Ostapenko <m.ostapenko@partner.samsung.com>
Wed, 21 Oct 2015 07:44:35 +0000 (10:44 +0300)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Wed, 21 Oct 2015 07:44:35 +0000 (10:44 +0300)
commit0d57d3e06be746b68022464c332ff0e5313fa87e
tree2cbc1c86ff2d7d21a8dbb944392ac4b09ad3abc3
parent89e302b80c8b283a0e073a92fb2d52ad7ccb6eb8
re PR sanitizer/63958 (bootstrap failure in the sanitizer libs on sparc-linux-gnu)

libsanitizer/

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: r229113
libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h