Update ChangeLog and version files for release
[official-gcc.git] / libvtv / ChangeLog
blobee84d9dbb5634ade736a83aa73098908fd959770
1 2016-12-21  Release Manager
3         * GCC 6.3.0 released.
5 2016-08-22  Release Manager
7         * GCC 6.2.0 released.
9 2016-05-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11         * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
12         ENABLE_VTABLE_VERIFY.
13         Simplify.
14         * Makefile.in: Regenerate.
16 2016-04-27  Release Manager
18         * GCC 6.1.0 released.
20 2015-12-02  Matthias Klose  <doko@ubuntu.com>
22         * configure.ac: Move AM_ENABLE_MULTILIB before
23         GCC_LIBSTDCXX_RAW_CXX_FLAGS.
24         * configure: Regenerate.
26 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
28         * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
29         * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
30         <*-*-solaris2*>: Check for init priority support.
31         Check for getexecname, __fortify_fail, _obstack_begin.
32         (VTV_NO_OBSTACK): New conditional.
33         * configure: Regenerate.
34         * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
35         Create empty config.h
36         * Makefile.in: Regenerate.
38         * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
39         variable.
40         (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
41         (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
43         (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
44         [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
46         (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
47         (iterate_modules): Fix typo.
48         Use VTV_PAGE_SIZE.
49         (dl_iterate_phdr_callback): Fix typo.
50         Use VTV_PAGE_SIZE.
51         (__VLTChangePermission): Fix typos.
53 2015-11-09  Alan Modra  <amodra@gmail.com>
55         * vtv_malloc.cc (obstack_chunk_free): Correct param type.
56         (__vtv_malloc_init): Use obstack_specify_allocation.
58 2015-10-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
60         * configure.tgt (aarch64*-*-linux): Enable.
61         (arm*-*-linux*): Enable.
63 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
65         * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
66         using load_gcc_lib.
68 2015-08-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
70         Update copyrights.
72 2015-08-01  Caroline Tice  <cmtice@google.com>
74         PR 66521
75         * Makefile.am:  Update to match latest tree.
76         * Makefile.in: Regenerate.
77         * testsuite/lib/libvtv: Brought up to date.
78         * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
79         function (old bug!).
80         * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
81         initializations to work correctly with VTV_DEBUG defined.
83 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
85         * Makefile.in: Regenerated with automake-1.11.6.
86         * aclocal.m4: Likewise.
87         * configure: Likewise.
88         * testsuite/Makefile.in: Likewise.
89         * testsuite/other-tests/Makefile.in: Likewise.
91 2015-02-09  Thomas Schwinge  <thomas@codesourcery.com>
93         * Makefile.in: Regenerate.
94         * aclocal.m4: Likewise.
95         * configure: Likewise.
96         * testsuite/Makefile.in: Likewise.
98 2015-01-29  Caroline Tice  <cmtice@google.com>
100         Committing VTV Cywin/Ming patch for Patrick Wollgast
101         * libvtv/Makefile.in : Regenerate.
102         * libvtv/configure : Regenerate.
104 2015-01-28  Caroline Tice  <cmtice@google.com>
106         Committing VTV Cywin/Ming patch for Patrick Wollgast
107         * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
108         VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
109         libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
110         set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
111         * libvtv/aclocal.m4 : Regenerate.
112         * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
113         * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
114         x86_64-*-mingw*)
115         (i?86-*-mingw*): Add to supported targets.
116         * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
117         (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
118         on Cygwin and MinGW.
119         * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
120         inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
121         (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
122         on Cygwin and MinGW.
123         (__vtv_malloc_init): Exchange call to sysconf with call to port of
124         sysconf on Cygwin and MinGW.
125         * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
126         PROT_WRITE on Cygwin and MinGW.
127         * libvtv/map.h : Include stdint.h on MinGW.
128         * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
129         include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
130         port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
131         uintptr_t on Cygwin and MinGW.
132         (read_section_offset_and_length): Add port for Cygwin and MinGW
133         (iterate_modules): New function.
134         (vtv_unprotect_vtable_vars): Use iterate_modules instead of
135         dl_iterate_phdr on Cygwin and MinGW.
136         (vtv_protect_vtable_vars): Likewise.
137         (count_all_pages): Likewise.
138         (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
139         * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
140          Cygwin and MinGW.
141         (__vtv_open_log): Exchange call to getuid and getpid with
142         GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
143         and MinGW.  Adjust calls to mkdir on MinGW.  Adjust call to open on
144         Cygwin and MinGW.
145         (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
146         (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
147         and MinGW.
149 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
151         * testsuite/lib/libvtv.exp: Load target-utils.exp
153 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
155         PR bootstrap/63784
156         * configure: Regenerated.
158 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
160         PR target/63610
161         * configure: Regenerate.
163 2013-09-25 Caroline Tice  <cmtice@google.com>
165         * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
166         sure testsuite is not run if libstdc++ and libgcc were not built
167         with vtable verification.
168         * Makefile.in: Regenerated.
169         * configure.ac: Reinstate checks for --enable-vtable-verify flag,
170         to make sure testsuite is not run if libstdc++ and libgcc were not
171         built with vtable verification.
172         * configure: Regenerated.
174 2013-09-24  Caroline Tice  <cmtice@google.com>
176         * Makefile.am:  Change libvtv_includedir to the directory used by
177         the other libraries rather than the top include directory.
178         * Makefile.in: Regenerated.
180 2013-09-20  Alan Modra  <amodra@gmail.com>
182         * configure: Regenerate.
184 2013-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
186         * configure.tgt: Remove *-*-*android* from supported targets.
188 2013-09-09  H.J. Lu  <hongjiu.lu@intel.com>
190         PR other/58374
191         * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
192         * configure: Regenerated.
194 2013-09-08  Caroline Tice  <cmtice@google.com>
196         * testsuite/event-main.cc:  Move to libvtv.cc subdirectory.
197         * testsuite/environment.cc: Ditto.
198         * testsuite/template-list2.cc: Ditto.
199         * testsuite/event.h: Ditto.
200         * testsuite/dataentry.cc: Ditto.
201         * testsuite/event-private.h: Ditto.
202         * testsuite/virtual_inheritance.cc: Ditto.
203         * testsuite/povray-derived.cc: Ditto.
204         * testsuite/nested_vcall_test.cc: Ditto.
205         * testsuite/template-list-iostream.cc: Ditto.
206         * testsuite/parts-test-extra-parts-views.h:  Ditto.
207         * testsuite/virtfunc-test.cc: Ditto.
208         * testsuite/parts-test-extra-parts.h: Ditto.
209         * testsuite/const_vtable.cc: Ditto.
210         * testsuite/template-list.cc: Ditto.
211         * testsuite/dup_name.cc: Ditto.
212         * testsuite/thunk.cc: Ditto.
213         * testsuite/parts-test-main.h: Ditto.
214         * testsuite/mul_inh.cc: Ditto.
215         * testsuite/test1.cc: Ditto.
216         * testsuite/bb_tests.cc: Ditto.
217         * testsuite/v8-test-2.cc: Ditto.
218         * testsuite/thunk_vtable_map_attack.cc: Ditto.
219         * testsuite/xlan-test.cc: Ditto.
220         * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
221         change file extension from .cc to .cpp.
222         * testsuite/event-definitions.cpp: Ditto.
223         * testsuite/event-main.cpp: Ditto.
224         * testsuite/derived-main.cpp: Ditto.
225         * testsuite/derived-lib.cpp: Ditto.
226         * testsuite/event-private.cpp: Ditto.
227         * testsuite/parts-test-extra-parts-views.cpp: Ditto.
228         * testsuite/parts-test-extra-parts.cpp: Ditto.
229         * testsuite/parts-test.list: Move to libvtv.cc subdirectory.  Change
230         file extensions inside file from .cc to .cpp.
231         * testsuite/event.list: Ditto.
232         * testsuite/derived.list: Ditto.
233         * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
234         register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
235         (KEY_TYPE_FIXED_SIZE): New define.
236         (key_buffer, name_string, fake_names): New global variables.
237         (generate_names): New function.
238         (vtv_string_hans): New function.
239         (main): Add call to generate_names. Update middle for-loop to
240         initialize new parameters for __VLTRegisterPair... calls; move calls
241         to __VLTRegisterPair... to middle for-loop. Add calls to
242         __VLTRegisterSet...
243         * testsuite/register_pair_mt.cc: Ditto; renamed to
244         register_set_pair_mt.cc
245         * testsuite/libvtv.cc/vtv.exp:  New file.
246         * testsuite/libvtv.mempool.cc/mempool.exp:  New file.
247         * testsuite/libvtv.mt.cc/mt.exp: New file.
248         * testsuite/lib/libvtv.exp:  New file.
249         * testsuite/lib/libvtv-dg.exp:  New file.
250         * testsuite/config/default.exp: New file.
251         * testsuite/Makefile.am:  New file. (Old file was moved to other-tests
252         subdirectory.)
253         * testsuite/Makefile.in: New file (generated).
254         * testsuite/mempool_negative.c: Change to C++ file; move to
255         libvtv.mempool.cc; include vtv-change-permission.h.
256         (main):  Add call to __VLTChangePermission.
257         * testsuite/mempool_positive.c: Change to C++ file; move to
258         libvtv.mempool.cc; include vtv-change-permission.h.
259         (main): Add call to __VLTChangePermission.
260         * testsuite/temp_deriv3.cc:  Move to other-tests subdirectory.
261         * testsuite/environment-fail-64.s: Ditto.
262         * testsutite/dlopen.cc: Ditto.
263         * testsuite/so.cc: Ditto.
264         * testsuite/temp_deriv2.cc: Ditto.
265         * testsuite/field-test.cc: Ditto.
266         * testsuite/dlopen_mt.cc: Ditto.
267         * testsuite/environment-fail-32.s: Ditto.
268         * testsuite/temp_deriv.cc: Ditto.
269         * testsuite/replace-fail.cc: Ditto.
270         * testsuite/other-tests/Makefile.am:  New file.  Copied from the
271         Makefile.am that used to be in testsuite directory.
272         * testsuite/other-tests/Makefile.in: Generated. (New file).
273         * testsuite/other-tests/README:  New file.
275 2013-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
277         * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
278         definition of check-am:.
279         * testsuite/Makefile.in: Regenerate.
281 2013-09-06  Caroline Tice  <cmtice@google.com>
283         * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
284         definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
285         * Makefile.in: Regenerate.
286         * configure.ac: Remove checks and tests for --enable-vtable-verify.
287         * configure: Regenerate.
289 2013-08-20  Caroline Tice  <cmtice@google.com>
291         * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
292         * Makefile.in: Regenerate.
293         * configure.ac: Add check for __secure_getenv and secure_getenv.
294         * configure: Regenerate.
295         * vtv_utils.cc : Include stdlib.h
296         (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
297         (log_dirs): Remove file static constant.
298         (__vtv_open_log):  Increase size of log file name.  Add the user
299         and process ids to the file name. Do not put the log files in /tmp.
300         Instead try to get the directory name from an environment variable; if
301         that fails try to use stderr.  Add O_NOFOLLOW to the flags
302         for 'open'.  Update function comment.
303         * vtv_rts.cc (log_memory_protection_data):  Remove %d from file name.
305 2013-08-08  Benjamin Kosnik  <bkoz@redhat.com>
306             Michael Meissner <meissner@linux.vnet.ibm.com>
308         * configure.tgt : Simplify, just use VTV_SUPPORTED.
310 2013-08-07  Benjamin Kosnik  <bkoz@redhat.com>
312         * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
313         * Makefile.in: Regenerate.
314         * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
315         * configure.ac: ...here. Make configure more verbose, re-order.
316         * configure: Regenerate.
318 2013-08-02  Caroline Tice  <cmtice@google.com>
319             Benjamin Kosnik  <bkoz@redhat.com>
320             Luis Lozano  <llozano@google.com>
321             Geoff Pike  <gpike@google.com>
323         Initial check-in of new vtable verification feature.
324         * configure.ac : New file.
325         * acinclude.m4 : New file.
326         * Makefile.am : New file.
327         * aclocal.m4 : New file.
328         * configure.tgt : New file.
329         * configure: New file (generated).
330         * Makefile.in: New file (generated).
331         * vtv_set.h : New file.
332         * vtv_utils.cc : New file.
333         * vtv_utils.h : New file.
334         * vtv_malloc.cc : New file.
335         * vtv_rts.cc : New file.
336         * vtv_malloc.h : New file.
337         * vtv_rts.h : New file.
338         * vtv_fail.cc : New file.
339         * vtv_fail.h : New file.
340         * vtv_map.h : New file.
341         * scripts/run-testsuite.sh : New file.
342         * scripts/sum-vtv-counts.c : New file.
343         * testsuite/parts-test-main.h : New file.
344         * testusite/dataentry.cc : New file.
345         * testsuite/temp_deriv.cc : New file.
346         * testsuite/register_pair.cc : New file.
347         * testsuite/virtual_inheritance.cc : New file.
348         * testsuite/field-test.cc : New file.
349         * testsuite/nested_vcall_test.cc : New file.
350         * testsuite/template-list-iostream.cc : New file.
351         * testsuite/register_pair_inserts.cc : New file.
352         * testsuite/register_pair_inserts_mt.cc : New file.
353         * testsuite/event.list : New file.
354         * testsuite/parts-test-extra-parts-views.cc : New file.
355         * testsuite/parts-test-extra-parts-views.h : New file.
356         * testsuite/environment-fail-32.s : New file.
357         * testsuite/parts-test-extra-parts.h : New file.
358         * testsuite/temp_deriv2.cc : New file.
359         * testsuite/dlopen_mt.cc : New file.
360         * testsuite/event.h : New file.
361         * testsuite/template-list.cc : New file.
362         * testsuite/replace-fail.cc : New file.
363         * testsuite/Makefile.am : New file.
364         * testsuite/Makefile.in: New file (generated).
365         * testsuite/mempool_negative.c : New file.
366         * testsuite/parts-test-main.cc : New file.
367         * testsuite/event-private.cc : New file.
368         * testsuite/thunk.cc : New file.
369         * testsuite/event-defintiions.cc : New file.
370         * testsuite/event-private.h : New file.
371         * testsuite/parts-test.list : New file.
372         * testusite/register_pair_mt.cc : New file.
373         * testsuite/povray-derived.cc : New file.
374         * testsuite/event-main.cc : New file.
375         * testsuite/environment.cc : New file.
376         * testsuite/template-list2.cc : New file.
377         * testsuite/thunk_vtable_map_attack.cc : New file.
378         * testsuite/parts-test-extra-parts.cc : New file.
379         * testsuite/environment-fail-64.s : New file.
380         * testsuite/dlopen.cc : New file.
381         * testsuite/so.cc : New file.
382         * testsuite/temp_deriv3.cc : New file.
383         * testsuite/const_vtable.cc : New file.
384         * testsuite/mempool_positive.c : New file.
385         * testsuite/dup_name.cc : New file.