re PR sanitizer/84761 (AddressSanitizer is not compatible with glibc 2.27 on x86)
authorJakub Jelinek <jakub@redhat.com>
Mon, 19 Mar 2018 20:47:29 +0000 (21:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 19 Mar 2018 20:47:29 +0000 (21:47 +0100)
commit359ea407e98009b6734ace47175c840a30ca4271
treef2200269164a2149ab11c0c7dd05d586b67e57c7
parent42f8338d592506ccafe30a639b60f73d510c643e
re PR sanitizer/84761 (AddressSanitizer is not compatible with glibc 2.27 on x86)

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: r258663
libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc