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