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