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