aboutsummaryrefslogtreecommitdiff
path: root/libvtv/ChangeLog
blob: 8e7b9513fcb6e034bf500166498fccdfc37d52b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
2020-05-29  H.J. Lu  <hjl.tools@gmail.com>

	PR bootstrap/95413
	* configure: Regenerated.

2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/95147
	* configure: Regenerated.

2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>

	* configure: Regenerated.

2020-01-24  Maciej W. Rozycki  <macro@wdc.com>

	* configure.ac: Handle `--with-toolexeclibdir='.
	* Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/Makefile.in: Regenerate.

2020-01-01  Jakub Jelinek  <jakub@redhat.com>

	Update copyright years.

2019-09-27  Maciej W. Rozycki  <macro@wdc.com>

	* configure: Regenerate.

2019-02-19  Caroline Tice <cmtice@google.com>

	Fix testsuite
	* testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.

2019-01-01  Jakub Jelinek  <jakub@redhat.com>

	Update copyright years.

2018-10-31  Joseph Myers  <joseph@codesourcery.com>

	PR bootstrap/82856
	* Makefile.am: Include multilib.am.
	* configure.ac: Remove AC_PREREQ.
	* testsuite/Makefile.am (RUNTEST): Remove quotes.
	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
	Regenerate.

2018-05-02  Tom de Vries  <tom@codesourcery.com>

	PR testsuite/85106
	* testsuite/lib/libvtv.exp: Include scanltranstree.exp.

2018-05-02  Tom de Vries  <tom@codesourcery.com>

	PR testsuite/85106
	* testsuite/lib/libvtv.exp: Include scanwpaipa.exp.

2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>

	* configure: Regenerated.

2018-04-19  Jakub Jelinek  <jakub@redhat.com>

	* configure: Regenerated.

2018-04-18  David Malcolm  <dmalcolm@redhat.com>

	PR jit/85384
	* configure: Regenerate.

2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

	PR target/84148
	* configure: Regenerate.

2018-01-03  Jakub Jelinek  <jakub@redhat.com>

	Update copyright years.

2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

	* acinclude.m4: Add enable.m4 and cet.m4.
	* Makefile.in: Regenerate.
	* testsuite/Makefile.in: Likewise.
	* configure: Likewise.
	* configure.ac: Set CET_FLAGS. Update XCFLAGS.
	* testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.

2017-01-21  Jakub Jelinek  <jakub@redhat.com>

	PR other/79046
	* testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
	of cat to get version from BASE-VER file.
	* testsuite/Makefile.in: Regenerated.

2017-01-17  Jakub Jelinek  <jakub@redhat.com>

	PR other/79046
	* configure.ac: Add GCC_BASE_VER.
	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
	get version from BASE-VER file.
	* testsuite/Makefile.in: Regenerated.
	* configure: Regenerated.
	* Makefile.in: Regenerated.

2017-01-04  Jakub Jelinek  <jakub@redhat.com>

	Update copyright years.

2016-11-15  Matthias Klose  <doko@ubuntu.com>

	* configure: Regenerate.

2016-05-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* Makefile.am (toolexeclib_LTLIBRARIES): Only set if
	ENABLE_VTABLE_VERIFY.
	Simplify.
	* Makefile.in: Regenerate.

2015-12-02  Matthias Klose  <doko@ubuntu.com>

	* configure.ac: Move AM_ENABLE_MULTILIB before
	GCC_LIBSTDCXX_RAW_CXX_FLAGS.
	* configure: Regenerate.

2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
	* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
	<*-*-solaris2*>: Check for init priority support.
	Check for getexecname, __fortify_fail, _obstack_begin.
	(VTV_NO_OBSTACK): New conditional.
	* configure: Regenerate.
	* Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
	Create empty config.h
	* Makefile.in: Regenerate.

	* vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
	variable.
	(read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
	(dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.

	(__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
	[!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.

	(read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
	(iterate_modules): Fix typo.
	Use VTV_PAGE_SIZE.
	(dl_iterate_phdr_callback): Fix typo.
	Use VTV_PAGE_SIZE.
	(__VLTChangePermission): Fix typos.

2015-11-09  Alan Modra  <amodra@gmail.com>

	* vtv_malloc.cc (obstack_chunk_free): Correct param type.
	(__vtv_malloc_init): Use obstack_specify_allocation.

2015-10-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* configure.tgt (aarch64*-*-linux): Enable.
	(arm*-*-linux*): Enable.

2015-10-09  David Malcolm  <dmalcolm@redhat.com>

	* testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
	using load_gcc_lib.

2015-08-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	Update copyrights.

2015-08-01  Caroline Tice  <cmtice@google.com>

	PR 66521
	* Makefile.am:  Update to match latest tree.
	* Makefile.in: Regenerate.
	* testsuite/lib/libvtv: Brought up to date.
	* vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
	function (old bug!).
	* vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
	initializations to work correctly with VTV_DEBUG defined.

2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>

	* Makefile.in: Regenerated with automake-1.11.6.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* testsuite/Makefile.in: Likewise.
	* testsuite/other-tests/Makefile.in: Likewise.

2015-02-09  Thomas Schwinge  <thomas@codesourcery.com>

	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* testsuite/Makefile.in: Likewise.

2015-01-29  Caroline Tice  <cmtice@google.com>

	Committing VTV Cywin/Ming patch for Patrick Wollgast
	* libvtv/Makefile.in : Regenerate.
	* libvtv/configure : Regenerate.

2015-01-28  Caroline Tice  <cmtice@google.com>

	Committing VTV Cywin/Ming patch for Patrick Wollgast
	* libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
	VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
	libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
	set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
	* libvtv/aclocal.m4 : Regenerate.
	* libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
	* libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
	x86_64-*-mingw*)
	(i?86-*-mingw*): Add to supported targets.
	* libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
	(log_error_message): Skip calls to backtrace and backtrace_symbols_fd
	on Cygwin and MinGW.
	* libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
	inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
	(obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
	on Cygwin and MinGW.
	(__vtv_malloc_init): Exchange call to sysconf with call to port of
	sysconf on Cygwin and MinGW.
	* libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
	PROT_WRITE on Cygwin and MinGW.
	* libvtv/map.h : Include stdint.h on MinGW.
	* libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
	include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
	port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
	uintptr_t on Cygwin and MinGW.
	(read_section_offset_and_length): Add port for Cygwin and MinGW
	(iterate_modules): New function.
	(vtv_unprotect_vtable_vars): Use iterate_modules instead of
	dl_iterate_phdr on Cygwin and MinGW.
	(vtv_protect_vtable_vars): Likewise.
	(count_all_pages): Likewise.
	(dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
	* libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
	 Cygwin and MinGW.
	(__vtv_open_log): Exchange call to getuid and getpid with
	GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
	and MinGW.  Adjust calls to mkdir on MinGW.  Adjust call to open on
	Cygwin and MinGW.
	(__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
	(__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
	and MinGW.

2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* testsuite/lib/libvtv.exp: Load target-utils.exp

2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/63784
	* configure: Regenerated.

2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

	PR target/63610
	* configure: Regenerate.

2013-09-25 Caroline Tice  <cmtice@google.com>

	* Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
	sure testsuite is not run if libstdc++ and libgcc were not built
	with vtable verification.
	* Makefile.in: Regenerated.
	* configure.ac: Reinstate checks for --enable-vtable-verify flag,
	to make sure testsuite is not run if libstdc++ and libgcc were not
	built with vtable verification.
	* configure: Regenerated.

2013-09-24  Caroline Tice  <cmtice@google.com>

	* Makefile.am:  Change libvtv_includedir to the directory used by
	the other libraries rather than the top include directory.
	* Makefile.in: Regenerated.

2013-09-20  Alan Modra  <amodra@gmail.com>

	* configure: Regenerate.

2013-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>

	* configure.tgt: Remove *-*-*android* from supported targets.

2013-09-09  H.J. Lu  <hongjiu.lu@intel.com>

	PR other/58374
	* configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
	* configure: Regenerated.

2013-09-08  Caroline Tice  <cmtice@google.com>

	* testsuite/event-main.cc:  Move to libvtv.cc subdirectory.
	* testsuite/environment.cc: Ditto.
	* testsuite/template-list2.cc: Ditto.
	* testsuite/event.h: Ditto.
	* testsuite/dataentry.cc: Ditto.
	* testsuite/event-private.h: Ditto.
	* testsuite/virtual_inheritance.cc: Ditto.
	* testsuite/povray-derived.cc: Ditto.
	* testsuite/nested_vcall_test.cc: Ditto.
	* testsuite/template-list-iostream.cc: Ditto.
	* testsuite/parts-test-extra-parts-views.h:  Ditto.
	* testsuite/virtfunc-test.cc: Ditto.
	* testsuite/parts-test-extra-parts.h: Ditto.
	* testsuite/const_vtable.cc: Ditto.
	* testsuite/template-list.cc: Ditto.
	* testsuite/dup_name.cc: Ditto.
	* testsuite/thunk.cc: Ditto.
	* testsuite/parts-test-main.h: Ditto.
	* testsuite/mul_inh.cc: Ditto.
	* testsuite/test1.cc: Ditto.
	* testsuite/bb_tests.cc: Ditto.
	* testsuite/v8-test-2.cc: Ditto.
	* testsuite/thunk_vtable_map_attack.cc: Ditto.
	* testsuite/xlan-test.cc: Ditto.
	* testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
	change file extension from .cc to .cpp.
	* testsuite/event-definitions.cpp: Ditto.
	* testsuite/event-main.cpp: Ditto.
	* testsuite/derived-main.cpp: Ditto.
	* testsuite/derived-lib.cpp: Ditto.
	* testsuite/event-private.cpp: Ditto.
	* testsuite/parts-test-extra-parts-views.cpp: Ditto.
	* testsuite/parts-test-extra-parts.cpp: Ditto.
	* testsuite/parts-test.list: Move to libvtv.cc subdirectory.  Change
	file extensions inside file from .cc to .cpp.
	* testsuite/event.list: Ditto.
	* testsuite/derived.list: Ditto.
	* testsuite/register_pair.cc: Move to libvtv.cc; rename file to
	register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
	(KEY_TYPE_FIXED_SIZE): New define.
	(key_buffer, name_string, fake_names): New global variables.
	(generate_names): New function.
	(vtv_string_hans): New function.
	(main): Add call to generate_names. Update middle for-loop to
	initialize new parameters for __VLTRegisterPair... calls; move calls
	to __VLTRegisterPair... to middle for-loop. Add calls to
	__VLTRegisterSet...
	* testsuite/register_pair_mt.cc: Ditto; renamed to
	register_set_pair_mt.cc
	* testsuite/libvtv.cc/vtv.exp:  New file.
	* testsuite/libvtv.mempool.cc/mempool.exp:  New file.
	* testsuite/libvtv.mt.cc/mt.exp: New file.
	* testsuite/lib/libvtv.exp:  New file.
	* testsuite/lib/libvtv-dg.exp:  New file.
	* testsuite/config/default.exp: New file.
	* testsuite/Makefile.am:  New file. (Old file was moved to other-tests
	subdirectory.)
	* testsuite/Makefile.in: New file (generated).
	* testsuite/mempool_negative.c: Change to C++ file; move to
	libvtv.mempool.cc; include vtv-change-permission.h.
	(main):  Add call to __VLTChangePermission.
	* testsuite/mempool_positive.c: Change to C++ file; move to
	libvtv.mempool.cc; include vtv-change-permission.h.
	(main): Add call to __VLTChangePermission.
	* testsuite/temp_deriv3.cc:  Move to other-tests subdirectory.
	* testsuite/environment-fail-64.s: Ditto.
	* testsutite/dlopen.cc: Ditto.
	* testsuite/so.cc: Ditto.
	* testsuite/temp_deriv2.cc: Ditto.
	* testsuite/field-test.cc: Ditto.
	* testsuite/dlopen_mt.cc: Ditto.
	* testsuite/environment-fail-32.s: Ditto.
	* testsuite/temp_deriv.cc: Ditto.
	* testsuite/replace-fail.cc: Ditto.
	* testsuite/other-tests/Makefile.am:  New file.  Copied from the
	Makefile.am that used to be in testsuite directory.
	* testsuite/other-tests/Makefile.in: Generated. (New file).
	* testsuite/other-tests/README:  New file.

2013-09-07  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
	definition of check-am:.
	* testsuite/Makefile.in: Regenerate.

2013-09-06  Caroline Tice  <cmtice@google.com>

	* Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
	definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
	* Makefile.in: Regenerate.
	* configure.ac: Remove checks and tests for --enable-vtable-verify.
	* configure: Regenerate.

2013-08-20  Caroline Tice  <cmtice@google.com>

	* Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
	* Makefile.in: Regenerate.
	* configure.ac: Add check for __secure_getenv and secure_getenv.
	* configure: Regenerate.
	* vtv_utils.cc : Include stdlib.h
	(HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
	(log_dirs): Remove file static constant.
	(__vtv_open_log):  Increase size of log file name.  Add the user
	and process ids to the file name. Do not put the log files in /tmp.
	Instead try to get the directory name from an environment variable; if
	that fails try to use stderr.  Add O_NOFOLLOW to the flags
	for 'open'.  Update function comment.
	* vtv_rts.cc (log_memory_protection_data):  Remove %d from file name.

2013-08-08  Benjamin Kosnik  <bkoz@redhat.com>
	    Michael Meissner <meissner@linux.vnet.ibm.com>

	* configure.tgt : Simplify, just use VTV_SUPPORTED.

2013-08-07  Benjamin Kosnik  <bkoz@redhat.com>

	* Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
	* Makefile.in: Regenerate.
	* acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
	* configure.ac: ...here. Make configure more verbose, re-order.
	* configure: Regenerate.

2013-08-02  Caroline Tice  <cmtice@google.com>
	    Benjamin Kosnik  <bkoz@redhat.com>
	    Luis Lozano  <llozano@google.com>
	    Geoff Pike  <gpike@google.com>

	Initial check-in of new vtable verification feature.
	* configure.ac : New file.
	* acinclude.m4 : New file.
	* Makefile.am : New file.
	* aclocal.m4 : New file.
	* configure.tgt : New file.
	* configure: New file (generated).
	* Makefile.in: New file (generated).
	* vtv_set.h : New file.
	* vtv_utils.cc : New file.
	* vtv_utils.h : New file.
	* vtv_malloc.cc : New file.
	* vtv_rts.cc : New file.
	* vtv_malloc.h : New file.
	* vtv_rts.h : New file.
	* vtv_fail.cc : New file.
	* vtv_fail.h : New file.
	* vtv_map.h : New file.
	* scripts/run-testsuite.sh : New file.
	* scripts/sum-vtv-counts.c : New file.
	* testsuite/parts-test-main.h : New file.
	* testusite/dataentry.cc : New file.
	* testsuite/temp_deriv.cc : New file.
	* testsuite/register_pair.cc : New file.
	* testsuite/virtual_inheritance.cc : New file.
	* testsuite/field-test.cc : New file.
	* testsuite/nested_vcall_test.cc : New file.
	* testsuite/template-list-iostream.cc : New file.
	* testsuite/register_pair_inserts.cc : New file.
	* testsuite/register_pair_inserts_mt.cc : New file.
	* testsuite/event.list : New file.
	* testsuite/parts-test-extra-parts-views.cc : New file.
	* testsuite/parts-test-extra-parts-views.h : New file.
	* testsuite/environment-fail-32.s : New file.
	* testsuite/parts-test-extra-parts.h : New file.
	* testsuite/temp_deriv2.cc : New file.
	* testsuite/dlopen_mt.cc : New file.
	* testsuite/event.h : New file.
	* testsuite/template-list.cc : New file.
	* testsuite/replace-fail.cc : New file.
	* testsuite/Makefile.am : New file.
	* testsuite/Makefile.in: New file (generated).
	* testsuite/mempool_negative.c : New file.
	* testsuite/parts-test-main.cc : New file.
	* testsuite/event-private.cc : New file.
	* testsuite/thunk.cc : New file.
	* testsuite/event-defintiions.cc : New file.
	* testsuite/event-private.h : New file.
	* testsuite/parts-test.list : New file.
	* testusite/register_pair_mt.cc : New file.
	* testsuite/povray-derived.cc : New file.
	* testsuite/event-main.cc : New file.
	* testsuite/environment.cc : New file.
	* testsuite/template-list2.cc : New file.
	* testsuite/thunk_vtable_map_attack.cc : New file.
	* testsuite/parts-test-extra-parts.cc : New file.
	* testsuite/environment-fail-64.s : New file.
	* testsuite/dlopen.cc : New file.
	* testsuite/so.cc : New file.
	* testsuite/temp_deriv3.cc : New file.
	* testsuite/const_vtable.cc : New file.
	* testsuite/mempool_positive.c : New file.
	* testsuite/dup_name.cc : New file.