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