]> git.ipfire.org Git - thirdparty/gcc.git/blame - libsanitizer/ChangeLog
combine: Don't make log_links for pc_rtx (PR84780 #c10)
[thirdparty/gcc.git] / libsanitizer / ChangeLog
CommitLineData
14e335ed
IT
12018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2
3 PR target/84148
4 * configure: Regenerate.
5
4c4f3c3f
ML
62018-02-05 Martin Liska <mliska@suse.cz>
7
8 * asan/asan_flags.inc: Cherry-pick upstream r323995.
9 * asan/asan_report.cc (CheckForInvalidPointerPair):
10 Cherry-pick upstream r323995.
11
2d509539
RO
122018-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13
14 PR sanitizer/82825
15 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
9dfc6e83 16 r324284.
2d509539 17
1f7273e5
RO
182018-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
19
20 PR sanitizer/82824
21 * lsan/lsan_common_mac.cc: Cherry-pick upstream r322437.
22
05abad4c
ML
232017-12-05 Martin Liska <mliska@suse.cz>
24 Jakub Jelinek <jakub@redhat.com>
25
26 * asan/asan_descriptions.cc: Cherry-pick upstream r319668.
27 * asan/asan_descriptions.h: Likewise.
28 * asan/asan_report.cc: Likewise.
29 * asan/asan_thread.cc: Likewise.
30 * asan/asan_thread.h: Likewise.
31
9069eb28
IT
322017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
33
34 * acinclude.m4: Add enable.m4 and cet.m4.
35 * Makefile.in: Regenerate.
36 * asan/Makefile.am: Update AM_CXXFLAGS.
37 * asan/Makefile.in: Regenerate.
38 * configure: Likewise.
39 * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
40 EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
41 * interception/Makefile.am: Update AM_CXXFLAGS.
42 * interception/Makefile.in: Regenerate.
43 * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
44 * libbacktrace/Makefile.in: Regenerate.
45 * lsan/Makefile.am: Update AM_CXXFLAGS.
46 * lsan/Makefile.in: Regenerate.
47 * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
48 AM_CCASFLAGS.
49 * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
50 Add _CET_ENDBR macro.
51 * sanitizer_common/Makefile.in: Regenerate.
52 * tsan/Makefile.am: Update AM_CXXFLAGS.
53 * tsan/Makefile.in: Regenerate.
54 * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
55 * ubsan/Makefile.am: Update AM_CXXFLAGS.
56 * ubsan/Makefile.in: Regenerate.
57
5925290f
JJ
582017-11-08 Jakub Jelinek <jakub@redhat.com>
59
60 PR bootstrap/82670
61 * ubsan/Makefile.am (ubsan_files): Remove ubsan_init_standalone.cc
62 and ubsan_signals_standalone.cc.
63 * ubsan/Makefile.in: Regenerated.
64
735e62b9
TV
652017-11-05 Tom de Vries <tom@codesourcery.com>
66
67 PR other/82784
68 * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
69 "do {} while (0)".
70 * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
71
9a45ffbd
JJ
722017-10-20 Jakub Jelinek <jakub@redhat.com>
73
74 PR sanitizer/82595
75 * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
76 * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
77 liblsan_preinit.o.
78 (lsan_files): Remove lsan_preinit.cc.
79 (liblsan_preinit.o): New rule.
80 * lsan/Makefile.in: Regenerated.
81
5d3805fc
JJ
822017-10-19 Jakub Jelinek <jakub@redhat.com>
83
84 * All source files: Merge from upstream 315899.
85 * asan/Makefile.am (nodist_saninclude_HEADERS): Add
86 include/sanitizer/tsan_interface.h.
87 * asan/libtool-version: Bump the libasan SONAME.
88 * lsan/Makefile.am (sanitizer_lsan_files): Add lsan_common_mac.cc.
89 (lsan_files): Add lsan_linux.cc, lsan_mac.cc and lsan_malloc_mac.cc.
90 * sanitizer_common/Makefile.am (sanitizer_common_files): Add
91 sancov_flags.cc, sanitizer_allocator_checks.cc,
92 sanitizer_coverage_libcdep_new.cc, sanitizer_errno.cc,
93 sanitizer_file.cc, sanitizer_mac_libcdep.cc and
94 sanitizer_stoptheworld_mac.cc. Remove sanitizer_coverage_libcdep.cc
95 and sanitizer_coverage_mapping_libcdep.cc.
96 * tsan/Makefile.am (tsan_files): Add tsan_external.cc.
97 * ubsan/Makefile.am (DEFS): Add -DUBSAN_CAN_USE_CXXABI=1.
98 (ubsan_files): Add ubsan_init_standalone.cc and
99 ubsan_signals_standalone.cc.
100 * ubsan/libtool-version: Bump the libubsan SONAME.
101 * asan/Makefile.in: Regenerate.
102 * lsan/Makefile.in: Regenerate.
103 * sanitizer_common/Makefile.in: Regenerate.
104 * tsan/Makefile.in: Regenerate.
105 * ubsan/Makefile.in: Regenerate.
106
bf4df9e6
L
1072017-10-05 H.J. Lu <hongjiu.lu@intel.com>
108
109 PR sanitizer/82379
110 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
111 to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.
112
d1453bec
JJ
1132017-10-02 Jakub Jelinek <jakub@redhat.com>
114
115 * libbacktrace/backtrace-rename.h (backtrace_uncompress_zdebug):
116 Define.
117
a5320f3c
JJ
1182017-08-07 Jakub Jelinek <jakub@redhat.com>
119
120 * include/system/sys/ptrace.h: New file.
121
c9b39a49
JJ
1222017-07-28 Jakub Jelinek <jakub@redhat.com>
123
124 PR sanitizer/80998
125 * ubsan/ubsan_handlers.cc: Cherry-pick upstream r304461.
126 * ubsan/ubsan_checks.inc: Likewise.
127 * ubsan/ubsan_handlers.h: Likewise.
128
144e36a7
JJ
1292017-07-14 Jakub Jelinek <jakub@redhat.com>
130
131 PR sanitizer/81066
132 * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
133 * sanitizer_common/sanitizer_linux.cc: Likewise.
134 * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
135 * tsan/tsan_platform_linux.cc: Likewise.
136
d9f8c5af
ML
1372017-04-06 Martin Liska <mliska@suse.cz>
138
139 PR sanitizer/80166
140 * sanitizer_common/sanitizer_common_interceptors.inc (INTERCEPTOR):
141 Cherry-pick upstream r299036.
142
fd6cba40
JJ
1432017-03-22 Jakub Jelinek <jakub@redhat.com>
144
145 PR sanitizer/78158
146 * tsan/tsan_interface_atomic.cc: Cherry-pick upstream r298378.
147
9b9ad360
AT
1482017-02-16 Andreas Tobler <andreast@gcc.gnu.org>
149
150 PR sanitizer/79562
151 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick
152 upstream r294806.
153
1509524b
JJ
1542017-02-11 Jakub Jelinek <jakub@redhat.com>
155
156 PR sanitizer/79341
157 * configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
158 s390-linux 31-bit.
159 * sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
160 r294793.
161 * sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
162 upstream r294790.
163 * sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
164 r294799.
165
778e0ac3
MO
1662017-02-03 Maxim Ostapenko <m.ostapenko@samsung.com>
167
168 PR sanitizer/78663
169 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992.
170 * sanitizer_common/sanitizer_platform_interceptors.h: Likewise.
171
4997a71d
JJ
1722017-01-31 Jakub Jelinek <jakub@redhat.com>
173
174 * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
175
86b2a558
JJ
1762017-01-24 Jakub Jelinek <jakub@redhat.com>
177
c831801d
JJ
178 * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
179
86b2a558
JJ
180 PR sanitizer/79168
181 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
182 if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
183 text.
184 * sanitizer_common/sanitizer_linux_mips64.S: Regenerated.
185 * sanitizer_common/sanitizer_linux_x86_64.S: Likewise.
186 * tsan/tsan_ppc_regs.h: Likewise.
187 * tsan/tsan_rtl_aarch64.S: Likewise.
188 * tsan/tsan_rtl_mips64.S: Likewise.
189 * tsan/tsan_rtl_ppc64.S: Likewise.
190
73aa401e
JJ
1912017-01-21 Jakub Jelinek <jakub@redhat.com>
192
193 PR other/79046
194 * interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
195 instead of cat to get version from BASE-VER file.
196 * asan/Makefile.am (gcc_version): Likewise.
197 * ubsan/Makefile.am (gcc_version): Likewise.
198 * sanitizer_common/Makefile.am (gcc_version): Likewise.
199 * lsan/Makefile.am (gcc_version): Likewise.
200 * tsan/Makefile.am (gcc_version): Likewise.
201 * interception/Makefile.in: Regenerated.
202 * asan/Makefile.in: Regenerated.
203 * ubsan/Makefile.in: Regenerated.
204 * sanitizer_common/Makefile.in: Regenerated.
205 * lsan/Makefile.in: Regenerated.
206 * tsan/Makefile.in: Regenerated.
207
3c36aa6b
JJ
2082017-01-17 Jakub Jelinek <jakub@redhat.com>
209
210 PR other/79046
211 * configure.ac: Add GCC_BASE_VER.
212 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
213 get version from BASE-VER file.
214 * libbacktrace/Makefile.in: Regenerated.
215 * interception/Makefile.in: Regenerated.
216 * asan/Makefile.in: Regenerated.
217 * ubsan/Makefile.in: Regenerated.
218 * configure: Regenerated.
219 * sanitizer_common/Makefile.in: Regenerated.
220 * lsan/Makefile.in: Regenerated.
221 * Makefile.in: Regenerated.
222 * tsan/Makefile.in: Regenerated.
223
942136a4
JC
2242017-01-10 James Clarke <jrtc27@jrtc27.com>
225
226 PR sanitizer/78992
227 * sanitizer_common/sanitizer_platform_limits_posix.h
228 (struct __sanitizer_sigaction): Cherry-pick upstream r291561.
229
11bbe995
MO
2302016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
231
232 * LOCAL_PATCHES: Add revision.
233
d61ed91e
MO
2342016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
235
236 PR sanitizer/78532
237 * sanitizer_common/sanitizer_platform_limits_posix.h
238 (__sanitizer_sigaction): Adjust for sparc targets and various Glibc
239 versions.
240
f4214e23
MT
2412016-11-29 Markus Trippelsdorf <markus@trippelsdorf.de>
242
243 * LOCAL_PATCHES: Remove r242480.
244
00212843
RO
2452016-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
246
247 * LOCAL_PATCHES: Add revision.
248
97448adf
RO
2492016-11-20 Jack Howarth <howarth.at.gcc@gmail.com>
250
251 PR sanitizer/78267
252 * sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
253 compiler supports blocks extension.
254
61a58d07
MT
2552016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
256
257 * LOCAL_PATCHES: Add revision.
258
8c32ae0e
MT
2592016-11-16 Markus Trippelsdorf <markus@trippelsdorf.de>
260
261 PR sanitizer/78294
262 * tsan/tsan_rtl.cc: Add missing attribute.
263
949cc52d
MO
2642016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
265
266 * LOCAL_PATCHES: New file.
267
511c8687
MO
2682016-11-16 Maxim Ostapenko <m.ostapenko@samsung.com>
269
270 PR sanitizer/78307
271 * ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
272 ( __ubsan_handle_cfi_bad_icall_abort): Likewise.
273 * ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
274 * ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
275 function.
276 (__ubsan_handle_cfi_bad_type_abort): Likewise.
277 * ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
278 (__ubsan_handle_cfi_bad_type): Export function.
279 (__ubsan_handle_cfi_bad_type_abort): Likewise.
280 * HOWTO_MERGE: Update documentation.
281
84c1b9d3
MK
2822016-11-15 Matthias Klose <doko@ubuntu.com>
283
284 * configure: Regenerate.
285
8f16b6ca
MO
2862016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
287
288 * asan/asan_globals.cc (RegisterGlobal): Do not call
289 CheckODRViolationViaPoisoning.
290 (CheckODRViolationViaPoisoning): Remove.
291
789306de
MO
2922016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
293
294 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
295 compiled code with GCC when extracting the caller PC for ARM if no
296 valid frame pointer is available.
297
fe7913f6
MO
2982016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
299
300 PR sanitizer/63958
301 Reapply:
302 2014-10-14 David S. Miller <davem@davemloft.net>
303
304 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
305 Define at __kernel_time_t, as needed for sparc.
306 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
307 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
308 (__sanitizer): Define struct___old_kernel_stat_sz,
309 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
310 (__sanitizer_ipc_perm): Adjust for sparc targets.
311 (__sanitizer_shmid_ds): Likewsie.
312 (__sanitizer_sigaction): Likewise.
313 (IOC_SIZE): Likewsie.
314
10189819
MO
3152016-11-09 Maxim Ostapenko <m.ostapenko@samsung.com>
316
317 * All source files: Merge from upstream 285547.
318 * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New
319 variable.
320 * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it.
321 * asan/Makefile.am (asan_files): Add new files.
322 * asan/Makefile.in: Regenerate.
323 * ubsan/Makefile.in: Likewise.
324 * lsan/Makefile.in: Likewise.
325 * tsan/Makefile.am (tsan_files): Add new files.
326 * tsan/Makefile.in: Regenerate.
327 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
328 (EXTRA_libsanitizer_common_la_SOURCES): Define.
329 (libsanitizer_common_la_LIBADD): Likewise.
330 (libsanitizer_common_la_DEPENDENCIES): Likewise.
331 * sanitizer_common/Makefile.in: Regenerate.
332 * interception/Makefile.in: Likewise.
333 * libbacktace/Makefile.in: Likewise.
334 * Makefile.in: Likewise.
335 * configure: Likewise.
336 * merge.sh: Handle builtins/assembly.h merging.
337 * builtins/assembly.h: New file.
338 * asan/libtool-version: Bump the libasan SONAME.
339
aef6a97c
JJ
3402016-09-21 Jakub Jelinek <jakub@redhat.com>
341
342 PR sanitizer/77567
343 * asan/asan_new_delete.cc: Cherry-pick upstream r282019.
344
0ce48391
JJ
3452016-09-05 Jakub Jelinek <jakub@redhat.com>
346
347 PR sanitizer/77396
348 * asan/asan_globals.cc: Cherry-pick upstream r280657.
349
e23a7a99
JJ
3502016-08-12 Jakub Jelinek <jakub@redhat.com>
351
352 PR sanitizer/71042
353 * tsan/tsan_platform_linux.cc: Cherry-pick upstream r278292.
354 * tsan/tsan_rtl_aarch64.S: Likewise.
355
aa00995c
AM
3562016-07-23 Alan Modra <amodra@gmail.com>
357
358 Revert 2015-11-09 Alan Modra <amodra@gmail.com>
359 * configure.ac: Don't substitute OBSTACK_DEFS.
360 * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS.
361 * tsan/Makefile.am: Likewise.
362 * configure: Regenerate.
363 * Makefile.in: Regenerate.
364 * asan/Makefile.in: Regenerate.
365 * interception/Makefile.in: Regenerate.
366 * libbacktrace/Makefile.in: Regenerate.
367 * lsan/Makefile.in: Regenerate.
368 * sanitizer_common/Makefile.in: Regenerate.
369 * tsan/Makefile.in: Regenerate.
370 * ubsan/Makefile.in: Regenerate.
371
69af4eec
JJ
3722016-05-17 Jakub Jelinek <jakub@redhat.com>
373
374 PR sanitizer/71160
375 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395
376 and r269633.
377
fefddbef
MO
3782016-04-21 Maxim Ostapenko <m.ostapenko@samsung.com>
379
380 PR sanitizer/70624
381 * asan/asan_mac.cc: Cherry pick upstream r266868.
382
e4729419
JJ
3832016-01-19 Jakub Jelinek <jakub@redhat.com>
384
385 PR sanitizer/68824
386 * tsan/tsan_interceptors.cc (NEED_TLS_GET_ADDR, __tls_get_addr,
387 InitializeInterceptors): Cherry pick upstream r258119.
388
bf93d543
AT
3892016-01-14 Andreas Tobler <andreast@gcc.gnu.org>
390
391 * configure.ac: Replace the hard-coded -ldl requirement for
392 link_sanitizer_common with a configure time check for -ldl.
393 * configure: Regenerate.
394
9211bbb2
MO
3952015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
396
397 * include/system/linux/asm/ptrace.h: Move to ...
398 * include/system/asm/ptrace.h: ... this.
399
664dd3cf
MO
4002015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
401
402 * include/system/linux/asm/ptrace.h: New header.
403
55aea9f5
MO
4042015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
405
406 * All source files: Merge from upstream r253555.
407 * configure.tgt: Enable LSan on aarch64-*-linux* targets. Add new
408 dependences for TSan for aarch64-*-linux* targets.
409 * tsan/Makefile.am: Add new source files.
410 * configure: Regenerate.
411 * tsan/Makefile.in: Likewise.
412
62c0f0a6
AM
4132015-11-09 Alan Modra <amodra@gmail.com>
414
415 * sanitizer_common/sanitizer_common_interceptors.inc: Update size
416 params for _obstack_begin_1, _obstack_begin, _obstack_newchunk
417 interceptors.
418 * configure.ac: Substitute OBSTACK_DEFS.
419 * asan/Makefile.am: Add OBSTACK_DEFS to DEFS.
420 * tsan/Makefile.am: Likewise.
421 * configure: Regenerate.
422 * Makefile.in: Regenerate.
423 * asan/Makefile.in: Regenerate.
424 * interception/Makefile.in: Regenerate.
425 * libbacktrace/Makefile.in: Regenerate.
426 * lsan/Makefile.in: Regenerate.
427 * sanitizer_common/Makefile.in: Regenerate.
428 * tsan/Makefile.in: Regenerate.
429 * ubsan/Makefile.in: Regenerate.
430
692b1131
MO
4312015-10-22 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
432
433 PR bootstrap/68041
434 * configure.ac (link_sanitizer_common): Link against librt only if it
435 contains shm_open, required by sanitizers.
436 (CXX_ABI_NEEDED): Remove variable.
437 * configure: Regenerate.
438 * ubsan/Makefile.am (libubsan_la_LIBADD): Do not add -lc++abi anymore.
439 * ubsan/Makefile.in: Regenerate.
440
7047bc9c
MO
4412015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
442
443 * HOWTO_MERGE: New file.
444
21d61063
MO
4452015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
446
447 * sanitizer_common/sanitizer_stacktrace.cc (GetCanonicFrame): Assume we
448 compiled code with GCC when extracting the caller PC for ARM if no
449 valid frame pointer is available.
450
15ebe1fe
MO
4512015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
452
453 PR bootstrap/63888
454 Reapply:
455 2015-02-20 Jakub Jelinek <jakub@redhat.com>
456
457 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
458 support until it is rewritten upstream.
459
460 * c-c++-common/asan/pr63888.c: New test.
461
0d57d3e0
MO
4622015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
463
464 PR sanitizer/63958
465 Reapply:
466 2014-10-14 David S. Miller <davem@davemloft.net>
467
468 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
469 Define at __kernel_time_t, as needed for sparc.
470 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
471 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
472 (__sanitizer): Define struct___old_kernel_stat_sz,
473 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
474 (__sanitizer_ipc_perm): Adjust for sparc targets.
475 (__sanitizer_shmid_ds): Likewsie.
476 (__sanitizer_sigaction): Likewise.
477 (IOC_SIZE): Likewsie.
478
696d846a
MO
4792015-10-21 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
480
481 * All source files: Merge from upstream r250806.
482 * configure.ac (link_sanitizer_common): Add -lrt flag.
483 * configure.tgt: Enable TSAN and LSAN for aarch64-linux targets.
484 Set USE_CXX_ABI_FLAG=true for darwin.
485 * asan/Makefile.am (asan_files): Add new files.
486 (DEFS): Add DCAN_SANITIZE_UB=0 and remove unused and legacy
487 DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0.
488 * asan/Makefile.in: Regenerate.
489 * ubsan/Makefile.am (ubsan_files): Add new files.
490 (DEFS): Add DCAN_SANITIZE_UB=1.
491 (libubsan_la_LIBADD): Add -lc++abi if USE_CXX_ABI_FLAG is true.
492 * ubsan/Makefile.in: Regenerate.
493 * tsan/Makefile.am (tsan_files): Add new files.
494 (DEFS): Add DCAN_SANITIZE_UB=0.
495 * tsan/Makefile.in: Regenerate.
496 * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files.
497 * sanitizer_common/Makefile.in: Regenerate.
498 * asan/libtool-version: Bump the libasan SONAME.
499
1842a04c
MT
5002015-09-09 Markus Trippelsdorf <markus@trippelsdorf.de>
501
502 PR sanitizer/67258
503 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r244101.
504
97d8f801
MT
5052015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de>
506
507 PR sanitizer/63927
508 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder
509 for PowerPC.
510
3d61d875
BS
5112015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
512
513 PR sanitizer/63927
514 * sanitizer_common/sanitizer_stacktrace.cc
515 (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to
516 find the link register at an offset of 16 from the base of the
517 caller's stack frame.
518
f3915b42
MH
5192015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
520
521 * Makefile.in: Regenerated with automake-1.11.6.
522 * aclocal.m4: Likewise.
523 * asan/Makefile.in: Likewise.
524 * configure: Likewise.
525 * interception/Makefile.in: Likewise.
526 * libbacktrace/Makefile.in: Likewise.
527 * lsan/Makefile.in: Likewise.
528 * sanitizer_common/Makefile.in: Likewise.
529 * tsan/Makefile.in: Likewise.
530 * ubsan/Makefile.in: Likewise.
531
d041a6fc
YG
5322015-04-13 Yury Gribov <y.gribov@samsung.com>
533
534 PR sanitizer/64839
535 * sanitizer_common/sanitizer_platform.h: Cherry pick
536 upstream r234470.
537 * sanitizer_common/sanitizer_platform_limits_posix.cc: Ditto.
538 * configure.ac (RPC_DEFS): Check for precense of RPC headers.
539 * sanitizer_common/Makefile.am (DEFS): Pass info to compiler.
540 * Makefile.in: Regenerate.
541 * asan/Makefile.in: Regenerate.
542 * config.h.in: Regenerate.
543 * configure: Regenerate.
544 * interception/Makefile.in: Regenerate.
545 * libbacktrace/Makefile.in: Regenerate.
546 * lsan/Makefile.in: Regenerate.
547 * sanitizer_common/Makefile.in: Regenerate.
548 * tsan/Makefile.in: Regenerate.
549 * ubsan/Makefile.in: Regenerate.
550
551
d886f7cc
CL
5522015-03-23 Christophe Lyon <christophe.lyon@linaro.org>
553
554 PR sanitizer/59009
555 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
556 upstream r230324.
557 * sanitizer_common/sanitizer_platform.h: Likewise.
558 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
559
563fb64a
BE
5602015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
561
562 * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
563 upstream 224508 and 224755.
564
ee876e59
JJ
5652015-03-09 Jakub Jelinek <jakub@redhat.com>
566
567 PR sanitizer/63958
568 Reapply:
569 2014-10-14 David S. Miller <davem@davemloft.net>
570
571 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
572 Define at __kernel_time_t, as needed for sparc.
573 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
574 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
575 (__sanitizer): Define struct___old_kernel_stat_sz,
576 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
577 (__sanitizer_ipc_perm): Adjust for sparc targets.
578 (__sanitizer_shmid_ds): Likewsie.
579 (__sanitizer_sigaction): Likewise.
580 (IOC_SIZE): Likewsie.
581
6ad0611b
PB
5822015-02-27 Peter Bergner <bergner@vnet.ibm.com>
583
584 * configure.tgt: Enable build on powerpc*le-*-linux.
585
09901e8a 5862015-02-23 Jakub Jelinek <jakub@redhat.com>
86ee2038
JJ
587
588 PR bootstrap/63888
589 * asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
590 support until it is rewritten upstream.
591
94213c10
MK
5922015-01-26 Matthias Klose <doko@ubuntu.com>
593
594 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
595 * configure: Regenerate.
596
8790f572
VK
5972015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
598
94213c10 599 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine.
8790f572 600 * configure: Regenerate.
94213c10 601 * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
8790f572 602
b0edd457
VK
6032015-01-25 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
604
605 * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define.
606 * configure: Regenerate.
607 * tsan/Makefile.am (EXTRA_libtsan_la_SOURCES): Define.
608 (libtsan_la_DEPENDENCIES): Likewise.
609 * Makefile.in: Regenerate.
610 * asan/Makefile.in: Regenerate.
611 * interception/Makefile.in: Regenerate.
612 * libbacktrace/Makefile.in: Regenerate.
613 * lsan/Makefile.in: Regenerate.
614 * sanitizer_common/Makefile.in: Regenerate.
615 * tsan/Makefile.in: Regenerate.
616 * ubsan/Makefile.in: Regenerate.
617
19ac475f
JJ
6182015-01-22 Jakub Jelinek <jakub@redhat.com>
619
620 * tsan/tsan_rtl.h: Cherry pick upstream r226829.
621
8b08ef25
JJ
6222015-01-21 Jakub Jelinek <jakub@redhat.com>
623
624 PR sanitizer/64435
625 * sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
626 upstream r226637.
627 * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
628 * sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
629
3ea36418
JJ
6302015-01-20 Jakub Jelinek <jakub@redhat.com>
631
632 PR sanitizer/64632
633 * ubsan/ubsan_type_hash.cc: Cherry pick upstream r224972.
634
9deaf59d
JJ
6352015-01-19 Jakub Jelinek <jakub@redhat.com>
636
637 PR sanitizer/64435
638 * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
639 upstream r223925.
640
b6a8bacc
JJ
6412015-01-13 Jakub Jelinek <jakub@redhat.com>
642
643 * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
644 upstream r224518 and r224519.
645 * tsan/tsan_rtl_thread.cc: Cherry pick upstream r224702 and
646 r224834.
647
f2798565
JJ
6482014-12-16 Jakub Jelinek <jakub@redhat.com>
649
650 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc,
651 sanitizer_common/sanitizer_symbolizer_libbacktrace.h,
652 sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc: Cherry pick
653 upstream r224308.
654
a699d672
L
6552014-11-21 H.J. Lu <hongjiu.lu@intel.com>
656
657 PR bootstrap/63784
658 * configure: Regenerated.
659
7697b16f
JJ
6602014-11-21 Jakub Jelinek <jakub@redhat.com>
661
662 PR target/61137
663 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
664 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
665
7f201a67
UB
6662014-11-14 Uros Bizjak <ubizjak@gmail.com>
667
668 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Use -std=gnu++11.
669 * asan/Makefile.am (AM_CXXFLAGS): Ditto.
670 * lsan/Makefile.am (AM_CXXFLAGS): Ditto.
671 * interception/Makefile.am (AM_CXXFLAGS): Ditto.
672 * tsan/Makefile.am (AM_CXXFLAGS): Ditto.
673 * libbacktrace/Makefile.am (AM_CXXFLAGS): Ditto.
674 * ubsan/Makefile.am (AM_CXXFLAGS): Ditto.
675 * sanitizer_common/Makefile.in: Regenerate.
676 * asan/Makefile.in: Ditto.
677 * lsan/Makefile.in: Ditto.
678 * interception/Makefile.in: Ditto.
679 * tsan/Makefile.in: Ditto.
680 * libbacktrace/Makefile.in: Ditto.
681 * ubsan/Makefile.in: Ditto.
682
c5be964a
KS
6832014-11-13 Kostya Serebryany <kcc@google.com>
684
685 * All source files: Merge from upstream r221802.
686 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
687 (LibbacktraceSymbolizer::SymbolizeData): Replace 'address'
688 with 'start' to follow the new interface.
689 * asan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
690 * interception/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
691 * libbacktrace/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
692 * lsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
693 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
694 files.
695 (AM_CXXFLAGS): Added -std=c++11.
696 * tsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
697 * ubsan/Makefile.am (AM_CXXFLAGS): Added -std=c++11.
698 * asan/Makefile.in: Regenerate.
699 * interception/Makefile.in: Regenerate.
700 * libbacktrace/Makefile.in: Regenerate.
701 * lsan/Makefile.in: Regenerate.
702 * sanitizer_common/Makefile.in: Regenerate.
703 * tsan/Makefile.in: Regenerate.
704 * ubsan/Makefile.in: Regenerate.
705
ebf6d33b
FXC
7062014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
707
708 PR target/63610
709 * configure: Regenerate.
710
d13fc1ed
ML
7112014-10-16 Martin Liska <mliska@suse.cz>
712
713 * asan/Makefile.am: IPA ICF pass is disabled.
714 * asan/Makefile.in: Likewise.
715
c8473336
DM
7162014-10-14 David S. Miller <davem@davemloft.net>
717
718 * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
719 Define at __kernel_time_t, as needed for sparc.
720 (struct __old_kernel_stat): Don't check if __sparc__ is defined.
721 * libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
722 (__sanitizer): Define struct___old_kernel_stat_sz,
723 struct_kernel_stat_sz, and struct_kernel_stat64_sz for sparc.
724 (__sanitizer_ipc_perm): Adjust for sparc targets.
725 (__sanitizer_shmid_ds): Likewsie.
726 (__sanitizer_sigaction): Likewsie.
727 (IOC_SIZE): Likewsie.
728
694b4cfa
JJ
7292014-10-14 Jakub Jelinek <jakub@redhat.com>
730
731 * ubsan/Makefile.am (DEFS): Add -DPIC.
732 * ubsan/Makefile.in: Regenerated.
733
a3125fc2
CL
7342014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
735
736 * configure.tgt: Enable build on aarch64*-linux.
737
866e32ad
KS
7382014-09-19 Kostya Serebryany <kcc@google.com>
739
740 * All source files: Merge from upstream r218156.
741 * asan/Makefile.am (asan_files): Added new files.
742 * asan/Makefile.in: Regenerate.
743 * ubsan/Makefile.am (ubsan_files): Added new files.
744 * ubsan/Makefile.in: Regenerate.
745 * tsan/Makefile.am (tsan_files): Added new files.
746 * tsan/Makefile.in: Regenerate.
747 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
748 files.
749 * sanitizer_common/Makefile.in: Regenerate.
750 * asan/libtool-version: Bump the libasan SONAME.
751
126edc3f
JJ
7522014-09-10 Jakub Jelinek <jakub@redhat.com>
753
754 * ubsan/ubsan_handlers.cc, ubsan/ubsan_handlers.h: Cherry pick
755 upstream r215485, r217389, r217391 and r217400.
756
0d807c80
PC
7572014-06-23 Paolo Carlini <paolo.carlini@oracle.com>
758
759 * sanitizer_common/sanitizer_common_interceptors.inc:
760 Cherry pick upstream r211008.
761
4622301b
RB
7622014-06-11 Richard Biener <rguenther@suse.de>
763
764 * asan/asan_linux.cc: Cherry pick upstream r210012.
765
ecd5543f
JJ
7662014-05-30 Jakub Jelinek <jakub@redhat.com>
767
768 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
769 r209879.
770 * sanitizer_common/sanitizer_common.h: Likewise.
771 * asan/asan_mapping.h: Likewise.
772 * asan/asan_linux.cc: Likewise.
773 * tsan/tsan_mman.cc: Cherry pick upstream r209744.
774 * sanitizer_common/sanitizer_allocator.h: Likewise.
775
85a16bf8
MP
7762014-05-23 Marek Polacek <polacek@redhat.com>
777
778 * ubsan/ubsan_value.cc (getFloatValue): Handle 96-bit
779 floating-point types.
780
dee5ea7a
KS
7812014-05-22 Kostya Serebryany <kcc@google.com>
782
783 * All source files: Merge from upstream r209283.
784 * asan/Makefile.am (asan_files): Added new files.
785 * asan/Makefile.in: Regenerate.
786 * tsan/Makefile.am (tsan_files): Added new files.
787 * tsan/Makefile.in: Regenerate.
0d807c80
PC
788 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
789 files.
dee5ea7a
KS
790 * sanitizer_common/Makefile.in: Regenerate.
791
2675305b
YG
7922014-05-14 Yury Gribov <y.gribov@samsung.com>
793
794 PR sanitizer/61100
795 * Makefile.am (nodist_saninclude_HEADERS): Install
796 public headers.
797 * Makefile.in: Regenerate.
798
a6c9ab4e
RO
7992014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
800
801 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
802 Add ../../libbacktrace/sort.c.
803 * libbacktrace/Makefile.in: Regenerate.
804 * libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
805
a42a7046
BS
8062014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
807
808 * configure.tgt: Unsupported for little endian PowerPC for now.
809
5ab39ec3
JJ
8102014-02-04 Jakub Jelinek <jakub@redhat.com>
811
81c87471
JJ
812 PR sanitizer/60055
813 * tsan/tsan_flags.cc (__tsan_default_options): Add
814 SANITIZER_INTERFACE_ATTRIBUTE. Backport from upstream r200747.
815 * tsan/tsan_rtl.cc (__tsan::OnFinalize): Likewise.
816
5ab39ec3
JJ
817 PR sanitizer/60038
818 * sanitizer_common/sanitizer_linux_libcdep.cc: Include
819 sanitizer_atomic.h and unistd.h.
820 (kThreadDescriptorSize): Made static, remove initializer and const,
821 change type to atomic_uintptr_t.
822 (ThreadDescriptorSize): Use confstr(_CS_GNU_LIBC_VERSION, ...) to
823 query glibc version, compute kThreadDescriptorSize depending on
824 glibc version minor number.
825 (GetThreadStackAndTls): Use ThreadDescriptorSize() instead of
826 kThreadDescriptorSize directly.
827
4a7eaf5f
YG
8282014-01-23 Yury Gribov <y.gribov@samsung.com>
829 Jakub Jelinek <jakub@redhat.com>
830
831 PR sanitizer/57316
832 * configure.ac: Check for missing syscalls.
833 * Makefile.am: Likewise.
834 * configure: Regenerate.
835 * Makefile.in: Regenerate.
836
2613419a
JJ
8372014-01-09 Jakub Jelinek <jakub@redhat.com>
838
b5f58ba3
JJ
839 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
840 (LibbacktraceSymbolizer::Demangle): New declaration.
841 * sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
842 (POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
843 method if possible.
844 * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
845 "demangle.h" if SANITIZE_CP_DEMANGLE is defined.
846 (struct CplusV3DemangleData): New type.
847 (CplusV3DemangleCallback, CplusV3Demangle): New functions.
848 (SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
849 SymbolizeDataCallback): Use CplusV3Demangle.
850 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
851 -DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
852 * libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
853 cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
854 cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
855 cplus_demangle_init_info, cplus_demangle_mangled_name,
856 cplus_demangle_operators, cplus_demangle_print,
857 cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
858 cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
859 is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
860 Define.
861 (__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
862 (memcmp, strncmp): Redefine.
863 * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
864 ../../libiberty/cp-demangle.c.
865 * libbacktrace/bridge.cc (__asan_internal_memcmp,
866 __asan_internal_strncmp): New functions.
867 * sanitizer_common/Makefile.in: Regenerated.
868 * libbacktrace/Makefile.in: Regenerated.
869 * configure: Regenerated.
870 * configure.ac: Regenerated.
871 * config.h.in: Regenerated.
872
2613419a
JJ
873 * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
874 -isystem $(top_srcdir)/include/system.
875 * sanitizer_common/Makefile.in: Regenerated.
876 * include/system/linux/aio_abi.h: New header.
877 * include/system/linux/mroute.h: New header.
878 * include/system/linux/mroute6.h: New header.
879 * include/system/linux/perf_event.h: New header.
880 * include/system/linux/types.h: New header.
c915a581
JJ
881
882 PR sanitizer/59136
883 * sanitizer_common/Makefile.am (AM_CXXFLAGS): If
884 LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
885 and -I/-include flags.
886 * lsan/Makefile.am (liblsan_la_LIBADD): Add
887 libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
888 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
889 * ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
890 * asan/Makefile.am (libasan_la_LIBADD): Likewise.
891 * Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
892 libbacktrace.
893 * README.gcc: Document that also lsan and ubsan are
894 maintained in compiler-rt upstream.
895 * libbacktrace/Makefile.am: New file.
896 * libbacktrace/backtrace-rename.h: New file.
897 * libbacktrace/backtrace-supported.h.in: New file.
898 * libbacktrace/bridge.cc: New file.
899 * configure.ac: Add tests needed for libbacktrace build
900 within libsanitizer.
901 * sanitizer_common/Makefile.in: Regenerated.
902 * lsan/Makefile.in: Regenerated.
903 * tsan/Makefile.in: Regenerated.
904 * ubsan/Makefile.in: Regenerated.
905 * libbacktrace/Makefile.in: Generated.
906 * config.h.in: Regenerated.
907 * configure: Regenerated.
908 * Makefile.in: Regenerated.
909 * interception/Makefile.in: Regenerated.
910 * asan/Makefile.in: Regenerated.
911 * aclocal.m4: Regenerated.
912
409f3b46
KS
9132013-12-19 Kostya Serebryany <kcc@google.com>
914
915 * sanitizer_common/sanitizer_platform_limits_posix.cc:
916 workaround for missing definition of EOWNERDEAD, backport
917 from upstream r196779.
918
079db27b
L
9192013-12-06 H.J. Lu <hongjiu.lu@intel.com>
920
921 * sanitizer_common/sanitizer_platform_limits_posix.h
922 (__sanitizer_shmid_ds): Use u64 on time fields for x32.
923 (__sanitizer_clock_t): Use long long for x32.
924
7efb96c0
L
9252013-12-06 H.J. Lu <hongjiu.lu@intel.com>
926
927 * sanitizer_common/sanitizer_platform_limits_linux.cc: Include
928 <sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
929 (struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
930
df9d1700
L
9312013-12-05 H.J. Lu <hongjiu.lu@intel.com>
932
933 * configure.ac (link_sanitizer_common): Add -lm.
934 * configure: Regenerated.
935
c4c16f74
KS
9362013-12-05 Kostya Serebryany <kcc@google.com>
937
938 * All source files: Merge from upstream r196489.
939 * merge.sh: Add *.S to the list of merged files.
940
666ee4d6
YG
9412013-12-05 Yury Gribov <y.gribov@samsung.com>
942
943 PR sanitizer/59368
944 * Makefile.am (gcc_version): Added gcc_version.
945 * Makefile.in: Regenerate.
946
df77f0e4
KS
9472013-12-05 Kostya Serebryany <kcc@google.com>
948
949 * All source files: Merge from upstream r196090.
950 * tsan/Makefile.am (tsan_files): Added new files.
951 * tsan/Makefile.in: Regenerate.
952 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
953 * sanitizer_common/Makefile.in: Regenerate.
954 * lsan/Makefile.am (lsan_files): Added new files.
955 * lsan/Makefile.in: Regenerate.
956
35814b03
JJ
9572013-11-29 Jakub Jelinek <jakub@redhat.com>
958 Yury Gribov <y.gribov@samsung.com>
959
960 PR sanitizer/59063
961 * libsanitizer.spec.in: Add spec file to hold link flags for
962 various sanitizer libs.
963 * configure.ac: Check whether clock_* routines come from librt.
964 * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from
965 configure.ac.
966 * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise.
967 * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise.
968 * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise.
969 * asan/Makefile.in: Regenerate.
970 * interception/Makefile.in: Regenerate.
971 * lsan/Makefile.in: Regenerate.
972 * sanitizer_common/Makefile.in: Regenerate.
973 * tsan/Makefile.in: Regenerate.
974 * ubsan/Makefile.in: Regenerate.
975 * Makefile.in: Regenerate.
976 * configure: Regenerate.
977
049558ed
JJ
9782013-11-28 Jakub Jelinek <jakub@redhat.com>
979 Yury Gribov <y.gribov@samsung.com>
980
981 PR sanitizer/59106
982 * ubsan/Makefile.am (AM_CXXFLAGS): Disable -frtti for files that
983 don't need it.
984 * ubsan/Makefile.in: Regenerated.
985
9065ada9
JJ
9862013-11-22 Jakub Jelinek <jakub@redhat.com>
987
988 PR sanitizer/59061
989 * configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
990 * configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
991 * configure: Regenerated.
992 * lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
993 liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
994 * lsan/Makefile.in: Regenerated.
995
486294d4
MS
9962013-11-22 Mike Stump <mikestump@comcast.net>
997
998 * sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
999 change from upstream to fix build.
1000
2621c860
YG
10012013-11-18 Yury Gribov <y.gribov@samsung.com>
1002
1003 PR sanitizer/59106
1004 * asan/Makefile.am (AM_CXXFLAGS): Add -fno-rtti.
1005 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1006 * lsan/Makefile.am (AM_CXXFLAGS): Likewise.
1007 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Likewise.
1008 * tsan/Makefile.am (AM_CXXFLAGS): Likewise.
1009 * asan/Makefile.in: Regenerate.
1010 * interception/Makefile.in: Regenerate.
1011 * tsan/Makefile.in: Regenerate.
1012 * lsan/Makefile.in: Regenerate.
1013 * sanitizer_common/Makefile.in: Regenerate.
1014
c8e1377b
KS
10152013-11-15 Kostya Serebryany <kcc@google.com>
1016
1017 PR sanitizer/58994
1018 Backport from upstream revision 194573
1019 * asan/asan_interceptors.cc (COMMON_INTERCEPTOR_ENTER): Fall
1020 back to the original functions in the common libsanitizer
1021 interceptors and the __cxa_atexit() interceptor on Darwin.
1022
c3d77f3a
PB
10232013-11-13 Peter Bergner <bergner@vnet.ibm.com>
1024
1025 PR sanitizer/59009
1026 * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
1027 ifdef out more source.
1028
d00106f4
JJ
10292013-11-12 Jakub Jelinek <jakub@redhat.com>
1030
1031 * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
1032 ifdef out almost the whole source.
1033 * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
1034
e276866f
L
10352013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1036
1037 PR sanitizer/59018
1038 * sanitizer_common/sanitizer_platform_limits_posix.cc
1039 (struct_user_fpxregs_struct_sz): Initialize to 0 if __x86_64__ is
1040 defined.
1041
f5c36cfc
L
10422013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 PR sanitizer/59018
1045 * sanitizer_common/sanitizer_platform_limits_linux.cc
1046 (struct_kernel_stat64_sz): Initialize to 0 if __x86_64__ is
1047 defined.
1048 * sanitizer_common/sanitizer_platform_limits_posix.h
1049 (__sanitizer_dirent): Use 64-bit d_ino/d_off if __x86_64__ is
1050 defined.
1051 (__sanitizer___kernel_uid_t): Typedef as unsigned if __x86_64__
1052 is defined.
1053 (__sanitizer___kernel_gid_t): Likewise.
1054 (__sanitizer___kernel_off_t): Typedef as long long if __x86_64__
1055 is defined.
1056
e45de14e
L
10572013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1058
1059 PR sanitizer/59018
1060 * sanitizer_common/sanitizer_linux.cc (internal_clone): Allocate
1061 2 64-bit integers to save and restore fn and arg. Properly load
1062 newtls/child_tidptr into r8/r10.
1063
38693e39
L
10642013-11-05 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 PR sanitizer/59018
1067 * sanitizer_common/sanitizer_linux.cc (internal_mmap,
1068 internal_munmap, internal_open, internal_read, internal_write,
1069 internal_stat, internal_lstat, internal_fstat, internal_readlink,
1070 internal_unlink, internal_execve, NanoTime, BlockingMutex::Lock,
1071 BlockingMutex::Unlock, internal_ptrace, internal_getdents,
1072 internal_sigaltstack): Cast pointers to uptr for 64-bit syscalls.
1073
ef1b3fda
KS
10742013-11-04 Kostya Serebryany <kcc@google.com>
1075
1076 * All source files: Merge from upstream r191666.
1077 * merge.sh: Added lsan.
1078 * configure.ac (AC_CONFIG_FILES): Added lsan.
1079 * Makefile.am (SUBDIRS): Added lsan.
1080 * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
1081 * asan/Makefile.am (asan_files): Added new files.
1082 (libasan_la_LIBADD): Added a dependency on lsan.
1083 * lsan/Makefile.am: New file.
1084 * asan/Makefile.in: Regenerate.
1085 * lsan/Makefile.in: Regenerate.
1086 * Makefile.in: Regenerate.
1087 * configure: Regenerate.
1088 * sanitizer_common/Makefile.in: Regenerate.
1089
3cbe17f7
AM
10902013-09-20 Alan Modra <amodra@gmail.com>
1091
1092 * configure: Regenerate.
1093
0cea211e
IS
10942013-09-01 Iain Sandoe <iain@codesourcery.com>
1095
1096 * ubsan/Makefile.am (libubsan_la_LIBADD): Revise to omit
1097 libinterception.la for Darwin.
1098 * ubsan/Makefile.in: Regenerate.
1099
de5a5fa1
MP
11002013-08-30 Jakub Jelinek <jakub@redhat.com>
1101
1102 * Makefile.am (SUBDIRS): Add ubsan.
1103 * configure.ac (AC_CONFIG_FILES): Add ubsan/Makefile.
1104 * merge.sh: Merge ubsan.
1105 * sanitizer_common/sanitizer_report_decorator.h: Partial merge from trunk.
1106 * sanitizer_common/sanitizer_printf.cc: Likewise.
1107 * sanitizer_common/sanitizer_common.h: Likewise.
1108 * ubsan: New directory. Import ubsan runtime from llvm.
1109
634cfa2b
CL
11102013-06-03 Christophe Lyon <christophe.lyon@linaro.org>
1111
1112 * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
1113 Cherry pick upstream r182922.
1114
8a5800b8
CL
11152013-05-07 Christophe Lyon <christophe.lyon@linaro.org>
1116
1117 * configure.tgt: Add ARM pattern.
1118
a745e444 11192013-03-22 Jakub Jelinek <jakub@redhat.com>
1868beee
JJ
1120
1121 PR other/43620
1122 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1123 * Makefile.in: Regenerated.
1124 * asan/Makefile.in: Regenerated.
1125 * interception/Makefile.in: Regenerated.
1126 * sanitizer_common/Makefile.in: Regenerated.
1127 * tsan/Makefile.in: Regenerated.
1128
4c376126
JJ
11292013-02-28 Jakub Jelinek <jakub@redhat.com>
1130
1131 * asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
1132 * asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
1133 0x4fffffffffULL.
1134
7d613735
JJ
11352013-02-22 Jakub Jelinek <jakub@redhat.com>
1136
1137 PR sanitizer/56393
1138 * asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
1139 libasan_preinit.o.
1140 (libasan_preinit.o): Depend on asan_preinit.o.
1141 * asan/Makefile.in: Regenerated.
1142 * asan/asan_preinit.cc: New file, synced from upstream.
1143 * asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.
1144
ecdbd01a 11452013-02-21 Jack Howarth <howarth@bromo.med.uc.edu>
304886c5
JH
1146
1147 * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
1148 dynamic/asan_interceptors_dynamic.cc.
1149 * asan/Makefile.in: Regenerated.
1150 * merge.sh: Remove merge of deprecated lib/asan/dynamic.
1151
4be7da26
JJ
11522013-02-21 Jakub Jelinek <jakub@redhat.com>
1153
1154 * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
1155 defined. Add used attribute.
1156
7df59255
KS
11572013-02-21 Kostya Serebryany <kcc@google.com>
1158
1159 * All source files: Merge from upstream r175733.
1160 * sanitizer_common/Makefile.am: Added a new file.
1161 * sanitizer_common/Makefile.in: Regenerated.
1162
8afd2ed7
L
11632013-02-14 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 PR bootstrap/56327
1166 * interception/interception.h (OFF_T): Merged from upstream
1167 r175140.
1168
6422242b
JJ
11692013-02-13 Jakub Jelinek <jakub@redhat.com>
1170
1171 * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
1172
b4ab7d34
KS
11732013-02-13 Kostya Serebryany <kcc@google.com>
1174
8afd2ed7 1175 PR sanitizer/56128
b4ab7d34
KS
1176 * All source files: Merge from upstream r175049.
1177 * interception/Makefile.am: added include path.
1178 * interception/Makefile.in: Regenerated.
1179
34dc17ed
JH
11802013-02-11 Jack Howarth <howarth@bromo.med.uc.edu>
1181
1182 * configure.tgt: Disable build on darwin9 and earlier.
1183
2660d12d
KS
11842013-01-23 Kostya Serebryany <kcc@google.com>
1185
8afd2ed7 1186 PR sanitizer/55989
2660d12d
KS
1187 * All source files: Merge from upstream r173241.
1188 * merge.sh: Support merging .inc files.
1189
19006c45
JJ
11902013-01-16 Jakub Jelinek <jakub@redhat.com>
1191
1192 * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
1193 -Wno-c99-extensions.
1194 * interception/Makefile.am (AM_CXXFLAGS): Likewise.
1195 * asan/Makefile.am (AM_CXXFLAGS): Likewise.
1196 * sanitizer_common/Makefile.in: Regenerated.
1197 * interception/Makefile.in: Regenerated.
1198 * asan/Makefile.in: Regenerated.
1199
edadb734
WM
12002013-01-10 Wei Mi <wmi@google.com>
1201
1202 PR sanitizer/55488
1203 * tsan/Makefile.am: Add tsan_rtl_amd64.S.
1204 * tsan/Makefile.in: Regenerated.
1205 * tsan/tsan_rtl.h: Enable HACKY_CALL.
1206
e9772e16
KS
12072013-01-10 Kostya Serebryany <kcc@google.com>
1208
1209 * All source files: Merge from upstream r171973.
1210 * sanitizer_common/Makefile.am: Added new files.
1211 * asan/Makefile.am: Likewise.
1212 * tsan/Makefile.am: Likewise.
1213 * sanitizer_common/Makefile.in: Regenerated.
1214 * asan/Makefile.in: Likewise.
1215 * tsan/Makefile.in: Likewise.
1216
7f7162cf
L
12172013-01-07 H.J. Lu <hongjiu.lu@intel.com>
1218
1219 * asan/Makefile.am (libasan_la_LIBADD): Replace
1220 LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
1221 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1222 * Makefile.in: Regenerated.
1223 * configure: Likewise.
1224 * asan/Makefile.in: Likewise.
1225 * interception/Makefile.in: Likewise.
1226 * sanitizer_common/Makefile.in: Likewise.
1227 * tsan/Makefile.in: Likewise.
1228
b488a2c7
L
12292012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1230
1231 * Makefile.am (AM_MAKEFLAGS): Restored.
1232 * interception/Makefile.am: Likewise.
1233 * sanitizer_common/Makefile.am: Likewise.
1234 * tsan/Makefile.am: Likewise.
1235 * Makefile.in: Regenerated.
1236 * asan/Makefile.in: Likewise.
1237 * interception/Makefile.in: Likewise.
1238 * sanitizer_common/Makefile.in: Likewise.
1239 * tsan/Makefile.in: Likewise.
1240
e8adb21b
L
12412012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 * Makefile.am (MAKEOVERRIDES): Restored.
1244 * asan/Makefile.am: Likewise.
1245 * interception/Makefile.am: Likewise.
1246 * sanitizer_common/Makefile.am: Likewise.
1247 * tsan/Makefile.am: Likewise.
1248 * Makefile.in: Regenerated.
1249 * asan/Makefile.in: Likewise.
1250 * interception/Makefile.in: Likewise.
1251 * sanitizer_common/Makefile.in: Likewise.
1252 * tsan/Makefile.in: Likewise.
1253
e1e953d9
L
12542012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1255
1256 * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
1257 * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
1258 * Makefile.in: Regenerated.
1259 * configure: Likewise.
1260 * asan/Makefile.in: Likewise.
1261 * interception/Makefile.in: Likewise.
1262 * sanitizer_common/Makefile.in: Likewise.
1263 * tsan/Makefile.in: Likewise.
1264
a62d3903
L
12652012-12-12 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 * Makefile.am (AM_MAKEFLAGS): Removed.
1268 (MAKEOVERRIDES): Likewise.
1269 * asan/Makefile.am: Likewise.
1270 * interception/Makefile.am: Likewise.
1271 * sanitizer_common/Makefile.am: Likewise.
1272 * tsan/Makefile.am: Likewise.
1273 * Makefile.in: Regenerated.
1274 * asan/Makefile.in: Likewise.
1275 * interception/Makefile.in: Likewise.
1276 * sanitizer_common/Makefile.in: Likewise.
1277 * tsan/Makefile.in: Likewise.
1278
d10a2df2
L
12792012-12-11 H.J. Lu <hongjiu.lu@intel.com>
1280
1281 PR sanitizer/55533
1282 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1283 * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
1284 * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
1285 (AM_MAKEFLAGS): Remove CC and CXX.
1286 * interception/Makefile.am: Likewise.
1287 * sanitizer_common/Makefile.am: Likewise.
1288 * tsan/Makefile.am: Likewise.
1289 * Makefile.in: Regenerated.
1290 * aclocal.m4: Likewise.
1291 * configure: Likewise.
1292 * asan/Makefile.in: Likewise.
1293 * interception/Makefile.in: Likewise.
1294 * sanitizer_common/Makefile.in: Likewise.
1295 * tsan/Makefile.in: Likewise.
1296
957fee09
PB
12972012-12-06 Peter Bergner <bergner@vnet.ibm.com>
1298
1299 * configure.tgt: Enable build on powerpc*-linux.
1300
ecdbd01a 13012012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
3157880f
JH
1302
1303 PR 55599/sanitizer
d10a2df2
L
1304 * configure.ac: Set enable_static=no on darwin.
1305 * configure: Regenerated.
3157880f 1306
695edbac
KS
13072012-12-06 Kostya Serebryany <kcc@google.com>
1308
1309 * All files: Merge from upstream r169392.
1310
a0408454
KS
13112012-12-05 Kostya Serebryany <kcc@google.com>
1312
1313 * All files: Merge from upstream r169371.
1314
41d37c56 13152012-12-04 Kostya Serebryany <kcc@google.com>
ecdbd01a 1316 Jack Howarth <howarth@bromo.med.uc.edu>
8c4d267c
KS
1317
1318 PR 55521/sanitizer
1319 * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
1320 * Makefile.am: Don't build interception subdir when
1321 USING_MAC_INTERPOSE defined.
1322 * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
1323 -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
1324 Compile asan_interceptors_dynamic.cc but not libinterception
1325 when USING_MAC_INTERPOSE defined.
1326 * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
1327 * configure: Regenerated.
1328 * Makefile.in: Likewise.
1329 * asan/Makefile.in: Likewise.
1330 * interception/Makefile.in: Likewise.
1331 * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
1332 * asan/asan_mac.cc: Likewise.
1333 * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
1334 and use MISSING_BLOCKS_SUPPORT.
1335 * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
1336 * interception/mach_override/LICENSE.txt: Remove unused file.
1337 * interception/mach_override/mach_override.c: Likewise.
1338 * interception/mach_override/mach_override.h: Likewise.
1339 * interception/mach_override: Remove unused directory.
1340
a23ed040
L
13412012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
1344 * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
1345 * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
1346 files.
1347 (AM_MAKEFLAGS): Restore CC and CXX.
1348 * interception/Makefile.am: Likewise.
1349 * sanitizer_common/Makefile.am: Likewise.
1350 * tsan/Makefile.am: Likewise.
1351 * Makefile.in: Regenerated.
1352 * aclocal.m4: Likewise.
1353 * configure: Likewise.
1354 * asan/Makefile.in: Likewise.
1355 * interception/Makefile.in: Likewise.
1356 * sanitizer_common/Makefile.in: Likewise.
1357 * tsan/Makefile.in: Likewise.
1358
2ed685b8
L
13592012-11-28 H.J. Lu <hongjiu.lu@intel.com>
1360
1361 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
1362 * configure.ac (ACX_NONCANONICAL_TARGET): New.
1363 * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
1364 files.
1365 (AM_MAKEFLAGS): Remove CC and CXX.
1366 * interception/Makefile.am: Likewise.
1367 * sanitizer_common/Makefile.am: Likewise.
1368 * tsan/Makefile.am: Likewise.
1369 * Makefile.in: Regenerated.
1370 * aclocal.m4: Likewise.
1371 * configure: Likewise.
1372 * asan/Makefile.in: Likewise.
1373 * interception/Makefile.in: Likewise.
1374 * sanitizer_common/Makefile.in: Likewise.
1375 * tsan/Makefile.in: Likewise.
1376
4ba5ca46
KS
13772012-11-27 Kostya Serebryany <kcc@google.com>
1378
1379 * All files: Merge from upstream r168699.
1380
41d37c56 13812012-11-24 Kostya Serebryany <kcc@google.com>
ecdbd01a 1382 Jack Howarth <howarth@bromo.med.uc.edu>
f246eadc
JH
1383
1384 * interception/mach_override/mach_override.c: Migrate from llvm.
1385 * interception/mach_override/mach_override.h: Likewise.
1386 * interception/mach_override/LICENSE.txt: Likewise.
1387 * configure.tgt: Add darwin to supported targets.
1388 * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
1389 * interception/Makefile.am: Compile mach_override.c when
1390 USING_MACH_OVERRIDE defined.
1391 * configure: Regenerated.
1392 * interception/Makefile.in: Likewise.
1393
9cb5411c
L
13942012-11-23 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 PR sanitizer/55450
1397 * tsan/Makefile.am (gcc_version): New.
1398 * tsan/Makefile.in: Regenerated.
1399
3409d40e 14002012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1401
e297eb60
KS
1402 * merge.sh: Support tsan, support added/removed files.
1403 * tsan/Makefile.am: Remove tsan_printf.cc.
1404 * tsan/Makefile.in: Regenerated.
1405 * other files: Merge from upstream r168514.
1406
14072012-11-23 Kostya Serebryany <kcc@google.com>
9cb5411c 1408
e297eb60 1409 * merge.sh: New file.
3409d40e 1410
64548f3b
JJ
14112012-11-23 Jakub Jelinek <jakub@redhat.com>
1412
1413 * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
1414 * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
1415 automake conditional instead of !MULTISUBDIR32.
1416 * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
1417 for 64-bit multilib.
1418 * configure.ac: Check for void * size, source in configure.tgt,
1419 define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
1420 * configure: Regenerated.
1421 * Makefile.in: Regenerated.
1422 * tsan/Makefile.in: Regenerated.
1423
cd0be65c
WM
14242012-11-22 Wei Mi <wmi@google.com>
1425
1426 * tsan: New directory. Import tsan runtime from llvm.
1427 * configure.ac: Add 64 bits tsan build.
1428 * Makefile.am: Likewise.
1429 * configure: Regenerated.
1430 * Makefile.in: Likewise.
1431
5cba83a8
KS
14322012-11-21 Kostya Serebryany <kcc@google.com>
1433
9cb5411c 1434 * README.gcc: Extend the README.gcc with mode details.
5cba83a8 1435
b014e124
KS
14362012-11-20 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1437
1438 * sanitizer_common/sanitizer_linux.cc
1439 (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
1440 (internal_mmap): Use it.
1441 (internal_filesize): Likewise.
1442
2b723e21
TT
14432012-11-16 Tom Tromey <tromey@redhat.com>
1444
1445 * configure.ac: Invoke AM_MAINTAINER_MODE.
1446 * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
1447 interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
1448
d1caed14
L
14492012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1450
1451 PR other/55333
1452 * include/sanitizer/common_interface_defs.h (uhwptr): New type
1453 for hardware pointer.
1454 * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
1455 Replace uptr with uhwptr for stack unwind.
1456
f3754998
DS
14572012-11-16 Dodji Seketeli <dodji@redhat.com>
1458
1459 * configure.tgt: Enable build on sparc linux.
1460
f64bcb29
L
14612012-11-15 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * configure.ac: Properly set MULTISUBDIR.
1464 * asan/Makefile.am (gcc_version): New.
1465 * interception/Makefile.am (gcc_version): Likewise.
1466 * sanitizer_common/Makefile.am (gcc_version): Likewise.
1467 * configure: Regenerated.
1468 * asan/Makefile.in: Likewise.
1469 * interception/Makefile.in: Likewise.
1470 * sanitizer_common/Makefile.in: Likewise.
1471
2a6346c4
L
14722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 PR other/55291
1475 * configure.ac (--enable-version-specific-runtime-libs): New option.
1476 (AC_CANONICAL_SYSTEM): New.
1477 (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
1478 (toolexecdir): Support multilib.
1479 (toolexeclibdir): Likewise.
1480 (multilib_arg): New.
1481 * Makefile.in: Regenerated.
1482 * aclocal.m4: Likewise.
1483 * configure: Likewise.
1484 * asan/Makefile.in: Likewise.
1485 * interception/Makefile.in: Likewise.
1486 * sanitizer_common/Makefile.in: Likewise.
1487
4a56a7be
L
14882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1489
1490 PR other/55292
1491 Backport from upstream revision 167883
1492 * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
1493 __x86_64__ instead of __WORDSIZE.
1494 (internal_filesize): Likwise.
1495
4053ca2c
L
14962012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1497
1498 * configure.ac (AC_CONFIG_AUX_DIR): Removed.
1499 * Makefile.in: Regenerated.
1500 * configure: Likewise.
1501
a2479b3d
L
15022012-11-13 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 PR other/55304
1505 * acinclude.m4: New file.
1506 * Makefile.am (ACLOCAL_AMFLAGS): New.
1507 * configure.ac (AC_PREREQ): Set to 2.64.
1508 (AC_CONFIG_AUX_DIR): Set to "..".
1509 * Makefile.in: Regenerated.
1510 * aclocal.m4: Likewise.
1511 * configure: Likewise.
1512 * asan/Makefile.in: Likewise.
1513 * interception/Makefile.in: Likewise.
1514 * sanitizer_common/Makefile.in: Likewise.
1515
1516 * config.guess: Removed.
1517 * config.sub: Likewise.
1518 * depcomp: Likewise.
1519 * install-sh: Likewise.
1520 * ltmain.sh: Likewise.
1521 * missing: Likewise.
1522
93bf5390
RH
15232012-11-13 Richard Henderson <rth@redhat.com>
1524
1525 * configure.tgt: New file.
1526
d2860e72
DM
15272012-11-12 David S. Miller <davem@davemloft.net>
1528
1529 * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
1530
f35db108
WM
15312012-10-29 Wei Mi <wmi@google.com>
1532
1533 Initial checkin: migrate asan runtime from llvm.