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