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