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