diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2018-05-24 19:52:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2018-05-24 12:52:32 -0700 |
commit | 71b55d45e4304f5e2e98ac30473c581f58fc486b (patch) | |
tree | 1d83f19d05488961c73f70857fb077895308e9c7 /gcc/fortran/resolve.c | |
parent | e935be363a4309aaf33239b3a8dd2ec6a142dd1b (diff) | |
download | gcc-71b55d45e4304f5e2e98ac30473c581f58fc486b.zip gcc-71b55d45e4304f5e2e98ac30473c581f58fc486b.tar.gz gcc-71b55d45e4304f5e2e98ac30473c581f58fc486b.tar.bz2 |
libsanitizer: Use pre-computed size of struct ustat for Linux
Cherry-pick compiler-rt revision 333213:
<sys/ustat.h> has been removed from glibc 2.28 by:
commit cf2478d53ad7071e84c724a986b56fe17f4f4ca7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Sun Mar 18 11:28:59 2018 +0800
Deprecate ustat syscall interface
This patch uses pre-computed size of struct ustat for Linux.
PR sanitizer/85835
* sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
include <sys/ustat.h> for Linux.
(SIZEOF_STRUCT_USTAT): New.
(struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
From-SVN: r260684
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions