1 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
3 * configure: Regenerate.
5 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
8 * configure: Regenerated.
10 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
13 * configure: Regenerated.
15 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
17 * configure: Regenerated.
19 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
21 * configure.ac: Handle `--with-toolexeclibdir='.
22 * Makefile.in: Regenerate.
23 * aclocal.m4: Regenerate.
24 * configure: Regenerate.
25 * testsuite/Makefile.in: Regenerate.
27 2020-01-01 Jakub Jelinek <jakub@redhat.com>
29 Update copyright years.
31 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
33 * configure: Regenerate.
35 2019-02-19 Caroline Tice <cmtice@google.com>
38 * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.
40 2019-01-01 Jakub Jelinek <jakub@redhat.com>
42 Update copyright years.
44 2018-10-31 Joseph Myers <joseph@codesourcery.com>
47 * Makefile.am: Include multilib.am.
48 * configure.ac: Remove AC_PREREQ.
49 * testsuite/Makefile.am (RUNTEST): Remove quotes.
50 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
53 2018-05-02 Tom de Vries <tom@codesourcery.com>
56 * testsuite/lib/libvtv.exp: Include scanltranstree.exp.
58 2018-05-02 Tom de Vries <tom@codesourcery.com>
61 * testsuite/lib/libvtv.exp: Include scanwpaipa.exp.
63 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
65 * configure: Regenerated.
67 2018-04-19 Jakub Jelinek <jakub@redhat.com>
69 * configure: Regenerated.
71 2018-04-18 David Malcolm <dmalcolm@redhat.com>
74 * configure: Regenerate.
76 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
79 * configure: Regenerate.
81 2018-01-03 Jakub Jelinek <jakub@redhat.com>
83 Update copyright years.
85 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
87 * acinclude.m4: Add enable.m4 and cet.m4.
88 * Makefile.in: Regenerate.
89 * testsuite/Makefile.in: Likewise.
90 * configure: Likewise.
91 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
92 * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.
94 2017-01-21 Jakub Jelinek <jakub@redhat.com>
97 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
98 of cat to get version from BASE-VER file.
99 * testsuite/Makefile.in: Regenerated.
101 2017-01-17 Jakub Jelinek <jakub@redhat.com>
104 * configure.ac: Add GCC_BASE_VER.
105 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
106 get version from BASE-VER file.
107 * testsuite/Makefile.in: Regenerated.
108 * configure: Regenerated.
109 * Makefile.in: Regenerated.
111 2017-01-04 Jakub Jelinek <jakub@redhat.com>
113 Update copyright years.
115 2016-11-15 Matthias Klose <doko@ubuntu.com>
117 * configure: Regenerate.
119 2016-05-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
121 * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
122 ENABLE_VTABLE_VERIFY.
124 * Makefile.in: Regenerate.
126 2015-12-02 Matthias Klose <doko@ubuntu.com>
128 * configure.ac: Move AM_ENABLE_MULTILIB before
129 GCC_LIBSTDCXX_RAW_CXX_FLAGS.
130 * configure: Regenerate.
132 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
134 * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
135 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
136 <*-*-solaris2*>: Check for init priority support.
137 Check for getexecname, __fortify_fail, _obstack_begin.
138 (VTV_NO_OBSTACK): New conditional.
139 * configure: Regenerate.
140 * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
141 Create empty config.h
142 * Makefile.in: Regenerate.
144 * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
146 (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
147 (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
149 (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
150 [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
152 (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
153 (iterate_modules): Fix typo.
155 (dl_iterate_phdr_callback): Fix typo.
157 (__VLTChangePermission): Fix typos.
159 2015-11-09 Alan Modra <amodra@gmail.com>
161 * vtv_malloc.cc (obstack_chunk_free): Correct param type.
162 (__vtv_malloc_init): Use obstack_specify_allocation.
164 2015-10-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
166 * configure.tgt (aarch64*-*-linux): Enable.
167 (arm*-*-linux*): Enable.
169 2015-10-09 David Malcolm <dmalcolm@redhat.com>
171 * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
174 2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
178 2015-08-01 Caroline Tice <cmtice@google.com>
181 * Makefile.am: Update to match latest tree.
182 * Makefile.in: Regenerate.
183 * testsuite/lib/libvtv: Brought up to date.
184 * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
186 * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
187 initializations to work correctly with VTV_DEBUG defined.
189 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
191 * Makefile.in: Regenerated with automake-1.11.6.
192 * aclocal.m4: Likewise.
193 * configure: Likewise.
194 * testsuite/Makefile.in: Likewise.
195 * testsuite/other-tests/Makefile.in: Likewise.
197 2015-02-09 Thomas Schwinge <thomas@codesourcery.com>
199 * Makefile.in: Regenerate.
200 * aclocal.m4: Likewise.
201 * configure: Likewise.
202 * testsuite/Makefile.in: Likewise.
204 2015-01-29 Caroline Tice <cmtice@google.com>
206 Committing VTV Cywin/Ming patch for Patrick Wollgast
207 * libvtv/Makefile.in : Regenerate.
208 * libvtv/configure : Regenerate.
210 2015-01-28 Caroline Tice <cmtice@google.com>
212 Committing VTV Cywin/Ming patch for Patrick Wollgast
213 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
214 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
215 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
216 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
217 * libvtv/aclocal.m4 : Regenerate.
218 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
219 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
221 (i?86-*-mingw*): Add to supported targets.
222 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
223 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
225 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
226 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
227 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
229 (__vtv_malloc_init): Exchange call to sysconf with call to port of
230 sysconf on Cygwin and MinGW.
231 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
232 PROT_WRITE on Cygwin and MinGW.
233 * libvtv/map.h : Include stdint.h on MinGW.
234 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
235 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
236 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
237 uintptr_t on Cygwin and MinGW.
238 (read_section_offset_and_length): Add port for Cygwin and MinGW
239 (iterate_modules): New function.
240 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
241 dl_iterate_phdr on Cygwin and MinGW.
242 (vtv_protect_vtable_vars): Likewise.
243 (count_all_pages): Likewise.
244 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
245 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
247 (__vtv_open_log): Exchange call to getuid and getpid with
248 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
249 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
251 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
252 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
255 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
257 * testsuite/lib/libvtv.exp: Load target-utils.exp
259 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
262 * configure: Regenerated.
264 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
267 * configure: Regenerate.
269 2013-09-25 Caroline Tice <cmtice@google.com>
271 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
272 sure testsuite is not run if libstdc++ and libgcc were not built
273 with vtable verification.
274 * Makefile.in: Regenerated.
275 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
276 to make sure testsuite is not run if libstdc++ and libgcc were not
277 built with vtable verification.
278 * configure: Regenerated.
280 2013-09-24 Caroline Tice <cmtice@google.com>
282 * Makefile.am: Change libvtv_includedir to the directory used by
283 the other libraries rather than the top include directory.
284 * Makefile.in: Regenerated.
286 2013-09-20 Alan Modra <amodra@gmail.com>
288 * configure: Regenerate.
290 2013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
292 * configure.tgt: Remove *-*-*android* from supported targets.
294 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
297 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
298 * configure: Regenerated.
300 2013-09-08 Caroline Tice <cmtice@google.com>
302 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
303 * testsuite/environment.cc: Ditto.
304 * testsuite/template-list2.cc: Ditto.
305 * testsuite/event.h: Ditto.
306 * testsuite/dataentry.cc: Ditto.
307 * testsuite/event-private.h: Ditto.
308 * testsuite/virtual_inheritance.cc: Ditto.
309 * testsuite/povray-derived.cc: Ditto.
310 * testsuite/nested_vcall_test.cc: Ditto.
311 * testsuite/template-list-iostream.cc: Ditto.
312 * testsuite/parts-test-extra-parts-views.h: Ditto.
313 * testsuite/virtfunc-test.cc: Ditto.
314 * testsuite/parts-test-extra-parts.h: Ditto.
315 * testsuite/const_vtable.cc: Ditto.
316 * testsuite/template-list.cc: Ditto.
317 * testsuite/dup_name.cc: Ditto.
318 * testsuite/thunk.cc: Ditto.
319 * testsuite/parts-test-main.h: Ditto.
320 * testsuite/mul_inh.cc: Ditto.
321 * testsuite/test1.cc: Ditto.
322 * testsuite/bb_tests.cc: Ditto.
323 * testsuite/v8-test-2.cc: Ditto.
324 * testsuite/thunk_vtable_map_attack.cc: Ditto.
325 * testsuite/xlan-test.cc: Ditto.
326 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
327 change file extension from .cc to .cpp.
328 * testsuite/event-definitions.cpp: Ditto.
329 * testsuite/event-main.cpp: Ditto.
330 * testsuite/derived-main.cpp: Ditto.
331 * testsuite/derived-lib.cpp: Ditto.
332 * testsuite/event-private.cpp: Ditto.
333 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
334 * testsuite/parts-test-extra-parts.cpp: Ditto.
335 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
336 file extensions inside file from .cc to .cpp.
337 * testsuite/event.list: Ditto.
338 * testsuite/derived.list: Ditto.
339 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
340 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
341 (KEY_TYPE_FIXED_SIZE): New define.
342 (key_buffer, name_string, fake_names): New global variables.
343 (generate_names): New function.
344 (vtv_string_hans): New function.
345 (main): Add call to generate_names. Update middle for-loop to
346 initialize new parameters for __VLTRegisterPair... calls; move calls
347 to __VLTRegisterPair... to middle for-loop. Add calls to
349 * testsuite/register_pair_mt.cc: Ditto; renamed to
350 register_set_pair_mt.cc
351 * testsuite/libvtv.cc/vtv.exp: New file.
352 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
353 * testsuite/libvtv.mt.cc/mt.exp: New file.
354 * testsuite/lib/libvtv.exp: New file.
355 * testsuite/lib/libvtv-dg.exp: New file.
356 * testsuite/config/default.exp: New file.
357 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
359 * testsuite/Makefile.in: New file (generated).
360 * testsuite/mempool_negative.c: Change to C++ file; move to
361 libvtv.mempool.cc; include vtv-change-permission.h.
362 (main): Add call to __VLTChangePermission.
363 * testsuite/mempool_positive.c: Change to C++ file; move to
364 libvtv.mempool.cc; include vtv-change-permission.h.
365 (main): Add call to __VLTChangePermission.
366 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
367 * testsuite/environment-fail-64.s: Ditto.
368 * testsutite/dlopen.cc: Ditto.
369 * testsuite/so.cc: Ditto.
370 * testsuite/temp_deriv2.cc: Ditto.
371 * testsuite/field-test.cc: Ditto.
372 * testsuite/dlopen_mt.cc: Ditto.
373 * testsuite/environment-fail-32.s: Ditto.
374 * testsuite/temp_deriv.cc: Ditto.
375 * testsuite/replace-fail.cc: Ditto.
376 * testsuite/other-tests/Makefile.am: New file. Copied from the
377 Makefile.am that used to be in testsuite directory.
378 * testsuite/other-tests/Makefile.in: Generated. (New file).
379 * testsuite/other-tests/README: New file.
381 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
383 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
384 definition of check-am:.
385 * testsuite/Makefile.in: Regenerate.
387 2013-09-06 Caroline Tice <cmtice@google.com>
389 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
390 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
391 * Makefile.in: Regenerate.
392 * configure.ac: Remove checks and tests for --enable-vtable-verify.
393 * configure: Regenerate.
395 2013-08-20 Caroline Tice <cmtice@google.com>
397 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
398 * Makefile.in: Regenerate.
399 * configure.ac: Add check for __secure_getenv and secure_getenv.
400 * configure: Regenerate.
401 * vtv_utils.cc : Include stdlib.h
402 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
403 (log_dirs): Remove file static constant.
404 (__vtv_open_log): Increase size of log file name. Add the user
405 and process ids to the file name. Do not put the log files in /tmp.
406 Instead try to get the directory name from an environment variable; if
407 that fails try to use stderr. Add O_NOFOLLOW to the flags
408 for 'open'. Update function comment.
409 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
411 2013-08-08 Benjamin Kosnik <bkoz@redhat.com>
412 Michael Meissner <meissner@linux.vnet.ibm.com>
414 * configure.tgt : Simplify, just use VTV_SUPPORTED.
416 2013-08-07 Benjamin Kosnik <bkoz@redhat.com>
418 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
419 * Makefile.in: Regenerate.
420 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
421 * configure.ac: ...here. Make configure more verbose, re-order.
422 * configure: Regenerate.
424 2013-08-02 Caroline Tice <cmtice@google.com>
425 Benjamin Kosnik <bkoz@redhat.com>
426 Luis Lozano <llozano@google.com>
427 Geoff Pike <gpike@google.com>
429 Initial check-in of new vtable verification feature.
430 * configure.ac : New file.
431 * acinclude.m4 : New file.
432 * Makefile.am : New file.
433 * aclocal.m4 : New file.
434 * configure.tgt : New file.
435 * configure: New file (generated).
436 * Makefile.in: New file (generated).
437 * vtv_set.h : New file.
438 * vtv_utils.cc : New file.
439 * vtv_utils.h : New file.
440 * vtv_malloc.cc : New file.
441 * vtv_rts.cc : New file.
442 * vtv_malloc.h : New file.
443 * vtv_rts.h : New file.
444 * vtv_fail.cc : New file.
445 * vtv_fail.h : New file.
446 * vtv_map.h : New file.
447 * scripts/run-testsuite.sh : New file.
448 * scripts/sum-vtv-counts.c : New file.
449 * testsuite/parts-test-main.h : New file.
450 * testusite/dataentry.cc : New file.
451 * testsuite/temp_deriv.cc : New file.
452 * testsuite/register_pair.cc : New file.
453 * testsuite/virtual_inheritance.cc : New file.
454 * testsuite/field-test.cc : New file.
455 * testsuite/nested_vcall_test.cc : New file.
456 * testsuite/template-list-iostream.cc : New file.
457 * testsuite/register_pair_inserts.cc : New file.
458 * testsuite/register_pair_inserts_mt.cc : New file.
459 * testsuite/event.list : New file.
460 * testsuite/parts-test-extra-parts-views.cc : New file.
461 * testsuite/parts-test-extra-parts-views.h : New file.
462 * testsuite/environment-fail-32.s : New file.
463 * testsuite/parts-test-extra-parts.h : New file.
464 * testsuite/temp_deriv2.cc : New file.
465 * testsuite/dlopen_mt.cc : New file.
466 * testsuite/event.h : New file.
467 * testsuite/template-list.cc : New file.
468 * testsuite/replace-fail.cc : New file.
469 * testsuite/Makefile.am : New file.
470 * testsuite/Makefile.in: New file (generated).
471 * testsuite/mempool_negative.c : New file.
472 * testsuite/parts-test-main.cc : New file.
473 * testsuite/event-private.cc : New file.
474 * testsuite/thunk.cc : New file.
475 * testsuite/event-defintiions.cc : New file.
476 * testsuite/event-private.h : New file.
477 * testsuite/parts-test.list : New file.
478 * testusite/register_pair_mt.cc : New file.
479 * testsuite/povray-derived.cc : New file.
480 * testsuite/event-main.cc : New file.
481 * testsuite/environment.cc : New file.
482 * testsuite/template-list2.cc : New file.
483 * testsuite/thunk_vtable_map_attack.cc : New file.
484 * testsuite/parts-test-extra-parts.cc : New file.
485 * testsuite/environment-fail-64.s : New file.
486 * testsuite/dlopen.cc : New file.
487 * testsuite/so.cc : New file.
488 * testsuite/temp_deriv3.cc : New file.
489 * testsuite/const_vtable.cc : New file.
490 * testsuite/mempool_positive.c : New file.
491 * testsuite/dup_name.cc : New file.