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