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