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