PR target/85993
[official-gcc.git] / libsanitizer / ChangeLog
blob80c3c0298dd4df957461ad9894ce77185ad497fb
1 2018-07-05  Jakub Jelinek  <jakub@redhat.com>
3         Revert
4         2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
6         PR sanitizer/84250
7         * Makefile.am: Reorder libs.
8         * Makefile.in: Regenerate.
9         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
10         libsanitizer_ubsan.la.
11         * asan/Makefile.in: Regenerate.
12         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
13         * ubsan/Makefile.in: Regenerate.
15 2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>
17         PR sanitizer/84250
18         * Makefile.am: Reorder libs.
19         * Makefile.in: Regenerate.
20         * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
21         libsanitizer_ubsan.la.
22         * asan/Makefile.in: Regenerate.
23         * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
24         * ubsan/Makefile.in: Regenerate.
26 2018-06-13  Denis Khalikov  <d.khalikov@partner.samsung.com>
28         PR sanitizer/86090
29         * configure.ac: Check for lstat and readlink.
30         * configure, config.h.in: Rebuild.
32 2018-05-31  Matthias Klose  <doko@ubuntu.com>
34         PR sanitizer/86012
35         * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
36         SIZEOF_STRUCT_USTAT for 32bit sparc.
38 2018-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40         PR sanitizer/85835
41         * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
42         include <sys/ustat.h> for Linux.
43         (SIZEOF_STRUCT_USTAT): New.
44         (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
46 2018-04-26  Hans-Peter Nilsson  <hp@axis.com>
48         * configure.tgt <mips*-*-linux*>: Enable build, excluding
49         mips*64*-*-linux*.
51         * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
52         take the shortcut to #include <sys/stat.h> for MIPS instead of
53         the kernel <asm/stat.h>.  Explain why sys/stat.h is misleading
54         or wrong to get the kernel struct stat.
55         * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
56         Correct the value for 32-bit non-android struct_kernel_stat_sz.
58         * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
59         && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
61 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
63         * configure: Regenerated.
65 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
67         * configure: Regenerated.
69 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
71         PR jit/85384
72         * configure: Regenerate.
74 2018-04-18  Bill Seurer  <seurer@linux.vnet.ibm.com>
76         PR sanitizer/85389
77         * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
78         from 0xa0000000000ULL to ~(uptr)0.
80 2018-03-19  Jakub Jelinek  <jakub@redhat.com>
82         PR sanitizer/84761
83         * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
84         Define if not defined.
85         (DL_INTERNAL_FUNCTION): Don't define.
86         (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
87         determine at runtime whether to use regparm(3), stdcall calling
88         convention for older glibcs or normal calling convention for
89         newer glibcs for call to _dl_get_tls_static_info.
91 2018-03-14  Segher Boessenkool  <segher@kernel.crashing.org>
93         * sanitizer_common/sanitizer_stacktrace.cc
94         (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
95         for PowerPC SYSV ABI.
97 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
99         PR target/84148
100         * configure: Regenerate.
102 2018-02-05  Martin Liska  <mliska@suse.cz>
104         * asan/asan_flags.inc: Cherry-pick upstream r323995.
105         * asan/asan_report.cc (CheckForInvalidPointerPair):
106         Cherry-pick upstream r323995.
108 2018-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
110         PR sanitizer/82825
111         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
112         r324284.
114 2018-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
116         PR sanitizer/82824
117         * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
119 2017-12-05  Martin Liska  <mliska@suse.cz>
120             Jakub Jelinek  <jakub@redhat.com>
122         * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
123         * asan/asan_descriptions.h: Likewise.
124         * asan/asan_report.cc: Likewise.
125         * asan/asan_thread.cc: Likewise.
126         * asan/asan_thread.h: Likewise.
128 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
130         * acinclude.m4: Add enable.m4 and cet.m4.
131         * Makefile.in: Regenerate.
132         * asan/Makefile.am: Update AM_CXXFLAGS.
133         * asan/Makefile.in: Regenerate.
134         * configure: Likewise.
135         * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
136         EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
137         * interception/Makefile.am: Update AM_CXXFLAGS.
138         * interception/Makefile.in: Regenerate.
139         * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
140         * libbacktrace/Makefile.in: Regenerate.
141         * lsan/Makefile.am: Update AM_CXXFLAGS.
142         * lsan/Makefile.in: Regenerate.
143         * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
144         AM_CCASFLAGS.
145         * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
146         Add _CET_ENDBR macro.
147         * sanitizer_common/Makefile.in: Regenerate.
148         * tsan/Makefile.am: Update AM_CXXFLAGS.
149         * tsan/Makefile.in: Regenerate.
150         * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
151         * ubsan/Makefile.am: Update AM_CXXFLAGS.
152         * ubsan/Makefile.in: Regenerate.
154 2017-11-08  Jakub Jelinek  <jakub@redhat.com>
156         PR bootstrap/82670
157         * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
158         and ubsan_signals_standalone.cc.
159         * ubsan/Makefile.in: Regenerated.
161 2017-11-05  Tom de Vries  <tom@codesourcery.com>
163         PR other/82784
164         * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
165         "do {} while (0)".
166         * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
168 2017-10-20  Jakub Jelinek  <jakub@redhat.com>
170         PR sanitizer/82595
171         * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
172         * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
173         liblsan_preinit.o.
174         (lsan_files): Remove lsan_preinit.cc.
175         (liblsan_preinit.o): New rule.
176         * lsan/Makefile.in: Regenerated.
178 2017-10-19  Jakub Jelinek  <jakub@redhat.com>
180         * All source files: Merge from upstream 315899.
181         * asan/Makefile.am (nodist_saninclude_HEADERS): Add
182         include/sanitizer/tsan_interface.h.
183         * asan/libtool-version: Bump the libasan SONAME.
184         * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
185         (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
186         * sanitizer_common/Makefile.am (sanitizer_common_files): Add
187         sancov_flags.cc, sanitizer_allocator_checks.cc,
188         sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
189         sanitizer_file.cc, sanitizer_mac_libcdep.cc and
190         sanitizer_stoptheworld_mac.cc.  Remove sanitizer_coverage_libcdep.cc
191         and sanitizer_coverage_mapping_libcdep.cc.
192         * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
193         * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
194         (ubsan_files): Add ubsan_init_standalone.cc and
195         ubsan_signals_standalone.cc.
196         * ubsan/libtool-version: Bump the libubsan SONAME.
197         * asan/Makefile.in: Regenerate.
198         * lsan/Makefile.in: Regenerate.
199         * sanitizer_common/Makefile.in: Regenerate.
200         * tsan/Makefile.in: Regenerate.
201         * ubsan/Makefile.in: Regenerate.
203 2017-10-05  H.J. Lu  <hongjiu.lu@intel.com>
205         PR sanitizer/82379
206         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
207         to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
209 2017-10-02  Jakub Jelinek  <jakub@redhat.com>
211         * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
212         Define.
214 2017-08-07  Jakub Jelinek  <jakub@redhat.com>
216         * include/system/sys/ptrace.h: New file.
218 2017-07-28  Jakub Jelinek  <jakub@redhat.com>
220         PR sanitizer/80998
221         * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
222         * ubsan/ubsan_checks.inc: Likewise.
223         * ubsan/ubsan_handlers.h: Likewise.
225 2017-07-14  Jakub Jelinek  <jakub@redhat.com>
227         PR sanitizer/81066
228         * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
229         * sanitizer_common/sanitizer_linux.cc: Likewise.
230         * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
231         * tsan/tsan_platform_linux.cc: Likewise.
233 2017-04-06  Martin Liska  <mliska@suse.cz>
235         PR sanitizer/80166
236         * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
237         Cherry-pick upstream r299036.
239 2017-03-22  Jakub Jelinek  <jakub@redhat.com>
241         PR sanitizer/78158
242         * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
244 2017-02-16  Andreas Tobler  <andreast@gcc.gnu.org>
246         PR sanitizer/79562
247         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
248         upstream r294806.
250 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
252         PR sanitizer/79341
253         * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
254         s390-linux 31-bit.
255         * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
256         r294793.
257         * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
258         upstream r294790.
259         * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
260         r294799.
262 2017-02-03  Maxim Ostapenko  <m.ostapenko@samsung.com>
264         PR sanitizer/78663
265         * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
266         * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
268 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
270         * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
272 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
274         * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
276         PR sanitizer/79168
277         * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
278         if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
279         text.
280         * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
281         * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
282         * tsan/tsan_ppc_regs.h: Likewise.
283         * tsan/tsan_rtl_aarch64.S: Likewise.
284         * tsan/tsan_rtl_mips64.S: Likewise.
285         * tsan/tsan_rtl_ppc64.S: Likewise.
287 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
289         PR other/79046
290         * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
291         instead of cat to get version from BASE-VER file.
292         * asan/Makefile.am (gcc_version): Likewise.
293         * ubsan/Makefile.am (gcc_version): Likewise.
294         * sanitizer_common/Makefile.am (gcc_version): Likewise.
295         * lsan/Makefile.am (gcc_version): Likewise.
296         * tsan/Makefile.am (gcc_version): Likewise.
297         * interception/Makefile.in: Regenerated.
298         * asan/Makefile.in: Regenerated.
299         * ubsan/Makefile.in: Regenerated.
300         * sanitizer_common/Makefile.in: Regenerated.
301         * lsan/Makefile.in: Regenerated.
302         * tsan/Makefile.in: Regenerated.
304 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
306         PR other/79046
307         * configure.ac: Add GCC_BASE_VER.
308         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
309         get version from BASE-VER file.
310         * libbacktrace/Makefile.in: Regenerated.
311         * interception/Makefile.in: Regenerated.
312         * asan/Makefile.in: Regenerated.
313         * ubsan/Makefile.in: Regenerated.
314         * configure: Regenerated.
315         * sanitizer_common/Makefile.in: Regenerated.
316         * lsan/Makefile.in: Regenerated.
317         * Makefile.in: Regenerated.
318         * tsan/Makefile.in: Regenerated.
320 2017-01-10  James Clarke  <jrtc27@jrtc27.com>
322         PR sanitizer/78992
323         * sanitizer_common/sanitizer_platform_limits_posix.h
324         (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
326 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
328         * LOCAL_PATCHES: Add revision.
330 2016-11-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
332         PR sanitizer/78532
333         * sanitizer_common/sanitizer_platform_limits_posix.h
334         (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
335         versions.
337 2016-11-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
339         * LOCAL_PATCHES: Remove r242480.
341 2016-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
343         * LOCAL_PATCHES: Add revision.
345 2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
347         PR sanitizer/78267
348         * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
349         compiler supports blocks extension.
351 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
353         * LOCAL_PATCHES: Add revision.
355 2016-11-16  Markus Trippelsdorf  <markus@trippelsdorf.de>
357         PR sanitizer/78294
358         * tsan/tsan_rtl.cc: Add missing attribute.
360 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
362         * LOCAL_PATCHES: New file.
364 2016-11-16  Maxim Ostapenko  <m.ostapenko@samsung.com>
366         PR sanitizer/78307
367         * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
368         ( __ubsan_handle_cfi_bad_icall_abort): Likewise. 
369         * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
370         * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
371         function.
372         (__ubsan_handle_cfi_bad_type_abort): Likewise.
373         * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
374         (__ubsan_handle_cfi_bad_type): Export function.
375         (__ubsan_handle_cfi_bad_type_abort): Likewise.
376         * HOWTO_MERGE: Update documentation.
378 2016-11-15  Matthias Klose  <doko@ubuntu.com>
380         * configure: Regenerate.
382 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
384         * asan/asan_globals.cc (RegisterGlobal): Do not call
385         CheckODRViolationViaPoisoning.
386         (CheckODRViolationViaPoisoning): Remove.
388 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
390         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
391         compiled code with GCC when extracting the caller PC for ARM if no
392         valid frame pointer is available.
394 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
396         PR sanitizer/63958
397         Reapply:
398         2014-10-14  David S. Miller  <davem@davemloft.net>
400         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
401         Define at __kernel_time_t, as needed for sparc.
402         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
403         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
404         (__sanitizer): Define struct___old_kernel_stat_sz,
405         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
406         (__sanitizer_ipc_perm): Adjust for sparc targets.
407         (__sanitizer_shmid_ds): Likewsie.
408         (__sanitizer_sigaction): Likewise.
409         (IOC_SIZE): Likewsie.
411 2016-11-09  Maxim Ostapenko  <m.ostapenko@samsung.com>
413         * All source files: Merge from upstream 285547.
414         * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
415         variable.
416         * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
417         * asan/Makefile.am (asan_files): Add new files.
418         * asan/Makefile.in: Regenerate.
419         * ubsan/Makefile.in: Likewise.
420         * lsan/Makefile.in: Likewise.
421         * tsan/Makefile.am (tsan_files): Add new files.
422         * tsan/Makefile.in: Regenerate.
423         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
424         (EXTRA_libsanitizer_common_la_SOURCES): Define.
425         (libsanitizer_common_la_LIBADD): Likewise.
426         (libsanitizer_common_la_DEPENDENCIES): Likewise.
427         * sanitizer_common/Makefile.in: Regenerate.
428         * interception/Makefile.in: Likewise.
429         * libbacktace/Makefile.in: Likewise.
430         * Makefile.in: Likewise.
431         * configure: Likewise.
432         * merge.sh: Handle builtins/assembly.h merging.
433         * builtins/assembly.h: New file.
434         * asan/libtool-version: Bump the libasan SONAME.
436 2016-09-21  Jakub Jelinek  <jakub@redhat.com>
438         PR sanitizer/77567
439         * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
441 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
443         PR sanitizer/77396
444         * asan/asan_globals.cc: Cherry-pick upstream r280657.
446 2016-08-12  Jakub Jelinek  <jakub@redhat.com>
448         PR sanitizer/71042
449         * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
450         * tsan/tsan_rtl_aarch64.S: Likewise.
452 2016-07-23  Alan Modra  <amodra@gmail.com>
454         Revert 2015-11-09  Alan Modra  <amodra@gmail.com>
455         * configure.ac: Don't substitute OBSTACK_DEFS.
456         * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
457         * tsan/Makefile.am: Likewise.
458         * configure: Regenerate.
459         * Makefile.in: Regenerate.
460         * asan/Makefile.in: Regenerate.
461         * interception/Makefile.in: Regenerate.
462         * libbacktrace/Makefile.in: Regenerate.
463         * lsan/Makefile.in: Regenerate.
464         * sanitizer_common/Makefile.in: Regenerate.
465         * tsan/Makefile.in: Regenerate.
466         * ubsan/Makefile.in: Regenerate.
468 2016-05-17  Jakub Jelinek  <jakub@redhat.com>
470         PR sanitizer/71160
471         * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
472         and r269633.
474 2016-04-21  Maxim Ostapenko  <m.ostapenko@samsung.com>
476         PR sanitizer/70624
477         * asan/asan_mac.cc: Cherry pick upstream r266868.
479 2016-01-19  Jakub Jelinek  <jakub@redhat.com>
481         PR sanitizer/68824
482         * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
483         InitializeInterceptors): Cherry pick upstream r258119.
485 2016-01-14  Andreas Tobler  <andreast@gcc.gnu.org>
487         * configure.ac: Replace the hard-coded -ldl requirement for
488         link_sanitizer_common with a configure time check for -ldl.
489         * configure: Regenerate.
491 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
493         * include/system/linux/asm/ptrace.h: Move to ...
494         * include/system/asm/ptrace.h: ... this.
496 2015-11-24  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
498         * include/system/linux/asm/ptrace.h: New header.
500 2015-11-23  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
502         * All source files: Merge from upstream r253555.
503         * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
504         dependences for TSan for aarch64-*-linux* targets.
505         * tsan/Makefile.am: Add new source files.
506         * configure: Regenerate.
507         * tsan/Makefile.in: Likewise.
509 2015-11-09  Alan Modra  <amodra@gmail.com>
511         * sanitizer_common/sanitizer_common_interceptors.inc: Update size
512         params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
513         interceptors.
514         * configure.ac: Substitute OBSTACK_DEFS.
515         * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
516         * tsan/Makefile.am: Likewise.
517         * configure: Regenerate.
518         * Makefile.in: Regenerate.
519         * asan/Makefile.in: Regenerate.
520         * interception/Makefile.in: Regenerate.
521         * libbacktrace/Makefile.in: Regenerate.
522         * lsan/Makefile.in: Regenerate.
523         * sanitizer_common/Makefile.in: Regenerate.
524         * tsan/Makefile.in: Regenerate.
525         * ubsan/Makefile.in: Regenerate.
527 2015-10-22  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
529         PR bootstrap/68041
530         * configure.ac (link_sanitizer_common): Link against librt only if it
531         contains shm_open, required by sanitizers.
532         (CXX_ABI_NEEDED): Remove variable.
533         * configure: Regenerate.
534         * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
535         * ubsan/Makefile.in: Regenerate.
537 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
539         * HOWTO_MERGE: New file.
541 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
543         * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
544         compiled code with GCC when extracting the caller PC for ARM if no
545         valid frame pointer is available.
547 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
549         PR bootstrap/63888
550         Reapply:
551         2015-02-20  Jakub Jelinek  <jakub@redhat.com>
553         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
554         support until it is rewritten upstream.
556         * c-c++-common/asan/pr63888.c: New test.
558 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
560         PR sanitizer/63958
561         Reapply:
562         2014-10-14  David S. Miller  <davem@davemloft.net>
564         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
565         Define at __kernel_time_t, as needed for sparc.
566         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
567         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
568         (__sanitizer): Define struct___old_kernel_stat_sz,
569         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
570         (__sanitizer_ipc_perm): Adjust for sparc targets.
571         (__sanitizer_shmid_ds): Likewsie.
572         (__sanitizer_sigaction): Likewise.
573         (IOC_SIZE): Likewsie.
575 2015-10-21  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
577         * All source files: Merge from upstream r250806.
578         * configure.ac (link_sanitizer_common): Add -lrt flag.
579         * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
580         Set USE_CXX_ABI_FLAG=true for darwin.
581         * asan/Makefile.am (asan_files): Add new files.
582         (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
583         DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
584         * asan/Makefile.in: Regenerate.
585         * ubsan/Makefile.am (ubsan_files): Add new files.
586         (DEFS): Add DCAN_SANITIZE_UB=1.
587         (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
588         * ubsan/Makefile.in: Regenerate.
589         * tsan/Makefile.am (tsan_files): Add new files.
590         (DEFS): Add DCAN_SANITIZE_UB=0.
591         * tsan/Makefile.in: Regenerate.
592         * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
593         * sanitizer_common/Makefile.in: Regenerate.
594         * asan/libtool-version: Bump the libasan SONAME.
596 2015-09-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
598         PR sanitizer/67258
599         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
601 2015-07-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
603         PR sanitizer/63927
604         * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
605         for PowerPC.
607 2015-07-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
609         PR sanitizer/63927
610         * sanitizer_common/sanitizer_stacktrace.cc
611         (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
612         find the link register at an offset of 16 from the base of the
613         caller's stack frame.
615 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
617         * Makefile.in: Regenerated with automake-1.11.6.
618         * aclocal.m4: Likewise.
619         * asan/Makefile.in: Likewise.
620         * configure: Likewise.
621         * interception/Makefile.in: Likewise.
622         * libbacktrace/Makefile.in: Likewise.
623         * lsan/Makefile.in: Likewise.
624         * sanitizer_common/Makefile.in: Likewise.
625         * tsan/Makefile.in: Likewise.
626         * ubsan/Makefile.in: Likewise.
628 2015-04-13  Yury Gribov  <y.gribov@samsung.com>
630         PR sanitizer/64839
631         * sanitizer_common/sanitizer_platform.h: Cherry pick
632         upstream r234470.
633         * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
634         * configure.ac (RPC_DEFS): Check for precense of RPC headers.
635         * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
636         * Makefile.in: Regenerate.
637         * asan/Makefile.in: Regenerate.
638         * config.h.in: Regenerate.
639         * configure: Regenerate.
640         * interception/Makefile.in: Regenerate.
641         * libbacktrace/Makefile.in: Regenerate.
642         * lsan/Makefile.in: Regenerate.
643         * sanitizer_common/Makefile.in: Regenerate.
644         * tsan/Makefile.in: Regenerate.
645         * ubsan/Makefile.in: Regenerate.
648 2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
650         PR sanitizer/59009
651         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
652         upstream r230324.
653         * sanitizer_common/sanitizer_platform.h: Likewise.
654         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
656 2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
658         * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
659         upstream 224508 and 224755.
661 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
663         PR sanitizer/63958
664         Reapply:
665         2014-10-14  David S. Miller  <davem@davemloft.net>
667         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
668         Define at __kernel_time_t, as needed for sparc.
669         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
670         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
671         (__sanitizer): Define struct___old_kernel_stat_sz,
672         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
673         (__sanitizer_ipc_perm): Adjust for sparc targets.
674         (__sanitizer_shmid_ds): Likewsie.
675         (__sanitizer_sigaction): Likewise.
676         (IOC_SIZE): Likewsie.
678 2015-02-27  Peter Bergner  <bergner@vnet.ibm.com>
680         * configure.tgt: Enable build on powerpc*le-*-linux.
682 2015-02-23  Jakub Jelinek  <jakub@redhat.com>
684         PR bootstrap/63888
685         * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
686         support until it is rewritten upstream.
688 2015-01-26  Matthias Klose  <doko@ubuntu.com>
690         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
691         * configure: Regenerate.
693 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
695         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
696         * configure: Regenerate.
697         * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
699 2015-01-25  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
701         * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
702         * configure: Regenerate.
703         * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
704         (libtsan_la_DEPENDENCIES): Likewise.
705         * Makefile.in: Regenerate.
706         * asan/Makefile.in: Regenerate.
707         * interception/Makefile.in: Regenerate.
708         * libbacktrace/Makefile.in: Regenerate.
709         * lsan/Makefile.in: Regenerate.
710         * sanitizer_common/Makefile.in: Regenerate.
711         * tsan/Makefile.in: Regenerate.
712         * ubsan/Makefile.in: Regenerate.
714 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
716         * tsan/tsan_rtl.h: Cherry pick upstream r226829.
718 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
720         PR sanitizer/64435
721         * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
722         upstream r226637.
723         * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
724         * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
726 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
728         PR sanitizer/64632
729         * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
731 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
733         PR sanitizer/64435
734         * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
735         upstream r223925.
737 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
739         * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
740         upstream r224518 and r224519.
741         * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
742         r224834.
744 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
746         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
747         sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
748         sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
749         upstream r224308.
751 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
753         PR bootstrap/63784
754         * configure: Regenerated.
756 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
758         PR target/61137
759         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
760         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
762 2014-11-14  Uros Bizjak  <ubizjak@gmail.com>
764         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
765         * asan/Makefile.am (AM_CXXFLAGS): Ditto.
766         * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
767         * interception/Makefile.am (AM_CXXFLAGS): Ditto.
768         * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
769         * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
770         * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
771         * sanitizer_common/Makefile.in: Regenerate.
772         * asan/Makefile.in: Ditto.
773         * lsan/Makefile.in: Ditto.
774         * interception/Makefile.in: Ditto.
775         * tsan/Makefile.in: Ditto.
776         * libbacktrace/Makefile.in: Ditto.
777         * ubsan/Makefile.in: Ditto.
779 2014-11-13  Kostya Serebryany  <kcc@google.com>
781         * All source files: Merge from upstream r221802.
782         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
783         (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
784         with 'start' to follow the new interface.
785         * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
786         * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
787         * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
788         * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
789         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
790         files.
791         (AM_CXXFLAGS): Added -std=c++11.
792         * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
793         * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
794         * asan/Makefile.in: Regenerate.
795         * interception/Makefile.in: Regenerate.
796         * libbacktrace/Makefile.in: Regenerate.
797         * lsan/Makefile.in: Regenerate.
798         * sanitizer_common/Makefile.in: Regenerate.
799         * tsan/Makefile.in: Regenerate.
800         * ubsan/Makefile.in: Regenerate.
802 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
804         PR target/63610
805         * configure: Regenerate.
807 2014-10-16  Martin Liska  <mliska@suse.cz>
809         * asan/Makefile.am: IPA ICF pass is disabled.
810         * asan/Makefile.in: Likewise.
812 2014-10-14  David S. Miller  <davem@davemloft.net>
814         * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
815         Define at __kernel_time_t, as needed for sparc.
816         (struct __old_kernel_stat): Don't check if __sparc__ is defined.
817         * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
818         (__sanitizer): Define struct___old_kernel_stat_sz,
819         struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
820         (__sanitizer_ipc_perm): Adjust for sparc targets.
821         (__sanitizer_shmid_ds): Likewsie.
822         (__sanitizer_sigaction): Likewsie.
823         (IOC_SIZE): Likewsie.
825 2014-10-14  Jakub Jelinek  <jakub@redhat.com>
827         * ubsan/Makefile.am (DEFS): Add -DPIC.
828         * ubsan/Makefile.in: Regenerated.
830 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
832         * configure.tgt: Enable build on aarch64*-linux.
834 2014-09-19  Kostya Serebryany  <kcc@google.com>
836         * All source files: Merge from upstream r218156.
837         * asan/Makefile.am (asan_files): Added new files.
838         * asan/Makefile.in: Regenerate.
839         * ubsan/Makefile.am (ubsan_files): Added new files.
840         * ubsan/Makefile.in: Regenerate.
841         * tsan/Makefile.am (tsan_files): Added new files.
842         * tsan/Makefile.in: Regenerate.
843         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
844           files.
845         * sanitizer_common/Makefile.in: Regenerate.
846         * asan/libtool-version: Bump the libasan SONAME.
848 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
850         * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
851         upstream r215485, r217389, r217391 and r217400.
853 2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
855         * sanitizer_common/sanitizer_common_interceptors.inc:
856         Cherry pick upstream r211008.
858 2014-06-11  Richard Biener  <rguenther@suse.de>
860         * asan/asan_linux.cc: Cherry pick upstream r210012.
862 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
864         * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
865         r209879.
866         * sanitizer_common/sanitizer_common.h: Likewise.
867         * asan/asan_mapping.h: Likewise.
868         * asan/asan_linux.cc: Likewise.
869         * tsan/tsan_mman.cc: Cherry pick upstream r209744.
870         * sanitizer_common/sanitizer_allocator.h: Likewise.
872 2014-05-23  Marek Polacek  <polacek@redhat.com>
874         * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
875         floating-point types.
877 2014-05-22  Kostya Serebryany  <kcc@google.com>
879         * All source files: Merge from upstream r209283.
880         * asan/Makefile.am (asan_files): Added new files.
881         * asan/Makefile.in: Regenerate.
882         * tsan/Makefile.am (tsan_files): Added new files.
883         * tsan/Makefile.in: Regenerate.
884         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
885         files.
886         * sanitizer_common/Makefile.in: Regenerate.
888 2014-05-14  Yury Gribov  <y.gribov@samsung.com>
890         PR sanitizer/61100
891         * Makefile.am (nodist_saninclude_HEADERS): Install
892         public headers.
893         * Makefile.in: Regenerate.
895 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
897         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
898         Add ../../libbacktrace/sort.c.
899         * libbacktrace/Makefile.in: Regenerate.
900         * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
902 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
904         * configure.tgt: Unsupported for little endian PowerPC for now.
906 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
908         PR sanitizer/60055
909         * tsan/tsan_flags.cc (__tsan_default_options): Add
910         SANITIZER_INTERFACE_ATTRIBUTE.  Backport from upstream r200747.
911         * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
913         PR sanitizer/60038
914         * sanitizer_common/sanitizer_linux_libcdep.cc: Include
915         sanitizer_atomic.h and unistd.h.
916         (kThreadDescriptorSize): Made static, remove initializer and const,
917         change type to atomic_uintptr_t.
918         (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
919         query glibc version, compute kThreadDescriptorSize depending on
920         glibc version minor number.
921         (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
922         kThreadDescriptorSize directly.
924 2014-01-23  Yury Gribov  <y.gribov@samsung.com>
925             Jakub Jelinek  <jakub@redhat.com>
927         PR sanitizer/57316
928         * configure.ac: Check for missing syscalls.
929         * Makefile.am: Likewise.
930         * configure: Regenerate.
931         * Makefile.in: Regenerate.
933 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
935         * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
936         (LibbacktraceSymbolizer::Demangle): New declaration.
937         * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
938         (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
939         method if possible.
940         * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
941         "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
942         (struct CplusV3DemangleData): New type.
943         (CplusV3DemangleCallback, CplusV3Demangle): New functions.
944         (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
945         SymbolizeDataCallback): Use CplusV3Demangle.
946         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
947         -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
948         * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
949         cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
950         cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
951         cplus_demangle_init_info, cplus_demangle_mangled_name,
952         cplus_demangle_operators, cplus_demangle_print,
953         cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
954         cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
955         is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
956         Define.
957         (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
958         (memcmp, strncmp): Redefine.
959         * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
960         ../../libiberty/cp-demangle.c.
961         * libbacktrace/bridge.cc (__asan_internal_memcmp,
962         __asan_internal_strncmp): New functions.
963         * sanitizer_common/Makefile.in: Regenerated.
964         * libbacktrace/Makefile.in: Regenerated.
965         * configure: Regenerated.
966         * configure.ac: Regenerated.
967         * config.h.in: Regenerated.
969         * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
970         -isystem $(top_srcdir)/include/system.
971         * sanitizer_common/Makefile.in: Regenerated.
972         * include/system/linux/aio_abi.h: New header.
973         * include/system/linux/mroute.h: New header.
974         * include/system/linux/mroute6.h: New header.
975         * include/system/linux/perf_event.h: New header.
976         * include/system/linux/types.h: New header.
978         PR sanitizer/59136
979         * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
980         LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
981         and -I/-include flags.
982         * lsan/Makefile.am (liblsan_la_LIBADD): Add
983         libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
984         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
985         * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
986         * asan/Makefile.am (libasan_la_LIBADD): Likewise.
987         * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
988         libbacktrace.
989         * README.gcc: Document that also lsan and ubsan are
990         maintained in compiler-rt upstream.
991         * libbacktrace/Makefile.am: New file.
992         * libbacktrace/backtrace-rename.h: New file.
993         * libbacktrace/backtrace-supported.h.in: New file.
994         * libbacktrace/bridge.cc: New file.
995         * configure.ac: Add tests needed for libbacktrace build
996         within libsanitizer.
997         * sanitizer_common/Makefile.in: Regenerated.
998         * lsan/Makefile.in: Regenerated.
999         * tsan/Makefile.in: Regenerated.
1000         * ubsan/Makefile.in: Regenerated.
1001         * libbacktrace/Makefile.in: Generated.
1002         * config.h.in: Regenerated.
1003         * configure: Regenerated.
1004         * Makefile.in: Regenerated.
1005         * interception/Makefile.in: Regenerated.
1006         * asan/Makefile.in: Regenerated.
1007         * aclocal.m4: Regenerated.
1009 2013-12-19  Kostya Serebryany  <kcc@google.com>
1011         * sanitizer_common/sanitizer_platform_limits_posix.cc:
1012         workaround for missing definition of EOWNERDEAD, backport
1013         from upstream r196779.
1015 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1017         * sanitizer_common/sanitizer_platform_limits_posix.h
1018         (__sanitizer_shmid_ds): Use u64 on time fields for x32.
1019         (__sanitizer_clock_t): Use long long for x32.
1021 2013-12-06  H.J. Lu  <hongjiu.lu@intel.com>
1023         * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
1024         <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
1025         (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
1027 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
1029         * configure.ac (link_sanitizer_common): Add -lm.
1030         * configure: Regenerated.
1032 2013-12-05  Kostya Serebryany  <kcc@google.com>
1034         * All source files: Merge from upstream r196489.
1035         * merge.sh: Add *.S to the list of merged files.
1037 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
1039         PR sanitizer/59368
1040         * Makefile.am (gcc_version): Added gcc_version.
1041         * Makefile.in: Regenerate.
1043 2013-12-05  Kostya Serebryany  <kcc@google.com>
1045         * All source files: Merge from upstream r196090.
1046         * tsan/Makefile.am (tsan_files): Added new files.
1047         * tsan/Makefile.in: Regenerate.
1048         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1049         * sanitizer_common/Makefile.in: Regenerate.
1050         * lsan/Makefile.am (lsan_files): Added new files.
1051         * lsan/Makefile.in: Regenerate.
1053 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
1054             Yury Gribov  <y.gribov@samsung.com>
1056         PR sanitizer/59063
1057         * libsanitizer.spec.in: Add spec file to hold link flags for
1058         various sanitizer libs.
1059         * configure.ac: Check whether clock_* routines come from librt.
1060         * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
1061         configure.ac.
1062         * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
1063         * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
1064         * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
1065         * asan/Makefile.in: Regenerate.
1066         * interception/Makefile.in: Regenerate.
1067         * lsan/Makefile.in: Regenerate.
1068         * sanitizer_common/Makefile.in: Regenerate.
1069         * tsan/Makefile.in: Regenerate.
1070         * ubsan/Makefile.in: Regenerate.
1071         * Makefile.in: Regenerate.
1072         * configure: Regenerate.
1074 2013-11-28  Jakub Jelinek  <jakub@redhat.com>
1075             Yury Gribov  <y.gribov@samsung.com>
1077         PR sanitizer/59106
1078         * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
1079         don't need it.
1080         * ubsan/Makefile.in: Regenerated.
1082 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
1084         PR sanitizer/59061
1085         * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
1086         * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
1087         * configure: Regenerated.
1088         * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
1089         liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
1090         * lsan/Makefile.in: Regenerated.
1092 2013-11-22  Mike Stump  <mikestump@comcast.net>
1094         * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
1095         change from upstream to fix build.
1097 2013-11-18  Yury Gribov  <y.gribov@samsung.com>
1099         PR sanitizer/59106
1100         * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1101         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1102         * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1103         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1104         * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1105         * asan/Makefile.in: Regenerate.
1106         * interception/Makefile.in: Regenerate.
1107         * tsan/Makefile.in: Regenerate.
1108         * lsan/Makefile.in: Regenerate.
1109         * sanitizer_common/Makefile.in: Regenerate.
1111 2013-11-15  Kostya Serebryany  <kcc@google.com>
1113         PR sanitizer/58994
1114         Backport from upstream revision 194573
1115         * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1116         back to the original functions in the common libsanitizer
1117         interceptors and the __cxa_atexit() interceptor on Darwin.
1119 2013-11-13  Peter Bergner  <bergner@vnet.ibm.com>
1121         PR sanitizer/59009
1122         * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1123         ifdef out more source.
1125 2013-11-12  Jakub Jelinek  <jakub@redhat.com>
1127         * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1128         ifdef out almost the whole source.
1129         * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1131 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1133         PR sanitizer/59018
1134         * sanitizer_common/sanitizer_platform_limits_posix.cc
1135         (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1136         defined.
1138 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1140         PR sanitizer/59018
1141         * sanitizer_common/sanitizer_platform_limits_linux.cc
1142         (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1143         defined.
1144         * sanitizer_common/sanitizer_platform_limits_posix.h
1145         (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1146         defined.
1147         (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1148         is defined.
1149         (__sanitizer___kernel_gid_t): Likewise.
1150         (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1151         is defined.
1153 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1155         PR sanitizer/59018
1156         * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1157         2 64-bit integers to save and restore fn and arg.  Properly load
1158         newtls/child_tidptr into r8/r10.
1160 2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
1162         PR sanitizer/59018
1163         * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1164         internal_munmap, internal_open, internal_read, internal_write,
1165         internal_stat, internal_lstat, internal_fstat, internal_readlink,
1166         internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1167         BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1168         internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1170 2013-11-04  Kostya Serebryany  <kcc@google.com>
1172         * All source files: Merge from upstream r191666.
1173         * merge.sh: Added lsan.
1174         * configure.ac (AC_CONFIG_FILES): Added lsan.
1175         * Makefile.am (SUBDIRS): Added lsan.
1176         * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1177         * asan/Makefile.am (asan_files): Added new files.
1178         (libasan_la_LIBADD): Added a dependency on lsan.
1179         * lsan/Makefile.am: New file.
1180         * asan/Makefile.in: Regenerate.
1181         * lsan/Makefile.in: Regenerate.
1182         * Makefile.in: Regenerate.
1183         * configure: Regenerate.
1184         * sanitizer_common/Makefile.in: Regenerate.
1186 2013-09-20  Alan Modra  <amodra@gmail.com>
1188         * configure: Regenerate.
1190 2013-09-01  Iain Sandoe  <iain@codesourcery.com>
1192         * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1193         libinterception.la for Darwin.
1194         * ubsan/Makefile.in: Regenerate.
1196 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
1198         * Makefile.am (SUBDIRS): Add ubsan.
1199         * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1200         * merge.sh: Merge ubsan.
1201         * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1202         * sanitizer_common/sanitizer_printf.cc: Likewise.
1203         * sanitizer_common/sanitizer_common.h: Likewise.
1204         * ubsan: New directory. Import ubsan runtime from llvm.
1206 2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
1208         * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1209         Cherry pick upstream r182922.
1211 2013-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
1213         * configure.tgt: Add ARM pattern.
1215 2013-03-22  Jakub Jelinek  <jakub@redhat.com>
1217         PR other/43620
1218         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1219         * Makefile.in: Regenerated.
1220         * asan/Makefile.in: Regenerated.
1221         * interception/Makefile.in: Regenerated.
1222         * sanitizer_common/Makefile.in: Regenerated.
1223         * tsan/Makefile.in: Regenerated.
1225 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
1227         * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1228         * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1229         0x4fffffffffULL.
1231 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
1233         PR sanitizer/56393
1234         * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1235         libasan_preinit.o.
1236         (libasan_preinit.o): Depend on asan_preinit.o.
1237         * asan/Makefile.in: Regenerated.
1238         * asan/asan_preinit.cc: New file, synced from upstream.
1239         * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1241 2013-02-21  Jack Howarth  <howarth@bromo.med.uc.edu>
1243         * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1244         dynamic/asan_interceptors_dynamic.cc.
1245         * asan/Makefile.in: Regenerated.
1246         * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1248 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
1250         * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1251         defined.  Add used attribute.
1253 2013-02-21  Kostya Serebryany  <kcc@google.com>
1255         * All source files: Merge from upstream r175733.
1256         * sanitizer_common/Makefile.am: Added a new file.
1257         * sanitizer_common/Makefile.in: Regenerated.
1259 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1261         PR bootstrap/56327
1262         * interception/interception.h (OFF_T): Merged from upstream
1263         r175140.
1265 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
1267         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1269 2013-02-13  Kostya Serebryany  <kcc@google.com>
1271         PR sanitizer/56128
1272         * All source files: Merge from upstream r175049.
1273         * interception/Makefile.am: added include path.
1274         * interception/Makefile.in: Regenerated.
1276 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
1278         * configure.tgt: Disable build on darwin9 and earlier.
1280 2013-01-23  Kostya Serebryany  <kcc@google.com>
1282         PR sanitizer/55989
1283         * All source files: Merge from upstream r173241.
1284         * merge.sh: Support merging .inc files.
1286 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
1288         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1289         -Wno-c99-extensions.
1290         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1291         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1292         * sanitizer_common/Makefile.in: Regenerated.
1293         * interception/Makefile.in: Regenerated.
1294         * asan/Makefile.in: Regenerated.
1296 2013-01-10  Wei Mi  <wmi@google.com>
1298         PR sanitizer/55488
1299         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1300         * tsan/Makefile.in: Regenerated.
1301         * tsan/tsan_rtl.h: Enable HACKY_CALL.
1303 2013-01-10  Kostya Serebryany  <kcc@google.com>
1305         * All source files: Merge from upstream r171973.
1306         * sanitizer_common/Makefile.am: Added new files.
1307         * asan/Makefile.am: Likewise.
1308         * tsan/Makefile.am: Likewise.
1309         * sanitizer_common/Makefile.in: Regenerated.
1310         * asan/Makefile.in: Likewise.
1311         * tsan/Makefile.in: Likewise.
1313 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1315         * asan/Makefile.am (libasan_la_LIBADD): Replace
1316         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1317         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1318         * Makefile.in: Regenerated.
1319         * configure: Likewise.
1320         * asan/Makefile.in: Likewise.
1321         * interception/Makefile.in: Likewise.
1322         * sanitizer_common/Makefile.in: Likewise.
1323         * tsan/Makefile.in: Likewise.
1325 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1327         * Makefile.am (AM_MAKEFLAGS): Restored.
1328         * interception/Makefile.am: Likewise.
1329         * sanitizer_common/Makefile.am: Likewise.
1330         * tsan/Makefile.am: Likewise.
1331         * Makefile.in: Regenerated.
1332         * asan/Makefile.in: Likewise.
1333         * interception/Makefile.in: Likewise.
1334         * sanitizer_common/Makefile.in: Likewise.
1335         * tsan/Makefile.in: Likewise.
1337 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1339         * Makefile.am (MAKEOVERRIDES): Restored.
1340         * asan/Makefile.am: Likewise.
1341         * interception/Makefile.am: Likewise.
1342         * sanitizer_common/Makefile.am: Likewise.
1343         * tsan/Makefile.am: Likewise.
1344         * Makefile.in: Regenerated.
1345         * asan/Makefile.in: Likewise.
1346         * interception/Makefile.in: Likewise.
1347         * sanitizer_common/Makefile.in: Likewise.
1348         * tsan/Makefile.in: Likewise.
1350 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1352         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1353         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1354         * Makefile.in: Regenerated.
1355         * configure: Likewise.
1356         * asan/Makefile.in: Likewise.
1357         * interception/Makefile.in: Likewise.
1358         * sanitizer_common/Makefile.in: Likewise.
1359         * tsan/Makefile.in: Likewise.
1361 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
1363         * Makefile.am (AM_MAKEFLAGS): Removed.
1364         (MAKEOVERRIDES): Likewise.
1365         * asan/Makefile.am: Likewise.
1366         * interception/Makefile.am: Likewise.
1367         * sanitizer_common/Makefile.am: Likewise.
1368         * tsan/Makefile.am: Likewise.
1369         * Makefile.in: Regenerated.
1370         * asan/Makefile.in: Likewise.
1371         * interception/Makefile.in: Likewise.
1372         * sanitizer_common/Makefile.in: Likewise.
1373         * tsan/Makefile.in: Likewise.
1375 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
1377         PR sanitizer/55533
1378         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1379         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1380         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1381         (AM_MAKEFLAGS): Remove CC and CXX.
1382         * interception/Makefile.am: Likewise.
1383         * sanitizer_common/Makefile.am: Likewise.
1384         * tsan/Makefile.am: Likewise.
1385         * Makefile.in: Regenerated.
1386         * aclocal.m4: Likewise.
1387         * configure: Likewise.
1388         * asan/Makefile.in: Likewise.
1389         * interception/Makefile.in: Likewise.
1390         * sanitizer_common/Makefile.in: Likewise.
1391         * tsan/Makefile.in: Likewise.
1393 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
1395         * configure.tgt: Enable build on powerpc*-linux.
1397 2012-12-06  Jack Howarth  <howarth@bromo.med.uc.edu>
1399         PR 55599/sanitizer
1400         * configure.ac: Set enable_static=no on darwin.
1401         * configure: Regenerated.
1403 2012-12-06  Kostya Serebryany  <kcc@google.com>
1405         * All files: Merge from upstream r169392.
1407 2012-12-05  Kostya Serebryany  <kcc@google.com>
1409         * All files: Merge from upstream r169371.
1411 2012-12-04  Kostya Serebryany  <kcc@google.com>
1412             Jack Howarth  <howarth@bromo.med.uc.edu>
1414         PR 55521/sanitizer
1415         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1416         * Makefile.am: Don't build interception subdir when
1417         USING_MAC_INTERPOSE defined.
1418         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1419         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1420         Compile asan_interceptors_dynamic.cc but not libinterception
1421         when USING_MAC_INTERPOSE defined.
1422         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1423         * configure: Regenerated.
1424         * Makefile.in: Likewise.
1425         * asan/Makefile.in: Likewise.
1426         * interception/Makefile.in: Likewise.
1427         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1428         * asan/asan_mac.cc: Likewise.
1429         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1430         and use MISSING_BLOCKS_SUPPORT.
1431         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1432         * interception/mach_override/LICENSE.txt: Remove unused file.
1433         * interception/mach_override/mach_override.c: Likewise.
1434         * interception/mach_override/mach_override.h: Likewise.
1435         * interception/mach_override: Remove unused directory.
1437 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1439         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1440         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1441         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1442         files.
1443         (AM_MAKEFLAGS): Restore CC and CXX.
1444         * interception/Makefile.am: Likewise.
1445         * sanitizer_common/Makefile.am: Likewise.
1446         * tsan/Makefile.am: Likewise.
1447         * Makefile.in: Regenerated.
1448         * aclocal.m4: Likewise.
1449         * configure: Likewise.
1450         * asan/Makefile.in: Likewise.
1451         * interception/Makefile.in: Likewise.
1452         * sanitizer_common/Makefile.in: Likewise.
1453         * tsan/Makefile.in: Likewise.
1455 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1457         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1458         * configure.ac (ACX_NONCANONICAL_TARGET): New.
1459         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1460         files.
1461         (AM_MAKEFLAGS): Remove CC and CXX.
1462         * interception/Makefile.am: Likewise.
1463         * sanitizer_common/Makefile.am: Likewise.
1464         * tsan/Makefile.am: Likewise.
1465         * Makefile.in: Regenerated.
1466         * aclocal.m4: Likewise.
1467         * configure: Likewise.
1468         * asan/Makefile.in: Likewise.
1469         * interception/Makefile.in: Likewise.
1470         * sanitizer_common/Makefile.in: Likewise.
1471         * tsan/Makefile.in: Likewise.
1473 2012-11-27  Kostya Serebryany  <kcc@google.com>
1475         * All files: Merge from upstream r168699.
1477 2012-11-24  Kostya Serebryany  <kcc@google.com>
1478             Jack Howarth  <howarth@bromo.med.uc.edu>
1480         * interception/mach_override/mach_override.c: Migrate from llvm.
1481         * interception/mach_override/mach_override.h: Likewise.
1482         * interception/mach_override/LICENSE.txt: Likewise.
1483         * configure.tgt: Add darwin to supported targets.
1484         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1485         * interception/Makefile.am: Compile mach_override.c when
1486         USING_MACH_OVERRIDE defined.
1487         * configure: Regenerated.
1488         * interception/Makefile.in: Likewise.
1490 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
1492         PR sanitizer/55450
1493         * tsan/Makefile.am (gcc_version): New.
1494         * tsan/Makefile.in: Regenerated.
1496 2012-11-23  Kostya Serebryany  <kcc@google.com>
1498         * merge.sh: Support tsan, support added/removed files.
1499         * tsan/Makefile.am: Remove tsan_printf.cc.
1500         * tsan/Makefile.in: Regenerated.
1501         * other files: Merge from upstream r168514.
1503 2012-11-23  Kostya Serebryany  <kcc@google.com>
1505         * merge.sh: New file.
1507 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
1509         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1510         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1511         automake conditional instead of !MULTISUBDIR32.
1512         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1513         for 64-bit multilib.
1514         * configure.ac: Check for void * size, source in configure.tgt,
1515         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1516         * configure: Regenerated.
1517         * Makefile.in: Regenerated.
1518         * tsan/Makefile.in: Regenerated.
1520 2012-11-22  Wei Mi  <wmi@google.com>
1522         * tsan: New directory. Import tsan runtime from llvm.
1523         * configure.ac: Add 64 bits tsan build.
1524         * Makefile.am: Likewise.
1525         * configure: Regenerated.
1526         * Makefile.in: Likewise.
1528 2012-11-21  Kostya Serebryany  <kcc@google.com>
1530         * README.gcc: Extend the README.gcc with mode details.
1532 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
1534         * sanitizer_common/sanitizer_linux.cc
1535         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1536         (internal_mmap): Use it.
1537         (internal_filesize): Likewise.
1539 2012-11-16  Tom Tromey  <tromey@redhat.com>
1541         * configure.ac: Invoke AM_MAINTAINER_MODE.
1542         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1543         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1545 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1547         PR other/55333
1548         * include/sanitizer/common_interface_defs.h (uhwptr): New type
1549         for hardware pointer.
1550         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1551         Replace uptr with uhwptr for stack unwind.
1553 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
1555         * configure.tgt: Enable build on sparc linux.
1557 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
1559         * configure.ac: Properly set MULTISUBDIR.
1560         * asan/Makefile.am (gcc_version): New.
1561         * interception/Makefile.am (gcc_version): Likewise.
1562         * sanitizer_common/Makefile.am (gcc_version): Likewise.
1563         * configure: Regenerated.
1564         * asan/Makefile.in: Likewise.
1565         * interception/Makefile.in: Likewise.
1566         * sanitizer_common/Makefile.in: Likewise.
1568 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1570         PR other/55291
1571         * configure.ac (--enable-version-specific-runtime-libs): New option.
1572         (AC_CANONICAL_SYSTEM): New.
1573         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1574         (toolexecdir): Support multilib.
1575         (toolexeclibdir): Likewise.
1576         (multilib_arg): New.
1577         * Makefile.in: Regenerated.
1578         * aclocal.m4: Likewise.
1579         * configure: Likewise.
1580         * asan/Makefile.in: Likewise.
1581         * interception/Makefile.in: Likewise.
1582         * sanitizer_common/Makefile.in: Likewise.
1584 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1586         PR other/55292
1587         Backport from upstream revision 167883
1588         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1589         __x86_64__ instead of __WORDSIZE.
1590         (internal_filesize): Likwise.
1592 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1594         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1595         * Makefile.in: Regenerated.
1596         * configure: Likewise.
1598 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1600         PR other/55304
1601         * acinclude.m4: New file.
1602         * Makefile.am (ACLOCAL_AMFLAGS): New.
1603         * configure.ac (AC_PREREQ): Set to 2.64.
1604         (AC_CONFIG_AUX_DIR): Set to "..".
1605         * Makefile.in: Regenerated.
1606         * aclocal.m4: Likewise.
1607         * configure: Likewise.
1608         * asan/Makefile.in: Likewise.
1609         * interception/Makefile.in: Likewise.
1610         * sanitizer_common/Makefile.in: Likewise.
1612         * config.guess: Removed.
1613         * config.sub: Likewise.
1614         * depcomp: Likewise.
1615         * install-sh: Likewise.
1616         * ltmain.sh: Likewise.
1617         * missing: Likewise.
1619 2012-11-13  Richard Henderson  <rth@redhat.com>
1621         * configure.tgt: New file.
1623 2012-11-12  David S. Miller  <davem@davemloft.net>
1625         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1627 2012-10-29  Wei Mi  <wmi@google.com>
1629         Initial checkin: migrate asan runtime from llvm.