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