]> 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>
Mon, 15 Oct 2018 13:43:09 +0000 (13:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 15 Oct 2018 13:43:09 +0000 (13:43 +0000)
commit2a4e082120ddc44c91937a29697efccc97c8dc7a
tree9542ab7b6977b03879384579738e784e88a6d30d
parent92eeabf115c7b12f2f15bd17fd167f99206e95fe
backport: re PR sanitizer/84761 (AddressSanitizer is not compatible with glibc 2.27 on x86)

2018-10-15  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: r265164
libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc