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