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