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