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