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