ChangeLog revision 1.8 1 2025-05-23 Release Manager
2
3 * GCC 14.3.0 released.
4
5 2024-09-05 Jakub Jelinek <jakub (a] redhat.com>
6
7 Backported from master:
8 2024-09-05 Jakub Jelinek <jakub (a] redhat.com>
9
10 * sanitizer_common/sanitizer_asm.h: Cherry-pick llvm-project revision
11 1c792d24e0a228ad49cc004a1c26bbd7cd87f030.
12 * interception/interception.h: Likewise.
13
14 2024-08-01 Release Manager
15
16 * GCC 14.2.0 released.
17
18 2024-05-07 Release Manager
19
20 * GCC 14.1.0 released.
21
22 2024-02-16 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
23
24 PR sanitizer/113785
25 * asan/asan_interceptors.cpp: Cherry-pick llvm-project revision
26 8c2033719a843a1880427a5e8caa5563248bce78.
27
28 2024-02-06 chenguoqi <chenguoqi (a] loongson.cn>
29
30 * configure.tgt: Enable tsan and lsan for loongarch64.
31 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Add
32 tsan_rtl_loongarch64.S.
33 * tsan/Makefile.in: Regenerate.
34
35 2024-01-19 Daniel Cederman <cederman (a] gaisler.com>
36
37 * sanitizer_common/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@.
38 * sanitizer_common/Makefile.in: Regenerate.
39
40 2024-01-17 YunQiang Su <yunqiang.su (a] cipunited.com>
41
42 * interception/interception.h (substitution_##func_name):
43 Use macro C_ASM_TAIL_CALL.
44 * sanitizer_common/sanitizer_asm.h: Define C_ASM_TAIL_CALL
45 for MIPS with help of t9.
46
47 2024-01-02 Andreas Schwab <schwab (a] suse.de>
48
49 * configure.tgt (riscv64-*-linux*): Enable LSan and TSan.
50
51 2023-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
52
53 * LOCAL_PATCHES: Update.
54
55 2023-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
56
57 PR sanitizer/112563
58 * sanitizer_common/sanitizer_redefine_builtins.h: Check
59 HAVE_AS_SYM_ASSIGN.
60
61 2023-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
62
63 PR sanitizer/112563
64 * configure.ac (libsanitizer_cv_as_sym_assign): Check for
65 assembler symbol assignment support.
66 * configure: Regenerate.
67 * asan/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@.
68 * Makefile.in, asan/Makefile.in, hwasan/Makefile.in,
69 interception/Makefile.in, libbacktrace/Makefile.in,
70 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
71 ubsan/Makefile.in: Regenerate.
72
73 2023-11-21 Jakub Jelinek <jakub (a] redhat.com>
74
75 PR sanitizer/112562
76 * sanitizer_common/sanitizer_asm.h: Cherry-pick llvm-project revision
77 a855a16a02e76a0f4192c038bb64f3773947a2f7.
78 * interception/interception.h: Likewise.
79
80 2023-11-18 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org>
81
82 * asan/asan_mac.cpp: Protect Apple blocks behind the
83 MISSING_BLOCKS_SUPPORT macro.
84
85 2023-11-15 Jakub Jelinek <jakub (a] redhat.com>
86
87 * LOCAL_PATCHES: Update revisions.
88
89 2023-11-15 Jakub Jelinek <jakub (a] redhat.com>
90
91 * ubsan/ubsan_handlers_cxx.h (FunctionTypeMismatchData): Forward
92 declare.
93 (__ubsan_handle_function_type_mismatch_v1,
94 __ubsan_handle_function_type_mismatch_v1_abort): Declare.
95 * ubsan/ubsan_handlers_cxx.cpp (handleFunctionTypeMismatch,
96 __ubsan_handle_function_type_mismatch_v1,
97 __ubsan_handle_function_type_mismatch_v1_abort): New functions readded
98 for backwards compatibility from older ubsan.
99 * ubsan/ubsan_interface.inc (__ubsan_handle_function_type_mismatch_v1,
100 __ubsan_handle_function_type_mismatch_v1_abort): Readd.
101
102 2023-10-22 Iain Sandoe <iain (a] sandoe.co.uk>
103
104 * asan/Makefile.am: Handle Darwin rpaths.
105 * asan/Makefile.in: Regenerate.
106 * configure: Regenerate.
107 * hwasan/Makefile.am: Handle Darwin rpaths.
108 * hwasan/Makefile.in: Regenerate.
109 * lsan/Makefile.am: Handle Darwin rpaths.
110 * lsan/Makefile.in: Regenerate.
111 * tsan/Makefile.am: Handle Darwin rpaths.
112 * tsan/Makefile.in: Regenerate.
113 * ubsan/Makefile.am: Handle Darwin rpaths.
114 * ubsan/Makefile.in: Regenerate.
115
116 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com>
117
118 * configure: Regenerate.
119
120 2023-08-07 Alexander von Gluck IV <kallisti5 (a] unixzen.com>
121
122 * configure: Regenerate.
123
124 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com>
125
126 * configure: Regenerate.
127
128 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com>
129
130 * configure: Regenerate.
131
132 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com>
133
134 * configure: Regenerate.
135
136 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com>
137
138 * configure: Regenerate.
139
140 2023-08-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
141
142 * sanitizer_common/sanitizer_stacktrace_sparc.cpp,
143 sanitizer_common/sanitizer_unwind_linux_libcdep.cpp: Cherry-pick
144 llvm-project revision 679c076ae446af81eba81ce9b94203a273d4b88a.
145
146 2023-04-30 Martin Liska <mliska (a] suse.cz>
147
148 PR sanitizer/109674
149 * hwasan/Makefile.am: Depend on liblsan.
150 * hwasan/Makefile.in: Re-generate.
151
152 2023-04-30 Martin Liska <mliska (a] suse.cz>
153
154 * LOCAL_PATCHES: Update revision.
155
156 2023-04-26 Martin Liska <mliska (a] suse.cz>
157
158 * LOCAL_PATCHES: Change revision.
159
160 2023-04-18 Iain Sandoe <iain (a] sandoe.co.uk>
161
162 * configure.tgt: Unsupport Darwin22+ until a mechanism can be found
163 to locate dyld in the shared cache.
164
165 2023-01-31 H.J. Lu <hjl.tools (a] gmail.com>
166
167 PR sanitizer/108106
168 * hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump
169 to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp.
170 (__interceptor_sigsetjmp): Add a local alias,
171 .Linterceptor_sigsetjmp.
172
173 2023-01-31 Martin Liska <mliska (a] suse.cz>
174
175 * configure: Regenerate.
176
177 2023-01-31 YunQiang Su <yunqiang.su (a] cipunited.com>
178
179 * configure.ac: set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
180 always for mips*.
181 * configure: Regenerate.
182
183 2023-01-17 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
184
185 * sanitizer_common/sanitizer_platform_interceptors.h: Cherry-pick
186 llvm-project revision 951cf656b2faaf6fc0baa867293c0cb0ab131951.
187
188 2022-12-19 Jakub Jelinek <jakub (a] redhat.com>
189
190 * hwasan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
191 libhwasan_preinit.o.
192 (hwasan_files): Remove hwasan_preinit.cpp.
193 (libhwasan_preinit.o): Copy from hwasan_preinit.o.
194 * hwasan/Makefile.in: Regenerated.
195
196 2022-12-13 Jakub Jelinek <jakub (a] redhat.com>
197
198 PR sanitizer/108072
199 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zstd): Define.
200
201 2022-12-09 liuhongt <hongtao.liu (a] intel.com>
202
203 * configure.tgt: Enable hwasan for x86-64.
204
205 2022-12-04 Iain Sandoe <iain (a] sandoe.co.uk>
206
207 * configure.tgt: Restrict build to Darwin 16 or newer.
208
209 2022-11-15 Martin Liska <mliska (a] suse.cz>
210
211 * LOCAL_PATCHES: Update local patches.
212
213 2022-11-15 Martin Liska <mliska (a] suse.cz>
214
215 * merge.sh: Use git clone --depth 1.
216
217 2022-10-19 Martin Liska <mliska (a] suse.cz>
218
219 * configure: Regenerate.
220
221 2022-10-18 Florian Weimer <fweimer (a] redhat.com>
222
223 * configure.ac (sanitizer_supported): Include <unistd.h> for
224 syscall prototype.
225 * configure: Regenerate.
226
227 2022-10-12 Martin Liska <mliska (a] suse.cz>
228
229 * configure: Regenerate.
230
231 2022-10-11 Olivier Hainque <hainque (a] adacore.com>
232 Olivier Hainque <hainque (a] adacore.com>
233
234 * configure: Regenerate.
235
236 2022-10-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
237
238 PR sanitizer/105531
239 * sanitizer_common/sanitizer_procmaps_solaris.cpp: Cherry-pick
240 llvm-project revision 1cd4d63fb9ab0f04c7151911dde0d58b673823de.
241
242 2022-09-04 Iain Sandoe <iain (a] sandoe.co.uk>
243
244 * LOCAL_PATCHES: Update.
245
246 2022-08-31 Xi Ruoyao <xry111 (a] xry111.site>
247
248 * configure.tgt: Allow loongarch64-*-linux*.
249
250 2022-08-30 Martin Liska <mliska (a] suse.cz>
251
252 * LOCAL_PATCHES: Update.
253
254 2022-08-30 Martin Liska <mliska (a] suse.cz>
255
256 * sanitizer_common/Makefile.am: Remove sanitizer_openbsd.
257 * sanitizer_common/Makefile.in: Regenerate.
258
259 2022-07-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
260
261 PR sanitizer/105531
262 * sanitizer_common/sanitizer_linux_libcdep.cpp,
263 sanitizer_common/sanitizer_solaris.h:: Cherry-pick
264 llvm-project revision 3776db9a4fd2080d23d6a5f52e405eea44558761.
265
266 2022-05-05 Martin Liska <mliska (a] suse.cz>
267
268 * LOCAL_PATCHES: Update.
269
270 2022-05-04 Martin Liska <mliska (a] suse.cz>
271
272 * tsan/Makefile.am: Update Makefile.am files.
273 * hwasan/Makefile.am: Likewise.
274 * sanitizer_common/Makefile.am: Likewise.
275 * Makefile.in: Re-generate.
276 * asan/Makefile.in: Likewise.
277 * hwasan/Makefile.in: Likewise.
278 * interception/Makefile.in: Likewise.
279 * libbacktrace/Makefile.in: Likewise.
280 * lsan/Makefile.in: Likewise.
281 * sanitizer_common/Makefile.in: Likewise.
282 * tsan/Makefile.in: Likewise.
283 * ubsan/Makefile.in: Likewise.
284
285 2022-03-14 Xi Ruoyao <xry111 (a] mengyan1223.wang>
286
287 * configure.tgt: Enable build on mips*64*-*-linux*.
288
289 2022-03-14 Xi Ruoyao <xry111 (a] mengyan1223.wang>
290
291 * sanitizer_common/sanitizer_atomic_clang.h: Ensures to only
292 include sanitizer_atomic_clang_mips.h for O32.
293
294 2022-02-15 Jakub Jelinek <jakub (a] redhat.com>
295
296 * sanitizer_common/sanitizer_linux_libcdep.cpp: Cherry-pick
297 llvm-project revision ef14b78d9a144ba81ba02083fe21eb286a88732b.
298
299 2022-02-03 David Seifert <soap (a] gentoo.org>
300 Jakub Jelinek <jakub (a] redhat.com>
301
302 * configure.ac: Support --disable-werror.
303 * aclocal.m4: Include also ../config/warnings.m4.
304 * libbacktrace/Makefile.am (WARN_FLAGS): Remove.
305 * configure: Regenerate.
306 * Makefile.in: Regenerate.
307 * asan/Makefile.in: Regenerate.
308 * hwasan/Makefile.in: Regenerate.
309 * interception/Makefile.in: Regenerate.
310 * libbacktrace/Makefile.in: Regenerate.
311 * lsan/Makefile.in: Regenerate.
312 * sanitizer_common/Makefile.in: Regenerate.
313 * tsan/Makefile.in: Regenerate.
314 * ubsan/Makefile.in: Regenerate.
315
316 2021-12-06 H.J. Lu <hjl.tools (a] gmail.com>
317
318 * LOCAL_PATCHES: Add commit 70b043845d7.
319
320 2021-12-06 H.J. Lu <hjl.tools (a] gmail.com>
321
322 PR sanitizer/103466
323 * tsan/tsan_rtl_amd64.S (__tsan_trace_switch_thunk): Replace
324 vmovdqu with movdqu.
325 (__tsan_report_race_thunk): Likewise.
326
327 2021-11-28 Andrew Pinski <apinski (a] marvell.com>
328
329 PR sanitizer/62157
330 * Makefile.am: Force DIST_SUBDIRS to be SUBDIRS.
331 * Makefile.in: Regenerate.
332 * asan/Makefile.in: Likewise.
333 * hwasan/Makefile.in: Likewise.
334 * interception/Makefile.in: Likewise.
335 * libbacktrace/Makefile.in: Likewise.
336 * lsan/Makefile.in: Likewise.
337 * sanitizer_common/Makefile.in: Likewise.
338 * tsan/Makefile.in: Likewise.
339 * ubsan/Makefile.in: Likewise.
340
341 2021-11-18 Jakub Jelinek <jakub (a] redhat.com>
342
343 PR bootstrap/102675
344 * sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
345 of sanitizer_platform_limits_freebsd.cpp.
346 * sanitizer_common/Makefile.in: Regenerated.
347
348 2021-11-13 H.J. Lu <hjl.tools (a] gmail.com>
349
350 * LOCAL_PATCHES: Update to the corresponding revision.
351
352 2021-11-04 Martin Liska <mliska (a] suse.cz>
353
354 * LOCAL_PATCHES: Update git revision.
355
356 2021-10-08 H.J. Lu <hjl.tools (a] gmail.com>
357
358 PR sanitizer/102632
359 * asan/Makefile.am (AM_CCASFLAGS): New. Set to $(EXTRA_ASFLAGS).
360 * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
361 * interception/Makefile.am (AM_CCASFLAGS): Likewise.
362 * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
363 * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
364 * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
365 * asan/Makefile.in: Regenerate.
366 * hwasan/Makefile.in: Likewise.
367 * interception/Makefile.in: Likewise.
368 * lsan/Makefile.in: Likewise.
369 * tsan/Makefile.in: Likewise.
370 * ubsan/Makefile.in: Likewise.
371
372 2021-10-06 H.J. Lu <hjl.tools (a] gmail.com>
373
374 * LOCAL_PATCHES: Update to the corresponding revision.
375
376 2021-10-01 H.J. Lu <hjl.tools (a] gmail.com>
377
378 * LOCAL_PATCHES: Update to the corresponding revision.
379
380 2021-08-11 Jakub Jelinek <jakub (a] redhat.com>
381
382 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
383 llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
384
385 2021-08-03 Mos Giordano <mose (a] gnu.org>
386
387 PR sanitizer/101111
388 * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
389
390 2021-07-28 Ilya Leoshkevich <iii (a] linux.ibm.com>
391
392 * configure.tgt (s390*-*-linux*): Enable LSan and TSan for
393 s390x.
394
395 2021-07-20 H.J. Lu <hjl.tools (a] gmail.com>
396
397 * asan/libtool-version: Bump version.
398 * tsan/libtool-version: Likewise.
399
400 2021-07-20 H.J. Lu <hjl.tools (a] gmail.com>
401
402 * LOCAL_PATCHES: Update to the corresponding revision.
403
404 2021-05-21 Tamar Christina <tamar.christina (a] arm.com>
405
406 PR sanitizer/100379
407 * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
408 llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
409 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
410 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
411
412 2021-05-13 Iain Sandoe <iain (a] sandoe.co.uk>
413
414 * LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
415
416 2021-05-13 Iain Sandoe <iain (a] sandoe.co.uk>
417
418 * sanitizer_common/sanitizer_mac.cpp : Check for the
419 availability of __builtin_os_log_format before trying to
420 include a header depending on it.
421 (OS_LOG_DEFAULT): New.
422 (os_log_error): Define to a fall-back using an older API.
423
424 2021-05-13 Martin Liska <mliska (a] suse.cz>
425
426 * LOCAL_PATCHES: Update to the corresponding revision.
427
428 2021-04-17 Jakub Jelinek <jakub (a] redhat.com>
429
430 PR sanitizer/100114
431 * sanitizer_common/sanitizer_posix_libcdep.cpp: Cherry-pick
432 llvm-project revisions 82150606fb11d28813ae6da1101f5bda638165fe
433 and b93629dd335ffee2fc4b9b619bf86c3f9e6b0023.
434
435 2021-03-08 Martin Liska <mliska (a] suse.cz>
436
437 PR sanitizer/98920
438 * asan/asan_interceptors.cpp (COMMON_INTERCEPT_FUNCTION_VER):
439 Cherry pick.
440 (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK): Likewise.
441 * asan/asan_interceptors.h (ASAN_INTERCEPT_FUNC_VER_UNVERSIONED_FALLBACK): Likewise.
442 * sanitizer_common/sanitizer_common_interceptors.inc
443 (COMMON_INTERCEPT_FUNCTION_GLIBC_VER_MIN): Likewise.
444 (INIT_REGEX): Likewise.
445 * tsan/tsan_interceptors_posix.cpp (COMMON_INTERCEPT_FUNCTION_VER_UNVERSIONED_FALLBACK):
446 Likewise.
447
448 2021-01-26 Martin Liska <mliska (a] suse.cz>
449
450 PR sanitizer/98828
451 * lsan/Makefile.am: Add missing lsan_posix.cpp file.
452 * lsan/Makefile.in: Likewise.
453
454 2021-01-05 Samuel Thibault <samuel.thibault (a] ens-lyon.org>
455
456 * configure: Re-generate.
457
458 2020-12-05 Iain Sandoe <iain (a] sandoe.co.uk>
459
460 PR target/97865
461 * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
462 Darwin.
463 * configure: Regenerate.
464
465 2020-11-29 John David Anglin <danglin (a] gcc.gnu.org>
466
467 * configure: Regenerate.
468
469 2020-11-25 Matthew Malcomson <matthew.malcomson (a] arm.com>
470
471 * LOCAL_PATCHES: Add one commit.
472
473 2020-11-25 Matthew Malcomson <matthew.malcomson (a] arm.com>
474
475 * Makefile.am: Condition Build hwasan directory.
476 * Makefile.in: Regenerate.
477 * configure: Regenerate.
478 * configure.ac: Set HWASAN_SUPPORTED based on target
479 architecture.
480 * configure.tgt: Likewise.
481
482 2020-11-25 Matthew Malcomson <matthew.malcomson (a] arm.com>
483
484 * Makefile.am: Build libhwasan.
485 * Makefile.in: Build libhwasan.
486 * asan/Makefile.in: Build libhwasan.
487 * configure: Build libhwasan.
488 * configure.ac: Build libhwasan.
489 * hwasan/Makefile.am: New file.
490 * hwasan/Makefile.in: New file.
491 * hwasan/libtool-version: New file.
492 * interception/Makefile.in: Build libhwasan.
493 * libbacktrace/Makefile.in: Build libhwasan.
494 * libsanitizer.spec.in: Build libhwasan.
495 * lsan/Makefile.in: Build libhwasan.
496 * sanitizer_common/Makefile.in: Build libhwasan.
497 * tsan/Makefile.in: Build libhwasan.
498 * ubsan/Makefile.in: Build libhwasan.
499
500 2020-11-21 Iain Sandoe <iain (a] sandoe.co.uk>
501
502 * configure.tgt: Allow x86_64 Darwin2x.
503
504 2020-11-13 Martin Liska <mliska (a] suse.cz>
505
506 * LOCAL_PATCHES: Update to the latest commit.
507
508 2020-10-19 Martin Liska <mliska (a] suse.cz>
509
510 * LOCAL_PATCHES: Add one commit.
511
512 2020-10-18 Iain Sandoe <iain (a] sandoe.co.uk>
513
514 * sanitizer_common/sanitizer_mac.h: Ensure that TARGET_OS_
515 macros are defined where the macOS SDK does not contain
516 them.
517 (TARGET_OS_OSX, TARGET_OS_IOS, TARGET_OS_TV, TARGET_OS_WATCH):
518 Define where needed.
519
520 2020-10-16 Martin Liska <mliska (a] suse.cz>
521
522 * LOCAL_PATCHES: Update revision.
523
524 2020-09-21 Ian Lance Taylor <iant (a] golang.org>
525
526 * libbacktrace/backtrace-rename.h (backtrace_uncompress_lzma):
527 Define.
528 (backtrace_syminfo_to_full_callback): Define.
529 (backtrace_syminfo_to_full_error_callback): Define.
530
531 2020-07-16 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
532
533 * sanitizer_common/sanitizer_linux.cpp: Cherry-pick llvm-project
534 revision f0e9b76c3500496f8f3ea7abe6f4bf801e3b41e7.
535
536 2020-06-09 Martin Liska <mliska (a] suse.cz>
537
538 * asan/Makefile.am: Replace gnu++11 with gnu++14.
539 * interception/Makefile.am: Likewise.
540 * libbacktrace/Makefile.am: Likewise.
541 * lsan/Makefile.am: Likewise.
542 * sanitizer_common/Makefile.am: Likewise.
543 * tsan/Makefile.am: Likewise.
544 * ubsan/Makefile.am: Likewise.
545 * asan/Makefile.in: Regenerate.
546 * interception/Makefile.in: Likewise.
547 * libbacktrace/Makefile.in: Likewise.
548 * lsan/Makefile.in: Likewise.
549 * sanitizer_common/Makefile.in: Likewise.
550 * tsan/Makefile.in: Likewise.
551 * ubsan/Makefile.in: Likewise.
552
553 2020-06-02 Martin Liska <mliska (a] suse.cz>
554
555 * LOCAL_PATCHES: Update hash of local patches.
556
557 2020-06-02 Martin Liska <mliska (a] suse.cz>
558
559 * MERGE: Merge from master.
560
561 2020-05-29 H.J. Lu <hjl.tools (a] gmail.com>
562
563 PR bootstrap/95413
564 * configure: Regenerated.
565
566 2020-05-29 Martin Liska <mliska (a] suse.cz>
567
568 * HOWTO_MERGE: Do not mention not existing argument.
569 * README.gcc: Update LLVM repository location.
570
571 2020-05-26 Martin Liska <mliska (a] suse.cz>
572
573 * LOCAL_PATCHES: Use git hash instead of SVN id.
574 * merge.sh: Use git instead of VCS. Update paths
575 relative to upstream git repository.
576
577 2020-05-15 H.J. Lu <hongjiu.lu (a] intel.com>
578
579 PR bootstrap/95147
580 * configure: Regenerated.
581
582 2020-05-14 H.J. Lu <hongjiu.lu (a] intel.com>
583
584 * configure: Regenerated.
585
586 2020-05-01 Andreas Tobler <andreast (a] gcc.gnu.org>
587
588 * configure.tgt: Add x86_64- and i?86-*-freebsd* targets.
589
590 2020-05-01 Andreas Tobler <andreast (a] gcc.gnu.org>
591
592 * sanitizer_common/Makefile.am: Add
593 sanitizer_platform_limits_freebsd.cpp.
594 * sanitizer_common/Makefile.in: Regenerate.
595
596 2020-03-01 Iain Sandoe <iain (a] sandoe.co.uk>
597
598 PR sanitizer/93731
599 * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
600 default only for Darwin versions greater than 12 (macOS 10.8).
601
602 2020-01-24 Maciej W. Rozycki <macro (a] wdc.com>
603
604 * configure.ac: Handle `--with-toolexeclibdir='.
605 * Makefile.in: Regenerate.
606 * aclocal.m4: Regenerate.
607 * configure: Regenerate.
608 * asan/Makefile.in: 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 2019-11-26 Jakub Jelinek <jakub (a] redhat.com>
617
618 PR sanitizer/92154
619 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
620 llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
621 * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
622
623 2019-11-20 Martin Liska <mliska (a] suse.cz>
624
625 * libtool-version: Remove.
626 * lsan/libtool-version: Upate comment to not mention libmudflap.
627 * tsan/libtool-version: Likewise.
628 * ubsan/libtool-version: Likewise.
629
630 2019-11-13 Andreas Schwab <schwab (a] suse.de>
631
632 * configure.tgt (riscv64-*-linux*): Enable build.
633
634 2019-11-07 Martin Liska <mliska (a] suse.cz>
635
636 * all source files: Reapply all revisions mentioned in LOCAL_PATCHES.
637
638 2019-11-07 Martin Liska <mliska (a] suse.cz>
639
640 * merge.sh: Update to use llvm-project git repository.
641 * all source files: Merge from upstream
642 82588e05cc32bb30807e480abd4e689b0dee132a.
643
644 2019-11-05 Martin Liska <mliska (a] suse.cz>
645
646 * ubsan/ubsan_flags.cpp (InitializeFlags): Trunk decided to print
647 summary for all sanitizers, but we want to have UBSAN without it.
648
649 2019-11-05 Martin Liska <mliska (a] suse.cz>
650
651 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply from
652 LOCAL_PATCHES.
653 (CheckODRViolationViaPoisoning): Likewise.
654 (RegisterGlobal): Likewise.
655 * asan/asan_interceptors.h (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): Likewise.
656 (defined): Likewise.
657 * asan/asan_mapping.h: Likewise.
658 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
659 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
660 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
661 * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
662 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
663 * tsan/tsan_rtl_ppc64.S: Likewise.
664 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
665 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
666 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
667 (struct CFICheckFailData): Likewise.
668 (RECOVERABLE): Likewise.
669 * ubsan/ubsan_platform.h: Likewise.
670
671 2019-11-05 Martin Liska <mliska (a] suse.cz>
672
673 * tsan/Makefile.am: Rename tsan_interceptors.cpp to
674 tsan_interceptors_posix.
675 * tsan/Makefile.in: Regenerate.
676
677 2019-11-05 Martin Liska <mliska (a] suse.cz>
678
679 * all source files: Merge from upstream r375507.
680
681 2019-10-22 Tamar Christina <tamar.christina (a] arm.com>
682
683 PR sanitizer/92154
684 * sanitizer_common/sanitizer_platform_limits_posix.cpp:
685 Cherry-pick compiler-rt revision r375220.
686
687 2019-09-27 Maciej W. Rozycki <macro (a] wdc.com>
688
689 * configure: Regenerate.
690
691 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
692 Mickal Gun <mickael.guene (a] st.com>
693
694 * configure.tgt (arm*-*-*fdpiceabi): Sanitizers are
695 unsupported in this configuration.
696
697 2019-08-16 Iain Sandoe <iain (a] sandoe.co.uk>
698
699 * LOCAL_PATCHES: Add r274585.
700
701 2019-08-16 Iain Sandoe <iain (a] sandoe.co.uk>
702
703 * asan/asan_interceptors.h: Reapply r272406.
704
705 2019-08-15 Martin Liska <mliska (a] suse.cz>
706
707 * LOCAL_PATCHES: Add r274540
708
709 2019-08-15 Martin Liska <mliska (a] suse.cz>
710
711 * tsan/tsan_rtl_ppc64.S: Reapply.
712
713 2019-08-15 Iain Sandoe <iain (a] sandoe.co.uk>
714
715 PR bootstrap/91455
716 * Makefile.in: Regenerated.
717 * aclocal.m4: Likewise.
718 * asan/Makefile.in: Likewise.
719 * configure: Likewise.
720 * interception/Makefile.in: Likewise.
721 * libbacktrace/Makefile.in: Likewise.
722 * lsan/Makefile.in: Likewise.
723 * sanitizer_common/Makefile.am: Include top_srcdir unconditionally.
724 * sanitizer_common/Makefile.in: Regenerated.
725 * tsan/Makefile.in: Likewise.
726 * ubsan/Makefile.in: Likewise.
727
728 2019-08-14 Martin Liska <mliska (a] suse.cz>
729
730 * LOCAL_PATCHES: Refresh based on what was committed.
731
732 2019-08-14 Martin Liska <mliska (a] suse.cz>
733
734 * asan/asan_globals.cpp (CheckODRViolationViaIndicator): Reapply
735 patch from trunk.
736 (CheckODRViolationViaPoisoning): Likewise.
737 (RegisterGlobal): Likewise.
738 * asan/asan_mapping.h: Likewise.
739 * sanitizer_common/sanitizer_linux_libcdep.cpp (defined): Likewise.
740 * sanitizer_common/sanitizer_mac.cpp (defined): Likewise.
741 * sanitizer_common/sanitizer_platform_limits_linux.cpp (defined): Likewise.
742 * sanitizer_common/sanitizer_platform_limits_posix.h (defined): Likewise.
743 * sanitizer_common/sanitizer_stacktrace.cpp (GetCanonicFrame): Likewise.
744 * ubsan/ubsan_handlers.cpp (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
745 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
746 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
747 (struct CFICheckFailData): Likewise.
748 (RECOVERABLE): Likewise.
749 * ubsan/ubsan_platform.h: Likewise.
750
751 2019-08-14 Martin Liska <mliska (a] suse.cz>
752
753 PR sanitizer/89832
754 PR sanitizer/91325
755 * All source files: Merge from upstream 368656.
756
757 2019-06-26 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
758
759 * sanitizer_common/sanitizer_posix_libcdep.cc: Cherry-pick
760 compiler-rt revision 363778.
761
762 2019-06-18 Iain Sandoe <iain (a] sandoe.co.uk>
763
764 PR libsanitizer/87880
765 * asan/asan_interceptors.h:
766 (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
767 * asan/Makefile.am (DEFS): Add
768 ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
769 * asan/Makefile.in: Regenerated.
770 * asan/libtool-version: Bump version.
771
772 2019-05-27 Segher Boessenkool <segher (a] kernel.crashing.org>
773
774 PR target/90639
775 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec".
776
777 2019-05-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
778
779 * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10*
780 handling.
781 * configure: Regenerate.
782
783 2019-04-08 Martin Liska <mliska (a] suse.cz>
784
785 * LOCAL_PATCHES: Add revision.
786
787 2019-04-08 Martin Liska <mliska (a] suse.cz>
788
789 PR sanitizer/89941
790 * sanitizer_common/sanitizer_platform_limits_linux.cc (defined):
791 Reapply patch from r259664.
792 * sanitizer_common/sanitizer_platform_limits_posix.h (defined):
793 Likewise.
794
795 2019-03-13 Eric Botcazou <ebotcazou (a] adacore.com>
796
797 PR sanitizer/80953
798 Merge from LLVM revision 355980
799 * asan/asan_allocator.h (kAllocatorSpace): Define for SPARC.
800 (kAllocatorSize): Likewise.
801 (DefaultSizeClassMap): Likewise.
802 * asan/asan_mapping.h (kSPARC64_ShadowOffset64): Define.
803 (SHADOW_OFFSET): Define for SPARC.
804 Include asan_mapping_sparc64.h for SPARC 64-bit.
805 * asan/asan_mapping_sparc64.h: New file.
806
807 2019-03-13 Eric Botcazou <ebotcazou (a] adacore.com>
808
809 PR sanitizer/80953
810 Merge from LLVM revision 355979
811 * asan/asan_globals.c (GetGlobalsForAddress): Use internal_memcpy to
812 copy Global objects for SPARC with GCC.
813
814 2019-03-13 Eric Botcazou <ebotcazou (a] adacore.com>
815
816 PR sanitizer/80953
817 Merge from LLVM revision 355978
818 * sanitizer_common/sanitizer_allocator_primary32.h
819 (class SizeClassAllocator32): Assert that kSpaceSize is power of 2 if
820 SANITIZER_SIGN_EXTENDED_ADDRESSES is set.
821 (PointerIsMine): Deal with SANITIZER_SIGN_EXTENDED_ADDRESSES.
822 (ComputeRegionId): Likewise.
823 * sanitizer_common/sanitizer_linux.cc (GetMaxVirtualAddress): Return
824 appropriate value for SPARC 64-bit.
825 * sanitizer_common/sanitizer_platform.h (SANITIZER_MMAP_RANGE_SIZE):
826 Define for SPARC.
827 (SANITIZER_SIGN_EXTENDED_ADDRESSES): Define to 1 for SPARC 64-bit.
828
829 2019-03-13 Eric Botcazou <ebotcazou (a] adacore.com>
830
831 PR sanitizer/80953
832 Merge from LLVM revision 355965
833 * sanitizer_common/sanitizer_linux.cc (GetWriteFlag): Implement for
834 SPARC/Linux.
835 (GetPcSpBp): Likewise.
836 * sanitizer_common/sanitizer_stacktrace.cc (GetNextInstructionPc):
837 Adjust for SPARC.
838 * sanitizer_common/sanitizer_stacktrace.h (SANITIZER_CAN_FAST_UNWIND):
839 Define to 1 for SPARC.
840 * sanitizer_common/sanitizer_stacktrace_sparc.cc: Rewrite.
841 * sanitizer_common/sanitizer_unwind_linux_libcdep.cc (SlowUnwindStack):
842 Adjust the PC address for SPARC with GCC.
843
844 2019-03-06 Martin Liska <mliska (a] suse.cz>
845
846 PR sanitizer/88684
847 * sanitizer_common/sanitizer_platform.h (defined): Cherry pick.
848 (SANITIZER_NON_UNIQUE_TYPEINFO): Likewise.
849 * ubsan/ubsan_type_hash_itanium.cc (isDerivedFromAtOffset):
850 Likewise.
851
852 2019-02-20 H.J. Lu <hongjiu.lu (a] intel.com>
853
854 PR sanitizer/89409
855 * sanitizer_common/sanitizer_linux.cc (internal_readlink):
856 Cherry-pick compiler-rt r354451.
857
858 2019-01-23 Jonny Grant <jg (a] jguk.org>
859
860 PR sanitizer/89010
861 * libsanitizer/README.gcc: Update to current https URLs.
862
863 2018-12-27 Martin Liska <mliska (a] suse.cz>
864
865 PR sanitizer/86229
866 * asan/asan_errors.cc (ErrorAllocTypeMismatch::Print): Cherry
867 pick rL350085.
868 * asan/asan_errors.h (struct ErrorAllocTypeMismatch): Likewise.
869
870 2018-11-09 Martin Liska <mliska (a] suse.cz>
871
872 * LOCAL_PATCHES: Include one local patch.
873
874 2018-11-09 Martin Liska <mliska (a] suse.cz>
875
876 PR sanitizer/87892
877 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return
878 1 when CPU_COUNT macro is not defined.
879
880 2018-11-08 Bill Seurer <seurer (a] linux.vnet.ibm.com>
881
882 * libsanitizer/sanitizer_common/sanitizer_linux.cc (CheckASLR):
883 Disable ASLR for powerpc64 when using sanitizers.
884
885 2018-11-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
886
887 PR sanitizer/80953
888 * configure.tgt (sparc*-*-solaris2.11*): Enable.
889 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Enable.
890
891 2018-11-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
892
893 PR sanitizer/80953
894 * sanitizer_common/sanitizer_internal_defs.h,
895 sanitizer_common/sanitizer_platform_limits_solaris.h,
896 sanitizer_common/sanitizer_procmaps_solaris.cc,
897 sanitizer_common/sanitizer_solaris.cc: Cherry-pick compiler-rt
898 revision 346153.
899 * sanitizer_common/sanitizer_stacktrace.h,
900 sanitizer_common/sanitizer_stacktrace_sparc.cc: Cherry-pick
901 compiler-rt revision 346155.
902
903 2018-11-05 Segher Boessenkool <segher (a] kernel.crashing.org>
904
905 * LOCAL_PATCHES: Add r258525.
906 * sanitizer_common/sanitizer_stacktrace.cc
907 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
908 for PowerPC SYSV ABI.
909
910 2018-11-05 Martin Liska <mliska (a] suse.cz>
911
912 PR sanitizer/87860
913 * sanitizer_common/sanitizer_linux.cc: Cherry-pick upstream
914 r346129.
915
916 2018-10-31 Joseph Myers <joseph (a] codesourcery.com>
917
918 PR bootstrap/82856
919 * Makefile.am: Include multilib.am.
920 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
921 * Makefile.in, aclocal.m4, asan/Makefile.in, configure,
922 interception/Makefile.in, libbacktrace/Makefile.in,
923 lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
924 ubsan/Makefile.in: Regenerate.
925
926 2018-10-31 Martin Liska <mliska (a] suse.cz>
927
928 * LOCAL_PATCHES: Update to installed revisions.
929
930 2018-10-31 Martin Liska <mliska (a] suse.cz>
931
932 * ubsan/ubsan_platform.h: Add ifndef as we define it with
933 -DCAN_SANITIZE_UB CFLAGS.
934
935 2018-10-31 Martin Liska <mliska (a] suse.cz>
936
937 * asan/asan_mapping.h: Revert shadow memory offset to 1 << 41.
938
939 2018-10-31 Martin Liska <mliska (a] suse.cz>
940
941 * LOCAL_PATCHES: Update patch list.
942 * asan/asan_globals.cc (CheckODRViolationViaIndicator): Apply
943 patches from GCC's trunk.
944 (CheckODRViolationViaPoisoning): Likewise.
945 (RegisterGlobal): Likewise.
946 * sanitizer_common/sanitizer_mac.cc (defined): Likewise.
947 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Likewise.
948 * ubsan/ubsan_handlers.cc (__ubsan::__ubsan_handle_cfi_bad_icall): Likewise.
949 (__ubsan::__ubsan_handle_cfi_bad_icall_abort): Likewise.
950 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): Likewise.
951 (struct CFICheckFailData): Likewise.
952 (RECOVERABLE): Likewise.
953
954 2018-10-31 Martin Liska <mliska (a] suse.cz>
955
956 * config.h.in: Regenerate.
957 * configure: Likewise.
958 * sanitizer_common/Makefile.am: Include new files, remove old
959 files.
960 * sanitizer_common/Makefile.in: Regenerate.
961 * ubsan/Makefile.am: Include new files, remove old
962 files.
963 * ubsan/Makefile.in: Likewise.
964 * asan/Makefile.am: Include new files.
965 * asan/Makefile.in: Regenerate.
966
967 2018-10-31 Martin Liska <mliska (a] suse.cz>
968
969 * All source files: Merge from upstream 345033.
970
971 2018-10-31 Martin Liska <mliska (a] suse.cz>
972
973 * HOWTO_MERGE: Enhance documentation.
974 * merge.sh: Add support for git as well.
975
976 2018-08-02 Martin Liska <mliska (a] suse.cz>
977
978 PR sanitizer/86022
979 * sanitizer_common/sanitizer_linux_libcdep.cc (ThreadDescriptorSize):
980 Cherry-pick compiler-rt revision 338606.
981
982 2018-08-01 Marek Polacek <polacek (a] redhat.com>
983
984 PR sanitizer/86759
985 * tsan/tsan_platform.h: Cherry-pick compiler-rt revision 318044.
986 * tsan/tsan_platform_linux.cc: Cherry-pick compiler-rt revision
987 319180.
988
989 2018-07-25 H.J. Lu <hongjiu.lu (a] intel.com>
990
991 PR target/86560
992 * asan/asan_interceptors.cc (swapcontext) Cherry-pick
993 compiler-rt revision 337603.
994 * sanitizer_common/sanitizer_internal_defs.h (__has_attribute):
995 Likewise.
996
997 2018-07-05 Jakub Jelinek <jakub (a] redhat.com>
998
999 Revert
1000 2018-07-04 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1001
1002 PR sanitizer/84250
1003 * Makefile.am: Reorder libs.
1004 * Makefile.in: Regenerate.
1005 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
1006 libsanitizer_ubsan.la.
1007 * asan/Makefile.in: Regenerate.
1008 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
1009 * ubsan/Makefile.in: Regenerate.
1010
1011 2018-07-04 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1012
1013 PR sanitizer/84250
1014 * Makefile.am: Reorder libs.
1015 * Makefile.in: Regenerate.
1016 * asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
1017 libsanitizer_ubsan.la.
1018 * asan/Makefile.in: Regenerate.
1019 * ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
1020 * ubsan/Makefile.in: Regenerate.
1021
1022 2018-06-13 Denis Khalikov <d.khalikov (a] partner.samsung.com>
1023
1024 PR sanitizer/86090
1025 * configure.ac: Check for lstat and readlink.
1026 * configure, config.h.in: Rebuild.
1027
1028 2018-05-31 Matthias Klose <doko (a] ubuntu.com>
1029
1030 PR sanitizer/86012
1031 * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
1032 SIZEOF_STRUCT_USTAT for 32bit sparc.
1033
1034 2018-05-24 H.J. Lu <hongjiu.lu (a] intel.com>
1035
1036 PR sanitizer/85835
1037 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
1038 include <sys/ustat.h> for Linux.
1039 (SIZEOF_STRUCT_USTAT): New.
1040 (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
1041
1042 2018-04-26 Hans-Peter Nilsson <hp (a] axis.com>
1043
1044 * configure.tgt <mips*-*-linux*>: Enable build, excluding
1045 mips*64*-*-linux*.
1046
1047 * sanitizer_common/sanitizer_platform_limits_linux.cc: Do not
1048 take the shortcut to #include <sys/stat.h> for MIPS instead of
1049 the kernel <asm/stat.h>. Explain why sys/stat.h is misleading
1050 or wrong to get the kernel struct stat.
1051 * sanitizer_common/sanitizer_platform_limits_posix.h [__mips__]:
1052 Correct the value for 32-bit non-android struct_kernel_stat_sz.
1053
1054 * sanitizer_common/sanitizer_atomic_clang_other.h [_MIPS_SIM
1055 && _MIPS_SIM == _ABIO32] (lock): Add initializer for .pad member.
1056
1057 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
1058
1059 * configure: Regenerated.
1060
1061 2018-04-19 Jakub Jelinek <jakub (a] redhat.com>
1062
1063 * configure: Regenerated.
1064
1065 2018-04-18 David Malcolm <dmalcolm (a] redhat.com>
1066
1067 PR jit/85384
1068 * configure: Regenerate.
1069
1070 2018-04-18 Bill Seurer <seurer (a] linux.vnet.ibm.com>
1071
1072 PR sanitizer/85389
1073 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
1074 from 0xa0000000000ULL to ~(uptr)0.
1075
1076 2018-03-19 Jakub Jelinek <jakub (a] redhat.com>
1077
1078 PR sanitizer/84761
1079 * sanitizer_common/sanitizer_linux_libcdep.cc (__GLIBC_PREREQ):
1080 Define if not defined.
1081 (DL_INTERNAL_FUNCTION): Don't define.
1082 (InitTlsSize): For __i386__ if not compiled against glibc 2.27+
1083 determine at runtime whether to use regparm(3), stdcall calling
1084 convention for older glibcs or normal calling convention for
1085 newer glibcs for call to _dl_get_tls_static_info.
1086
1087 2018-03-14 Segher Boessenkool <segher (a] kernel.crashing.org>
1088
1089 * sanitizer_common/sanitizer_stacktrace.cc
1090 (BufferedStackTrace::FastUnwindStack): Use the correct frame offset
1091 for PowerPC SYSV ABI.
1092
1093 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
1094
1095 PR target/84148
1096 * configure: Regenerate.
1097
1098 2018-02-05 Martin Liska <mliska (a] suse.cz>
1099
1100 * asan/asan_flags.inc: Cherry-pick upstream r323995.
1101 * asan/asan_report.cc (CheckForInvalidPointerPair):
1102 Cherry-pick upstream r323995.
1103
1104 2018-01-17 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1105
1106 PR sanitizer/82825
1107 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1108 r324284.
1109
1110 2018-01-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1111
1112 PR sanitizer/82824
1113 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
1114
1115 2017-12-05 Martin Liska <mliska (a] suse.cz>
1116 Jakub Jelinek <jakub (a] redhat.com>
1117
1118 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
1119 * asan/asan_descriptions.h: Likewise.
1120 * asan/asan_report.cc: Likewise.
1121 * asan/asan_thread.cc: Likewise.
1122 * asan/asan_thread.h: Likewise.
1123
1124 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
1125
1126 * acinclude.m4: Add enable.m4 and cet.m4.
1127 * Makefile.in: Regenerate.
1128 * asan/Makefile.am: Update AM_CXXFLAGS.
1129 * asan/Makefile.in: Regenerate.
1130 * configure: Likewise.
1131 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
1132 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
1133 * interception/Makefile.am: Update AM_CXXFLAGS.
1134 * interception/Makefile.in: Regenerate.
1135 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
1136 * libbacktrace/Makefile.in: Regenerate.
1137 * lsan/Makefile.am: Update AM_CXXFLAGS.
1138 * lsan/Makefile.in: Regenerate.
1139 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
1140 AM_CCASFLAGS.
1141 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
1142 Add _CET_ENDBR macro.
1143 * sanitizer_common/Makefile.in: Regenerate.
1144 * tsan/Makefile.am: Update AM_CXXFLAGS.
1145 * tsan/Makefile.in: Regenerate.
1146 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
1147 * ubsan/Makefile.am: Update AM_CXXFLAGS.
1148 * ubsan/Makefile.in: Regenerate.
1149
1150 2017-11-08 Jakub Jelinek <jakub (a] redhat.com>
1151
1152 PR bootstrap/82670
1153 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
1154 and ubsan_signals_standalone.cc.
1155 * ubsan/Makefile.in: Regenerated.
1156
1157 2017-11-05 Tom de Vries <tom (a] codesourcery.com>
1158
1159 PR other/82784
1160 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
1161 "do {} while (0)".
1162 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
1163
1164 2017-10-20 Jakub Jelinek <jakub (a] redhat.com>
1165
1166 PR sanitizer/82595
1167 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
1168 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
1169 liblsan_preinit.o.
1170 (lsan_files): Remove lsan_preinit.cc.
1171 (liblsan_preinit.o): New rule.
1172 * lsan/Makefile.in: Regenerated.
1173
1174 2017-10-19 Jakub Jelinek <jakub (a] redhat.com>
1175
1176 * All source files: Merge from upstream 315899.
1177 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
1178 include/sanitizer/tsan_interface.h.
1179 * asan/libtool-version: Bump the libasan SONAME.
1180 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
1181 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
1182 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
1183 sancov_flags.cc, sanitizer_allocator_checks.cc,
1184 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
1185 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
1186 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
1187 and sanitizer_coverage_mapping_libcdep.cc.
1188 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
1189 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
1190 (ubsan_files): Add ubsan_init_standalone.cc and
1191 ubsan_signals_standalone.cc.
1192 * ubsan/libtool-version: Bump the libubsan SONAME.
1193 * asan/Makefile.in: Regenerate.
1194 * lsan/Makefile.in: Regenerate.
1195 * sanitizer_common/Makefile.in: Regenerate.
1196 * tsan/Makefile.in: Regenerate.
1197 * ubsan/Makefile.in: Regenerate.
1198
1199 2017-10-05 H.J. Lu <hongjiu.lu (a] intel.com>
1200
1201 PR sanitizer/82379
1202 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
1203 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
1204
1205 2017-10-02 Jakub Jelinek <jakub (a] redhat.com>
1206
1207 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
1208 Define.
1209
1210 2017-08-07 Jakub Jelinek <jakub (a] redhat.com>
1211
1212 * include/system/sys/ptrace.h: New file.
1213
1214 2017-07-28 Jakub Jelinek <jakub (a] redhat.com>
1215
1216 PR sanitizer/80998
1217 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
1218 * ubsan/ubsan_checks.inc: Likewise.
1219 * ubsan/ubsan_handlers.h: Likewise.
1220
1221 2017-07-14 Jakub Jelinek <jakub (a] redhat.com>
1222
1223 PR sanitizer/81066
1224 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
1225 * sanitizer_common/sanitizer_linux.cc: Likewise.
1226 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
1227 * tsan/tsan_platform_linux.cc: Likewise.
1228
1229 2017-04-06 Martin Liska <mliska (a] suse.cz>
1230
1231 PR sanitizer/80166
1232 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
1233 Cherry-pick upstream r299036.
1234
1235 2017-03-22 Jakub Jelinek <jakub (a] redhat.com>
1236
1237 PR sanitizer/78158
1238 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
1239
1240 2017-02-16 Andreas Tobler <andreast (a] gcc.gnu.org>
1241
1242 PR sanitizer/79562
1243 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
1244 upstream r294806.
1245
1246 2017-02-11 Jakub Jelinek <jakub (a] redhat.com>
1247
1248 PR sanitizer/79341
1249 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
1250 s390-linux 31-bit.
1251 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
1252 r294793.
1253 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
1254 upstream r294790.
1255 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
1256 r294799.
1257
1258 2017-02-03 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1259
1260 PR sanitizer/78663
1261 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
1262 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
1263
1264 2017-01-31 Jakub Jelinek <jakub (a] redhat.com>
1265
1266 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
1267
1268 2017-01-24 Jakub Jelinek <jakub (a] redhat.com>
1269
1270 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
1271
1272 PR sanitizer/79168
1273 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
1274 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
1275 text.
1276 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
1277 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
1278 * tsan/tsan_ppc_regs.h: Likewise.
1279 * tsan/tsan_rtl_aarch64.S: Likewise.
1280 * tsan/tsan_rtl_mips64.S: Likewise.
1281 * tsan/tsan_rtl_ppc64.S: Likewise.
1282
1283 2017-01-21 Jakub Jelinek <jakub (a] redhat.com>
1284
1285 PR other/79046
1286 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
1287 instead of cat to get version from BASE-VER file.
1288 * asan/Makefile.am (gcc_version): Likewise.
1289 * ubsan/Makefile.am (gcc_version): Likewise.
1290 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1291 * lsan/Makefile.am (gcc_version): Likewise.
1292 * tsan/Makefile.am (gcc_version): Likewise.
1293 * interception/Makefile.in: Regenerated.
1294 * asan/Makefile.in: Regenerated.
1295 * ubsan/Makefile.in: Regenerated.
1296 * sanitizer_common/Makefile.in: Regenerated.
1297 * lsan/Makefile.in: Regenerated.
1298 * tsan/Makefile.in: Regenerated.
1299
1300 2017-01-17 Jakub Jelinek <jakub (a] redhat.com>
1301
1302 PR other/79046
1303 * configure.ac: Add GCC_BASE_VER.
1304 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
1305 get version from BASE-VER file.
1306 * libbacktrace/Makefile.in: Regenerated.
1307 * interception/Makefile.in: Regenerated.
1308 * asan/Makefile.in: Regenerated.
1309 * ubsan/Makefile.in: Regenerated.
1310 * configure: Regenerated.
1311 * sanitizer_common/Makefile.in: Regenerated.
1312 * lsan/Makefile.in: Regenerated.
1313 * Makefile.in: Regenerated.
1314 * tsan/Makefile.in: Regenerated.
1315
1316 2017-01-10 James Clarke <jrtc27 (a] jrtc27.com>
1317
1318 PR sanitizer/78992
1319 * sanitizer_common/sanitizer_platform_limits_posix.h
1320 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
1321
1322 2016-11-30 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1323
1324 * LOCAL_PATCHES: Add revision.
1325
1326 2016-11-30 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1327
1328 PR sanitizer/78532
1329 * sanitizer_common/sanitizer_platform_limits_posix.h
1330 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
1331 versions.
1332
1333 2016-11-29 Markus Trippelsdorf <markus (a] trippelsdorf.de>
1334
1335 * LOCAL_PATCHES: Remove r242480.
1336
1337 2016-11-20 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1338
1339 * LOCAL_PATCHES: Add revision.
1340
1341 2016-11-20 Jack Howarth <howarth.at.gcc (a] gmail.com>
1342
1343 PR sanitizer/78267
1344 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
1345 compiler supports blocks extension.
1346
1347 2016-11-16 Markus Trippelsdorf <markus (a] trippelsdorf.de>
1348
1349 * LOCAL_PATCHES: Add revision.
1350
1351 2016-11-16 Markus Trippelsdorf <markus (a] trippelsdorf.de>
1352
1353 PR sanitizer/78294
1354 * tsan/tsan_rtl.cc: Add missing attribute.
1355
1356 2016-11-16 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1357
1358 * LOCAL_PATCHES: New file.
1359
1360 2016-11-16 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1361
1362 PR sanitizer/78307
1363 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
1364 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
1365 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
1366 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
1367 function.
1368 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1369 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
1370 (__ubsan_handle_cfi_bad_type): Export function.
1371 (__ubsan_handle_cfi_bad_type_abort): Likewise.
1372 * HOWTO_MERGE: Update documentation.
1373
1374 2016-11-15 Matthias Klose <doko (a] ubuntu.com>
1375
1376 * configure: Regenerate.
1377
1378 2016-11-09 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1379
1380 * asan/asan_globals.cc (RegisterGlobal): Do not call
1381 CheckODRViolationViaPoisoning.
1382 (CheckODRViolationViaPoisoning): Remove.
1383
1384 2016-11-09 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1385
1386 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1387 compiled code with GCC when extracting the caller PC for ARM if no
1388 valid frame pointer is available.
1389
1390 2016-11-09 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1391
1392 PR sanitizer/63958
1393 Reapply:
1394 2014-10-14 David S. Miller <davem (a] davemloft.net>
1395
1396 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1397 Define at __kernel_time_t, as needed for sparc.
1398 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1399 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1400 (__sanitizer): Define struct___old_kernel_stat_sz,
1401 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1402 (__sanitizer_ipc_perm): Adjust for sparc targets.
1403 (__sanitizer_shmid_ds): Likewsie.
1404 (__sanitizer_sigaction): Likewise.
1405 (IOC_SIZE): Likewsie.
1406
1407 2016-11-09 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1408
1409 * All source files: Merge from upstream 285547.
1410 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
1411 variable.
1412 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
1413 * asan/Makefile.am (asan_files): Add new files.
1414 * asan/Makefile.in: Regenerate.
1415 * ubsan/Makefile.in: Likewise.
1416 * lsan/Makefile.in: Likewise.
1417 * tsan/Makefile.am (tsan_files): Add new files.
1418 * tsan/Makefile.in: Regenerate.
1419 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1420 (EXTRA_libsanitizer_common_la_SOURCES): Define.
1421 (libsanitizer_common_la_LIBADD): Likewise.
1422 (libsanitizer_common_la_DEPENDENCIES): Likewise.
1423 * sanitizer_common/Makefile.in: Regenerate.
1424 * interception/Makefile.in: Likewise.
1425 * libbacktace/Makefile.in: Likewise.
1426 * Makefile.in: Likewise.
1427 * configure: Likewise.
1428 * merge.sh: Handle builtins/assembly.h merging.
1429 * builtins/assembly.h: New file.
1430 * asan/libtool-version: Bump the libasan SONAME.
1431
1432 2016-09-21 Jakub Jelinek <jakub (a] redhat.com>
1433
1434 PR sanitizer/77567
1435 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
1436
1437 2016-09-05 Jakub Jelinek <jakub (a] redhat.com>
1438
1439 PR sanitizer/77396
1440 * asan/asan_globals.cc: Cherry-pick upstream r280657.
1441
1442 2016-08-12 Jakub Jelinek <jakub (a] redhat.com>
1443
1444 PR sanitizer/71042
1445 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
1446 * tsan/tsan_rtl_aarch64.S: Likewise.
1447
1448 2016-07-23 Alan Modra <amodra (a] gmail.com>
1449
1450 Revert 2015-11-09 Alan Modra <amodra (a] gmail.com>
1451 * configure.ac: Don't substitute OBSTACK_DEFS.
1452 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
1453 * tsan/Makefile.am: Likewise.
1454 * configure: Regenerate.
1455 * Makefile.in: Regenerate.
1456 * asan/Makefile.in: Regenerate.
1457 * interception/Makefile.in: Regenerate.
1458 * libbacktrace/Makefile.in: Regenerate.
1459 * lsan/Makefile.in: Regenerate.
1460 * sanitizer_common/Makefile.in: Regenerate.
1461 * tsan/Makefile.in: Regenerate.
1462 * ubsan/Makefile.in: Regenerate.
1463
1464 2016-05-17 Jakub Jelinek <jakub (a] redhat.com>
1465
1466 PR sanitizer/71160
1467 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
1468 and r269633.
1469
1470 2016-04-21 Maxim Ostapenko <m.ostapenko (a] samsung.com>
1471
1472 PR sanitizer/70624
1473 * asan/asan_mac.cc: Cherry pick upstream r266868.
1474
1475 2016-01-19 Jakub Jelinek <jakub (a] redhat.com>
1476
1477 PR sanitizer/68824
1478 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
1479 InitializeInterceptors): Cherry pick upstream r258119.
1480
1481 2016-01-14 Andreas Tobler <andreast (a] gcc.gnu.org>
1482
1483 * configure.ac: Replace the hard-coded -ldl requirement for
1484 link_sanitizer_common with a configure time check for -ldl.
1485 * configure: Regenerate.
1486
1487 2015-11-24 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1488
1489 * include/system/linux/asm/ptrace.h: Move to ...
1490 * include/system/asm/ptrace.h: ... this.
1491
1492 2015-11-24 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1493
1494 * include/system/linux/asm/ptrace.h: New header.
1495
1496 2015-11-23 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1497
1498 * All source files: Merge from upstream r253555.
1499 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
1500 dependences for TSan for aarch64-*-linux* targets.
1501 * tsan/Makefile.am: Add new source files.
1502 * configure: Regenerate.
1503 * tsan/Makefile.in: Likewise.
1504
1505 2015-11-09 Alan Modra <amodra (a] gmail.com>
1506
1507 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
1508 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
1509 interceptors.
1510 * configure.ac: Substitute OBSTACK_DEFS.
1511 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
1512 * tsan/Makefile.am: Likewise.
1513 * configure: Regenerate.
1514 * Makefile.in: Regenerate.
1515 * asan/Makefile.in: Regenerate.
1516 * interception/Makefile.in: Regenerate.
1517 * libbacktrace/Makefile.in: Regenerate.
1518 * lsan/Makefile.in: Regenerate.
1519 * sanitizer_common/Makefile.in: Regenerate.
1520 * tsan/Makefile.in: Regenerate.
1521 * ubsan/Makefile.in: Regenerate.
1522
1523 2015-10-22 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1524
1525 PR bootstrap/68041
1526 * configure.ac (link_sanitizer_common): Link against librt only if it
1527 contains shm_open, required by sanitizers.
1528 (CXX_ABI_NEEDED): Remove variable.
1529 * configure: Regenerate.
1530 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
1531 * ubsan/Makefile.in: Regenerate.
1532
1533 2015-10-21 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1534
1535 * HOWTO_MERGE: New file.
1536
1537 2015-10-21 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1538
1539 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
1540 compiled code with GCC when extracting the caller PC for ARM if no
1541 valid frame pointer is available.
1542
1543 2015-10-21 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1544
1545 PR bootstrap/63888
1546 Reapply:
1547 2015-02-20 Jakub Jelinek <jakub (a] redhat.com>
1548
1549 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1550 support until it is rewritten upstream.
1551
1552 * c-c++-common/asan/pr63888.c: New test.
1553
1554 2015-10-21 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1555
1556 PR sanitizer/63958
1557 Reapply:
1558 2014-10-14 David S. Miller <davem (a] davemloft.net>
1559
1560 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1561 Define at __kernel_time_t, as needed for sparc.
1562 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1563 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1564 (__sanitizer): Define struct___old_kernel_stat_sz,
1565 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1566 (__sanitizer_ipc_perm): Adjust for sparc targets.
1567 (__sanitizer_shmid_ds): Likewsie.
1568 (__sanitizer_sigaction): Likewise.
1569 (IOC_SIZE): Likewsie.
1570
1571 2015-10-21 Maxim Ostapenko <m.ostapenko (a] partner.samsung.com>
1572
1573 * All source files: Merge from upstream r250806.
1574 * configure.ac (link_sanitizer_common): Add -lrt flag.
1575 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
1576 Set USE_CXX_ABI_FLAG=true for darwin.
1577 * asan/Makefile.am (asan_files): Add new files.
1578 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
1579 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
1580 * asan/Makefile.in: Regenerate.
1581 * ubsan/Makefile.am (ubsan_files): Add new files.
1582 (DEFS): Add DCAN_SANITIZE_UB=1.
1583 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
1584 * ubsan/Makefile.in: Regenerate.
1585 * tsan/Makefile.am (tsan_files): Add new files.
1586 (DEFS): Add DCAN_SANITIZE_UB=0.
1587 * tsan/Makefile.in: Regenerate.
1588 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
1589 * sanitizer_common/Makefile.in: Regenerate.
1590 * asan/libtool-version: Bump the libasan SONAME.
1591
1592 2015-09-09 Markus Trippelsdorf <markus (a] trippelsdorf.de>
1593
1594 PR sanitizer/67258
1595 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
1596
1597 2015-07-29 Markus Trippelsdorf <markus (a] trippelsdorf.de>
1598
1599 PR sanitizer/63927
1600 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
1601 for PowerPC.
1602
1603 2015-07-28 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
1604
1605 PR sanitizer/63927
1606 * sanitizer_common/sanitizer_stacktrace.cc
1607 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
1608 find the link register at an offset of 16 from the base of the
1609 caller's stack frame.
1610
1611 2015-05-13 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com>
1612
1613 * Makefile.in: Regenerated with automake-1.11.6.
1614 * aclocal.m4: Likewise.
1615 * asan/Makefile.in: Likewise.
1616 * configure: Likewise.
1617 * interception/Makefile.in: Likewise.
1618 * libbacktrace/Makefile.in: Likewise.
1619 * lsan/Makefile.in: Likewise.
1620 * sanitizer_common/Makefile.in: Likewise.
1621 * tsan/Makefile.in: Likewise.
1622 * ubsan/Makefile.in: Likewise.
1623
1624 2015-04-13 Yury Gribov <y.gribov (a] samsung.com>
1625
1626 PR sanitizer/64839
1627 * sanitizer_common/sanitizer_platform.h: Cherry pick
1628 upstream r234470.
1629 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
1630 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
1631 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
1632 * Makefile.in: Regenerate.
1633 * asan/Makefile.in: Regenerate.
1634 * config.h.in: Regenerate.
1635 * configure: Regenerate.
1636 * interception/Makefile.in: Regenerate.
1637 * libbacktrace/Makefile.in: Regenerate.
1638 * lsan/Makefile.in: Regenerate.
1639 * sanitizer_common/Makefile.in: Regenerate.
1640 * tsan/Makefile.in: Regenerate.
1641 * ubsan/Makefile.in: Regenerate.
1642
1643
1644 2015-03-23 Christophe Lyon <christophe.lyon (a] linaro.org>
1645
1646 PR sanitizer/59009
1647 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1648 upstream r230324.
1649 * sanitizer_common/sanitizer_platform.h: Likewise.
1650 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1651
1652 2015-03-11 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
1653
1654 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
1655 upstream 224508 and 224755.
1656
1657 2015-03-09 Jakub Jelinek <jakub (a] redhat.com>
1658
1659 PR sanitizer/63958
1660 Reapply:
1661 2014-10-14 David S. Miller <davem (a] davemloft.net>
1662
1663 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1664 Define at __kernel_time_t, as needed for sparc.
1665 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1666 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1667 (__sanitizer): Define struct___old_kernel_stat_sz,
1668 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1669 (__sanitizer_ipc_perm): Adjust for sparc targets.
1670 (__sanitizer_shmid_ds): Likewsie.
1671 (__sanitizer_sigaction): Likewise.
1672 (IOC_SIZE): Likewsie.
1673
1674 2015-02-27 Peter Bergner <bergner (a] vnet.ibm.com>
1675
1676 * configure.tgt: Enable build on powerpc*le-*-linux.
1677
1678 2015-02-23 Jakub Jelinek <jakub (a] redhat.com>
1679
1680 PR bootstrap/63888
1681 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
1682 support until it is rewritten upstream.
1683
1684 2015-01-26 Matthias Klose <doko (a] ubuntu.com>
1685
1686 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
1687 * configure: Regenerate.
1688
1689 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar (a] linaro.org>
1690
1691 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
1692 * configure: Regenerate.
1693 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1694
1695 2015-01-25 Venkataramanan Kumar <venkataramanan.kumar (a] linaro.org>
1696
1697 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
1698 * configure: Regenerate.
1699 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
1700 (libtsan_la_DEPENDENCIES): Likewise.
1701 * Makefile.in: Regenerate.
1702 * asan/Makefile.in: Regenerate.
1703 * interception/Makefile.in: Regenerate.
1704 * libbacktrace/Makefile.in: Regenerate.
1705 * lsan/Makefile.in: Regenerate.
1706 * sanitizer_common/Makefile.in: Regenerate.
1707 * tsan/Makefile.in: Regenerate.
1708 * ubsan/Makefile.in: Regenerate.
1709
1710 2015-01-22 Jakub Jelinek <jakub (a] redhat.com>
1711
1712 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
1713
1714 2015-01-21 Jakub Jelinek <jakub (a] redhat.com>
1715
1716 PR sanitizer/64435
1717 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
1718 upstream r226637.
1719 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
1720 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
1721
1722 2015-01-20 Jakub Jelinek <jakub (a] redhat.com>
1723
1724 PR sanitizer/64632
1725 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
1726
1727 2015-01-19 Jakub Jelinek <jakub (a] redhat.com>
1728
1729 PR sanitizer/64435
1730 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
1731 upstream r223925.
1732
1733 2015-01-13 Jakub Jelinek <jakub (a] redhat.com>
1734
1735 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
1736 upstream r224518 and r224519.
1737 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
1738 r224834.
1739
1740 2014-12-16 Jakub Jelinek <jakub (a] redhat.com>
1741
1742 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
1743 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
1744 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
1745 upstream r224308.
1746
1747 2014-11-21 H.J. Lu <hongjiu.lu (a] intel.com>
1748
1749 PR bootstrap/63784
1750 * configure: Regenerated.
1751
1752 2014-11-21 Jakub Jelinek <jakub (a] redhat.com>
1753
1754 PR target/61137
1755 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
1756 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
1757
1758 2014-11-14 Uros Bizjak <ubizjak (a] gmail.com>
1759
1760 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
1761 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
1762 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
1763 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
1764 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
1765 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
1766 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
1767 * sanitizer_common/Makefile.in: Regenerate.
1768 * asan/Makefile.in: Ditto.
1769 * lsan/Makefile.in: Ditto.
1770 * interception/Makefile.in: Ditto.
1771 * tsan/Makefile.in: Ditto.
1772 * libbacktrace/Makefile.in: Ditto.
1773 * ubsan/Makefile.in: Ditto.
1774
1775 2014-11-13 Kostya Serebryany <kcc (a] google.com>
1776
1777 * All source files: Merge from upstream r221802.
1778 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
1779 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
1780 with 'start' to follow the new interface.
1781 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1782 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1783 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1784 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1785 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1786 files.
1787 (AM_CXXFLAGS): Added -std=c++11.
1788 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1789 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
1790 * asan/Makefile.in: Regenerate.
1791 * interception/Makefile.in: Regenerate.
1792 * libbacktrace/Makefile.in: Regenerate.
1793 * lsan/Makefile.in: Regenerate.
1794 * sanitizer_common/Makefile.in: Regenerate.
1795 * tsan/Makefile.in: Regenerate.
1796 * ubsan/Makefile.in: Regenerate.
1797
1798 2014-11-11 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org>
1799
1800 PR target/63610
1801 * configure: Regenerate.
1802
1803 2014-10-16 Martin Liska <mliska (a] suse.cz>
1804
1805 * asan/Makefile.am: IPA ICF pass is disabled.
1806 * asan/Makefile.in: Likewise.
1807
1808 2014-10-14 David S. Miller <davem (a] davemloft.net>
1809
1810 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
1811 Define at __kernel_time_t, as needed for sparc.
1812 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
1813 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
1814 (__sanitizer): Define struct___old_kernel_stat_sz,
1815 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
1816 (__sanitizer_ipc_perm): Adjust for sparc targets.
1817 (__sanitizer_shmid_ds): Likewsie.
1818 (__sanitizer_sigaction): Likewsie.
1819 (IOC_SIZE): Likewsie.
1820
1821 2014-10-14 Jakub Jelinek <jakub (a] redhat.com>
1822
1823 * ubsan/Makefile.am (DEFS): Add -DPIC.
1824 * ubsan/Makefile.in: Regenerated.
1825
1826 2014-09-26 Christophe Lyon <christophe.lyon (a] linaro.org>
1827
1828 * configure.tgt: Enable build on aarch64*-linux.
1829
1830 2014-09-19 Kostya Serebryany <kcc (a] google.com>
1831
1832 * All source files: Merge from upstream r218156.
1833 * asan/Makefile.am (asan_files): Added new files.
1834 * asan/Makefile.in: Regenerate.
1835 * ubsan/Makefile.am (ubsan_files): Added new files.
1836 * ubsan/Makefile.in: Regenerate.
1837 * tsan/Makefile.am (tsan_files): Added new files.
1838 * tsan/Makefile.in: Regenerate.
1839 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1840 files.
1841 * sanitizer_common/Makefile.in: Regenerate.
1842 * asan/libtool-version: Bump the libasan SONAME.
1843
1844 2014-09-10 Jakub Jelinek <jakub (a] redhat.com>
1845
1846 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
1847 upstream r215485, r217389, r217391 and r217400.
1848
1849 2014-06-23 Paolo Carlini <paolo.carlini (a] oracle.com>
1850
1851 * sanitizer_common/sanitizer_common_interceptors.inc:
1852 Cherry pick upstream r211008.
1853
1854 2014-06-11 Richard Biener <rguenther (a] suse.de>
1855
1856 * asan/asan_linux.cc: Cherry pick upstream r210012.
1857
1858 2014-05-30 Jakub Jelinek <jakub (a] redhat.com>
1859
1860 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
1861 r209879.
1862 * sanitizer_common/sanitizer_common.h: Likewise.
1863 * asan/asan_mapping.h: Likewise.
1864 * asan/asan_linux.cc: Likewise.
1865 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
1866 * sanitizer_common/sanitizer_allocator.h: Likewise.
1867
1868 2014-05-23 Marek Polacek <polacek (a] redhat.com>
1869
1870 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
1871 floating-point types.
1872
1873 2014-05-22 Kostya Serebryany <kcc (a] google.com>
1874
1875 * All source files: Merge from upstream r209283.
1876 * asan/Makefile.am (asan_files): Added new files.
1877 * asan/Makefile.in: Regenerate.
1878 * tsan/Makefile.am (tsan_files): Added new files.
1879 * tsan/Makefile.in: Regenerate.
1880 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
1881 files.
1882 * sanitizer_common/Makefile.in: Regenerate.
1883
1884 2014-05-14 Yury Gribov <y.gribov (a] samsung.com>
1885
1886 PR sanitizer/61100
1887 * Makefile.am (nodist_saninclude_HEADERS): Install
1888 public headers.
1889 * Makefile.in: Regenerate.
1890
1891 2014-03-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1892
1893 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
1894 Add ../../libbacktrace/sort.c.
1895 * libbacktrace/Makefile.in: Regenerate.
1896 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
1897
1898 2014-03-03 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
1899
1900 * configure.tgt: Unsupported for little endian PowerPC for now.
1901
1902 2014-02-04 Jakub Jelinek <jakub (a] redhat.com>
1903
1904 PR sanitizer/60055
1905 * tsan/tsan_flags.cc (__tsan_default_options): Add
1906 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
1907 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
1908
1909 PR sanitizer/60038
1910 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
1911 sanitizer_atomic.h and unistd.h.
1912 (kThreadDescriptorSize): Made static, remove initializer and const,
1913 change type to atomic_uintptr_t.
1914 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
1915 query glibc version, compute kThreadDescriptorSize depending on
1916 glibc version minor number.
1917 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
1918 kThreadDescriptorSize directly.
1919
1920 2014-01-23 Yury Gribov <y.gribov (a] samsung.com>
1921 Jakub Jelinek <jakub (a] redhat.com>
1922
1923 PR sanitizer/57316
1924 * configure.ac: Check for missing syscalls.
1925 * Makefile.am: Likewise.
1926 * configure: Regenerate.
1927 * Makefile.in: Regenerate.
1928
1929 2014-01-09 Jakub Jelinek <jakub (a] redhat.com>
1930
1931 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
1932 (LibbacktraceSymbolizer::Demangle): New declaration.
1933 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
1934 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
1935 method if possible.
1936 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
1937 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
1938 (struct CplusV3DemangleData): New type.
1939 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
1940 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
1941 SymbolizeDataCallback): Use CplusV3Demangle.
1942 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
1943 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
1944 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
1945 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
1946 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
1947 cplus_demangle_init_info, cplus_demangle_mangled_name,
1948 cplus_demangle_operators, cplus_demangle_print,
1949 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
1950 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
1951 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
1952 Define.
1953 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
1954 (memcmp, strncmp): Redefine.
1955 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
1956 ../../libiberty/cp-demangle.c.
1957 * libbacktrace/bridge.cc (__asan_internal_memcmp,
1958 __asan_internal_strncmp): New functions.
1959 * sanitizer_common/Makefile.in: Regenerated.
1960 * libbacktrace/Makefile.in: Regenerated.
1961 * configure: Regenerated.
1962 * configure.ac: Regenerated.
1963 * config.h.in: Regenerated.
1964
1965 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
1966 -isystem $(top_srcdir)/include/system.
1967 * sanitizer_common/Makefile.in: Regenerated.
1968 * include/system/linux/aio_abi.h: New header.
1969 * include/system/linux/mroute.h: New header.
1970 * include/system/linux/mroute6.h: New header.
1971 * include/system/linux/perf_event.h: New header.
1972 * include/system/linux/types.h: New header.
1973
1974 PR sanitizer/59136
1975 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
1976 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
1977 and -I/-include flags.
1978 * lsan/Makefile.am (liblsan_la_LIBADD): Add
1979 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
1980 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1981 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
1982 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
1983 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
1984 libbacktrace.
1985 * README.gcc: Document that also lsan and ubsan are
1986 maintained in compiler-rt upstream.
1987 * libbacktrace/Makefile.am: New file.
1988 * libbacktrace/backtrace-rename.h: New file.
1989 * libbacktrace/backtrace-supported.h.in: New file.
1990 * libbacktrace/bridge.cc: New file.
1991 * configure.ac: Add tests needed for libbacktrace build
1992 within libsanitizer.
1993 * sanitizer_common/Makefile.in: Regenerated.
1994 * lsan/Makefile.in: Regenerated.
1995 * tsan/Makefile.in: Regenerated.
1996 * ubsan/Makefile.in: Regenerated.
1997 * libbacktrace/Makefile.in: Generated.
1998 * config.h.in: Regenerated.
1999 * configure: Regenerated.
2000 * Makefile.in: Regenerated.
2001 * interception/Makefile.in: Regenerated.
2002 * asan/Makefile.in: Regenerated.
2003 * aclocal.m4: Regenerated.
2004
2005 2013-12-19 Kostya Serebryany <kcc (a] google.com>
2006
2007 * sanitizer_common/sanitizer_platform_limits_posix.cc:
2008 workaround for missing definition of EOWNERDEAD, backport
2009 from upstream r196779.
2010
2011 2013-12-06 H.J. Lu <hongjiu.lu (a] intel.com>
2012
2013 * sanitizer_common/sanitizer_platform_limits_posix.h
2014 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
2015 (__sanitizer_clock_t): Use long long for x32.
2016
2017 2013-12-06 H.J. Lu <hongjiu.lu (a] intel.com>
2018
2019 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
2020 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
2021 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
2022
2023 2013-12-05 H.J. Lu <hongjiu.lu (a] intel.com>
2024
2025 * configure.ac (link_sanitizer_common): Add -lm.
2026 * configure: Regenerated.
2027
2028 2013-12-05 Kostya Serebryany <kcc (a] google.com>
2029
2030 * All source files: Merge from upstream r196489.
2031 * merge.sh: Add *.S to the list of merged files.
2032
2033 2013-12-05 Yury Gribov <y.gribov (a] samsung.com>
2034
2035 PR sanitizer/59368
2036 * Makefile.am (gcc_version): Added gcc_version.
2037 * Makefile.in: Regenerate.
2038
2039 2013-12-05 Kostya Serebryany <kcc (a] google.com>
2040
2041 * All source files: Merge from upstream r196090.
2042 * tsan/Makefile.am (tsan_files): Added new files.
2043 * tsan/Makefile.in: Regenerate.
2044 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2045 * sanitizer_common/Makefile.in: Regenerate.
2046 * lsan/Makefile.am (lsan_files): Added new files.
2047 * lsan/Makefile.in: Regenerate.
2048
2049 2013-11-29 Jakub Jelinek <jakub (a] redhat.com>
2050 Yury Gribov <y.gribov (a] samsung.com>
2051
2052 PR sanitizer/59063
2053 * libsanitizer.spec.in: Add spec file to hold link flags for
2054 various sanitizer libs.
2055 * configure.ac: Check whether clock_* routines come from librt.
2056 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
2057 configure.ac.
2058 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
2059 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
2060 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
2061 * asan/Makefile.in: Regenerate.
2062 * interception/Makefile.in: Regenerate.
2063 * lsan/Makefile.in: Regenerate.
2064 * sanitizer_common/Makefile.in: Regenerate.
2065 * tsan/Makefile.in: Regenerate.
2066 * ubsan/Makefile.in: Regenerate.
2067 * Makefile.in: Regenerate.
2068 * configure: Regenerate.
2069
2070 2013-11-28 Jakub Jelinek <jakub (a] redhat.com>
2071 Yury Gribov <y.gribov (a] samsung.com>
2072
2073 PR sanitizer/59106
2074 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
2075 don't need it.
2076 * ubsan/Makefile.in: Regenerated.
2077
2078 2013-11-22 Jakub Jelinek <jakub (a] redhat.com>
2079
2080 PR sanitizer/59061
2081 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
2082 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
2083 * configure: Regenerated.
2084 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
2085 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
2086 * lsan/Makefile.in: Regenerated.
2087
2088 2013-11-22 Mike Stump <mikestump (a] comcast.net>
2089
2090 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
2091 change from upstream to fix build.
2092
2093 2013-11-18 Yury Gribov <y.gribov (a] samsung.com>
2094
2095 PR sanitizer/59106
2096 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
2097 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2098 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
2099 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
2100 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
2101 * asan/Makefile.in: Regenerate.
2102 * interception/Makefile.in: Regenerate.
2103 * tsan/Makefile.in: Regenerate.
2104 * lsan/Makefile.in: Regenerate.
2105 * sanitizer_common/Makefile.in: Regenerate.
2106
2107 2013-11-15 Kostya Serebryany <kcc (a] google.com>
2108
2109 PR sanitizer/58994
2110 Backport from upstream revision 194573
2111 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
2112 back to the original functions in the common libsanitizer
2113 interceptors and the __cxa_atexit() interceptor on Darwin.
2114
2115 2013-11-13 Peter Bergner <bergner (a] vnet.ibm.com>
2116
2117 PR sanitizer/59009
2118 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
2119 ifdef out more source.
2120
2121 2013-11-12 Jakub Jelinek <jakub (a] redhat.com>
2122
2123 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
2124 ifdef out almost the whole source.
2125 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
2126
2127 2013-11-05 H.J. Lu <hongjiu.lu (a] intel.com>
2128
2129 PR sanitizer/59018
2130 * sanitizer_common/sanitizer_platform_limits_posix.cc
2131 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
2132 defined.
2133
2134 2013-11-05 H.J. Lu <hongjiu.lu (a] intel.com>
2135
2136 PR sanitizer/59018
2137 * sanitizer_common/sanitizer_platform_limits_linux.cc
2138 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
2139 defined.
2140 * sanitizer_common/sanitizer_platform_limits_posix.h
2141 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
2142 defined.
2143 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
2144 is defined.
2145 (__sanitizer___kernel_gid_t): Likewise.
2146 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
2147 is defined.
2148
2149 2013-11-05 H.J. Lu <hongjiu.lu (a] intel.com>
2150
2151 PR sanitizer/59018
2152 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
2153 2 64-bit integers to save and restore fn and arg. Properly load
2154 newtls/child_tidptr into r8/r10.
2155
2156 2013-11-05 H.J. Lu <hongjiu.lu (a] intel.com>
2157
2158 PR sanitizer/59018
2159 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
2160 internal_munmap, internal_open, internal_read, internal_write,
2161 internal_stat, internal_lstat, internal_fstat, internal_readlink,
2162 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
2163 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
2164 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
2165
2166 2013-11-04 Kostya Serebryany <kcc (a] google.com>
2167
2168 * All source files: Merge from upstream r191666.
2169 * merge.sh: Added lsan.
2170 * configure.ac (AC_CONFIG_FILES): Added lsan.
2171 * Makefile.am (SUBDIRS): Added lsan.
2172 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
2173 * asan/Makefile.am (asan_files): Added new files.
2174 (libasan_la_LIBADD): Added a dependency on lsan.
2175 * lsan/Makefile.am: New file.
2176 * asan/Makefile.in: Regenerate.
2177 * lsan/Makefile.in: Regenerate.
2178 * Makefile.in: Regenerate.
2179 * configure: Regenerate.
2180 * sanitizer_common/Makefile.in: Regenerate.
2181
2182 2013-09-20 Alan Modra <amodra (a] gmail.com>
2183
2184 * configure: Regenerate.
2185
2186 2013-09-01 Iain Sandoe <iain (a] codesourcery.com>
2187
2188 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
2189 libinterception.la for Darwin.
2190 * ubsan/Makefile.in: Regenerate.
2191
2192 2013-08-30 Jakub Jelinek <jakub (a] redhat.com>
2193
2194 * Makefile.am (SUBDIRS): Add ubsan.
2195 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
2196 * merge.sh: Merge ubsan.
2197 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
2198 * sanitizer_common/sanitizer_printf.cc: Likewise.
2199 * sanitizer_common/sanitizer_common.h: Likewise.
2200 * ubsan: New directory. Import ubsan runtime from llvm.
2201
2202 2013-06-03 Christophe Lyon <christophe.lyon (a] linaro.org>
2203
2204 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
2205 Cherry pick upstream r182922.
2206
2207 2013-05-07 Christophe Lyon <christophe.lyon (a] linaro.org>
2208
2209 * configure.tgt: Add ARM pattern.
2210
2211 2013-03-22 Jakub Jelinek <jakub (a] redhat.com>
2212
2213 PR other/43620
2214 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
2215 * Makefile.in: Regenerated.
2216 * asan/Makefile.in: Regenerated.
2217 * interception/Makefile.in: Regenerated.
2218 * sanitizer_common/Makefile.in: Regenerated.
2219 * tsan/Makefile.in: Regenerated.
2220
2221 2013-02-28 Jakub Jelinek <jakub (a] redhat.com>
2222
2223 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
2224 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
2225 0x4fffffffffULL.
2226
2227 2013-02-22 Jakub Jelinek <jakub (a] redhat.com>
2228
2229 PR sanitizer/56393
2230 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
2231 libasan_preinit.o.
2232 (libasan_preinit.o): Depend on asan_preinit.o.
2233 * asan/Makefile.in: Regenerated.
2234 * asan/asan_preinit.cc: New file, synced from upstream.
2235 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
2236
2237 2013-02-21 Jack Howarth <howarth (a] bromo.med.uc.edu>
2238
2239 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
2240 dynamic/asan_interceptors_dynamic.cc.
2241 * asan/Makefile.in: Regenerated.
2242 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
2243
2244 2013-02-21 Jakub Jelinek <jakub (a] redhat.com>
2245
2246 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
2247 defined. Add used attribute.
2248
2249 2013-02-21 Kostya Serebryany <kcc (a] google.com>
2250
2251 * All source files: Merge from upstream r175733.
2252 * sanitizer_common/Makefile.am: Added a new file.
2253 * sanitizer_common/Makefile.in: Regenerated.
2254
2255 2013-02-14 H.J. Lu <hongjiu.lu (a] intel.com>
2256
2257 PR bootstrap/56327
2258 * interception/interception.h (OFF_T): Merged from upstream
2259 r175140.
2260
2261 2013-02-13 Jakub Jelinek <jakub (a] redhat.com>
2262
2263 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
2264
2265 2013-02-13 Kostya Serebryany <kcc (a] google.com>
2266
2267 PR sanitizer/56128
2268 * All source files: Merge from upstream r175049.
2269 * interception/Makefile.am: added include path.
2270 * interception/Makefile.in: Regenerated.
2271
2272 2013-02-11 Jack Howarth <howarth (a] bromo.med.uc.edu>
2273
2274 * configure.tgt: Disable build on darwin9 and earlier.
2275
2276 2013-01-23 Kostya Serebryany <kcc (a] google.com>
2277
2278 PR sanitizer/55989
2279 * All source files: Merge from upstream r173241.
2280 * merge.sh: Support merging .inc files.
2281
2282 2013-01-16 Jakub Jelinek <jakub (a] redhat.com>
2283
2284 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
2285 -Wno-c99-extensions.
2286 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
2287 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
2288 * sanitizer_common/Makefile.in: Regenerated.
2289 * interception/Makefile.in: Regenerated.
2290 * asan/Makefile.in: Regenerated.
2291
2292 2013-01-10 Wei Mi <wmi (a] google.com>
2293
2294 PR sanitizer/55488
2295 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
2296 * tsan/Makefile.in: Regenerated.
2297 * tsan/tsan_rtl.h: Enable HACKY_CALL.
2298
2299 2013-01-10 Kostya Serebryany <kcc (a] google.com>
2300
2301 * All source files: Merge from upstream r171973.
2302 * sanitizer_common/Makefile.am: Added new files.
2303 * asan/Makefile.am: Likewise.
2304 * tsan/Makefile.am: Likewise.
2305 * sanitizer_common/Makefile.in: Regenerated.
2306 * asan/Makefile.in: Likewise.
2307 * tsan/Makefile.in: Likewise.
2308
2309 2013-01-07 H.J. Lu <hongjiu.lu (a] intel.com>
2310
2311 * asan/Makefile.am (libasan_la_LIBADD): Replace
2312 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
2313 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2314 * Makefile.in: Regenerated.
2315 * configure: Likewise.
2316 * asan/Makefile.in: Likewise.
2317 * interception/Makefile.in: Likewise.
2318 * sanitizer_common/Makefile.in: Likewise.
2319 * tsan/Makefile.in: Likewise.
2320
2321 2012-12-12 H.J. Lu <hongjiu.lu (a] intel.com>
2322
2323 * Makefile.am (AM_MAKEFLAGS): Restored.
2324 * interception/Makefile.am: Likewise.
2325 * sanitizer_common/Makefile.am: Likewise.
2326 * tsan/Makefile.am: Likewise.
2327 * Makefile.in: Regenerated.
2328 * asan/Makefile.in: Likewise.
2329 * interception/Makefile.in: Likewise.
2330 * sanitizer_common/Makefile.in: Likewise.
2331 * tsan/Makefile.in: Likewise.
2332
2333 2012-12-12 H.J. Lu <hongjiu.lu (a] intel.com>
2334
2335 * Makefile.am (MAKEOVERRIDES): Restored.
2336 * asan/Makefile.am: Likewise.
2337 * interception/Makefile.am: Likewise.
2338 * sanitizer_common/Makefile.am: Likewise.
2339 * tsan/Makefile.am: Likewise.
2340 * Makefile.in: Regenerated.
2341 * asan/Makefile.in: Likewise.
2342 * interception/Makefile.in: Likewise.
2343 * sanitizer_common/Makefile.in: Likewise.
2344 * tsan/Makefile.in: Likewise.
2345
2346 2012-12-12 H.J. Lu <hongjiu.lu (a] intel.com>
2347
2348 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
2349 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
2350 * Makefile.in: Regenerated.
2351 * configure: Likewise.
2352 * asan/Makefile.in: Likewise.
2353 * interception/Makefile.in: Likewise.
2354 * sanitizer_common/Makefile.in: Likewise.
2355 * tsan/Makefile.in: Likewise.
2356
2357 2012-12-12 H.J. Lu <hongjiu.lu (a] intel.com>
2358
2359 * Makefile.am (AM_MAKEFLAGS): Removed.
2360 (MAKEOVERRIDES): Likewise.
2361 * asan/Makefile.am: Likewise.
2362 * interception/Makefile.am: Likewise.
2363 * sanitizer_common/Makefile.am: Likewise.
2364 * tsan/Makefile.am: Likewise.
2365 * Makefile.in: Regenerated.
2366 * asan/Makefile.in: Likewise.
2367 * interception/Makefile.in: Likewise.
2368 * sanitizer_common/Makefile.in: Likewise.
2369 * tsan/Makefile.in: Likewise.
2370
2371 2012-12-11 H.J. Lu <hongjiu.lu (a] intel.com>
2372
2373 PR sanitizer/55533
2374 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2375 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
2376 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
2377 (AM_MAKEFLAGS): Remove CC and CXX.
2378 * interception/Makefile.am: Likewise.
2379 * sanitizer_common/Makefile.am: Likewise.
2380 * tsan/Makefile.am: Likewise.
2381 * Makefile.in: Regenerated.
2382 * aclocal.m4: Likewise.
2383 * configure: Likewise.
2384 * asan/Makefile.in: Likewise.
2385 * interception/Makefile.in: Likewise.
2386 * sanitizer_common/Makefile.in: Likewise.
2387 * tsan/Makefile.in: Likewise.
2388
2389 2012-12-06 Peter Bergner <bergner (a] vnet.ibm.com>
2390
2391 * configure.tgt: Enable build on powerpc*-linux.
2392
2393 2012-12-06 Jack Howarth <howarth (a] bromo.med.uc.edu>
2394
2395 PR 55599/sanitizer
2396 * configure.ac: Set enable_static=no on darwin.
2397 * configure: Regenerated.
2398
2399 2012-12-06 Kostya Serebryany <kcc (a] google.com>
2400
2401 * All files: Merge from upstream r169392.
2402
2403 2012-12-05 Kostya Serebryany <kcc (a] google.com>
2404
2405 * All files: Merge from upstream r169371.
2406
2407 2012-12-04 Kostya Serebryany <kcc (a] google.com>
2408 Jack Howarth <howarth (a] bromo.med.uc.edu>
2409
2410 PR 55521/sanitizer
2411 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
2412 * Makefile.am: Don't build interception subdir when
2413 USING_MAC_INTERPOSE defined.
2414 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
2415 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
2416 Compile asan_interceptors_dynamic.cc but not libinterception
2417 when USING_MAC_INTERPOSE defined.
2418 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
2419 * configure: Regenerated.
2420 * Makefile.in: Likewise.
2421 * asan/Makefile.in: Likewise.
2422 * interception/Makefile.in: Likewise.
2423 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
2424 * asan/asan_mac.cc: Likewise.
2425 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
2426 and use MISSING_BLOCKS_SUPPORT.
2427 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
2428 * interception/mach_override/LICENSE.txt: Remove unused file.
2429 * interception/mach_override/mach_override.c: Likewise.
2430 * interception/mach_override/mach_override.h: Likewise.
2431 * interception/mach_override: Remove unused directory.
2432
2433 2012-11-28 H.J. Lu <hongjiu.lu (a] intel.com>
2434
2435 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
2436 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
2437 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
2438 files.
2439 (AM_MAKEFLAGS): Restore CC and CXX.
2440 * interception/Makefile.am: Likewise.
2441 * sanitizer_common/Makefile.am: Likewise.
2442 * tsan/Makefile.am: Likewise.
2443 * Makefile.in: Regenerated.
2444 * aclocal.m4: Likewise.
2445 * configure: Likewise.
2446 * asan/Makefile.in: Likewise.
2447 * interception/Makefile.in: Likewise.
2448 * sanitizer_common/Makefile.in: Likewise.
2449 * tsan/Makefile.in: Likewise.
2450
2451 2012-11-28 H.J. Lu <hongjiu.lu (a] intel.com>
2452
2453 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
2454 * configure.ac (ACX_NONCANONICAL_TARGET): New.
2455 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
2456 files.
2457 (AM_MAKEFLAGS): Remove CC and CXX.
2458 * interception/Makefile.am: Likewise.
2459 * sanitizer_common/Makefile.am: Likewise.
2460 * tsan/Makefile.am: Likewise.
2461 * Makefile.in: Regenerated.
2462 * aclocal.m4: Likewise.
2463 * configure: Likewise.
2464 * asan/Makefile.in: Likewise.
2465 * interception/Makefile.in: Likewise.
2466 * sanitizer_common/Makefile.in: Likewise.
2467 * tsan/Makefile.in: Likewise.
2468
2469 2012-11-27 Kostya Serebryany <kcc (a] google.com>
2470
2471 * All files: Merge from upstream r168699.
2472
2473 2012-11-24 Kostya Serebryany <kcc (a] google.com>
2474 Jack Howarth <howarth (a] bromo.med.uc.edu>
2475
2476 * interception/mach_override/mach_override.c: Migrate from llvm.
2477 * interception/mach_override/mach_override.h: Likewise.
2478 * interception/mach_override/LICENSE.txt: Likewise.
2479 * configure.tgt: Add darwin to supported targets.
2480 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
2481 * interception/Makefile.am: Compile mach_override.c when
2482 USING_MACH_OVERRIDE defined.
2483 * configure: Regenerated.
2484 * interception/Makefile.in: Likewise.
2485
2486 2012-11-23 H.J. Lu <hongjiu.lu (a] intel.com>
2487
2488 PR sanitizer/55450
2489 * tsan/Makefile.am (gcc_version): New.
2490 * tsan/Makefile.in: Regenerated.
2491
2492 2012-11-23 Kostya Serebryany <kcc (a] google.com>
2493
2494 * merge.sh: Support tsan, support added/removed files.
2495 * tsan/Makefile.am: Remove tsan_printf.cc.
2496 * tsan/Makefile.in: Regenerated.
2497 * other files: Merge from upstream r168514.
2498
2499 2012-11-23 Kostya Serebryany <kcc (a] google.com>
2500
2501 * merge.sh: New file.
2502
2503 2012-11-23 Jakub Jelinek <jakub (a] redhat.com>
2504
2505 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
2506 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
2507 automake conditional instead of !MULTISUBDIR32.
2508 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
2509 for 64-bit multilib.
2510 * configure.ac: Check for void * size, source in configure.tgt,
2511 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
2512 * configure: Regenerated.
2513 * Makefile.in: Regenerated.
2514 * tsan/Makefile.in: Regenerated.
2515
2516 2012-11-22 Wei Mi <wmi (a] google.com>
2517
2518 * tsan: New directory. Import tsan runtime from llvm.
2519 * configure.ac: Add 64 bits tsan build.
2520 * Makefile.am: Likewise.
2521 * configure: Regenerated.
2522 * Makefile.in: Likewise.
2523
2524 2012-11-21 Kostya Serebryany <kcc (a] google.com>
2525
2526 * README.gcc: Extend the README.gcc with mode details.
2527
2528 2012-11-20 Konstantin Serebryany <konstantin.s.serebryany (a] gmail.com>
2529
2530 * sanitizer_common/sanitizer_linux.cc
2531 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
2532 (internal_mmap): Use it.
2533 (internal_filesize): Likewise.
2534
2535 2012-11-16 Tom Tromey <tromey (a] redhat.com>
2536
2537 * configure.ac: Invoke AM_MAINTAINER_MODE.
2538 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
2539 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
2540
2541 2012-11-16 H.J. Lu <hongjiu.lu (a] intel.com>
2542
2543 PR other/55333
2544 * include/sanitizer/common_interface_defs.h (uhwptr): New type
2545 for hardware pointer.
2546 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
2547 Replace uptr with uhwptr for stack unwind.
2548
2549 2012-11-16 Dodji Seketeli <dodji (a] redhat.com>
2550
2551 * configure.tgt: Enable build on sparc linux.
2552
2553 2012-11-15 H.J. Lu <hongjiu.lu (a] intel.com>
2554
2555 * configure.ac: Properly set MULTISUBDIR.
2556 * asan/Makefile.am (gcc_version): New.
2557 * interception/Makefile.am (gcc_version): Likewise.
2558 * sanitizer_common/Makefile.am (gcc_version): Likewise.
2559 * configure: Regenerated.
2560 * asan/Makefile.in: Likewise.
2561 * interception/Makefile.in: Likewise.
2562 * sanitizer_common/Makefile.in: Likewise.
2563
2564 2012-11-14 H.J. Lu <hongjiu.lu (a] intel.com>
2565
2566 PR other/55291
2567 * configure.ac (--enable-version-specific-runtime-libs): New option.
2568 (AC_CANONICAL_SYSTEM): New.
2569 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
2570 (toolexecdir): Support multilib.
2571 (toolexeclibdir): Likewise.
2572 (multilib_arg): New.
2573 * Makefile.in: Regenerated.
2574 * aclocal.m4: Likewise.
2575 * configure: Likewise.
2576 * asan/Makefile.in: Likewise.
2577 * interception/Makefile.in: Likewise.
2578 * sanitizer_common/Makefile.in: Likewise.
2579
2580 2012-11-14 H.J. Lu <hongjiu.lu (a] intel.com>
2581
2582 PR other/55292
2583 Backport from upstream revision 167883
2584 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
2585 __x86_64__ instead of __WORDSIZE.
2586 (internal_filesize): Likwise.
2587
2588 2012-11-14 H.J. Lu <hongjiu.lu (a] intel.com>
2589
2590 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
2591 * Makefile.in: Regenerated.
2592 * configure: Likewise.
2593
2594 2012-11-13 H.J. Lu <hongjiu.lu (a] intel.com>
2595
2596 PR other/55304
2597 * acinclude.m4: New file.
2598 * Makefile.am (ACLOCAL_AMFLAGS): New.
2599 * configure.ac (AC_PREREQ): Set to 2.64.
2600 (AC_CONFIG_AUX_DIR): Set to "..".
2601 * Makefile.in: Regenerated.
2602 * aclocal.m4: Likewise.
2603 * configure: Likewise.
2604 * asan/Makefile.in: Likewise.
2605 * interception/Makefile.in: Likewise.
2606 * sanitizer_common/Makefile.in: Likewise.
2607
2608 * config.guess: Removed.
2609 * config.sub: Likewise.
2610 * depcomp: Likewise.
2611 * install-sh: Likewise.
2612 * ltmain.sh: Likewise.
2613 * missing: Likewise.
2614
2615 2012-11-13 Richard Henderson <rth (a] redhat.com>
2616
2617 * configure.tgt: New file.
2618
2619 2012-11-12 David S. Miller <davem (a] davemloft.net>
2620
2621 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
2622
2623 2012-10-29 Wei Mi <wmi (a] google.com>
2624
2625 Initial checkin: migrate asan runtime from llvm.
2626