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