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