2015-10-29 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / libvtv / ChangeLog
blob57fe850bff5a64a79f85d7811e0f7a418c9b5951
1 2015-10-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3         * configure.tgt (aarch64*-*-linux): Enable.
4         (arm*-*-linux*): Enable.
6 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
8         * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
9         using load_gcc_lib.
11 2015-08-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13         Update copyrights.
15 2015-08-01  Caroline Tice  <cmtice@google.com>
17         PR 66521
18         * Makefile.am:  Update to match latest tree.
19         * Makefile.in: Regenerate.
20         * testsuite/lib/libvtv: Brought up to date.
21         * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
22         function (old bug!).
23         * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
24         initializations to work correctly with VTV_DEBUG defined.
26 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
28         * Makefile.in: Regenerated with automake-1.11.6.
29         * aclocal.m4: Likewise.
30         * configure: Likewise.
31         * testsuite/Makefile.in: Likewise.
32         * testsuite/other-tests/Makefile.in: Likewise.
34 2015-02-09  Thomas Schwinge  <thomas@codesourcery.com>
36         * Makefile.in: Regenerate.
37         * aclocal.m4: Likewise.
38         * configure: Likewise.
39         * testsuite/Makefile.in: Likewise.
41 2015-01-29  Caroline Tice  <cmtice@google.com>
43         Committing VTV Cywin/Ming patch for Patrick Wollgast
44         * libvtv/Makefile.in : Regenerate.
45         * libvtv/configure : Regenerate.
47 2015-01-28  Caroline Tice  <cmtice@google.com>
49         Committing VTV Cywin/Ming patch for Patrick Wollgast
50         * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
51         VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
52         libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
53         set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
54         * libvtv/aclocal.m4 : Regenerate.
55         * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
56         * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
57         x86_64-*-mingw*)
58         (i?86-*-mingw*): Add to supported targets.
59         * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
60         (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
61         on Cygwin and MinGW.
62         * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
63         inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
64         (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
65         on Cygwin and MinGW.
66         (__vtv_malloc_init): Exchange call to sysconf with call to port of
67         sysconf on Cygwin and MinGW.
68         * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
69         PROT_WRITE on Cygwin and MinGW.
70         * libvtv/map.h : Include stdint.h on MinGW.
71         * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
72         include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
73         port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
74         uintptr_t on Cygwin and MinGW.
75         (read_section_offset_and_length): Add port for Cygwin and MinGW
76         (iterate_modules): New function.
77         (vtv_unprotect_vtable_vars): Use iterate_modules instead of
78         dl_iterate_phdr on Cygwin and MinGW.
79         (vtv_protect_vtable_vars): Likewise.
80         (count_all_pages): Likewise.
81         (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
82         * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
83          Cygwin and MinGW.
84         (__vtv_open_log): Exchange call to getuid and getpid with
85         GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
86         and MinGW.  Adjust calls to mkdir on MinGW.  Adjust call to open on
87         Cygwin and MinGW.
88         (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
89         (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
90         and MinGW.
92 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
94         * testsuite/lib/libvtv.exp: Load target-utils.exp
96 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
98         PR bootstrap/63784
99         * configure: Regenerated.
101 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
103         PR target/63610
104         * configure: Regenerate.
106 2013-09-25 Caroline Tice  <cmtice@google.com>
108         * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
109         sure testsuite is not run if libstdc++ and libgcc were not built
110         with vtable verification.
111         * Makefile.in: Regenerated.
112         * configure.ac: Reinstate checks for --enable-vtable-verify flag,
113         to make sure testsuite is not run if libstdc++ and libgcc were not
114         built with vtable verification.
115         * configure: Regenerated.
117 2013-09-24  Caroline Tice  <cmtice@google.com>
119         * Makefile.am:  Change libvtv_includedir to the directory used by
120         the other libraries rather than the top include directory.
121         * Makefile.in: Regenerated.
123 2013-09-20  Alan Modra  <amodra@gmail.com>
125         * configure: Regenerate.
127 2013-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
129         * configure.tgt: Remove *-*-*android* from supported targets.
131 2013-09-09  H.J. Lu  <hongjiu.lu@intel.com>
133         PR other/58374
134         * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
135         * configure: Regenerated.
137 2013-09-08  Caroline Tice  <cmtice@google.com>
139         * testsuite/event-main.cc:  Move to libvtv.cc subdirectory.
140         * testsuite/environment.cc: Ditto.
141         * testsuite/template-list2.cc: Ditto.
142         * testsuite/event.h: Ditto.
143         * testsuite/dataentry.cc: Ditto.
144         * testsuite/event-private.h: Ditto.
145         * testsuite/virtual_inheritance.cc: Ditto.
146         * testsuite/povray-derived.cc: Ditto.
147         * testsuite/nested_vcall_test.cc: Ditto.
148         * testsuite/template-list-iostream.cc: Ditto.
149         * testsuite/parts-test-extra-parts-views.h:  Ditto.
150         * testsuite/virtfunc-test.cc: Ditto.
151         * testsuite/parts-test-extra-parts.h: Ditto.
152         * testsuite/const_vtable.cc: Ditto.
153         * testsuite/template-list.cc: Ditto.
154         * testsuite/dup_name.cc: Ditto.
155         * testsuite/thunk.cc: Ditto.
156         * testsuite/parts-test-main.h: Ditto.
157         * testsuite/mul_inh.cc: Ditto.
158         * testsuite/test1.cc: Ditto.
159         * testsuite/bb_tests.cc: Ditto.
160         * testsuite/v8-test-2.cc: Ditto.
161         * testsuite/thunk_vtable_map_attack.cc: Ditto.
162         * testsuite/xlan-test.cc: Ditto.
163         * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
164         change file extension from .cc to .cpp.
165         * testsuite/event-definitions.cpp: Ditto.
166         * testsuite/event-main.cpp: Ditto.
167         * testsuite/derived-main.cpp: Ditto.
168         * testsuite/derived-lib.cpp: Ditto.
169         * testsuite/event-private.cpp: Ditto.
170         * testsuite/parts-test-extra-parts-views.cpp: Ditto.
171         * testsuite/parts-test-extra-parts.cpp: Ditto.
172         * testsuite/parts-test.list: Move to libvtv.cc subdirectory.  Change
173         file extensions inside file from .cc to .cpp.
174         * testsuite/event.list: Ditto.
175         * testsuite/derived.list: Ditto.
176         * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
177         register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
178         (KEY_TYPE_FIXED_SIZE): New define.
179         (key_buffer, name_string, fake_names): New global variables.
180         (generate_names): New function.
181         (vtv_string_hans): New function.
182         (main): Add call to generate_names. Update middle for-loop to
183         initialize new parameters for __VLTRegisterPair... calls; move calls
184         to __VLTRegisterPair... to middle for-loop. Add calls to
185         __VLTRegisterSet...
186         * testsuite/register_pair_mt.cc: Ditto; renamed to
187         register_set_pair_mt.cc
188         * testsuite/libvtv.cc/vtv.exp:  New file.
189         * testsuite/libvtv.mempool.cc/mempool.exp:  New file.
190         * testsuite/libvtv.mt.cc/mt.exp: New file.
191         * testsuite/lib/libvtv.exp:  New file.
192         * testsuite/lib/libvtv-dg.exp:  New file.
193         * testsuite/config/default.exp: New file.
194         * testsuite/Makefile.am:  New file. (Old file was moved to other-tests
195         subdirectory.)
196         * testsuite/Makefile.in: New file (generated).
197         * testsuite/mempool_negative.c: Change to C++ file; move to
198         libvtv.mempool.cc; include vtv-change-permission.h.
199         (main):  Add call to __VLTChangePermission.
200         * testsuite/mempool_positive.c: Change to C++ file; move to
201         libvtv.mempool.cc; include vtv-change-permission.h.
202         (main): Add call to __VLTChangePermission.
203         * testsuite/temp_deriv3.cc:  Move to other-tests subdirectory.
204         * testsuite/environment-fail-64.s: Ditto.
205         * testsutite/dlopen.cc: Ditto.
206         * testsuite/so.cc: Ditto.
207         * testsuite/temp_deriv2.cc: Ditto.
208         * testsuite/field-test.cc: Ditto.
209         * testsuite/dlopen_mt.cc: Ditto.
210         * testsuite/environment-fail-32.s: Ditto.
211         * testsuite/temp_deriv.cc: Ditto.
212         * testsuite/replace-fail.cc: Ditto.
213         * testsuite/other-tests/Makefile.am:  New file.  Copied from the
214         Makefile.am that used to be in testsuite directory.
215         * testsuite/other-tests/Makefile.in: Generated. (New file).
216         * testsuite/other-tests/README:  New file.
218 2013-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
220         * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
221         definition of check-am:.
222         * testsuite/Makefile.in: Regenerate.
224 2013-09-06  Caroline Tice  <cmtice@google.com>
226         * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
227         definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
228         * Makefile.in: Regenerate.
229         * configure.ac: Remove checks and tests for --enable-vtable-verify.
230         * configure: Regenerate.
232 2013-08-20  Caroline Tice  <cmtice@google.com>
234         * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
235         * Makefile.in: Regenerate.
236         * configure.ac: Add check for __secure_getenv and secure_getenv.
237         * configure: Regenerate.
238         * vtv_utils.cc : Include stdlib.h
239         (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
240         (log_dirs): Remove file static constant.
241         (__vtv_open_log):  Increase size of log file name.  Add the user
242         and process ids to the file name. Do not put the log files in /tmp.
243         Instead try to get the directory name from an environment variable; if
244         that fails try to use stderr.  Add O_NOFOLLOW to the flags
245         for 'open'.  Update function comment.
246         * vtv_rts.cc (log_memory_protection_data):  Remove %d from file name.
248 2013-08-08  Benjamin Kosnik  <bkoz@redhat.com>
249             Michael Meissner <meissner@linux.vnet.ibm.com>
251         * configure.tgt : Simplify, just use VTV_SUPPORTED.
253 2013-08-07  Benjamin Kosnik  <bkoz@redhat.com>
255         * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
256         * Makefile.in: Regenerate.
257         * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
258         * configure.ac: ...here. Make configure more verbose, re-order.
259         * configure: Regenerate.
261 2013-08-02  Caroline Tice  <cmtice@google.com>
262             Benjamin Kosnik  <bkoz@redhat.com>
263             Luis Lozano  <llozano@google.com>
264             Geoff Pike  <gpike@google.com>
266         Initial check-in of new vtable verification feature.
267         * configure.ac : New file.
268         * acinclude.m4 : New file.
269         * Makefile.am : New file.
270         * aclocal.m4 : New file.
271         * configure.tgt : New file.
272         * configure: New file (generated).
273         * Makefile.in: New file (generated).
274         * vtv_set.h : New file.
275         * vtv_utils.cc : New file.
276         * vtv_utils.h : New file.
277         * vtv_malloc.cc : New file.
278         * vtv_rts.cc : New file.
279         * vtv_malloc.h : New file.
280         * vtv_rts.h : New file.
281         * vtv_fail.cc : New file.
282         * vtv_fail.h : New file.
283         * vtv_map.h : New file.
284         * scripts/run-testsuite.sh : New file.
285         * scripts/sum-vtv-counts.c : New file.
286         * testsuite/parts-test-main.h : New file.
287         * testusite/dataentry.cc : New file.
288         * testsuite/temp_deriv.cc : New file.
289         * testsuite/register_pair.cc : New file.
290         * testsuite/virtual_inheritance.cc : New file.
291         * testsuite/field-test.cc : New file.
292         * testsuite/nested_vcall_test.cc : New file.
293         * testsuite/template-list-iostream.cc : New file.
294         * testsuite/register_pair_inserts.cc : New file.
295         * testsuite/register_pair_inserts_mt.cc : New file.
296         * testsuite/event.list : New file.
297         * testsuite/parts-test-extra-parts-views.cc : New file.
298         * testsuite/parts-test-extra-parts-views.h : New file.
299         * testsuite/environment-fail-32.s : New file.
300         * testsuite/parts-test-extra-parts.h : New file.
301         * testsuite/temp_deriv2.cc : New file.
302         * testsuite/dlopen_mt.cc : New file.
303         * testsuite/event.h : New file.
304         * testsuite/template-list.cc : New file.
305         * testsuite/replace-fail.cc : New file.
306         * testsuite/Makefile.am : New file.
307         * testsuite/Makefile.in: New file (generated).
308         * testsuite/mempool_negative.c : New file.
309         * testsuite/parts-test-main.cc : New file.
310         * testsuite/event-private.cc : New file.
311         * testsuite/thunk.cc : New file.
312         * testsuite/event-defintiions.cc : New file.
313         * testsuite/event-private.h : New file.
314         * testsuite/parts-test.list : New file.
315         * testusite/register_pair_mt.cc : New file.
316         * testsuite/povray-derived.cc : New file.
317         * testsuite/event-main.cc : New file.
318         * testsuite/environment.cc : New file.
319         * testsuite/template-list2.cc : New file.
320         * testsuite/thunk_vtable_map_attack.cc : New file.
321         * testsuite/parts-test-extra-parts.cc : New file.
322         * testsuite/environment-fail-64.s : New file.
323         * testsuite/dlopen.cc : New file.
324         * testsuite/so.cc : New file.
325         * testsuite/temp_deriv3.cc : New file.
326         * testsuite/const_vtable.cc : New file.
327         * testsuite/mempool_positive.c : New file.
328         * testsuite/dup_name.cc : New file.