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