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