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 /libsanitizer/ChangeLog | |
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 'libsanitizer/ChangeLog')
-rw-r--r-- | libsanitizer/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 2ec1a9a..286b789 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,11 @@ +2018-05-24 H.J. Lu <hongjiu.lu@intel.com> + + 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. + 2018-04-26 Hans-Peter Nilsson <hp@axis.com> * configure.tgt <mips*-*-linux*>: Enable build, excluding |