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