Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common add net...



details:   https://anonhg.NetBSD.org/src/rev/2c8c0eb574a1
branches:  trunk
changeset: 345805:2c8c0eb574a1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 09 07:38:45 2016 +0000

description:
add netbsd padding to 'struct addrinfo' copy.

eeew, this is really horrible

diffstat:

 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 95f622b12869 -r 2c8c0eb574a1 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h    Thu Jun 09 07:37:49 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h    Thu Jun 09 07:38:45 2016 +0000
@@ -668,7 +668,13 @@
     int ai_socktype;
     int ai_protocol;
 #if SANITIZER_ANDROID || SANITIZER_MAC || SANITIZER_FREEBSD || SANITIZER_NETBSD
+#if SANITIZER_NETBSD && defined(__sparc__) && defined(_LP64)
+    int __ai_pad0;
+#endif
     unsigned ai_addrlen;
+#if SANITIZER_NETBSD && defined(__alpha__) || (defined(__i386__) && defined(_LP64))
+    int __ai_pad0;
+#endif
     char *ai_canonname;
     void *ai_addr;
 #else // LINUX



Home | Main Index | Thread Index | Old Index