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