]>
Commit | Line | Data |
---|---|---|
1 | 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> | |
2 | ||
3 | * md5.c: #include "ansidecl.h". | |
4 | ||
5 | 2000-09-06 Alex Samuel <samuel@codesourcery.com> | |
6 | ||
7 | * cp-demangle.c (status_allocation_failed): Rearrange whitespace. | |
8 | (demangle_type): Handle substitution candidates correctly in the | |
9 | face of special substitutions. | |
10 | ||
11 | 2000-09-05 Alex Samuel <samuel@codesourcery.com> | |
12 | ||
13 | * cp-demangle.c (demangle_encoding): Rename variable. | |
14 | (demangle_name): Rename parameter. Handle return type | |
15 | suppression. | |
16 | (demangle_nested_name): Rename parameter. | |
17 | (demangle_prefix): Likewise. Change return type suppression. | |
18 | (demangle_unqualified_name): Add parameter. Flag constructors and | |
19 | conversion operators. | |
20 | (demangle_special_name): Fix comment. | |
21 | (demangle_type): Rename variable. | |
22 | (demangle_bare_function_type): Check for missing return type and | |
23 | parameter. | |
24 | (demangle_class_enum_type): Rename parameter. | |
25 | (demangle_discriminator): Fix misspelling in comment. | |
26 | ||
27 | 2000-08-31 DJ Delorie <dj@redhat.com> | |
28 | ||
29 | * configure.in (Cygwin): special case cygwin only when we're | |
30 | building cygwin, not when we're hosting cygwin. | |
31 | ||
32 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> | |
33 | ||
34 | * cp-demangle.c (demangle_template_arg): Eat an `E' after an | |
35 | <expression>. | |
36 | ||
37 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> | |
38 | ||
39 | * cp-demangle.c (demangle_type_ptr): Increment position past | |
40 | pointer and reference characters. | |
41 | ||
42 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> | |
43 | ||
44 | * cp-demangle.c (demangle_nv_offset): New function. | |
45 | (demangle_v_offset): Likewise. | |
46 | (demangle_call_offset): Likewise. | |
47 | (demangle_special_name): Update thunk demangling to comply with | |
48 | ABI changes. | |
49 | ||
50 | 2000-09-03 Alex Samuel <samuel@codesourcery.com> | |
51 | ||
52 | * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro. | |
53 | (substitution_def): Remove template_parm_number. | |
54 | (NOT_TEMPLATE_PARM): Remove. | |
55 | (result_insert_string): New macro. | |
56 | (result_insert): Likewise. | |
57 | (result_insert_char): Likewise. | |
58 | (substitution_add): Remove last parameter. Don't store template | |
59 | parm number. | |
60 | (BFT_NO_RETURN_TYPE): Define as NULL. | |
61 | (demangle_encoding): Adjust call to demangle_bare_function_type. | |
62 | (demangle_name): Adjust substitution. Adjust call to | |
63 | substitution_add. | |
64 | (demangle_prefix): Adjust call to substitution_add. | |
65 | (demangle_identifier): Handle anonymous namespaces. | |
66 | (demangle_operator_name): Change demangling of vendor-extended | |
67 | operator to match ABI changes. | |
68 | (demangle_type_ptr): Change parameters. Make recursive. Handle | |
69 | substitutions here. | |
70 | (demangle_type): Adjust calls to demangle_template_param, | |
71 | substitution_add, and demangle_type_ptr. Fix substitution of | |
72 | templated types. | |
73 | (demangle_function_type): Change parameter to a pointer. | |
74 | (demangle_bare_function_type): Likewise. Adjust insertion point. | |
75 | (demangle_template_param): Remove last parameter. | |
76 | (demangle_expr_primary): Remove unused variable. Adjust call to | |
77 | demangle_template_param. | |
78 | (is_mangled_char): Accept `$' and `.'. | |
79 | * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'. | |
80 | * dyn-string.c (dyn_string_insert_char): New function. | |
81 | ||
82 | 2000-08-31 Hans-Peter Nilsson <hp@axis.com> | |
83 | ||
84 | * testsuite/demangle-expected: Add nine tests for | |
85 | underscore-after-number followed by five tests for name-signature | |
86 | delimiter. | |
87 | ||
88 | 2000-08-28 Richard Henderson <rth@cygnus.com> | |
89 | ||
90 | * Makefile.in (md5.o): Depend on config.h. | |
91 | ||
92 | 2000-08-28 Jason Merrill <jason@redhat.com> | |
93 | ||
94 | * Makefile.in (REQUIRED_OFILES): Add md5.o. | |
95 | (CFILES): Add md5.c. | |
96 | * md5.c: New file. | |
97 | ||
98 | 2000-08-27 Alex Samuel <samuel@codesourcery.com> | |
99 | ||
100 | * cp-demangle.c (demangle_name): Initialize template_p in local | |
101 | name case. Don't re-add substitutions as candidates. | |
102 | (demangle_nested_name): Use <unqualified-name>. | |
103 | (demangle_prefix): Likewise. Don't add template names as | |
104 | substitution candidates twice, or re-add a substitution or the | |
105 | last prefix component. | |
106 | (demangle_local_name): Adjust output format. | |
107 | ||
108 | 2000-08-25 Alex Samuel <samuel@codesourcery.com> | |
109 | ||
110 | * cp-demangle.c (result_add_separated_char): Change parameter to | |
111 | int. | |
112 | (substitution_add): Don't check for duplicates. Check if | |
113 | previously allocated size is zero. | |
114 | (demangle_name): Remove duplicate check for std substitution. | |
115 | Clear template flag appropriately. | |
116 | (demangle_prefix): Remove argument to demangle_substitution. | |
117 | Don't check that template flag is already set. | |
118 | (demangle_operator_name): Add pt operator. | |
119 | (demangle_type): Don't treat r as built-in type. Remove argument | |
120 | to demangle_substitution. Fix substitution candidate mechanics. | |
121 | Handle <template-template-parm>s. Improve comments. | |
122 | (demangle_template_param): Don't handle template arg lists here. | |
123 | (demangle_substitution): Remove parameter. | |
124 | (print_usage): Remove extra fprintf option. | |
125 | ||
126 | 2000-08-24 Greg McGary <greg@mcgary.org> | |
127 | ||
128 | * libiberty/random.c (end_ptr): Revert previous change. | |
129 | ||
130 | 2000-08-24 Greg McGary <greg@mcgary.org> | |
131 | ||
132 | * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname, | |
133 | demangle_expression, demangle_function_name): Use ARRAY_SIZE. | |
134 | * libiberty/random.c (end_ptr): Likewise. | |
135 | ||
136 | 2000-08-23 Alex Samuel <samuel@codesourcery.com> | |
137 | ||
138 | * cp-demangle.c (result_close_template_list): Remove function. | |
139 | (result_add_separated_char): New function. | |
140 | (result_open_template_list): New macro. | |
141 | (result_close_template_list): Likewise. | |
142 | (demangle_prefix): Don't set template_p if the | |
143 | prefix ends with a ctor name. | |
144 | (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR. | |
145 | (demangle_type): Check for template args after substitution. | |
146 | (demangle_template_args): Use result_open_template_list. | |
147 | ||
148 | 2000-08-02 Zack Weinberg <zack@wolery.cumb.org> | |
149 | ||
150 | * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop. | |
151 | ||
152 | 2000-07-26 Dave Pitts <dpitts@cozx.com> | |
153 | ||
154 | * config/mh-openedition.h: Added -DLE370 definition. | |
155 | ||
156 | 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com> | |
157 | ||
158 | * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to | |
159 | __DJGPP__. Use P_WAIT instead of constant in the spawnv* call. | |
160 | Cast program to 'char *' in errmsg_arg assignment. | |
161 | (PWAIT_ERROR): Define. | |
162 | (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform | |
163 | to DJGPP's WIF* macros. | |
164 | ||
165 | 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com> | |
166 | Jeff Law <law@cygnus.com> | |
167 | ||
168 | * getcwd.c: Include string.h, stdlib.h for prototypes | |
169 | ||
170 | * Makefile.in (rename.o, waitpid.o): Depend on config.h | |
171 | * rename.c: Include config.h, unistd.h | |
172 | * waitpid.c: Include config.h, sys/wait.h | |
173 | ||
174 | 2000-07-24 Hans-Peter Nilsson <hp@axis.com> | |
175 | ||
176 | * cplus-dem.c (work_stuff_copy_to_from): New. | |
177 | (delete_non_B_K_work_stuff): New. | |
178 | (delete_work_stuff): New. | |
179 | (mop_up): Break out work_stuff partly destruction to | |
180 | delete_non_B_K_work_stuff. | |
181 | (iterate_demangle_function): New. | |
182 | (demangle_prefix): Call iterate_demangle_function instead of | |
183 | demangle_function_name. Leave handling of name-signature | |
184 | __-delimiters to iterate_demangle_function. | |
185 | (demangle_integral_value): Strip an optional | |
186 | following underscore cautiously. Handle negative numbers. | |
187 | ||
188 | 2000-07-24 Daniel Berlin <dberlin@redhat.com> | |
189 | ||
190 | * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to | |
191 | if (AUTO_DEMANGLING || GNU_DEMANGLING) | |
192 | ||
193 | 2000-07-21 Alex Samuel <samuel@codesourcery.com> | |
194 | ||
195 | * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge | |
196 | allocating ctor mangling. | |
197 | (demangle_array_type): Handle empty and non-constant array length. | |
198 | ||
199 | 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG> | |
200 | Jeff Law <law@cygnus.com> | |
201 | ||
202 | * configure.in (AC_CHECK_HEADERS): Add time.h. | |
203 | (AC_HEADER_TIME): Add check. | |
204 | * configure, config.in: Regenerate. | |
205 | * getruntime.c: Portably #include <sys/time.h> and/or <time.h>. | |
206 | ||
207 | * configure.in (AC_CHECK_HEADERS): Add limits.h. | |
208 | * configure, config.in: Regenerate. | |
209 | * sort.c: Portably #include <limits.h> and/or <sys/param.h>. | |
210 | * strtol.c, strtoul.c: #include "config.h". Portably #include | |
211 | <limits.h> and/or <sys/param.h>. | |
212 | * Makefile.in (strtol.o, strtoul.o): Update dependencies. | |
213 | ||
214 | * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro. | |
215 | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. | |
216 | * configure, config.in: Regenerate. | |
217 | * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary. | |
218 | ||
219 | * cp-demangle.c, mkstemps.c: #include <sys/types.h>. | |
220 | ||
221 | 2000-07-21 Mike Stump <mrs@wrs.com> | |
222 | ||
223 | * Makefile.in (xexit.o): Add dependency for config.h in xexit.c. | |
224 | * (vasprintf.o): Add dependency for config.h in vasprintf.c. | |
225 | ||
226 | 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
227 | ||
228 | * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. | |
229 | ||
230 | * setenv.c (setenv): Initialize variable `ep'. | |
231 | ||
232 | * sigsetmask.c (abort): Prototype. | |
233 | ||
234 | * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not | |
235 | __STDC__ for stdarg.h include. | |
236 | (int_vasprintf): Prototype. | |
237 | (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in | |
238 | definition. Cast `global_total_width' in comparison. | |
239 | (main): Prototype. Return a value. | |
240 | ||
241 | * vfork.c (fork): Prototype. | |
242 | ||
243 | * xexit.c: Include config.h. | |
244 | ||
245 | 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk> | |
246 | ||
247 | * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int, | |
248 | and print it with %u. | |
249 | ||
250 | 2000-07-17 Hans-Peter Nilsson <hp@axis.com> | |
251 | ||
252 | * testsuite/regress-demangle (failed test): Show result and | |
253 | expected output. | |
254 | ||
255 | 2000-07-07 Andrew Haley <aph@cygnus.com> | |
256 | ||
257 | * cplus-dem.c (main): fflush() after emitting last char before | |
258 | waiting for input. | |
259 | ||
260 | 2000-06-28 Alex Samuel <samuel@codesourcery.com> | |
261 | ||
262 | * cp-demangle.c (demangle_encoding): Accept no substitutions. | |
263 | (demangle_name): Handle <substitution> followed by | |
264 | <unqualified-template-name>. | |
265 | (demangle_type): Follow special substitutions with | |
266 | <class-enum-type> | |
267 | (demangle_subtitution): Set template_p for special substitutions. | |
268 | (main): Fix typos. | |
269 | ||
270 | 2000-06-27 Alex Samuel <samuel@codesourcery.com> | |
271 | ||
272 | * cp-demangle.c (demangle_special_name): Swap base and derived | |
273 | class when demangling construction vtables. | |
274 | ||
275 | 2000-06-21 Alex Samuel <samuel@codesourcery.com> | |
276 | ||
277 | * cp-demangle.c: Don't include ctype.h. | |
278 | (IS_DIGIT): New macro. | |
279 | (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout | |
280 | instead of isdigit and isalpanum. | |
281 | (demangling_def): Make name and next const pointers. | |
282 | (STATUS_ALLOCATION_FAILED): New status code. | |
283 | (dyn_string_append_space): Handle failure in | |
284 | dyn_string_append_char. | |
285 | (int_to_dyn_string): Likewise. Change return value to status_t. | |
286 | (string_list_new): Handle failure of dyn_string_init. | |
287 | (result_close_template_list): Change return type to status_t. | |
288 | Handle failure in dyn_string_append. | |
289 | (result_push): Change return value to status_t. Handle failure in | |
290 | string_list_new. Handle failure of result_push throughout. | |
291 | (substitution_add): Change return value to status_t. Handle | |
292 | dyn_string failures. Handle failure of substitution_add | |
293 | throughout. | |
294 | (template_arg_list_new): Return NULL on allocation failure. | |
295 | (result_append_string): Return STATUS_ALLOCATION_FAILED on error. | |
296 | Handle error result throughout. | |
297 | (result_append): Likewise. | |
298 | (result_append_char): Likewise. | |
299 | (result_append_space): Likewise. | |
300 | (demangling_new): Make argument a const pointer. Handle | |
301 | allocation failures. | |
302 | (demangle_template_args): Handle failure in template_arg_list_new | |
303 | and result_close_template_list. | |
304 | (demangle_discriminator): Return if int_to_dyn_string fails. | |
305 | (cp_demangle): Likewise. | |
306 | (cp_demangle_type): New function. | |
307 | (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on | |
308 | memory allocation failure. | |
309 | (main): Likewise. | |
310 | * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if | |
311 | IN_LIBGCC2. | |
312 | (dyn_string_init): Change return value to int. Handle | |
313 | RETURN_ON_ALLOCATION_FAILURE case. | |
314 | (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. | |
315 | (dyn_string_release): Delete the dyn_string. | |
316 | (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. | |
317 | (dyn_string_copy): Change return type to int. | |
318 | (dyn_string_copy_cstr): Likewise. | |
319 | (dyn_string_prepend): Likewise. | |
320 | (dyn_string_prepend_cstr): Likewise. | |
321 | (dyn_string_insert): Likewise. | |
322 | (dyn_string_insert_cstr): Likewise. | |
323 | (dyn_string_append): Likewise. | |
324 | (dyn_string_append_cstr): Likewise. | |
325 | (dyn_string_append_char): Likewise. | |
326 | (dyn_string_substring): Likewise. | |
327 | ||
328 | 2000-06-09 Zack Weinberg <zack@wolery.cumb.org> | |
329 | ||
330 | * cp-demangle.c (demangle_operator_name): Add spaces before | |
331 | names beginning with a letter: delete, delete[], new, new[], | |
332 | sizeof. | |
333 | (demangle_special_name): Handle TF <type> and TJ <type>. | |
334 | ||
335 | Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be> | |
336 | ||
337 | * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch. | |
338 | ||
339 | Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be> | |
340 | ||
341 | * cp-demangle.c (stdio.h): File included unconditionaly. | |
342 | (template_arg_list_new): Parameter list is PARAMS ((void)), not (). | |
343 | * dyn-string.c (stdio.h): File included. | |
344 | * partition.c (partition_print): No `&' needed to take the address of | |
345 | a function. | |
346 | ||
347 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
348 | ||
349 | * configure.in (ac_libiberty_warn_cflags): Add -pedantic. | |
350 | ||
351 | * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. | |
352 | ||
353 | * cp-demangle.c (demangle_char): Change parameter from char to int. | |
354 | (demangle_expression, demangle_expr_primary): Remove extra | |
355 | semi-colon in prototype. | |
356 | ||
357 | * dyn-string.c (dyn_string_append_char): Change parameter from | |
358 | char to int. | |
359 | ||
360 | * memcmp.c (memcmp): Constify. | |
361 | ||
362 | * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with | |
363 | __extension__. | |
364 | ||
365 | * partition.c (elem_compare): Prototype. Don't cast away | |
366 | const-ness. | |
367 | ||
368 | * setenv.c (setenv): Use braces to avoid ambiguous `else'. | |
369 | ||
370 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
371 | ||
372 | * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. | |
373 | ||
374 | * cp-demangle.c: Include demangle.h. | |
375 | (template_arg_list_new): DeANSIfy. | |
376 | (cp_demangle): Make static and add prototype. | |
377 | (operator_code, operators): Constify. | |
378 | (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. | |
379 | ||
380 | 2000-06-05 Alex Samuel <samuel@codesourcery.com> | |
381 | ||
382 | * cp-demangle.c (demangle_prefix): Cast argument to isdigit to | |
383 | unsigned char. | |
384 | (demangle_unqualified_name): Likewise. | |
385 | (demangle_number_literally): Likewise. | |
386 | (demangle_type): Likewise. | |
387 | (demangle_substitution): Likewise. | |
388 | (is_mangled_char): Likewise, for isalnum. | |
389 | ||
390 | 2000-06-04 Alex Samuel <samuel@codesourcery.com> | |
391 | ||
392 | * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. | |
393 | (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. | |
394 | (cp-demangle.o): New dependency. | |
395 | (dyn-string.o): Likewise. | |
396 | ||
397 | * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. | |
398 | ||
399 | * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI | |
400 | demangler. | |
401 | (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI | |
402 | demangling mode. | |
403 | (gnu_new_abi_symbol_characters): New function. | |
404 | (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New | |
405 | file. | |
406 | * cp-demangle.c: New file. | |
407 | ||
408 | Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com> | |
409 | ||
410 | * floatformat.c: Add name to each floatformat field. | |
411 | ||
412 | Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) | |
413 | ||
414 | * Makefile.in (objalloc.o): Depend on config.h | |
415 | ||
416 | 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> | |
417 | ||
418 | * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h | |
419 | if HAVE_STRING_H. | |
420 | * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. | |
421 | * objalloc.c: Include config.h. Include stdlib.h and don't | |
422 | declare malloc or free if HAVE_STDLIB_H. | |
423 | * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, | |
424 | else declare malloc without prototype. Include string.h if | |
425 | HAVE_STRING_H, else declare memset without prototype. Don't | |
426 | include stddef.h. | |
427 | ||
428 | 2000-05-23 Mike Stump <mrs@wrs.com> | |
429 | ||
430 | * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make | |
431 | -j3. | |
432 | ||
433 | 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> | |
434 | ||
435 | * xmalloc.c: Include config.h for HAVE_SBRK definition. | |
436 | ||
437 | 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl> | |
438 | ||
439 | * hashtab.c (hash_pointer): Delete low-order bits which are | |
440 | probably zero, also eliminate a warning on alpha. | |
441 | ||
442 | 2000-05-15 David Edelsohn <edelsohn@gnu.org> | |
443 | ||
444 | * Makefile.in: Change "pic" to depend on $(PICFLAG), not | |
445 | on $(enable_shared). | |
446 | ||
447 | 2000-05-10 Jakub Jelinek <jakub@redhat.com> | |
448 | ||
449 | * config.table: Use mh-sparcpic for sparc*-*-*. | |
450 | ||
451 | 2000-05-08 Nick Clifton <nickc@cygnus.com> | |
452 | ||
453 | * Makefile.in (CFILES): Add strncmp.c. | |
454 | (NEEDED): Add strncmp. | |
455 | ||
456 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
457 | ||
458 | * cplus-dem.c (cplus_demangle_opname, demangle_function_name): | |
459 | Cast the arguments to `islower' to `unsigned char'. | |
460 | (print_demangler_list): Prototype. | |
461 | ||
462 | Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be> | |
463 | ||
464 | * sort.c (UCHAR_MAX): Provide fallback definition. | |
465 | ||
466 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> | |
467 | ||
468 | * Makefile.in (maintainer-clean-subdir): Fix handling of empty | |
469 | SUBDIRS. | |
470 | ||
471 | 2000-04-28 Kenneth Block <block@zk3.dec.com> | |
472 | Jason Merrill <jason@casey.cygnus.com> | |
473 | ||
474 | * cplus-dem.c (libiberty_demanglers): New table for demangle styles. | |
475 | (cplus_demangle_set_style): New function for setting style. | |
476 | (cplus_demangle_name_to_style): New function to translate name. | |
477 | ||
478 | 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
479 | ||
480 | * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. | |
481 | ||
482 | * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. | |
483 | (libiberty_AC_FUNC_STRNCMP): Invoke. | |
484 | ||
485 | * strncmp.c: New file. | |
486 | ||
487 | Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
488 | ||
489 | * hashtab.c (htab_expand): Add prototype. | |
490 | (find_empty_slot_for_expand): Likewise. | |
491 | ||
492 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
493 | ||
494 | * hashtab.c (hash_pointer, eq_pointer): Make definition static to | |
495 | match prototype. | |
496 | (htab_expand): Cast the return value of xcalloc. | |
497 | ||
498 | 2000-04-24 Mark Mitchell <mark@codesourcery.com> | |
499 | ||
500 | * hashtab.c (hash_pointer): New function. | |
501 | (eq_pointer): Likewise. | |
502 | (htab_hash_pointer): New variable. | |
503 | (htab_eq_pointer): Likewise. | |
504 | ||
505 | 2000-04-23 Mark Mitchell <mark@codesourcery.com> | |
506 | ||
507 | * sort.c (sort_pointers): Fix endianness bugs. | |
508 | ||
509 | * sort.c: New file. | |
510 | * Makefile.in (CFILES): Add sort.c | |
511 | (REQUIRED_OFILES): Add sort.o. | |
512 | (sort.o): New target. | |
513 | ||
514 | 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> | |
515 | ||
516 | * Makefile.in (*-subdir): Revamp slightly to avoid losing on | |
517 | 4.3BSD systems. | |
518 | ||
519 | Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
520 | ||
521 | * hashtab.c: Various minor cleanups. | |
522 | (htab_find_slot_with_hash): INSERT is now enum insert_option. | |
523 | (htab_find_slot): Likewise. | |
524 | ||
525 | 2000-04-16 Dave Pitts <dpitts@cozx.com> | |
526 | ||
527 | * cplus-dem.c (cplus_demangle_opname): Changed to use islower. | |
528 | ||
529 | 2000-04-05 Richard Henderson <rth@cygnus.com> | |
530 | ||
531 | * splay-tree.c (splay_tree_remove): New. | |
532 | ||
533 | 2000-03-30 Mark Mitchell <mark@codesourcery.com> | |
534 | ||
535 | * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash | |
536 | codes. | |
537 | (htab_find_with_hash): Likewise. | |
538 | (htab_find_slot_with_hash): Likewise. | |
539 | ||
540 | 2000-03-29 Zack Weinberg <zack@wolery.cumb.org> | |
541 | ||
542 | * hashtab.c (htab_find_with_hash): Avoid calculating hash2 | |
543 | unless it will be used. Rearrange loop for better | |
544 | optimization. | |
545 | (higher_prime_number): Add static prototype. | |
546 | ||
547 | Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) | |
548 | ||
549 | * Makefile.in (partition.o): Depend on config.h | |
550 | ||
551 | 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> | |
552 | ||
553 | * hashtab.c (find_empty_slot_for_expand): New function. | |
554 | (htab_expand): Use it instead of htab_find_slot. | |
555 | (htab_find_with_hash): Renamed from htab_find; now accepts extra | |
556 | argument HASH. | |
557 | (htab_find_slot_with_hash): Likewise for htab_find_slot. | |
558 | (htab_find): New wrapper function. | |
559 | (htab_find_slot): Likewise. | |
560 | (htab_traverse): Pass slot, not entry, to called function. | |
561 | ||
562 | 2000-03-09 Alex Samuel <samuel@codesourcery.com> | |
563 | ||
564 | * Makefile.in (CFILES): Add partition.c. | |
565 | (REQUIRED_OFILES): Add partition.o. | |
566 | (partition.o): New rule. | |
567 | * partition.c: New file. | |
568 | ||
569 | 2000-03-09 Zack Weinberg <zack@wolery.cumb.org> | |
570 | ||
571 | * hashtab.c (htab_create): Set del_f. | |
572 | (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): | |
573 | Use it. | |
574 | ||
575 | 2000-03-08 Zack Weinberg <zack@wolery.cumb.org> | |
576 | ||
577 | * hashtab.c: Remove debugging variables (all_searches, | |
578 | all_collisions, all_expansions). Delete | |
579 | all_hash_table_collisions. | |
580 | (create_hash_table, delete_hash_table, empty_hash_table, | |
581 | find_hash_table_entry, remove_element_from_hash_table_entry, | |
582 | clear_hash_table_slot, traverse_hash_table, hash_table_size, | |
583 | hash_table_elements_number, hash_table_collisions): Rename to: | |
584 | htab_create, htab_delete, htab_empty, htab_find_slot, | |
585 | htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, | |
586 | htab_elements, htab_collisions. | |
587 | (htab_find): New function, handles common case where you don't | |
588 | plan to add or delete an entry. | |
589 | (htab_expand): Don't create a whole new table, just a new | |
590 | entry vector. | |
591 | (htab_find_slot): Simplify logic. | |
592 | ||
593 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> | |
594 | ||
595 | * floatformat.c: Add casts to avoid signed/unsigned warnings. | |
596 | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. | |
597 | ||
598 | * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to | |
599 | $(TARGETLIB)n so it works on MSDOS. | |
600 | (install_to_tooldir): Likewise. | |
601 | ||
602 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> | |
603 | ||
604 | From Mark Elbrecht: | |
605 | * makefile.dos: Remove; obsolete. | |
606 | * configure.bat: Remove; obsolete. | |
607 | ||
608 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> | |
609 | ||
610 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
611 | warning. | |
612 | ||
613 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> | |
614 | ||
615 | * pexecute.c: Conditionally include string.h. | |
616 | (fix_argv): Handle embedded whitespace in args for Mingw32. | |
617 | ||
618 | 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
619 | ||
620 | * configure.in (ac_libiberty_warn_cflags): Turn on warnings if | |
621 | we're using gcc. | |
622 | ||
623 | * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ | |
624 | ||
625 | 1999-12-27 Geoff Keating <geoffk@cygnus.com> | |
626 | ||
627 | * vasprintf.c (int_vasprintf): Don't re-read the format character | |
628 | as this mishandles strings like '%%s'. | |
629 | ||
630 | 1999-12-05 Mark Mitchell <mark@codesourcery.com> | |
631 | ||
632 | * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s | |
633 | rather than struct splay_tree_node. | |
634 | (splay_tree_insert): Use struct splay_tree_s rather than struct | |
635 | splay_tree. | |
636 | ||
637 | Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> | |
638 | ||
639 | * hashtab.c (sys/types.h): File included. | |
640 | ||
641 | 1999-11-22 Jason Merrill <jason@casey.cygnus.com> | |
642 | ||
643 | * strtoul.c, strtol.c, random.c: Remove advertising clause from | |
644 | BSD license, pursuant with | |
645 | ||
646 | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change | |
647 | ||
648 | Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) | |
649 | ||
650 | * hashtab.c: Include stdio.h. | |
651 | ||
652 | Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) | |
653 | ||
654 | * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. | |
655 | ||
656 | Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> | |
657 | ||
658 | * xstrdup (sys/types.h): Include this file. | |
659 | ||
660 | 1999-10-28 Nathan Sidwell <nathan@acm.org> | |
661 | ||
662 | * Makefile.in (SUBDIRS): New macro. | |
663 | (mostlyclean, clean, distclean, maintainer-clean): Adjust to | |
664 | avoid multiple subdirectory cleaning. | |
665 | (*-subdir): Use SUBDIRS. | |
666 | ||
667 | 1999-10-25 Jim Kingdon <http://developer.redhat.com/> | |
668 | ||
669 | * cplus-dem.c: Move declarations of standard_symbol_characters and | |
670 | hp_symbol_characters inside #ifdef MAIN to avoid compiler | |
671 | warnings. | |
672 | ||
673 | 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> | |
674 | ||
675 | * hashtab.c (find_hash_table_entry): When returning a | |
676 | DELETED_ENTRY slot, change it to EMPTY_ENTRY first. | |
677 | (clear_hash_table_slot): New function which deletes an entry | |
678 | by its position in the table, not its value. | |
679 | (traverse_hash_table): New function which calls a hook | |
680 | function for every live entry in the table. | |
681 | ||
682 | 1999-10-19 Mark Mitchell <mark@codesourcery.com> | |
683 | ||
684 | * cplus-dem.c (INTBUF_SIZE): New macro. | |
685 | (string_append_template_idx): New function. | |
686 | (demangle_expression): Likewise. | |
687 | (demangle_integral_value): Use it. | |
688 | (demangle_real_value): New function, split out from ... | |
689 | (demangle_template_value_parm): ... here. Use | |
690 | string_append_template_idx. Use demangle_real_value. | |
691 | (demangle_template): Use string_append_template_idx. | |
692 | (demangle_qualified): Use consume_count_with_underscores. | |
693 | (get_count): Tweak formatting. | |
694 | (do_type): Use string_append_template_idx. | |
695 | ||
696 | 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
697 | ||
698 | * calloc.c: Add a public domain notice. | |
699 | ||
700 | Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> | |
701 | ||
702 | * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. | |
703 | ||
704 | Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> | |
705 | ||
706 | * Makefile.in (CFILES): Add hashtab.c | |
707 | (REQUIRED_OFILES): Add hashtab.o | |
708 | (hashtab.o): Add dependencies. | |
709 | * hashtab.c: New file | |
710 | ||
711 | Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
712 | ||
713 | * basename.c (DIR_SEPARATOR): New macro. | |
714 | (DIR_SEPARATOR_2): Likewise. | |
715 | (HAVE_DOS_BASED_FILESYSTEM): Likewise. | |
716 | (IS_DIR_SEPARATOR): Likewise. | |
717 | (main): Handle MSDOS style pathname. | |
718 | ||
719 | 1999-10-11 Mark Mitchell <mark@codesourcery.com> | |
720 | ||
721 | * cplus-dem.c (do_type): Handle pointer to member types whose | |
722 | enclosing classes have namespace scope. | |
723 | ||
724 | Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> | |
725 | ||
726 | * config.table: Provide a backup shell for executing move-if-change. | |
727 | ||
728 | 1999-10-02 Mark Mitchell <mark@codesourcery.com> | |
729 | ||
730 | * xmalloc.c (xmalloc): Fix spelling error. | |
731 | (xcalloc, xrealloc): Likewise. | |
732 | ||
733 | 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
734 | ||
735 | * cplus-dem.c (fancy_abort, demangle_integral_value, | |
736 | demangle_arm_hp_template, recursively_demangle, | |
737 | standard_symbol_characters, hp_symbol_characters, main): Add prototype. | |
738 | (program_name, program_version, fatal): Constify a char*. | |
739 | (usage, fatal): Mark with ATTRIBUTE_NORETURN. | |
740 | (main): Call return, not exit. | |
741 | ||
742 | 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
743 | ||
744 | * choose-temp.c: Remove obsolete comment about gcc. | |
745 | (make_temp_file): Constify a char*. | |
746 | ||
747 | Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
748 | ||
749 | * xmemdup.c: Include sys/types.h. | |
750 | ||
751 | 1999-09-07 Jeff Garzik <jgarzik@pobox.com> | |
752 | ||
753 | * xmemdup.c: New xmemdup function. | |
754 | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. | |
755 | ||
756 | Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> | |
757 | ||
758 | * config.table: Add openedition target. | |
759 | * config/mh-openedition: New file. | |
760 | ||
761 | Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> | |
762 | ||
763 | * pexecute.c (pexecute): Fill in temp_base when needed. | |
764 | ||
765 | 1999-08-31 Richard Henderson <rth@cygnus.com> | |
766 | ||
767 | * getpwd.c: Check HAVE_GETCWD before defining it away. | |
768 | ||
769 | 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
770 | ||
771 | * Makefile.in (CFILES): Add calloc.c and getpwd.c. | |
772 | (REQUIRED_OFILES): Add getpwd.o. | |
773 | (getpwd.o): Add target. | |
774 | ||
775 | * configure.in (AC_PREREQ): Bump to 2.13. | |
776 | (AC_CHECK_HEADERS): Add check for <sys/stat.h>. | |
777 | ||
778 | * getpwd.c: New file, moved here from gcc. | |
779 | ||
780 | 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
781 | ||
782 | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when | |
783 | comparing against a signed quantity. | |
784 | (arm_special): Likewise. | |
785 | (demangle_fund_type): Likewise. | |
786 | (do_hpacc_template_const_value): Mark parameter `work' with | |
787 | ATTRIBUTE_UNUSED. | |
788 | (main): Constify variable `valid_symbols'. | |
789 | ||
790 | Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> | |
791 | ||
792 | * strtoul.c (strtoul): Add parentheses around && within ||. | |
793 | ||
794 | Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> | |
795 | ||
796 | * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, | |
797 | libdir, libsubdir and tooldir. | |
798 | ||
799 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> | |
800 | ||
801 | * splay-tree.c (splay_tree_insert): Return the new node. | |
802 | ||
803 | 1999-07-14 Richard Henderson <rth@cygnus.com> | |
804 | ||
805 | * argv.c: Include stdlib.h and string.h instead of | |
806 | prototyping directly. | |
807 | * choose-temp.c: Conditionally include string.h. | |
808 | ||
809 | 1999-07-12 Jason Merrill <jason@yorick.cygnus.com> | |
810 | ||
811 | * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. | |
812 | ||
813 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> | |
814 | ||
815 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
816 | warning. | |
817 | ||
818 | 1999-07-07 Jason Merrill <jason@yorick.cygnus.com> | |
819 | ||
820 | * Makefile.in (needed-list): Only include stuff we actually need | |
821 | for libstdc++. | |
822 | ||
823 | 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
824 | ||
825 | * configure.in (checkfuncs): Add gettimeofday. | |
826 | * config.in, configure: Regenerated. | |
827 | ||
828 | Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
829 | ||
830 | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if | |
831 | the test fails. | |
832 | * configure: Regenerate. | |
833 | ||
834 | 1999-06-10 Mike Stump <mrs@wrs.com> | |
835 | ||
836 | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix | |
837 | parallel builds. | |
838 | ||
839 | 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
840 | ||
841 | * putenv.c: Include ansidecl.h to define `const'. | |
842 | * setenv.c: Likewise. | |
843 | ||
844 | Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> | |
845 | ||
846 | * Makefile.in (CFILES): Add putenv.c and setenv.c. | |
847 | * configure.in (funcs): Add putenv and setenv. | |
848 | (AC_CHECK_FUNCS): Check for putenv and setenv. | |
849 | * configure: Rebuilt. | |
850 | * putenv.c setenv.c: New files. | |
851 | ||
852 | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE | |
853 | bytes of space using malloc. | |
854 | ||
855 | Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> | |
856 | ||
857 | * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance | |
858 | the *mangled pointer beyond the end of the string. Clean up code to | |
859 | match prevailing coding style. | |
860 | ||
861 | 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
862 | ||
863 | * tmpnam.c (L_tmpnam): Fix typo. | |
864 | ||
865 | Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> | |
866 | ||
867 | * cplus-dem.c (standard_symbol_characters): Renamed from | |
868 | standard_symbol_alphabet. No longer modify TABLE. | |
869 | (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer | |
870 | modify TABLE. | |
871 | (main): Corresponding changes. Use strchr to determine if a | |
872 | character is valid. | |
873 | ||
874 | 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> | |
875 | ||
876 | * cplus-dem.c (main): Use table lookup to distinguish identifier | |
877 | characters from non-identifier characters. | |
878 | (standard_symbol_alphabet, hp_symbol_alphabet): New functions. | |
879 | ||
880 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> | |
881 | ||
882 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. | |
883 | * getruntime.c: Only attempt to include sys/resource.h and | |
884 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H | |
885 | are defined. | |
886 | ||
887 | Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) | |
888 | ||
889 | * configure.in (alloca detection): Handle alloca directly for interix. | |
890 | * configure: Rebuilt. | |
891 | ||
892 | Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
893 | ||
894 | * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. | |
895 | ||
896 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> | |
897 | ||
898 | Fix from Dale Hawkins: | |
899 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be | |
900 | reallocated properly if we use it again. | |
901 | ||
902 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be | |
903 | stricter about syntax. Always null-terminate string. | |
904 | ||
905 | Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
906 | ||
907 | * configure.in (checkfuncs): Check for sbrk. | |
908 | * config.in: Rebuilt. | |
909 | * configure: Likewise. | |
910 | * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. | |
911 | ||
912 | 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> | |
913 | ||
914 | Fix from Marcus Daniels: | |
915 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the | |
916 | identifier looking for another underscore. | |
917 | ||
918 | Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
919 | ||
920 | * pexecute.c: Change all references to __UWIN__ to _UWIN. | |
921 | * xmalloc.c: Likewise. | |
922 | (xcalloc): UWIN has sbrk. | |
923 | (xrealloc): Fix guard macro. | |
924 | ||
925 | 1999-04-11 Richard Henderson <rth@cygnus.com> | |
926 | ||
927 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin | |
928 | or <alloca.h>. | |
929 | * clock.c (GNU_HZ): New definition. | |
930 | (clock): Use it. | |
931 | * getruntime.c: Likewise. | |
932 | ||
933 | * config.table: Use mh-beos. | |
934 | * config/mh-beos: New file. | |
935 | ||
936 | 1999-04-11 Mark Mitchell <mark@codesourcery.com> | |
937 | ||
938 | * cplus-dem.c (demangle_template_value_parm): Handle | |
939 | pointers-to-members. | |
940 | (do_type): Handle template parameters as qualifiers. | |
941 | ||
942 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> | |
943 | ||
944 | * cplus-dem.c: Attempt to handle overflows in counts with some | |
945 | semblance of grace. | |
946 | (consume_count): Detect overflows. Return -1 to indicate errors, | |
947 | instead of zero. | |
948 | (demangle_template_value_parm, demangle_template): Handle change | |
949 | to consume_count's return convention. | |
950 | ||
951 | 1999-04-05 Tom Tromey <tromey@cygnus.com> | |
952 | ||
953 | * testsuite/regress-demangle: New file. | |
954 | * testsuite/demangle-expected: New file. | |
955 | ||
956 | * Makefile.in (all, check, installcheck, info, install-info, | |
957 | clean-info, dvi, install, etags, tags, mostlyclean, clean, | |
958 | distclean, maintainer-clean, realclean): Depend on corresponding | |
959 | `-subdir' target. | |
960 | (all-subdir check-subdir installcheck-subdir info-subdir | |
961 | install-info-subdir clean-info-subdir dvi-subdir | |
962 | install-info-subdir etags-subdir mostlyclean-subdir clean-subdir | |
963 | distclean-subdir maintainer-clean-subdir): New target. | |
964 | * testsuite/Makefile.in: New file. | |
965 | * configure: Rebuilt. | |
966 | * configure.in: Create testsuite/Makefile. | |
967 | ||
968 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> | |
969 | ||
970 | * splay-tree.h (splay_tree_compare_pointers): Define. | |
971 | ||
972 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> | |
973 | ||
974 | * splay-tree.c (splay_tree_compare_ints): Define. | |
975 | ||
976 | 1999-03-30 Tom Tromey <tromey@cygnus.com> | |
977 | ||
978 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and | |
979 | don't advance input pointer. | |
980 | (demangle_class_name): If consume_count didn't find a count, do | |
981 | nothing. Don't bother with `strlen' sanity check; consume_count | |
982 | does it for us. | |
983 | ||
984 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> | |
985 | ||
986 | From Art Haas <ahaas@neosoft.com>: | |
987 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings | |
988 | when doing arm or hp style. | |
989 | (demangle_nested_args): Decr forgetting_types field when done. | |
990 | ||
991 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
992 | ||
993 | * pexecute.c (__CYGWIN32__): Rename to | |
994 | (__CYGWIN__): this. | |
995 | * xmalloc.c: Likewise. | |
996 | ||
997 | Changes to support i386-pc-uwin. | |
998 | * configure.in (*-*-uwin*): Workaround for vfork bug. | |
999 | * configure: Regenerate. | |
1000 | * pexecute.c (pexecute): Be like standard Unix. | |
1001 | (pwait): Likewise. | |
1002 | * xmalloc.c (first_break): Define. | |
1003 | (xmalloc_set_program_name): Use. | |
1004 | (xmalloc): Use. | |
1005 | ||
1006 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
1007 | ||
1008 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc | |
1009 | ||
1010 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> | |
1011 | ||
1012 | * config.table: Check cygwin*, not cygwin32*. | |
1013 | ||
1014 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> | |
1015 | ||
1016 | * Makefile.in: Change mkstemp -> mkstemps. | |
1017 | ||
1018 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> | |
1019 | ||
1020 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o | |
1021 | * configure.in (funcs): Check for and conditionally add mkstemps to | |
1022 | the list of functions libiberty will provide. | |
1023 | * configure: Rebuilt. | |
1024 | ||
1025 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
1026 | ||
1027 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on | |
1028 | platforms that don't have HZ. | |
1029 | * getruntime.c (HZ): Likewise. | |
1030 | ||
1031 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> | |
1032 | ||
1033 | * Makefile.in (xstrdup.o): Depend on config.h. | |
1034 | ||
1035 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) | |
1036 | ||
1037 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after | |
1038 | freeing it. | |
1039 | ||
1040 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1041 | ||
1042 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. | |
1043 | ||
1044 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1045 | ||
1046 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of | |
1047 | splay-tree.o. | |
1048 | ||
1049 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
1050 | ||
1051 | * configure.in: Require autoconf 2.12.1 or higher. | |
1052 | ||
1053 | 1998-12-30 Michael Meissner <meissner@cygnus.com> | |
1054 | ||
1055 | * random.c (NULL): Don't redefine NULL if it is already defined. | |
1056 | ||
1057 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1058 | ||
1059 | * argv.c (buildargv): Cast the result of alloca in assignment. | |
1060 | ||
1061 | * choose-temp.c: Include stdlib.h. | |
1062 | ||
1063 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. | |
1064 | (snarf_numeric_literal): Constify first parameter. | |
1065 | (code_for_qualifier): Avoid a gcc extension, make the parameter an | |
1066 | int, not a char. | |
1067 | (demangle_qualifier): Likewise. | |
1068 | (demangle_signature): Cast the argument of a ctype function to | |
1069 | unsigned char. | |
1070 | (arm_pt): Add parens around assignment used as truth value. | |
1071 | (demangle_arm_hp_template): Constify variable `args'. | |
1072 | (do_hpacc_template_const_value): Cast the argument of a ctype | |
1073 | function to unsigned char. | |
1074 | (do_hpacc_template_literal): Remove unused variable `i'. | |
1075 | (snarf_numeric_literal): Constify parameter `args'. | |
1076 | Cast the argument of a ctype function to unsigned char. | |
1077 | ||
1078 | * floatformat.c (floatformat_to_double): Add explicit braces to | |
1079 | avoid ambiguous `else'. | |
1080 | ||
1081 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', | |
1082 | `cstart' and `cend' to unsigned char. Cast the argument of macro | |
1083 | `FOLD', which uses ctype functions, to unsigned char. | |
1084 | ||
1085 | * objalloc.c (free): Add prototype. | |
1086 | ||
1087 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> | |
1088 | ||
1089 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o | |
1090 | ||
1091 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> | |
1092 | ||
1093 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function | |
1094 | doesn't exist. | |
1095 | (do_hpacc_template_literal): remove unused variable `i'. | |
1096 | ||
1097 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> | |
1098 | ||
1099 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before | |
1100 | bumping the pointer we read from. Also prepend these codes, | |
1101 | as we do in other places. | |
1102 | ||
1103 | 1998-12-18 Nick Clifton <nickc@cygnus.com> | |
1104 | ||
1105 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be | |
1106 | 'const char *' in order to match its usage when calling siblings. | |
1107 | (snarf_numeric_literal): Make first arg 'const char **' in order | |
1108 | to match usage. | |
1109 | ||
1110 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1111 | ||
1112 | * choose-temp.c: Don't check IN_GCC anymore. | |
1113 | ||
1114 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. | |
1115 | * memchr.c (memchr): Likewise. | |
1116 | * memcpy.c (memcpy): Likewise. | |
1117 | * memmove.c (memmove): Likewise. | |
1118 | ||
1119 | * mkstemp.c: Don't check IN_GCC anymore. | |
1120 | * pexecute.c: Likewise. | |
1121 | * splay-tree.c: Likewise. | |
1122 | ||
1123 | * strchr.c (strchr): Use `const', not `CONST'. | |
1124 | * strrchr.c (strrchr): Likewise. | |
1125 | * strtol.c (strtol): Likewise. | |
1126 | * strtoul.c (strtoul): Likewise. | |
1127 | ||
1128 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> | |
1129 | Elena Zannoni <ezannoni@cygnus.com> | |
1130 | Stan Shebs <shebs@cygnus.com> | |
1131 | Edith Epstein <eepstein@cygnus.com> | |
1132 | Andres MacLeod <amacleod@cygnus.com> | |
1133 | Satish Pai <pai@apollo.hp.com> | |
1134 | ||
1135 | * HP aCC demangling support. | |
1136 | * cplus-dem.c | |
1137 | (main): Remove default to HP style demangling, set to EDG | |
1138 | demangling correctly when -edg specified; set the demangling style | |
1139 | when user specifies 'edg'. Set strip_underscore to | |
1140 | prepends_underscore, if not HPUXHPPA. Set | |
1141 | current_demangling_style to hp_demangling if HPUXHPPA. Set | |
1142 | current demangling style correctly if the switch is hp. Read | |
1143 | label correctly also in the HP style case. | |
1144 | (work_stuff): add temp_start field; add field for volatile member | |
1145 | function. | |
1146 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP | |
1147 | style for this case is the same as ARM. | |
1148 | (demangle_args): handle EDG_DEMANGLING style; support HP style. | |
1149 | (demangle_arm_hp_template): new function. (It was | |
1150 | demangle_arm_pt.); check and set value of temp_start field in | |
1151 | multiple places. Also, when ceching for end of template args, | |
1152 | check to see if at end of static member of template class. | |
1153 | (demangle_class): new local variable : save_class_name_end Don't | |
1154 | include template args in string defining class. | |
1155 | (demangle_class_name): use demangel_arm_hp_template. | |
1156 | (demangle_function_name): handle case where demangling style is | |
1157 | HP_DEMANGLING and currently point at an 'X' in the mangled name. | |
1158 | Handle EDG_DEMANGLING style. Handle constructor and destructor | |
1159 | ops for HP style. | |
1160 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING | |
1161 | styles. global destructor and constructor for HP style are same | |
1162 | as for ARM style. Same for local variables. | |
1163 | (demangle_qualified): handle EDG_DEMANGLING style. | |
1164 | (demangle_signature): add case for volatile member function. For | |
1165 | cases '1' - '9' : initialize the temp_start field to -1 and handle | |
1166 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING | |
1167 | and AUTO_DEMANGLING styles. If expecting a function and managed | |
1168 | to demangle the funct args, then handle the LUCID_DEMANGLING, | |
1169 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local | |
1170 | class name after "Lnnn_ in HP style case. HP style too needs to | |
1171 | forget types. _nnn is OK for HP style, so don't report failure. | |
1172 | (do_hpacc_template_const_value): new function. Handle template's | |
1173 | value param for HP/aCC. | |
1174 | (do_hpacc_template_literal): new function. Handle a template's | |
1175 | literal parameter for HP aCC. | |
1176 | (recursively_demangle): new function | |
1177 | (snarf_numeric_literal): new function. | |
1178 | (usage): add 'edg' to the list of demangling styles; add hp switch | |
1179 | to message. | |
1180 | ||
1181 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> | |
1182 | ||
1183 | * pexecute.c: Remove obsolete ifdefed cygwin code. | |
1184 | ||
1185 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1186 | ||
1187 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. | |
1188 | * cplus-dem.c: Likewise. Conform to libiberty.h. | |
1189 | * pexecute.c: Likewise. | |
1190 | * splay-tree.c: Likewise. | |
1191 | ||
1192 | 1998-11-25 Mike Stump <mrs@wrs.com> | |
1193 | ||
1194 | * Makefile.in (splay-tree.o): Add config.h dependency. | |
1195 | ||
1196 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1197 | ||
1198 | * configure.in: Use AC_PREREQ(2.12.1). | |
1199 | ||
1200 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> | |
1201 | ||
1202 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. | |
1203 | ||
1204 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) | |
1205 | ||
1206 | * mpw.c (mpw_access): Add missing parens. | |
1207 | ||
1208 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1209 | ||
1210 | * configure.in: Call AC_HEADER_SYS_WAIT. | |
1211 | ||
1212 | * pexecute.c: Include sys/wait.h when !IN_GCC. | |
1213 | ||
1214 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> | |
1215 | ||
1216 | * pexecute.c: revert back to checking old Cygwin | |
1217 | preprocessor symbol until some time has passed. | |
1218 | ||
1219 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> | |
1220 | ||
1221 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin | |
1222 | since it will now support similar constructs. | |
1223 | ||
1224 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1225 | ||
1226 | * configure.in: Check for calloc. | |
1227 | ||
1228 | * calloc.c: New file. | |
1229 | ||
1230 | * xmalloc.c (xcalloc): New function. | |
1231 | ||
1232 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> | |
1233 | ||
1234 | *cplus-dem.c (demangle_prefix): Use the last "__" | |
1235 | in the mangled name when looking for the signature. This allows | |
1236 | template names to begin with "__". | |
1237 | ||
1238 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> | |
1239 | ||
1240 | * cplus-dem.c (type_kind_t): Add tk_reference. | |
1241 | (demangle_template_value_parm): Handle it. | |
1242 | (do_type): Use it for references, instead of tk_pointer. | |
1243 | ||
1244 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, | |
1245 | not internal_cplus_demangle. | |
1246 | ||
1247 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1248 | ||
1249 | * choose-temp.c: Don't include gansidecl.h. | |
1250 | * mkstemp.c: Likewise. | |
1251 | * pexecute.c: Likewise. | |
1252 | ||
1253 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> | |
1254 | ||
1255 | * configure.in: detect cygwin* instead of cygwin32* | |
1256 | * configure: regenerate | |
1257 | ||
1258 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1259 | ||
1260 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining | |
1261 | whether to include config.h. Possibly include unistd.h in the | |
1262 | !IN_GCC case. Define VFORK_STRING as a printable function call | |
1263 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is | |
1264 | defined, include vfork.h. If VMS is defined, define vfork() | |
1265 | appropriately. Remove vfork check on USG, we're using autoconf. | |
1266 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking | |
1267 | locally what string to use. | |
1268 | ||
1269 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> | |
1270 | ||
1271 | * splay-tree.c: Tweak include directives to make sure declarations of | |
1272 | xmalloc and free are available. | |
1273 | ||
1274 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> | |
1275 | ||
1276 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in | |
1277 | anonymous namespaces. | |
1278 | ||
1279 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> | |
1280 | ||
1281 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type | |
1282 | with type_quals. | |
1283 | (TYPE_UNQUALIFIED): New macro. | |
1284 | (TYPE_QUAL_CONST): Likewise. | |
1285 | (TYPE_QUAL_VOLATILE): Likewise. | |
1286 | (TYPE_QUAL_RESTRICT): Likewise. | |
1287 | (code_for_qualifier): New function. | |
1288 | (qualifier_string): Likewise. | |
1289 | (demangle_qualifier): Likewise. | |
1290 | (internal_cplus_demangle): Use them. | |
1291 | (demangle_signature): Likewise. | |
1292 | (demangle_template_value_parm): Likewise. | |
1293 | (do_type): Likewise. | |
1294 | (demangle_fund_type)): Likewise. | |
1295 | ||
1296 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1297 | ||
1298 | * splay-tree.c (splay_tree_foreach_helper): Make definition static | |
1299 | to match prototype. | |
1300 | ||
1301 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> | |
1302 | ||
1303 | * splay-tree.c: New file. | |
1304 | * Makefile.in (CFILES): Add it. | |
1305 | (REQUIRED_OFILES): Likewise. | |
1306 | (splay-tree.o): Add dependencies. | |
1307 | ||
1308 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
1309 | ||
1310 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking | |
1311 | range of 'K' index. | |
1312 | ||
1313 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1314 | ||
1315 | * choose-temp.c: Prototype mkstemps() when IN_GCC. | |
1316 | ||
1317 | * cplus-dem.c (consume_count): Cast argument of ctype macro to | |
1318 | `unsigned char'. | |
1319 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when | |
1320 | comparing against one. | |
1321 | (cplus_mangle_opname): Likewise. | |
1322 | (demangle_integral_value): Cast argument of ctype macro to | |
1323 | `unsigned char'. | |
1324 | (demangle_template_value_parm): Likewise. | |
1325 | (demangle_template): Initialize variable `bindex'. Cast the | |
1326 | result of `strlen' to (int) when comparing against one. Remove | |
1327 | unused variable `start_of_value_parm'. | |
1328 | (demangle_class_name): Cast the result of `strlen' to (int) when | |
1329 | comparing against one. | |
1330 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. | |
1331 | (gnu_special): Likewise. Cast the result of `strlen' to (int) | |
1332 | when comparing against one. | |
1333 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. | |
1334 | (get_count): Likewise. | |
1335 | (do_type): Likewise. Cast the result of `strlen' to (int) when | |
1336 | comparing against one. | |
1337 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. | |
1338 | (demangle_function_name): Cast the result of `strlen' to (int) | |
1339 | when comparing against one. | |
1340 | ||
1341 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when | |
1342 | comparing against one. | |
1343 | ||
1344 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) | |
1345 | ||
1346 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h | |
1347 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. | |
1348 | * config.in, configure: Rebuilt. | |
1349 | ||
1350 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. | |
1351 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. | |
1352 | * config.in, configure: Rebuilt. | |
1353 | ||
1354 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> | |
1355 | ||
1356 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT | |
1357 | ||
1358 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> | |
1359 | ||
1360 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. | |
1361 | ||
1362 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) | |
1363 | ||
1364 | * Merge egcs & devo libiberty. | |
1365 | ||
1366 |