1 2024-11-18 David Malcolm <dmalcolm@redhat.com>
3 * testsuite/lib/libvtv.exp: Add
4 "load_gcc_lib dg-test-cleanup.exp".
6 2024-09-02 Alex Coplan <alex.coplan@arm.com>
8 * testsuite/lib/libvtv.exp: Load scanltrans.exp instead of
11 2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14 * testsuite/lib/libvtv.exp (libvtv_target_compile): Pass new
15 dg-additional-files-options args.
17 2024-04-02 Jakub Jelinek <jakub@redhat.com>
19 * vtv_rts.cc (vtv_fail): Fix duplicated words; to to -> to.
20 * vtv_fail.cc (vtv_fail): Likewise.
22 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
24 * configure: Regenerate.
25 * configure.ac: Handle Darwin rpaths.
27 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
29 * configure: Regenerate.
31 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com>
33 * configure: Regenerate.
35 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
37 * configure: Regenerate.
39 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
41 * configure: Regenerate.
43 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
45 * configure: Regenerate.
47 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
49 * configure: Regenerate.
51 2023-01-07 LIU Hao <lh_mouse@126.com>
54 * vtv_malloc.cc: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.
55 * vtv_rts.cc: Likewise.
56 * vtv_utils.cc: Likewise.
58 2022-10-31 Lulu Cheng <chenglulu@loongson.cn>
59 qijingwen <qijingwen@loongson.cn>
61 * configure.tgt: Add loongarch support.
63 2022-10-12 Martin Liska <mliska@suse.cz>
65 * configure: Regenerate.
67 2022-10-12 Lulu Cheng <chenglulu@loongson.cn>
69 * testsuite/lib/libvtv-dg.exp: Add load_gcc_lib of scansarif.exp.
71 2022-10-11 Olivier Hainque <hainque@adacore.com>
72 Olivier Hainque <hainque@adacore.com>
74 * configure: Regenerate.
76 2022-08-25 Martin Liska <mliska@suse.cz>
78 * configure: Regenerate.
80 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
82 * configure: Re-generate.
84 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
87 * configure: Regenerate.
89 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
91 * configure: Regenerate.
93 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
96 * configure: Regenerated.
98 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
101 * configure: Regenerated.
103 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
105 * configure: Regenerated.
107 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
109 * configure.ac: Handle `--with-toolexeclibdir='.
110 * Makefile.in: Regenerate.
111 * aclocal.m4: Regenerate.
112 * configure: Regenerate.
113 * testsuite/Makefile.in: Regenerate.
115 2020-01-01 Jakub Jelinek <jakub@redhat.com>
117 Update copyright years.
119 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
121 * configure: Regenerate.
123 2019-02-19 Caroline Tice <cmtice@google.com>
126 * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.
128 2019-01-01 Jakub Jelinek <jakub@redhat.com>
130 Update copyright years.
132 2018-10-31 Joseph Myers <joseph@codesourcery.com>
135 * Makefile.am: Include multilib.am.
136 * configure.ac: Remove AC_PREREQ.
137 * testsuite/Makefile.am (RUNTEST): Remove quotes.
138 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
141 2018-05-02 Tom de Vries <tom@codesourcery.com>
144 * testsuite/lib/libvtv.exp: Include scanltranstree.exp.
146 2018-05-02 Tom de Vries <tom@codesourcery.com>
149 * testsuite/lib/libvtv.exp: Include scanwpaipa.exp.
151 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
153 * configure: Regenerated.
155 2018-04-19 Jakub Jelinek <jakub@redhat.com>
157 * configure: Regenerated.
159 2018-04-18 David Malcolm <dmalcolm@redhat.com>
162 * configure: Regenerate.
164 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
167 * configure: Regenerate.
169 2018-01-03 Jakub Jelinek <jakub@redhat.com>
171 Update copyright years.
173 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
175 * acinclude.m4: Add enable.m4 and cet.m4.
176 * Makefile.in: Regenerate.
177 * testsuite/Makefile.in: Likewise.
178 * configure: Likewise.
179 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
180 * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.
182 2017-01-21 Jakub Jelinek <jakub@redhat.com>
185 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
186 of cat to get version from BASE-VER file.
187 * testsuite/Makefile.in: Regenerated.
189 2017-01-17 Jakub Jelinek <jakub@redhat.com>
192 * configure.ac: Add GCC_BASE_VER.
193 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
194 get version from BASE-VER file.
195 * testsuite/Makefile.in: Regenerated.
196 * configure: Regenerated.
197 * Makefile.in: Regenerated.
199 2017-01-04 Jakub Jelinek <jakub@redhat.com>
201 Update copyright years.
203 2016-11-15 Matthias Klose <doko@ubuntu.com>
205 * configure: Regenerate.
207 2016-05-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
209 * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
210 ENABLE_VTABLE_VERIFY.
212 * Makefile.in: Regenerate.
214 2015-12-02 Matthias Klose <doko@ubuntu.com>
216 * configure.ac: Move AM_ENABLE_MULTILIB before
217 GCC_LIBSTDCXX_RAW_CXX_FLAGS.
218 * configure: Regenerate.
220 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
222 * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
223 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
224 <*-*-solaris2*>: Check for init priority support.
225 Check for getexecname, __fortify_fail, _obstack_begin.
226 (VTV_NO_OBSTACK): New conditional.
227 * configure: Regenerate.
228 * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
229 Create empty config.h
230 * Makefile.in: Regenerate.
232 * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
234 (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
235 (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
237 (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
238 [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
240 (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
241 (iterate_modules): Fix typo.
243 (dl_iterate_phdr_callback): Fix typo.
245 (__VLTChangePermission): Fix typos.
247 2015-11-09 Alan Modra <amodra@gmail.com>
249 * vtv_malloc.cc (obstack_chunk_free): Correct param type.
250 (__vtv_malloc_init): Use obstack_specify_allocation.
252 2015-10-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
254 * configure.tgt (aarch64*-*-linux): Enable.
255 (arm*-*-linux*): Enable.
257 2015-10-09 David Malcolm <dmalcolm@redhat.com>
259 * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
262 2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
266 2015-08-01 Caroline Tice <cmtice@google.com>
269 * Makefile.am: Update to match latest tree.
270 * Makefile.in: Regenerate.
271 * testsuite/lib/libvtv: Brought up to date.
272 * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
274 * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
275 initializations to work correctly with VTV_DEBUG defined.
277 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
279 * Makefile.in: Regenerated with automake-1.11.6.
280 * aclocal.m4: Likewise.
281 * configure: Likewise.
282 * testsuite/Makefile.in: Likewise.
283 * testsuite/other-tests/Makefile.in: Likewise.
285 2015-02-09 Thomas Schwinge <thomas@codesourcery.com>
287 * Makefile.in: Regenerate.
288 * aclocal.m4: Likewise.
289 * configure: Likewise.
290 * testsuite/Makefile.in: Likewise.
292 2015-01-29 Caroline Tice <cmtice@google.com>
294 Committing VTV Cywin/Ming patch for Patrick Wollgast
295 * libvtv/Makefile.in : Regenerate.
296 * libvtv/configure : Regenerate.
298 2015-01-28 Caroline Tice <cmtice@google.com>
300 Committing VTV Cywin/Ming patch for Patrick Wollgast
301 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
302 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
303 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
304 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
305 * libvtv/aclocal.m4 : Regenerate.
306 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
307 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
309 (i?86-*-mingw*): Add to supported targets.
310 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
311 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
313 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
314 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
315 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
317 (__vtv_malloc_init): Exchange call to sysconf with call to port of
318 sysconf on Cygwin and MinGW.
319 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
320 PROT_WRITE on Cygwin and MinGW.
321 * libvtv/map.h : Include stdint.h on MinGW.
322 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
323 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
324 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
325 uintptr_t on Cygwin and MinGW.
326 (read_section_offset_and_length): Add port for Cygwin and MinGW
327 (iterate_modules): New function.
328 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
329 dl_iterate_phdr on Cygwin and MinGW.
330 (vtv_protect_vtable_vars): Likewise.
331 (count_all_pages): Likewise.
332 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
333 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
335 (__vtv_open_log): Exchange call to getuid and getpid with
336 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
337 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
339 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
340 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
343 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
345 * testsuite/lib/libvtv.exp: Load target-utils.exp
347 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
350 * configure: Regenerated.
352 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
355 * configure: Regenerate.
357 2013-09-25 Caroline Tice <cmtice@google.com>
359 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
360 sure testsuite is not run if libstdc++ and libgcc were not built
361 with vtable verification.
362 * Makefile.in: Regenerated.
363 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
364 to make sure testsuite is not run if libstdc++ and libgcc were not
365 built with vtable verification.
366 * configure: Regenerated.
368 2013-09-24 Caroline Tice <cmtice@google.com>
370 * Makefile.am: Change libvtv_includedir to the directory used by
371 the other libraries rather than the top include directory.
372 * Makefile.in: Regenerated.
374 2013-09-20 Alan Modra <amodra@gmail.com>
376 * configure: Regenerate.
378 2013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
380 * configure.tgt: Remove *-*-*android* from supported targets.
382 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
385 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
386 * configure: Regenerated.
388 2013-09-08 Caroline Tice <cmtice@google.com>
390 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
391 * testsuite/environment.cc: Ditto.
392 * testsuite/template-list2.cc: Ditto.
393 * testsuite/event.h: Ditto.
394 * testsuite/dataentry.cc: Ditto.
395 * testsuite/event-private.h: Ditto.
396 * testsuite/virtual_inheritance.cc: Ditto.
397 * testsuite/povray-derived.cc: Ditto.
398 * testsuite/nested_vcall_test.cc: Ditto.
399 * testsuite/template-list-iostream.cc: Ditto.
400 * testsuite/parts-test-extra-parts-views.h: Ditto.
401 * testsuite/virtfunc-test.cc: Ditto.
402 * testsuite/parts-test-extra-parts.h: Ditto.
403 * testsuite/const_vtable.cc: Ditto.
404 * testsuite/template-list.cc: Ditto.
405 * testsuite/dup_name.cc: Ditto.
406 * testsuite/thunk.cc: Ditto.
407 * testsuite/parts-test-main.h: Ditto.
408 * testsuite/mul_inh.cc: Ditto.
409 * testsuite/test1.cc: Ditto.
410 * testsuite/bb_tests.cc: Ditto.
411 * testsuite/v8-test-2.cc: Ditto.
412 * testsuite/thunk_vtable_map_attack.cc: Ditto.
413 * testsuite/xlan-test.cc: Ditto.
414 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
415 change file extension from .cc to .cpp.
416 * testsuite/event-definitions.cpp: Ditto.
417 * testsuite/event-main.cpp: Ditto.
418 * testsuite/derived-main.cpp: Ditto.
419 * testsuite/derived-lib.cpp: Ditto.
420 * testsuite/event-private.cpp: Ditto.
421 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
422 * testsuite/parts-test-extra-parts.cpp: Ditto.
423 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
424 file extensions inside file from .cc to .cpp.
425 * testsuite/event.list: Ditto.
426 * testsuite/derived.list: Ditto.
427 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
428 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
429 (KEY_TYPE_FIXED_SIZE): New define.
430 (key_buffer, name_string, fake_names): New global variables.
431 (generate_names): New function.
432 (vtv_string_hans): New function.
433 (main): Add call to generate_names. Update middle for-loop to
434 initialize new parameters for __VLTRegisterPair... calls; move calls
435 to __VLTRegisterPair... to middle for-loop. Add calls to
437 * testsuite/register_pair_mt.cc: Ditto; renamed to
438 register_set_pair_mt.cc
439 * testsuite/libvtv.cc/vtv.exp: New file.
440 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
441 * testsuite/libvtv.mt.cc/mt.exp: New file.
442 * testsuite/lib/libvtv.exp: New file.
443 * testsuite/lib/libvtv-dg.exp: New file.
444 * testsuite/config/default.exp: New file.
445 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
447 * testsuite/Makefile.in: New file (generated).
448 * testsuite/mempool_negative.c: Change to C++ file; move to
449 libvtv.mempool.cc; include vtv-change-permission.h.
450 (main): Add call to __VLTChangePermission.
451 * testsuite/mempool_positive.c: Change to C++ file; move to
452 libvtv.mempool.cc; include vtv-change-permission.h.
453 (main): Add call to __VLTChangePermission.
454 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
455 * testsuite/environment-fail-64.s: Ditto.
456 * testsutite/dlopen.cc: Ditto.
457 * testsuite/so.cc: Ditto.
458 * testsuite/temp_deriv2.cc: Ditto.
459 * testsuite/field-test.cc: Ditto.
460 * testsuite/dlopen_mt.cc: Ditto.
461 * testsuite/environment-fail-32.s: Ditto.
462 * testsuite/temp_deriv.cc: Ditto.
463 * testsuite/replace-fail.cc: Ditto.
464 * testsuite/other-tests/Makefile.am: New file. Copied from the
465 Makefile.am that used to be in testsuite directory.
466 * testsuite/other-tests/Makefile.in: Generated. (New file).
467 * testsuite/other-tests/README: New file.
469 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
471 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
472 definition of check-am:.
473 * testsuite/Makefile.in: Regenerate.
475 2013-09-06 Caroline Tice <cmtice@google.com>
477 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
478 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
479 * Makefile.in: Regenerate.
480 * configure.ac: Remove checks and tests for --enable-vtable-verify.
481 * configure: Regenerate.
483 2013-08-20 Caroline Tice <cmtice@google.com>
485 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
486 * Makefile.in: Regenerate.
487 * configure.ac: Add check for __secure_getenv and secure_getenv.
488 * configure: Regenerate.
489 * vtv_utils.cc : Include stdlib.h
490 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
491 (log_dirs): Remove file static constant.
492 (__vtv_open_log): Increase size of log file name. Add the user
493 and process ids to the file name. Do not put the log files in /tmp.
494 Instead try to get the directory name from an environment variable; if
495 that fails try to use stderr. Add O_NOFOLLOW to the flags
496 for 'open'. Update function comment.
497 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
499 2013-08-08 Benjamin Kosnik <bkoz@redhat.com>
500 Michael Meissner <meissner@linux.vnet.ibm.com>
502 * configure.tgt : Simplify, just use VTV_SUPPORTED.
504 2013-08-07 Benjamin Kosnik <bkoz@redhat.com>
506 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
507 * Makefile.in: Regenerate.
508 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
509 * configure.ac: ...here. Make configure more verbose, re-order.
510 * configure: Regenerate.
512 2013-08-02 Caroline Tice <cmtice@google.com>
513 Benjamin Kosnik <bkoz@redhat.com>
514 Luis Lozano <llozano@google.com>
515 Geoff Pike <gpike@google.com>
517 Initial check-in of new vtable verification feature.
518 * configure.ac : New file.
519 * acinclude.m4 : New file.
520 * Makefile.am : New file.
521 * aclocal.m4 : New file.
522 * configure.tgt : New file.
523 * configure: New file (generated).
524 * Makefile.in: New file (generated).
525 * vtv_set.h : New file.
526 * vtv_utils.cc : New file.
527 * vtv_utils.h : New file.
528 * vtv_malloc.cc : New file.
529 * vtv_rts.cc : New file.
530 * vtv_malloc.h : New file.
531 * vtv_rts.h : New file.
532 * vtv_fail.cc : New file.
533 * vtv_fail.h : New file.
534 * vtv_map.h : New file.
535 * scripts/run-testsuite.sh : New file.
536 * scripts/sum-vtv-counts.c : New file.
537 * testsuite/parts-test-main.h : New file.
538 * testusite/dataentry.cc : New file.
539 * testsuite/temp_deriv.cc : New file.
540 * testsuite/register_pair.cc : New file.
541 * testsuite/virtual_inheritance.cc : New file.
542 * testsuite/field-test.cc : New file.
543 * testsuite/nested_vcall_test.cc : New file.
544 * testsuite/template-list-iostream.cc : New file.
545 * testsuite/register_pair_inserts.cc : New file.
546 * testsuite/register_pair_inserts_mt.cc : New file.
547 * testsuite/event.list : New file.
548 * testsuite/parts-test-extra-parts-views.cc : New file.
549 * testsuite/parts-test-extra-parts-views.h : New file.
550 * testsuite/environment-fail-32.s : New file.
551 * testsuite/parts-test-extra-parts.h : New file.
552 * testsuite/temp_deriv2.cc : New file.
553 * testsuite/dlopen_mt.cc : New file.
554 * testsuite/event.h : New file.
555 * testsuite/template-list.cc : New file.
556 * testsuite/replace-fail.cc : New file.
557 * testsuite/Makefile.am : New file.
558 * testsuite/Makefile.in: New file (generated).
559 * testsuite/mempool_negative.c : New file.
560 * testsuite/parts-test-main.cc : New file.
561 * testsuite/event-private.cc : New file.
562 * testsuite/thunk.cc : New file.
563 * testsuite/event-defintiions.cc : New file.
564 * testsuite/event-private.h : New file.
565 * testsuite/parts-test.list : New file.
566 * testusite/register_pair_mt.cc : New file.
567 * testsuite/povray-derived.cc : New file.
568 * testsuite/event-main.cc : New file.
569 * testsuite/environment.cc : New file.
570 * testsuite/template-list2.cc : New file.
571 * testsuite/thunk_vtable_map_attack.cc : New file.
572 * testsuite/parts-test-extra-parts.cc : New file.
573 * testsuite/environment-fail-64.s : New file.
574 * testsuite/dlopen.cc : New file.
575 * testsuite/so.cc : New file.
576 * testsuite/temp_deriv3.cc : New file.
577 * testsuite/const_vtable.cc : New file.
578 * testsuite/mempool_positive.c : New file.
579 * testsuite/dup_name.cc : New file.