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