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