]> git.ipfire.org Git - thirdparty/gcc.git/blame - libvtv/ChangeLog
PR jit/64780: configure: --enable-host-shared and the jit
[thirdparty/gcc.git] / libvtv / ChangeLog
CommitLineData
5be42fa9 12015-01-27 Caroline Tice <cmtice@google.com>
2
3 Committing VTV Cywin/Ming patch for Patrick Wollgast
4 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
5 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
6 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
7 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
8 * libvtv/Makefile.in : Regenerate.
9 * libvtv/aclocal.m4 : Regenerate.
10 * libvtv/configure : Regenerate.
11 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
12 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
13 x86_64-*-mingw*)
14 (i?86-*-mingw*): Add to supported targets.
15 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
16 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
17 on Cygwin and MinGW.
18 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
19 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
20 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
21 on Cygwin and MinGW.
22 (__vtv_malloc_init): Exchange call to sysconf with call to port of
23 sysconf on Cygwin and MinGW.
24 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
25 PROT_WRITE on Cygwin and MinGW.
26 * libvtv/map.h : Include stdint.h on MinGW.
27 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
28 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
29 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
30 uintptr_t on Cygwin and MinGW.
31 (read_section_offset_and_length): Add port for Cygwin and MinGW
32 (iterate_modules): New function.
33 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
34 dl_iterate_phdr on Cygwin and MinGW.
35 (vtv_protect_vtable_vars): Likewise.
36 (count_all_pages): Likewise.
37 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
38 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
39 Cygwin and MinGW.
40 (__vtv_open_log): Exchange call to getuid and getpid with
41 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
42 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
43 Cygwin and MinGW.
44 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
45 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
46 and MinGW.
47
704006e9 482014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
49
50 * testsuite/lib/libvtv.exp: Load target-utils.exp
51
4e8a08d4 522014-11-21 H.J. Lu <hongjiu.lu@intel.com>
53
54 PR bootstrap/63784
55 * configure: Regenerated.
56
7c407808 572014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
58
59 PR target/63610
60 * configure: Regenerate.
61
825de484 622013-09-25 Caroline Tice <cmtice@google.com>
63
64 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
65 sure testsuite is not run if libstdc++ and libgcc were not built
66 with vtable verification.
67 * Makefile.in: Regenerated.
68 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
69 to make sure testsuite is not run if libstdc++ and libgcc were not
70 built with vtable verification.
71 * configure: Regenerated.
72
ba746cda 732013-09-24 Caroline Tice <cmtice@google.com>
74
75 * Makefile.am: Change libvtv_includedir to the directory used by
76 the other libraries rather than the top include directory.
77 * Makefile.in: Regenerated.
78
9613c003 792013-09-20 Alan Modra <amodra@gmail.com>
80
81 * configure: Regenerate.
82
1460b36f 832013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
84
85 * configure.tgt: Remove *-*-*android* from supported targets.
86
0e211649 872013-09-09 H.J. Lu <hongjiu.lu@intel.com>
88
89 PR other/58374
90 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
91 * configure: Regenerated.
92
786f8177 932013-09-08 Caroline Tice <cmtice@google.com>
94
95 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
96 * testsuite/environment.cc: Ditto.
97 * testsuite/template-list2.cc: Ditto.
98 * testsuite/event.h: Ditto.
99 * testsuite/dataentry.cc: Ditto.
100 * testsuite/event-private.h: Ditto.
101 * testsuite/virtual_inheritance.cc: Ditto.
102 * testsuite/povray-derived.cc: Ditto.
103 * testsuite/nested_vcall_test.cc: Ditto.
104 * testsuite/template-list-iostream.cc: Ditto.
105 * testsuite/parts-test-extra-parts-views.h: Ditto.
106 * testsuite/virtfunc-test.cc: Ditto.
107 * testsuite/parts-test-extra-parts.h: Ditto.
108 * testsuite/const_vtable.cc: Ditto.
109 * testsuite/template-list.cc: Ditto.
110 * testsuite/dup_name.cc: Ditto.
111 * testsuite/thunk.cc: Ditto.
112 * testsuite/parts-test-main.h: Ditto.
113 * testsuite/mul_inh.cc: Ditto.
114 * testsuite/test1.cc: Ditto.
115 * testsuite/bb_tests.cc: Ditto.
116 * testsuite/v8-test-2.cc: Ditto.
117 * testsuite/thunk_vtable_map_attack.cc: Ditto.
118 * testsuite/xlan-test.cc: Ditto.
119 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
120 change file extension from .cc to .cpp.
121 * testsuite/event-definitions.cpp: Ditto.
122 * testsuite/event-main.cpp: Ditto.
123 * testsuite/derived-main.cpp: Ditto.
124 * testsuite/derived-lib.cpp: Ditto.
125 * testsuite/event-private.cpp: Ditto.
126 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
127 * testsuite/parts-test-extra-parts.cpp: Ditto.
128 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
129 file extensions inside file from .cc to .cpp.
130 * testsuite/event.list: Ditto.
131 * testsuite/derived.list: Ditto.
132 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
133 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
134 (KEY_TYPE_FIXED_SIZE): New define.
135 (key_buffer, name_string, fake_names): New global variables.
136 (generate_names): New function.
137 (vtv_string_hans): New function.
138 (main): Add call to generate_names. Update middle for-loop to
139 initialize new parameters for __VLTRegisterPair... calls; move calls
140 to __VLTRegisterPair... to middle for-loop. Add calls to
141 __VLTRegisterSet...
142 * testsuite/register_pair_mt.cc: Ditto; renamed to
143 register_set_pair_mt.cc
144 * testsuite/libvtv.cc/vtv.exp: New file.
145 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
146 * testsuite/libvtv.mt.cc/mt.exp: New file.
147 * testsuite/lib/libvtv.exp: New file.
148 * testsuite/lib/libvtv-dg.exp: New file.
149 * testsuite/config/default.exp: New file.
150 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
151 subdirectory.)
152 * testsuite/Makefile.in: New file (generated).
153 * testsuite/mempool_negative.c: Change to C++ file; move to
154 libvtv.mempool.cc; include vtv-change-permission.h.
155 (main): Add call to __VLTChangePermission.
156 * testsuite/mempool_positive.c: Change to C++ file; move to
157 libvtv.mempool.cc; include vtv-change-permission.h.
158 (main): Add call to __VLTChangePermission.
159 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
160 * testsuite/environment-fail-64.s: Ditto.
161 * testsutite/dlopen.cc: Ditto.
162 * testsuite/so.cc: Ditto.
163 * testsuite/temp_deriv2.cc: Ditto.
164 * testsuite/field-test.cc: Ditto.
165 * testsuite/dlopen_mt.cc: Ditto.
166 * testsuite/environment-fail-32.s: Ditto.
167 * testsuite/temp_deriv.cc: Ditto.
168 * testsuite/replace-fail.cc: Ditto.
169 * testsuite/other-tests/Makefile.am: New file. Copied from the
170 Makefile.am that used to be in testsuite directory.
171 * testsuite/other-tests/Makefile.in: Generated. (New file).
172 * testsuite/other-tests/README: New file.
173
f5a1c4bf 1742013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
175
176 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
177 definition of check-am:.
178 * testsuite/Makefile.in: Regenerate.
179
e32b76f1 1802013-09-06 Caroline Tice <cmtice@google.com>
181
182 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
183 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
184 * Makefile.in: Regenerate.
185 * configure.ac: Remove checks and tests for --enable-vtable-verify.
186 * configure: Regenerate.
187
762754f5 1882013-08-20 Caroline Tice <cmtice@google.com>
189
190 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
191 * Makefile.in: Regenerate.
192 * configure.ac: Add check for __secure_getenv and secure_getenv.
193 * configure: Regenerate.
194 * vtv_utils.cc : Include stdlib.h
195 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
196 (log_dirs): Remove file static constant.
197 (__vtv_open_log): Increase size of log file name. Add the user
198 and process ids to the file name. Do not put the log files in /tmp.
199 Instead try to get the directory name from an environment variable; if
200 that fails try to use stderr. Add O_NOFOLLOW to the flags
201 for 'open'. Update function comment.
202 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
203
21ebaa24 2042013-08-08 Benjamin Kosnik <bkoz@redhat.com>
6d0992e1 205 Michael Meissner <meissner@linux.vnet.ibm.com>
206
207 * configure.tgt : Simplify, just use VTV_SUPPORTED.
208
21ebaa24 2092013-08-07 Benjamin Kosnik <bkoz@redhat.com>
0adca056 210
211 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
212 * Makefile.in: Regenerate.
213 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
214 * configure.ac: ...here. Make configure more verbose, re-order.
215 * configure: Regenerate.
216
b710ec85 2172013-08-02 Caroline Tice <cmtice@google.com>
762754f5 218 Benjamin Kosnik <bkoz@redhat.com>
219 Luis Lozano <llozano@google.com>
220 Geoff Pike <gpike@google.com>
b710ec85 221
222 Initial check-in of new vtable verification feature.
223 * configure.ac : New file.
224 * acinclude.m4 : New file.
225 * Makefile.am : New file.
226 * aclocal.m4 : New file.
227 * configure.tgt : New file.
228 * configure: New file (generated).
229 * Makefile.in: New file (generated).
230 * vtv_set.h : New file.
231 * vtv_utils.cc : New file.
232 * vtv_utils.h : New file.
233 * vtv_malloc.cc : New file.
234 * vtv_rts.cc : New file.
235 * vtv_malloc.h : New file.
236 * vtv_rts.h : New file.
237 * vtv_fail.cc : New file.
238 * vtv_fail.h : New file.
239 * vtv_map.h : New file.
240 * scripts/run-testsuite.sh : New file.
241 * scripts/sum-vtv-counts.c : New file.
242 * testsuite/parts-test-main.h : New file.
243 * testusite/dataentry.cc : New file.
244 * testsuite/temp_deriv.cc : New file.
245 * testsuite/register_pair.cc : New file.
246 * testsuite/virtual_inheritance.cc : New file.
247 * testsuite/field-test.cc : New file.
248 * testsuite/nested_vcall_test.cc : New file.
249 * testsuite/template-list-iostream.cc : New file.
250 * testsuite/register_pair_inserts.cc : New file.
251 * testsuite/register_pair_inserts_mt.cc : New file.
252 * testsuite/event.list : New file.
253 * testsuite/parts-test-extra-parts-views.cc : New file.
254 * testsuite/parts-test-extra-parts-views.h : New file.
255 * testsuite/environment-fail-32.s : New file.
256 * testsuite/parts-test-extra-parts.h : New file.
257 * testsuite/temp_deriv2.cc : New file.
258 * testsuite/dlopen_mt.cc : New file.
259 * testsuite/event.h : New file.
260 * testsuite/template-list.cc : New file.
261 * testsuite/replace-fail.cc : New file.
262 * testsuite/Makefile.am : New file.
263 * testsuite/Makefile.in: New file (generated).
264 * testsuite/mempool_negative.c : New file.
265 * testsuite/parts-test-main.cc : New file.
266 * testsuite/event-private.cc : New file.
267 * testsuite/thunk.cc : New file.
268 * testsuite/event-defintiions.cc : New file.
269 * testsuite/event-private.h : New file.
270 * testsuite/parts-test.list : New file.
271 * testusite/register_pair_mt.cc : New file.
272 * testsuite/povray-derived.cc : New file.
273 * testsuite/event-main.cc : New file.
274 * testsuite/environment.cc : New file.
275 * testsuite/template-list2.cc : New file.
276 * testsuite/thunk_vtable_map_attack.cc : New file.
277 * testsuite/parts-test-extra-parts.cc : New file.
278 * testsuite/environment-fail-64.s : New file.
279 * testsuite/dlopen.cc : New file.
280 * testsuite/so.cc : New file.
281 * testsuite/temp_deriv3.cc : New file.
282 * testsuite/const_vtable.cc : New file.
283 * testsuite/mempool_positive.c : New file.
284 * testsuite/dup_name.cc : New file.
285