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