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