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