]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR sanitizer/84761 (AddressSanitizer is not compatible with glibc 2...
authorRichard Biener <rguenther@suse.de>
Thu, 7 Jun 2018 11:56:25 +0000 (11:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 7 Jun 2018 11:56:25 +0000 (11:56 +0000)
commit33570df178dc6e74fed02cf9d9a31727785b6093
tree8b265d01beb3f505719915fcc8d60af42a7eaf34
parent4aad21e2c03961711b9caa26034f7eb6f8edc6ff
backport: re PR sanitizer/84761 (AddressSanitizer is not compatible with glibc 2.27 on x86)

2018-06-07  Richard Biener  <rguenther@suse.de>

Backport from mainline
2018-03-19  Jakub Jelinek  <jakub@redhat.com>

PR sanitizer/84761
* sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
Define if not defined.
(DL_INTERNAL_FUNCTION): Don't define.
(InitTlsSize): For __i386__ if not compiled against glibc 2.27+
determine at runtime whether to use regparm(3), stdcall calling
convention for older glibcs or normal calling convention for
newer glibcs for call to _dl_get_tls_static_info.

From-SVN: r261272
libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc