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