cmd/cgo: add and use runtime/cgo.Incomplete instead of //go:notinheap
[official-gcc.git] / libvtv / ChangeLog
blob41eaa65aa82c3b17b485f9dd63fbf1eb68798748
1 2022-08-25  Martin Liska  <mliska@suse.cz>
3         * configure: Regenerate.
5 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7         * configure: Re-generate.
9 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
11         PR target/97865
12         * configure: Regenerate.
14 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
16         * configure: Regenerate.
18 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
20         PR bootstrap/95413
21         * configure: Regenerated.
23 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25         PR bootstrap/95147
26         * configure: Regenerated.
28 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30         * configure: Regenerated.
32 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
34         * configure.ac: Handle `--with-toolexeclibdir='.
35         * Makefile.in: Regenerate.
36         * aclocal.m4: Regenerate.
37         * configure: Regenerate.
38         * testsuite/Makefile.in: Regenerate.
40 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
42         Update copyright years.
44 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
46         * configure: Regenerate.
48 2019-02-19  Caroline Tice <cmtice@google.com>
50         Fix testsuite
51         * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.
53 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
55         Update copyright years.
57 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
59         PR bootstrap/82856
60         * Makefile.am: Include multilib.am.
61         * configure.ac: Remove AC_PREREQ.
62         * testsuite/Makefile.am (RUNTEST): Remove quotes.
63         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
64         Regenerate.
66 2018-05-02  Tom de Vries  <tom@codesourcery.com>
68         PR testsuite/85106
69         * testsuite/lib/libvtv.exp: Include scanltranstree.exp.
71 2018-05-02  Tom de Vries  <tom@codesourcery.com>
73         PR testsuite/85106
74         * testsuite/lib/libvtv.exp: Include scanwpaipa.exp.
76 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
78         * configure: Regenerated.
80 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
82         * configure: Regenerated.
84 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
86         PR jit/85384
87         * configure: Regenerate.
89 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
91         PR target/84148
92         * configure: Regenerate.
94 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
96         Update copyright years.
98 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
100         * acinclude.m4: Add enable.m4 and cet.m4.
101         * Makefile.in: Regenerate.
102         * testsuite/Makefile.in: Likewise.
103         * configure: Likewise.
104         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
105         * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.
107 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
109         PR other/79046
110         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
111         of cat to get version from BASE-VER file.
112         * testsuite/Makefile.in: Regenerated.
114 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
116         PR other/79046
117         * configure.ac: Add GCC_BASE_VER.
118         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
119         get version from BASE-VER file.
120         * testsuite/Makefile.in: Regenerated.
121         * configure: Regenerated.
122         * Makefile.in: Regenerated.
124 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
126         Update copyright years.
128 2016-11-15  Matthias Klose  <doko@ubuntu.com>
130         * configure: Regenerate.
132 2016-05-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
134         * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
135         ENABLE_VTABLE_VERIFY.
136         Simplify.
137         * Makefile.in: Regenerate.
139 2015-12-02  Matthias Klose  <doko@ubuntu.com>
141         * configure.ac: Move AM_ENABLE_MULTILIB before
142         GCC_LIBSTDCXX_RAW_CXX_FLAGS.
143         * configure: Regenerate.
145 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
147         * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
148         * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
149         <*-*-solaris2*>: Check for init priority support.
150         Check for getexecname, __fortify_fail, _obstack_begin.
151         (VTV_NO_OBSTACK): New conditional.
152         * configure: Regenerate.
153         * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
154         Create empty config.h
155         * Makefile.in: Regenerate.
157         * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
158         variable.
159         (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
160         (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
162         (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
163         [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
165         (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
166         (iterate_modules): Fix typo.
167         Use VTV_PAGE_SIZE.
168         (dl_iterate_phdr_callback): Fix typo.
169         Use VTV_PAGE_SIZE.
170         (__VLTChangePermission): Fix typos.
172 2015-11-09  Alan Modra  <amodra@gmail.com>
174         * vtv_malloc.cc (obstack_chunk_free): Correct param type.
175         (__vtv_malloc_init): Use obstack_specify_allocation.
177 2015-10-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
179         * configure.tgt (aarch64*-*-linux): Enable.
180         (arm*-*-linux*): Enable.
182 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
184         * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
185         using load_gcc_lib.
187 2015-08-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
189         Update copyrights.
191 2015-08-01  Caroline Tice  <cmtice@google.com>
193         PR 66521
194         * Makefile.am:  Update to match latest tree.
195         * Makefile.in: Regenerate.
196         * testsuite/lib/libvtv: Brought up to date.
197         * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
198         function (old bug!).
199         * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
200         initializations to work correctly with VTV_DEBUG defined.
202 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
204         * Makefile.in: Regenerated with automake-1.11.6.
205         * aclocal.m4: Likewise.
206         * configure: Likewise.
207         * testsuite/Makefile.in: Likewise.
208         * testsuite/other-tests/Makefile.in: Likewise.
210 2015-02-09  Thomas Schwinge  <thomas@codesourcery.com>
212         * Makefile.in: Regenerate.
213         * aclocal.m4: Likewise.
214         * configure: Likewise.
215         * testsuite/Makefile.in: Likewise.
217 2015-01-29  Caroline Tice  <cmtice@google.com>
219         Committing VTV Cywin/Ming patch for Patrick Wollgast
220         * libvtv/Makefile.in : Regenerate.
221         * libvtv/configure : Regenerate.
223 2015-01-28  Caroline Tice  <cmtice@google.com>
225         Committing VTV Cywin/Ming patch for Patrick Wollgast
226         * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
227         VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
228         libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
229         set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
230         * libvtv/aclocal.m4 : Regenerate.
231         * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
232         * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
233         x86_64-*-mingw*)
234         (i?86-*-mingw*): Add to supported targets.
235         * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
236         (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
237         on Cygwin and MinGW.
238         * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
239         inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
240         (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
241         on Cygwin and MinGW.
242         (__vtv_malloc_init): Exchange call to sysconf with call to port of
243         sysconf on Cygwin and MinGW.
244         * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
245         PROT_WRITE on Cygwin and MinGW.
246         * libvtv/map.h : Include stdint.h on MinGW.
247         * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
248         include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
249         port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
250         uintptr_t on Cygwin and MinGW.
251         (read_section_offset_and_length): Add port for Cygwin and MinGW
252         (iterate_modules): New function.
253         (vtv_unprotect_vtable_vars): Use iterate_modules instead of
254         dl_iterate_phdr on Cygwin and MinGW.
255         (vtv_protect_vtable_vars): Likewise.
256         (count_all_pages): Likewise.
257         (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
258         * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
259          Cygwin and MinGW.
260         (__vtv_open_log): Exchange call to getuid and getpid with
261         GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
262         and MinGW.  Adjust calls to mkdir on MinGW.  Adjust call to open on
263         Cygwin and MinGW.
264         (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
265         (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
266         and MinGW.
268 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
270         * testsuite/lib/libvtv.exp: Load target-utils.exp
272 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
274         PR bootstrap/63784
275         * configure: Regenerated.
277 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
279         PR target/63610
280         * configure: Regenerate.
282 2013-09-25 Caroline Tice  <cmtice@google.com>
284         * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
285         sure testsuite is not run if libstdc++ and libgcc were not built
286         with vtable verification.
287         * Makefile.in: Regenerated.
288         * configure.ac: Reinstate checks for --enable-vtable-verify flag,
289         to make sure testsuite is not run if libstdc++ and libgcc were not
290         built with vtable verification.
291         * configure: Regenerated.
293 2013-09-24  Caroline Tice  <cmtice@google.com>
295         * Makefile.am:  Change libvtv_includedir to the directory used by
296         the other libraries rather than the top include directory.
297         * Makefile.in: Regenerated.
299 2013-09-20  Alan Modra  <amodra@gmail.com>
301         * configure: Regenerate.
303 2013-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
305         * configure.tgt: Remove *-*-*android* from supported targets.
307 2013-09-09  H.J. Lu  <hongjiu.lu@intel.com>
309         PR other/58374
310         * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
311         * configure: Regenerated.
313 2013-09-08  Caroline Tice  <cmtice@google.com>
315         * testsuite/event-main.cc:  Move to libvtv.cc subdirectory.
316         * testsuite/environment.cc: Ditto.
317         * testsuite/template-list2.cc: Ditto.
318         * testsuite/event.h: Ditto.
319         * testsuite/dataentry.cc: Ditto.
320         * testsuite/event-private.h: Ditto.
321         * testsuite/virtual_inheritance.cc: Ditto.
322         * testsuite/povray-derived.cc: Ditto.
323         * testsuite/nested_vcall_test.cc: Ditto.
324         * testsuite/template-list-iostream.cc: Ditto.
325         * testsuite/parts-test-extra-parts-views.h:  Ditto.
326         * testsuite/virtfunc-test.cc: Ditto.
327         * testsuite/parts-test-extra-parts.h: Ditto.
328         * testsuite/const_vtable.cc: Ditto.
329         * testsuite/template-list.cc: Ditto.
330         * testsuite/dup_name.cc: Ditto.
331         * testsuite/thunk.cc: Ditto.
332         * testsuite/parts-test-main.h: Ditto.
333         * testsuite/mul_inh.cc: Ditto.
334         * testsuite/test1.cc: Ditto.
335         * testsuite/bb_tests.cc: Ditto.
336         * testsuite/v8-test-2.cc: Ditto.
337         * testsuite/thunk_vtable_map_attack.cc: Ditto.
338         * testsuite/xlan-test.cc: Ditto.
339         * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
340         change file extension from .cc to .cpp.
341         * testsuite/event-definitions.cpp: Ditto.
342         * testsuite/event-main.cpp: Ditto.
343         * testsuite/derived-main.cpp: Ditto.
344         * testsuite/derived-lib.cpp: Ditto.
345         * testsuite/event-private.cpp: Ditto.
346         * testsuite/parts-test-extra-parts-views.cpp: Ditto.
347         * testsuite/parts-test-extra-parts.cpp: Ditto.
348         * testsuite/parts-test.list: Move to libvtv.cc subdirectory.  Change
349         file extensions inside file from .cc to .cpp.
350         * testsuite/event.list: Ditto.
351         * testsuite/derived.list: Ditto.
352         * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
353         register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
354         (KEY_TYPE_FIXED_SIZE): New define.
355         (key_buffer, name_string, fake_names): New global variables.
356         (generate_names): New function.
357         (vtv_string_hans): New function.
358         (main): Add call to generate_names. Update middle for-loop to
359         initialize new parameters for __VLTRegisterPair... calls; move calls
360         to __VLTRegisterPair... to middle for-loop. Add calls to
361         __VLTRegisterSet...
362         * testsuite/register_pair_mt.cc: Ditto; renamed to
363         register_set_pair_mt.cc
364         * testsuite/libvtv.cc/vtv.exp:  New file.
365         * testsuite/libvtv.mempool.cc/mempool.exp:  New file.
366         * testsuite/libvtv.mt.cc/mt.exp: New file.
367         * testsuite/lib/libvtv.exp:  New file.
368         * testsuite/lib/libvtv-dg.exp:  New file.
369         * testsuite/config/default.exp: New file.
370         * testsuite/Makefile.am:  New file. (Old file was moved to other-tests
371         subdirectory.)
372         * testsuite/Makefile.in: New file (generated).
373         * testsuite/mempool_negative.c: Change to C++ file; move to
374         libvtv.mempool.cc; include vtv-change-permission.h.
375         (main):  Add call to __VLTChangePermission.
376         * testsuite/mempool_positive.c: Change to C++ file; move to
377         libvtv.mempool.cc; include vtv-change-permission.h.
378         (main): Add call to __VLTChangePermission.
379         * testsuite/temp_deriv3.cc:  Move to other-tests subdirectory.
380         * testsuite/environment-fail-64.s: Ditto.
381         * testsutite/dlopen.cc: Ditto.
382         * testsuite/so.cc: Ditto.
383         * testsuite/temp_deriv2.cc: Ditto.
384         * testsuite/field-test.cc: Ditto.
385         * testsuite/dlopen_mt.cc: Ditto.
386         * testsuite/environment-fail-32.s: Ditto.
387         * testsuite/temp_deriv.cc: Ditto.
388         * testsuite/replace-fail.cc: Ditto.
389         * testsuite/other-tests/Makefile.am:  New file.  Copied from the
390         Makefile.am that used to be in testsuite directory.
391         * testsuite/other-tests/Makefile.in: Generated. (New file).
392         * testsuite/other-tests/README:  New file.
394 2013-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
396         * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
397         definition of check-am:.
398         * testsuite/Makefile.in: Regenerate.
400 2013-09-06  Caroline Tice  <cmtice@google.com>
402         * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
403         definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
404         * Makefile.in: Regenerate.
405         * configure.ac: Remove checks and tests for --enable-vtable-verify.
406         * configure: Regenerate.
408 2013-08-20  Caroline Tice  <cmtice@google.com>
410         * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
411         * Makefile.in: Regenerate.
412         * configure.ac: Add check for __secure_getenv and secure_getenv.
413         * configure: Regenerate.
414         * vtv_utils.cc : Include stdlib.h
415         (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
416         (log_dirs): Remove file static constant.
417         (__vtv_open_log):  Increase size of log file name.  Add the user
418         and process ids to the file name. Do not put the log files in /tmp.
419         Instead try to get the directory name from an environment variable; if
420         that fails try to use stderr.  Add O_NOFOLLOW to the flags
421         for 'open'.  Update function comment.
422         * vtv_rts.cc (log_memory_protection_data):  Remove %d from file name.
424 2013-08-08  Benjamin Kosnik  <bkoz@redhat.com>
425             Michael Meissner <meissner@linux.vnet.ibm.com>
427         * configure.tgt : Simplify, just use VTV_SUPPORTED.
429 2013-08-07  Benjamin Kosnik  <bkoz@redhat.com>
431         * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
432         * Makefile.in: Regenerate.
433         * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
434         * configure.ac: ...here. Make configure more verbose, re-order.
435         * configure: Regenerate.
437 2013-08-02  Caroline Tice  <cmtice@google.com>
438             Benjamin Kosnik  <bkoz@redhat.com>
439             Luis Lozano  <llozano@google.com>
440             Geoff Pike  <gpike@google.com>
442         Initial check-in of new vtable verification feature.
443         * configure.ac : New file.
444         * acinclude.m4 : New file.
445         * Makefile.am : New file.
446         * aclocal.m4 : New file.
447         * configure.tgt : New file.
448         * configure: New file (generated).
449         * Makefile.in: New file (generated).
450         * vtv_set.h : New file.
451         * vtv_utils.cc : New file.
452         * vtv_utils.h : New file.
453         * vtv_malloc.cc : New file.
454         * vtv_rts.cc : New file.
455         * vtv_malloc.h : New file.
456         * vtv_rts.h : New file.
457         * vtv_fail.cc : New file.
458         * vtv_fail.h : New file.
459         * vtv_map.h : New file.
460         * scripts/run-testsuite.sh : New file.
461         * scripts/sum-vtv-counts.c : New file.
462         * testsuite/parts-test-main.h : New file.
463         * testusite/dataentry.cc : New file.
464         * testsuite/temp_deriv.cc : New file.
465         * testsuite/register_pair.cc : New file.
466         * testsuite/virtual_inheritance.cc : New file.
467         * testsuite/field-test.cc : New file.
468         * testsuite/nested_vcall_test.cc : New file.
469         * testsuite/template-list-iostream.cc : New file.
470         * testsuite/register_pair_inserts.cc : New file.
471         * testsuite/register_pair_inserts_mt.cc : New file.
472         * testsuite/event.list : New file.
473         * testsuite/parts-test-extra-parts-views.cc : New file.
474         * testsuite/parts-test-extra-parts-views.h : New file.
475         * testsuite/environment-fail-32.s : New file.
476         * testsuite/parts-test-extra-parts.h : New file.
477         * testsuite/temp_deriv2.cc : New file.
478         * testsuite/dlopen_mt.cc : New file.
479         * testsuite/event.h : New file.
480         * testsuite/template-list.cc : New file.
481         * testsuite/replace-fail.cc : New file.
482         * testsuite/Makefile.am : New file.
483         * testsuite/Makefile.in: New file (generated).
484         * testsuite/mempool_negative.c : New file.
485         * testsuite/parts-test-main.cc : New file.
486         * testsuite/event-private.cc : New file.
487         * testsuite/thunk.cc : New file.
488         * testsuite/event-defintiions.cc : New file.
489         * testsuite/event-private.h : New file.
490         * testsuite/parts-test.list : New file.
491         * testusite/register_pair_mt.cc : New file.
492         * testsuite/povray-derived.cc : New file.
493         * testsuite/event-main.cc : New file.
494         * testsuite/environment.cc : New file.
495         * testsuite/template-list2.cc : New file.
496         * testsuite/thunk_vtable_map_attack.cc : New file.
497         * testsuite/parts-test-extra-parts.cc : New file.
498         * testsuite/environment-fail-64.s : New file.
499         * testsuite/dlopen.cc : New file.
500         * testsuite/so.cc : New file.
501         * testsuite/temp_deriv3.cc : New file.
502         * testsuite/const_vtable.cc : New file.
503         * testsuite/mempool_positive.c : New file.
504         * testsuite/dup_name.cc : New file.