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