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