PR target/54685
[official-gcc.git] / libsanitizer / ChangeLog
blobeb6a3456e474d412cd611f20339ac32a5e044682
1 2013-02-14  H.J. Lu  <hongjiu.lu@intel.com>
3         PR bootstrap/56327
4         * interception/interception.h (OFF_T): Merged from upstream
5         r175140.
7 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
9         * asan/asan_mapping.h (SHADOW_OFFSET): Set to (1ULL << 44) on x86-64.
11 2013-02-13  Kostya Serebryany  <kcc@google.com>
13         PR sanitizer/56128
14         * All source files: Merge from upstream r175049.
15         * interception/Makefile.am: added include path.
16         * interception/Makefile.in: Regenerated.
18 2013-02-11  Jack Howarth  <howarth@bromo.med.uc.edu>
20         * configure.tgt: Disable build on darwin9 and earlier.
22 2013-01-23  Kostya Serebryany  <kcc@google.com>
24         PR sanitizer/55989
25         * All source files: Merge from upstream r173241.
26         * merge.sh: Support merging .inc files.
28 2013-01-16  Jakub Jelinek  <jakub@redhat.com>
30         * sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
31         -Wno-c99-extensions.
32         * interception/Makefile.am (AM_CXXFLAGS): Likewise.
33         * asan/Makefile.am (AM_CXXFLAGS): Likewise.
34         * sanitizer_common/Makefile.in: Regenerated.
35         * interception/Makefile.in: Regenerated.
36         * asan/Makefile.in: Regenerated.
38 2013-01-10  Wei Mi  <wmi@google.com>
40         PR sanitizer/55488
41         * tsan/Makefile.am: Add tsan_rtl_amd64.S.
42         * tsan/Makefile.in: Regenerated.
43         * tsan/tsan_rtl.h: Enable HACKY_CALL.
45 2013-01-10  Kostya Serebryany  <kcc@google.com>
47         * All source files: Merge from upstream r171973.
48         * sanitizer_common/Makefile.am: Added new files.
49         * asan/Makefile.am: Likewise.
50         * tsan/Makefile.am: Likewise.
51         * sanitizer_common/Makefile.in: Regenerated.
52         * asan/Makefile.in: Likewise.
53         * tsan/Makefile.in: Likewise.
55 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
57         * asan/Makefile.am (libasan_la_LIBADD): Replace
58         LIBSTDCXX_RAW_CXX_LDLAGS with LIBSTDCXX_RAW_CXX_LDFLAGS.
59         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
60         * Makefile.in: Regenerated.
61         * configure: Likewise.
62         * asan/Makefile.in: Likewise.
63         * interception/Makefile.in: Likewise.
64         * sanitizer_common/Makefile.in: Likewise.
65         * tsan/Makefile.in: Likewise.
67 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
69         * Makefile.am (AM_MAKEFLAGS): Restored.
70         * interception/Makefile.am: Likewise.
71         * sanitizer_common/Makefile.am: Likewise.
72         * tsan/Makefile.am: Likewise.
73         * Makefile.in: Regenerated.
74         * asan/Makefile.in: Likewise.
75         * interception/Makefile.in: Likewise.
76         * sanitizer_common/Makefile.in: Likewise.
77         * tsan/Makefile.in: Likewise.
79 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
81         * Makefile.am (MAKEOVERRIDES): Restored.
82         * asan/Makefile.am: Likewise.
83         * interception/Makefile.am: Likewise.
84         * sanitizer_common/Makefile.am: Likewise.
85         * tsan/Makefile.am: Likewise.
86         * Makefile.in: Regenerated.
87         * asan/Makefile.in: Likewise.
88         * interception/Makefile.in: Likewise.
89         * sanitizer_common/Makefile.in: Likewise.
90         * tsan/Makefile.in: Likewise.
92 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
94         * asan/Makefile.am (libasan_la_LIBADD): Use $(LIBSTDCXX_RAW_CXX_LDLAGS).
95         * tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
96         * Makefile.in: Regenerated.
97         * configure: Likewise.
98         * asan/Makefile.in: Likewise.
99         * interception/Makefile.in: Likewise.
100         * sanitizer_common/Makefile.in: Likewise.
101         * tsan/Makefile.in: Likewise.
103 2012-12-12  H.J. Lu  <hongjiu.lu@intel.com>
105         * Makefile.am (AM_MAKEFLAGS): Removed.
106         (MAKEOVERRIDES): Likewise.
107         * asan/Makefile.am: Likewise.
108         * interception/Makefile.am: Likewise.
109         * sanitizer_common/Makefile.am: Likewise.
110         * tsan/Makefile.am: Likewise.
111         * Makefile.in: Regenerated.
112         * asan/Makefile.in: Likewise.
113         * interception/Makefile.in: Likewise.
114         * sanitizer_common/Makefile.in: Likewise.
115         * tsan/Makefile.in: Likewise.
117 2012-12-11  H.J. Lu  <hongjiu.lu@intel.com>
119         PR sanitizer/55533
120         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
121         * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New.
122         * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS).
123         (AM_MAKEFLAGS): Remove CC and CXX.
124         * interception/Makefile.am: Likewise.
125         * sanitizer_common/Makefile.am: Likewise.
126         * tsan/Makefile.am: Likewise.
127         * Makefile.in: Regenerated.
128         * aclocal.m4: Likewise.
129         * configure: Likewise.
130         * asan/Makefile.in: Likewise.
131         * interception/Makefile.in: Likewise.
132         * sanitizer_common/Makefile.in: Likewise.
133         * tsan/Makefile.in: Likewise.
135 2012-12-06  Peter Bergner  <bergner@vnet.ibm.com>
137         * configure.tgt: Enable build on powerpc*-linux.
139 2012-12-06  Jack Howarth <howarth@bromo.med.uc.edu>
141         PR 55599/sanitizer
142         * configure.ac: Set enable_static=no on darwin.
143         * configure: Regenerated.
145 2012-12-06  Kostya Serebryany  <kcc@google.com>
147         * All files: Merge from upstream r169392.
149 2012-12-05  Kostya Serebryany  <kcc@google.com>
151         * All files: Merge from upstream r169371.
153 2012-12-04  Kostya Serebryany  <kcc@google.com>
154             Jack Howarth <howarth@bromo.med.uc.edu>
156         PR 55521/sanitizer
157         * configure.ac: Define USING_MAC_INTERPOSE when on darwin.
158         * Makefile.am: Don't build interception subdir when
159         USING_MAC_INTERPOSE defined.
160         * asan/Makefile.am: Pass -DMAC_INTERPOSE_FUNCTIONS and
161         -DMISSING_BLOCKS_SUPPORT when USING_MAC_INTERPOSE defined.
162         Compile asan_interceptors_dynamic.cc but not libinterception
163         when USING_MAC_INTERPOSE defined.
164         * interception/Makefile.am: Remove usage of USING_MACH_OVERRIDE.
165         * configure: Regenerated.
166         * Makefile.in: Likewise.
167         * asan/Makefile.in: Likewise.
168         * interception/Makefile.in: Likewise.
169         * asan/asan_intercepted_functions.h: Use MISSING_BLOCKS_SUPPORT.
170         * asan/asan_mac.cc: Likewise.
171         * asan/dynamic/asan_interceptors_dynamic.cc: Migrate from llvm
172         and use MISSING_BLOCKS_SUPPORT.
173         * merge.sh: Merge lib/asan/dynamic into asan/dynamic.
174         * interception/mach_override/LICENSE.txt: Remove unused file.
175         * interception/mach_override/mach_override.c: Likewise.
176         * interception/mach_override/mach_override.h: Likewise.
177         * interception/mach_override: Remove unused directory.
179 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
181         * Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
182         * configure.ac (ACX_NONCANONICAL_TARGET): Removed.
183         * asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
184         files.
185         (AM_MAKEFLAGS): Restore CC and CXX.
186         * interception/Makefile.am: Likewise.
187         * sanitizer_common/Makefile.am: Likewise.
188         * tsan/Makefile.am: Likewise.
189         * Makefile.in: Regenerated.
190         * aclocal.m4: Likewise.
191         * configure: Likewise.
192         * asan/Makefile.in: Likewise.
193         * interception/Makefile.in: Likewise.
194         * sanitizer_common/Makefile.in: Likewise.
195         * tsan/Makefile.in: Likewise.
197 2012-11-28  H.J. Lu  <hongjiu.lu@intel.com>
199         * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
200         * configure.ac (ACX_NONCANONICAL_TARGET): New.
201         * asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
202         files.
203         (AM_MAKEFLAGS): Remove CC and CXX.
204         * interception/Makefile.am: Likewise.
205         * sanitizer_common/Makefile.am: Likewise.
206         * tsan/Makefile.am: Likewise.
207         * Makefile.in: Regenerated.
208         * aclocal.m4: Likewise.
209         * configure: Likewise.
210         * asan/Makefile.in: Likewise.
211         * interception/Makefile.in: Likewise.
212         * sanitizer_common/Makefile.in: Likewise.
213         * tsan/Makefile.in: Likewise.
215 2012-11-27  Kostya Serebryany  <kcc@google.com>
217         * All files: Merge from upstream r168699.
219 2012-11-24  Kostya Serebryany  <kcc@google.com>
220             Jack Howarth <howarth@bromo.med.uc.edu>
222         * interception/mach_override/mach_override.c: Migrate from llvm.
223         * interception/mach_override/mach_override.h: Likewise.
224         * interception/mach_override/LICENSE.txt: Likewise.
225         * configure.tgt: Add darwin to supported targets.
226         * configure.ac: Define USING_MACH_OVERRIDE when on darwin.
227         * interception/Makefile.am: Compile mach_override.c when
228         USING_MACH_OVERRIDE defined.
229         * configure: Regenerated.
230         * interception/Makefile.in: Likewise.
232 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
234         PR sanitizer/55450
235         * tsan/Makefile.am (gcc_version): New.
236         * tsan/Makefile.in: Regenerated.
238 2012-11-23  Kostya Serebryany  <kcc@google.com>
240         * merge.sh: Support tsan, support added/removed files.
241         * tsan/Makefile.am: Remove tsan_printf.cc.
242         * tsan/Makefile.in: Regenerated.
243         * other files: Merge from upstream r168514.
245 2012-11-23  Kostya Serebryany  <kcc@google.com>
247         * merge.sh: New file.
249 2012-11-23  Jakub Jelinek  <jakub@redhat.com>
251         * tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
252         * Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
253         automake conditional instead of !MULTISUBDIR32.
254         * configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
255         for 64-bit multilib.
256         * configure.ac: Check for void * size, source in configure.tgt,
257         define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
258         * configure: Regenerated.
259         * Makefile.in: Regenerated.
260         * tsan/Makefile.in: Regenerated.
262 2012-11-22  Wei Mi  <wmi@google.com>
264         * tsan: New directory. Import tsan runtime from llvm.
265         * configure.ac: Add 64 bits tsan build.
266         * Makefile.am: Likewise.
267         * configure: Regenerated.
268         * Makefile.in: Likewise.
270 2012-11-21  Kostya Serebryany  <kcc@google.com>
272         * README.gcc: Extend the README.gcc with mode details.
274 2012-11-20  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
276         * sanitizer_common/sanitizer_linux.cc
277         (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
278         (internal_mmap): Use it.
279         (internal_filesize): Likewise.
281 2012-11-16  Tom Tromey  <tromey@redhat.com>
283         * configure.ac: Invoke AM_MAINTAINER_MODE.
284         * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
285         interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
287 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
289         PR other/55333
290         * include/sanitizer/common_interface_defs.h (uhwptr): New type
291         for hardware pointer.
292         * sanitizer_common/sanitizer_stacktrace.cc (StackTrace::FastUnwindStack):
293         Replace uptr with uhwptr for stack unwind.
295 2012-11-16  Dodji Seketeli  <dodji@redhat.com>
297         * configure.tgt: Enable build on sparc linux.
299 2012-11-15  H.J. Lu  <hongjiu.lu@intel.com>
301         * configure.ac: Properly set MULTISUBDIR.
302         * asan/Makefile.am (gcc_version): New.
303         * interception/Makefile.am (gcc_version): Likewise.
304         * sanitizer_common/Makefile.am (gcc_version): Likewise.
305         * configure: Regenerated.
306         * asan/Makefile.in: Likewise.
307         * interception/Makefile.in: Likewise.
308         * sanitizer_common/Makefile.in: Likewise.
310 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
312         PR other/55291
313         * configure.ac (--enable-version-specific-runtime-libs): New option.
314         (AC_CANONICAL_SYSTEM): New.
315         (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE.
316         (toolexecdir): Support multilib.
317         (toolexeclibdir): Likewise.
318         (multilib_arg): New.
319         * Makefile.in: Regenerated.
320         * aclocal.m4: Likewise.
321         * configure: Likewise.
322         * asan/Makefile.in: Likewise.
323         * interception/Makefile.in: Likewise.
324         * sanitizer_common/Makefile.in: Likewise.
326 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
328         PR other/55292
329         Backport from upstream revision 167883
330         * sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
331         __x86_64__ instead of __WORDSIZE.
332         (internal_filesize): Likwise.
334 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
336         * configure.ac (AC_CONFIG_AUX_DIR): Removed.
337         * Makefile.in: Regenerated.
338         * configure: Likewise.
340 2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>
342         PR other/55304
343         * acinclude.m4: New file.
344         * Makefile.am (ACLOCAL_AMFLAGS): New.
345         * configure.ac (AC_PREREQ): Set to 2.64.
346         (AC_CONFIG_AUX_DIR): Set to "..".
347         * Makefile.in: Regenerated.
348         * aclocal.m4: Likewise.
349         * configure: Likewise.
350         * asan/Makefile.in: Likewise.
351         * interception/Makefile.in: Likewise.
352         * sanitizer_common/Makefile.in: Likewise.
354         * config.guess: Removed.
355         * config.sub: Likewise.
356         * depcomp: Likewise.
357         * install-sh: Likewise.
358         * ltmain.sh: Likewise.
359         * missing: Likewise.
361 2012-11-13  Richard Henderson  <rth@redhat.com>
363         * configure.tgt: New file.
365 2012-11-12  David S. Miller  <davem@davemloft.net>
367         * asan/asan_linux.cc (GetPcSpBp): Add sparc support.
369 2012-10-29  Wei Mi  <wmi@google.com>
371         Initial checkin: migrate asan runtime from llvm.