PR sanitizer/84761
commitc517349231c94486124dba4e03361adf7f35e84d
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Mar 2018 20:47:29 +0000 (19 20:47 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Mar 2018 20:47:29 +0000 (19 20:47 +0000)
treef2200269164a2149ab11c0c7dd05d586b67e57c7
parentcb754e6ab088f70a52ae506e813bde5def752b15
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258663 138bc75d-0d04-0410-961f-82ee72b054a4
libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc