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