glibc_2.27
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Wed, 21 Mar 2018 21:56:33 +0000 (21:56 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 21 Mar 2018 21:56:33 +0000 (21:56 +0000)
commit006a8044e5d4e7f5a58db8ace98e6800e0cab62c
tree22a98c958b1bd8e50f5cadc61660c1c040abd571
parent270025b97e8c4f04335a79134dbf75ddbbcea315
glibc_2.27

# DP: Fix PR sanitizer/84761, taken from the trunk

libsanitizer/

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.

Gbp-Pq: Name glibc_2.27.diff
compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc