]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
2002-01-31 David O'Brien <obrien@FreeBSD>
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
2c955b8b
DD
12002-01-30 Phil Edwards <pme@gcc.gnu.org>
2
3 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
4 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
5 cp_demangle_type.
6 * testsuite/demangle-expected: New gnu-v3 test.
7
58b1717a
RH
82002-01-22 Momchil Velikov <velco@fadata.bg>
9
10 * configure.in (variable detection): Use arrays of unspecified
11 size instead of plain integers.
12
cc096b71
DD
132002-01-18 DJ Delorie <dj@redhat.com>
14
15 * Makefile.in (TESTLIB): New. This library is for future
16 testsuites.
17 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
18 break down by letter.
19 (REQUIRED_OFILES): List long-to-compile files first.
20 (maint-deps): New, target for updating dependencies.
21 (dependencies): Update.
22 * maint-tool: Add dependency-generating option.
23 * configure.in: Check for _doprnt even if we're not providing it.
24 * configure: Regenerate.
25
26 * _doprnt.c: Modifications to allow compiling on any platform.
27 * copysign.c: Likewise.
28 * putenv.c: Likewise.
29 * setenv.c: Likewise.
30 * vsprintf.c: Likewise.
31
322002-01-15 Douglas B Rupp <rupp@gnat.com>
33
34 * mkstemps.c (mkstemps): On VMS, open temp file with option
35 that causes it to be deleted when closed.
36
20d54542
DD
372002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
38
c23795e2
DD
39 * cp-demangle.c (long_options): Const-ify.
40 * cplus-dem.c (long_options): Likewise.
41
20d54542
DD
42 * cplus-dem.c (mystrstr): Delete. All callers changed to use
43 strstr instead.
44
f348a7b1
DD
452001-12-31 Ira Ruben <ira@apple.com>
46
47 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
48 * configure: Regenerated.
49
d86cd745
DD
502001-12-24 Douglas B. Rupp <rupp@gnat.com>
51
52 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
53 * configure: Regenerated.
54
ae533646
DD
552001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
56
57 PR other/2719
58 * cplus-dem.c (consume_count): Treat negative count as an error.
59 * testsuite/demangle-expected: Added testcase.
60
c0eb281b
DD
61Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
62
63 * configure.in: Hardcode that vfork works on VMS host.
64 * configure: Regenerated.
65
2da4c07f
RH
662001-12-06 Richard Henderson <rth@redhat.com>
67
68 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
69 (cplus_demangle): Support no_demangling.
70
24acd898
DD
712001-11-27 Zack Weinberg <zack@codesourcery.com>
72
73 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
74 in libiberty context. Fix typo in leading comment.
75 * configure.in: Fix various AC_DEFINEs so autoheader works.
76 If any of vprintf, vsprintf, vfprintf is missing from libc,
77 then AC_REPLACE_FUNCS(_doprnt).
78
fec50157 792001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 80 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
81
82 * Makefile.in (stamp-h): Depend on Makefile for proper
83 serialization.
84 (*-subdir): Depend on config.h for proper serialization.
85
5527febf
DD
862001-11-26 DJ Delorie <dj@redhat.com>
87
88 * configure.in: Check for alloca.h (for regex.c and putenv.c).
89 * configure: Regenerate.
90 * config.h: Add HAVE_ALLOCA_H.
91
941d74a0
DD
922001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93
94 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
95 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
96 is available.
97
dc579051
DD
98Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
99
100 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
101 * configure.in (HAVE_UINTPTR_T): Test for system defining
102 uintptr_t and define HAVE_UINTPTR_T appropriately.
103 * regex.c (uintptr_t): Do not provide a definition if the
104 system provided one.
105
106 * regex.c (PREFIX): Provide an alternate definition for
107 non-ANSI/ISO compilers.
108 (ARG_PREFIX): Likewise.
109
1a78a35a
DD
1102001-11-12 Jim Meyering <meyering@lucent.com>
111
112 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
113 this code would end up calling gettext even in packages built
114 with --disable-nls.
115 * getopt.c (_): Likewise.
116 * regex.c (_): Likewise.
117
4e55c4b6
DD
1182001-11-03 Alan Modra <amodra@bigpond.net.au>
119
120 * configure.in: Cope with missing makeinfo.
121 * configure: Regenerate.
122
d311a83a
DD
1232001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
124
125 * hex.c (hex_init): Provide empty stub.
126
127 * hex.c (hex_init): Delete.
128 (_hex_value): Const-ify and initialize at compile-time.
129
3bc62f91
DD
1302001-10-19 H.J. Lu <hjl@gnu.org>
131
132 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
133 necessary.
134
5d852400
DD
1352001-10-17 DJ Delorie <dj@redhat.com>
136
137 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
138 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 139 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
140 Improve manual formatting.
141 * functions.texi: Regenerate.
142
ba19b94f
DD
1432001-10-15 DJ Delorie <dj@redhat.com>
144
145 * Makefile.in (TEXIFILES): Add fnmatch.txh.
146 (maint-undoc): New.
147 maint-tool: Add "undoc" tool.
148 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
149 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
150 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
151 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
152 documentation.
153 * fnmatch.txh: New.
154 * functions.texi: Regenerate.
155
56056af5
DD
1562001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
157
158 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
159 * strtod.c: Use "ISO C" instead of "ANSI C".
160 * functions.texi: Regenerate.
161
99b58139
DD
1622001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
163
164 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
165 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
166 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
167 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
168 spelling. Give names to function arguments in documentation. Use
169 (void) prototypes in documentation.
170 * functions.texi: Regenerate.
171
e6450fe5
DD
1722001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
173
174 * argv.c (buildargv, tests, main): Const-ify.
175 * cp-demangle.c (operator_code): Likewise.
176 * cplus-dem.c (optable, libiberty_demanglers,
177 cplus_demangle_set_style, cplus_demangle_name_to_style,
178 print_demangler_list): Likewise.
179 * hashtab.c (higher_prime_number): Likewise.
180 * strcasecmp.c (charmap): Likewise.
181 * strerror.c (error_info, strerror, main): Likewise.
182 * strncasecmp.c (charmap): Likewise.
183 * strsignal.c (signal_info): Likewise.
184
da191b5b
DD
1852001-09-29 DJ Delorie <dj@redhat.com>
186
187 * configure: Regenerate.
188
916aaa12
DD
1892001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
190
191 * concat.c: Include stdlib.h.
192
fa9f0e33
DD
1932001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
194
195 * libiberty.texi: (Top level): Add syncodeindex pg. Add
196 @dircategory and @direntry directives. Add @finalout.
197 (many nodes): Lose the next,prev,up pointers on the @nide line.
198 (Using, Supplemental Functions, Replacement Functions): Fix
199 markup.
200 (Functions): Move around, to allow makeinfo to build the manual
201 without next,prev,up pointers in thye node lines.
202 (Licenses): Fix typos.
203
204 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
205 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
206 * functions.texi: Regenerate.
207
208 * copying-lib.texi: Lose the next,prev,up pointers on the @node
209 line.
210
2112001-09-27 DJ Delorie <dj@redhat.com>
212
213 * configure.in: Don't use in-tree texinfo, because libiberty must
214 be built before it. Check for makeinfo version 4 or higher.
215 * functions.texi: Regenerate.
216
39423523
DD
2172001-09-20 DJ Delorie <dj@redhat.com>
218 Phil Edwards <pedwards@disaster.jaj.com>
219
220 * configure.in (MAKEINFO, PERL): Detect these.
221 (--enable-maintainer-mode): Add.
222 * configure: Regenerate.
223 * Makefile.in (MAKEINFO, PERL): Define.
224 (libiberty.info, libiberty.dvi, libiberty.html): New.
225 (CFILES): Add bsearch.c.
226 (CONFIGURED_OFILES): New, list of objects configure might add.
227 (maint-missing, maint-buildall): New, for maintainers only.
228 (clean, mostlyclean): Add info/dvi/html files.
229 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
230 * gather-docs: New, for maintainers.
231 * maint-tool: New, for maintainers.
232 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
233 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
234 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
235 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
236 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
237 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
238 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
239 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
240 documentation.
241
66c94e19
DD
2422001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
243
244 * concat.c (reconcat): Fix for traditional C.
245
99ee3a8f
DD
2462001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
247
248 * concat.c (reconcat): New function.
249
54c20242
DD
2502001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
251
252 * concat.c (vconcat_length, vconcat_copy, concat_length,
253 concat_copy, concat_copy2): New functions.
254 (concat): Use vconcat_length/vconcat_copy.
255
256 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
257 Define.
258
843f21be
DD
2592001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
260
261 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
262 VA_FIXEDARG & VA_CLOSE.
263
264 * vasprintf.c: Check HAVE_STRING_H when including string.h.
265 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
266 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
267
8a423cb3
DD
2682001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
269
270 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
271
dc676635
DD
2722001-08-23 Ulrich Drepper <drepper@redhat.com>
273
274 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
275
2762001-08-23 Ulrich Drepper <drepper@redhat.com>
277
278 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
279 instead of mbrtowc.
280 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
281 wcslen, and __wcscoll instead of wcscoll.
282
f080c76d
DD
2832001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
284
4e55c4b6
DD
285 * fibheap.c (fibheap_init, fibnode_init): Remove.
286 (fibheap_new, fibnode_new): Use xcalloc to allocate and
287 initialize memory.
288 (fibheap_insert): Remove check for node allocation failure.
f080c76d 289
f01b59ed
DD
2902001-08-21 Richard Henderson <rth@redhat.com>
291
292 * Makefile.in (fibheap.o): Depend on config.h.
293 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
294 functions for inlining.
295
296Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
297
298 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
299 hosting on cygwin.
300 * configure: Regenerate.
301
eb828599
AC
3022001-08-20 Andrew Cagney <ac131313@redhat.com>
303
304 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
305 HARRIS_FLOAT_FORMAT.
306 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
307 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
308 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
309 (floatformat_m88110_harris_ext): New float formats.
310
4e55c4b6
DD
3112001-08-20 Daniel Berlin <dan@cgsoftware.com>
312
313 * fibheap.c: New file. Fibonacci heap.
314
315 * Makefile.in (CFILES): Add fibheap.c.
316 (REQUIRED_OFILES): Add fibheap.o.
317 (fibheap.o): Add dependencies for fibheap.o.
318
68a41de7
DD
3192001-08-17 Christopher Faylor <cgf@cygnus.com>
320
321 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
322 * configure: Regenerate.
323
8fc34799
DD
3242001-08-16 Richard Henderson <rth@redhat.com>
325
326 * hashtab.c (htab_hash_string): New.
327
16bad250
AC
3282001-08-13 Andrew Cagney <ac131313@redhat.com>
329
330 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
331 name.
332
a9022147
DD
3332001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
334
335 * regex.c (wcs_regex_compile): Use appropriate string
336 to compare with collating element.
337 Fix the padding for the alignment.
338
8aefe91a 3392001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
340
341 * lbasename.c (lbasename): Change function definition to return a
342 const char pointer.
343
e7e9b069
DD
3442001-08-07 Jason Merrill <jason_merrill@redhat.com>
345
346 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
347 for".
348
cc5144f8
DD
3492001-08-03 Richard Henderson <rth@redhat.com>
350
351 * Makefile.in (concat.o): Depend on config.h.
352
8aefe91a
DD
3532001-07-30 Andreas Jaeger <aj@suse.de>
354
355 * concat.c: Include "config.h".
356
86710ce2
DD
3572001-07-30 Andreas Jaeger <aj@suse.de>
358
359 * regex.c: Declare wcs functions only if compiling with
360 MBS_SUPPORT.
361 Don't use #elif for traditional C.
362
3632001-07-23 Ulrich Drepper <drepper@redhat.com>
364
365 * regex.c: Revamp memory allocation for WCHAR functions to
366 not use too much stack.
367
3682001-07-30 Andreas Jaeger <aj@suse.de>
369
370 * regex.c: Declare wcs functions only if compiling with
371 MBS_SUPPORT.
372 Don't use #elif for traditional C.
373
a5d8f731
DD
3742001-07-25 Daniel Jacobowitz <drow@mvista.com>
375
376 * Makefile.in (regex.o): Add dependency on config.h.
377
6ad8a379
DD
3782001-07-18 Andreas Schwab <schwab@suse.de>
379
380 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
381 underscore character.
382
3832001-07-18 Ulrich Drepper <drepper@redhat.com>
384
385 * regex.c: Limit string length printed in debug messages to 100
386 chars.
387
3882001-07-18 Andreas Jaeger <aj@suse.de>
389
390 * regex.c: Place under LGPL version 2.1.
391
2a6ef469
DD
3922001-07-10 Jeff Johnston <jjohnstn@redhat.com>
393
394 * Makefile.in: Add support for regex code.
395 * regex.c: New file.
396
7b78baae
DD
3972001-07-05 Mark Klein <mklein@dis.com>
398
399 * Makefile.in: Add ffs.c dependency.
400 * configure.in: Add ffs.c.
401 * ffs.c: New file.
402
926150e2
DD
4032001-06-18 Richard Henderson <rth@redhat.com>
404
405 * concat.c: Include <sys/types.h>.
406
11f6f21d
DD
4072001-06-11 Loren J. Rittle <ljrittle@acm.org>
408
409 bootstrap/3106
410 * strerror.c (sys_nerr): Hide the OS header version.
411 * strsignal.c (sys_nsig): Likewise.
412
d42dae6c
DD
4132001-06-10 Richard Henderson <rth@redhat.com>
414
415 * concat.c: Include string.h. Fix int vs size_t usage.
416 Simplify the iteration loops. Use memcpy.
417
e05c6d27
DD
4182001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
419
420 * partition.c: Fix misspelling of `implementation'.
421
b50c4073
DD
4222001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
423
424 * md5.c (md5_init_ctx): Declare constants as unsigned.
425 (md5_process_block): Likewise.
426
457161bf
DD
4272001-05-07 Zack Weinberg <zackw@stanford.edu>
428
429 * cp-demangle.c (demangle_v3_with_details,
430 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
431 function definition.
432 * ternary.c: Use K+R style function definitions. Use PTR, not
433 void *. Make arguments constant where possible.
434
e00bc6a7
DD
4352001-05-07 Mark Mitchell <mark@codesourcery.com>
436
437 * splay-tree.h (splay_tree_max): New function.
438 (splay_tree_min): Likewise.
439
400ee7e1
DB
4402001-04-15 Daniel Berlin <dan@cgsoftware.com>
441
442 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
443
444 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 445
d9697354
DD
4462001-04-03 Zack Weinberg <zackw@stanford.edu>
447
448 * make-temp-file.c (try): Inline.
449
a7bf099b
DD
4502001-02-28 Richard Henderson <rth@redhat.com>
451
452 * Makefile.in (make-temp-file.o): Depend on config.h.
453
30a1def2
DD
4542001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
455
456 * memchr.c (memchr): Adjust condition to avoid infinite loop.
457
079c672a
DD
4582001-03-23 Jakub Jelinek <jakub@redhat.com>
459
460 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
461 `_' not followed by a digit is invalid.
462
a88e356a
JB
4632001-03-22 Jim Blandy <jimb@redhat.com>
464
465 * cp-demangle.c (string_list_delete): Use dyn_string_delete
466 instead of free, to free the contents as well as the string
467 structure.
468
1dffcc66
DD
4692001-03-21 Zack Weinberg <zackw@stanford.edu>
470
471 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
472 Don't default P_tmpdir to anything. Try /var/tmp before
473 /usr/tmp.
474
4752001-03-20 Zack Weinberg <zackw@stanford.edu>
476
477 * choose-temp.c: Split off make_temp_file, and the code
478 duplicated between it and choose_temp_base, into...
479 * make-temp-file.c: ... here; new file.
480
481 * Makefile.in (CFILES): Add make-temp-file.c.
482 (REQUIRED_OFILES): Add make-temp-file.o.
483
e61231f1
JB
4842001-03-20 Jim Blandy <jimb@redhat.com>
485
486 * cp-demangle.c (struct demangling_def): New fields:
487 is_constructor and is_destructor.
488 (demangling_new): Initialize them.
489 (demangle_ctor_dtor_name): Set them, if we detect a constructor
490 or destructor.
491 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
492 is_gnu_v3_mangled_dtor): New functions.
493
a9cbbe6d
DD
4942001-03-20 Jason Merrill <jason@redhat.com>
495
496 * cplus-dem.c (main): Skip initial $.
497
b1e51b3c
DD
4982001-03-15 Michael Meissner <meissner@redhat.com>
499
500 * hashtab.c (higher_prime_number): Silence warning that 4294967291
501 might be a signed integer under pre-ISO C systems.
502
8aa30e60 5032001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 504 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 505
8aa30e60
DD
506 * libiberty/lbasename.c: New file.
507 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 508
30673bf5
DD
5092001-03-06 Zack Weinberg <zackw@stanford.edu>
510
511 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
512 * configure.in: Replace all alloca logic with a simple use of
513 the above new macro.
514 * config.table: Kill *-*-beos* entry.
515 * config/mh-beos: Delete.
516 * configure, config.in: Regenerate.
fa03f0a7 517
30673bf5
DD
518 * Makefile.in (ALLOCA, HFILES): Kill.
519 (REQUIRED_OFILES): Add alloca.o.
520 (alloca.o): Depend on libiberty.h.
521 (argv.o): Don't depend on alloca-conf.h.
522 * alloca-conf.h: Delete.
523 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
524 blocks. Provide the C alloca unconditionally. Use PTR where
525 appropriate. Make i00afunc static.
526 * argv.c: Don't include alloca-conf.h.
fa03f0a7 527
5810f394
DD
5282001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
529
530 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 531
a9db032a
DD
5322001-02-16 Loren J. Rittle <ljrittle@acm.org>
533
534 * cplus-dem.c (main): Initialize style.
fa03f0a7 535
8aefe91a
DD
5362001-02-02 Phil Edwards <pme@sources.redhat.com>
537
538 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
539
bc9bf259
DD
5402001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
541
542 Add support for Java demangling under the v3 ABI:
543 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
544 (struct demangling_def): Add `style' field.
545 (demangling_new): New parameter `style'. Set it in demangling_t.
546 (demangle_prefix): Use NAMESPACE_SEPARATOR.
547 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
548 (cp_demangle): New parameter `style'. Pass it to demangling_new().
549 (main): Call cp_demangle with extra parameter.
550 (java_demangle_v3): New function.
551 (java_builtin_type_names): New. Table of primitive type names used
552 for Java demangling.
553 (demangle_builtin_type): Look up in java_builtin_type_names if doing
554 Java output.
555 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
556 demangling.
557 (long_options): Remove obsolete `java' option.
558 (main): Remove explicit handling of `java' option. Instead, pass style
559 parameter in cplus_demangle flags as gdb does.
560 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 561
f6528837
DD
5622000-12-29 DJ Delorie <dj@redhat.com>
563
564 * fnmatch.c: Make the note about the origins of this file more
565 accurate, at least until we can sync with glibc.
566 * getopt.c: Ditto.
567 * getopt1.c: Ditto.
568 * md5.c: Ditto.
569 * obstack.c: Ditto.
9d969b59 570
c6da642e
DD
5712000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
572
573 * bsearch.c: New file.
574 * configure.in (funcs): Add bsearch.
575 (AC_CHECK_FUNCS): Likewise.
576 * configure, config.in: Regenerate.
577
ae7d06ad 5782000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
579
580 * safe-ctype.c: #include "ansidecl.h".
581 * strtod.c: Likewise.
582
ae7d06ad 5832000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
584
585 * strtoul.c: Include safe-ctype.h, not ctype.h.
586
ac424eb3
DD
5872000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
588
589 * safe-ctype.c: New file.
590 * Makefile.in (CFILES): Add safe-ctype.c.
591 (REQUIRED_OFILES): Add safe-ctype.o.
592
593 * argv.c: Define ISBLANK and use it, not isspace.
594 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
595 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
596 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
597 before calling TOLOWER(c)/TOUPPER(c).
598
4415a860
DD
5992000-12-07 Mike Stump <mrs@wrs.com>
600
601 * Makefile.in (distclean): When cleaning, remove testsuite.
602
849ee224
DD
6032000-12-05 Jason Merrill <jason@redhat.com>
604
605 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
606 name before allocating the dyn_string.
607
ae7d06ad 6082000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
609
610 * cp-demangle.c: s/new_abi/v3/.
611 * cplus-dem.c: Likewise.
612 (current_demangling_style): Now auto_demangling.
613 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 614 (main): Use standard symbol chars for auto_demangling.
e49a569c 615
ae7d06ad 6162000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
617
618 * hashtab.c (higher_prime_number): Use a table, rather than a
619 seive, to find the next prime.
ae7d06ad
NC
620
6212000-11-22 H.J. Lu <hjl@gnu.org>
622
623 * cplus-dem.c (main): Handle gnat_demangling.
624
6252000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
626
627 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
628 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
629 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
630 argument form of AC_DEFINE in dummy definitions block. Use
631 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
632 in dummy block. Preload cache variables instead of bypassing
633 tests, where possible.
634 * acconfig.h: Removed.
ae7d06ad 635
2ea7befd
DD
636 * xmalloc.c (xmalloc_failed): New function, does error
637 reporting on failed allocation.
638 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 639
f1775526
HPN
6402000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
641
642 * cplus-dem.c (cplus_demangle): Fix formatting.
643 (grow_vect): Ditto.
644 (ada_demangle): Ditto.
645 (internal_cplus_demangle): Ditto.
646 (mop_up): Ditto.
647
6482000-11-21 H.J. Lu <hjl@gnu.org>
649
650 * cplus-dem.c (main): Handle java_demangling.
651
ae7d06ad 6522000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
653
654 * cplus-dem.c (grow_vect): Prototype.
655 (ada_demangle): Cast the arg of ctype macros to unsigned char.
656
5dd42ef4
HPN
6572000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
658
659 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
660 parameter `option'.
661
296731c1
DD
6622000-11-15 Kenneth Block <kenneth.block@compaq.com>
663
8944fb9d 664 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
665 be used in GCC.
666
6e53a714 6672000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 668
5dd42ef4 669 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
670 list.
671
99a4c1bd
HPN
6722000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
673
674 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
675 xcalloc depending on htab->return_allocation_failure. Return zero
676 if calloc fails.
99a4c1bd
HPN
677 (htab_create): Update comment to cover memory allocation.
678 (htab_try_create): New.
679 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 680 Update comment to cover this.
99a4c1bd 681
e0f3df8f
HPN
6822000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
683
684 * hashtab.c: Change void * to PTR where necessary.
685 (htab_create, htab_expand): Correct formatting of comment before
686 function.
687
ae7d06ad 6882000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
689
690 * cp-demangle.c (string_list_def): Add caret_position and comments.
691 (result_caret_pos): New macro.
692 (result_append_string): Rename to...
693 (result_add_string): ... this, and insert at caret position.
ae7d06ad 694 Rename throughout.
59666b35
DD
695 (result_append): Rename to...
696 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 697 throughout.
59666b35
DD
698 (result_append_char): Rename to...
699 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 700 throughout.
59666b35
DD
701 (result_append_space): Remove.
702 (string_list_new): Initialize caret position.
703 (result_add_separated_char): Use caret position.
704 (result_get_caret): New funtion.
705 (result_set_caret): Likewise.
706 (result_shift_caret): Likewise.
707 (result_previous_char_is_space): Likewise.
708 (substitution_start): Use caret position.
709 (substitution_add): Likewise.
710 (demangling_new): Initialize caret position.
711 (demangle_encoding): Use caret position.
ae7d06ad 712 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
713 (demangle_type_ptr): Use switch statement. Handle pointers to
714 arrays. Don't use result_append_space. Use caret position.
715 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
716 call to demangle_array_type.
717 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 718
ae7d06ad 7192000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
720
721 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
722
7232000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
724
725 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
726
7272000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
728
729 * splay-tree.c: #include <stdio.h>.
730
7312000-09-14 Hans-Peter Nilsson <hp@axis.com>
732
733 * testsuite/demangle-expected: Add two tests for anonymous
734 namespaces.
735 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
736
7372000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
738
739 * splay-tree.c (splay_tree_predecessor): New function.
740 (splay_tree_successor): Likewise.
ae7d06ad
NC
741
7422000-09-10 Hans-Peter Nilsson <hp@axis.com>
743
744 * testsuite/demangle-expected: Add four tests for type_info
745 mangling.
746 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
747 for a non-template non-qualified type_info function or node.
748
7492000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
750
751 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
752
7532000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
754
755 * md5.c: #include "ansidecl.h".
756
7572000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
758
759 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
760 (demangle_type): Handle substitution candidates correctly in the
761 face of special substitutions.
ae7d06ad
NC
762
7632000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
764
765 * cp-demangle.c (demangle_encoding): Rename variable.
766 (demangle_name): Rename parameter. Handle return type
767 suppression.
768 (demangle_nested_name): Rename parameter.
769 (demangle_prefix): Likewise. Change return type suppression.
770 (demangle_unqualified_name): Add parameter. Flag constructors and
771 conversion operators.
772 (demangle_special_name): Fix comment.
773 (demangle_type): Rename variable.
774 (demangle_bare_function_type): Check for missing return type and
775 parameter.
776 (demangle_class_enum_type): Rename parameter.
777 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
778
7792000-08-31 DJ Delorie <dj@redhat.com>
780
781 * configure.in (Cygwin): special case cygwin only when we're
782 building cygwin, not when we're hosting cygwin.
783
7842000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
785
786 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
787 <expression>.
ae7d06ad
NC
788
7892000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
790
791 * cp-demangle.c (demangle_type_ptr): Increment position past
792 pointer and reference characters.
ae7d06ad
NC
793
7942000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
795
796 * cp-demangle.c (demangle_nv_offset): New function.
797 (demangle_v_offset): Likewise.
798 (demangle_call_offset): Likewise.
799 (demangle_special_name): Update thunk demangling to comply with
800 ABI changes.
ae7d06ad
NC
801
8022000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
803
804 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
805 (substitution_def): Remove template_parm_number.
806 (NOT_TEMPLATE_PARM): Remove.
807 (result_insert_string): New macro.
808 (result_insert): Likewise.
809 (result_insert_char): Likewise.
810 (substitution_add): Remove last parameter. Don't store template
811 parm number.
812 (BFT_NO_RETURN_TYPE): Define as NULL.
813 (demangle_encoding): Adjust call to demangle_bare_function_type.
814 (demangle_name): Adjust substitution. Adjust call to
815 substitution_add.
816 (demangle_prefix): Adjust call to substitution_add.
817 (demangle_identifier): Handle anonymous namespaces.
818 (demangle_operator_name): Change demangling of vendor-extended
819 operator to match ABI changes.
820 (demangle_type_ptr): Change parameters. Make recursive. Handle
821 substitutions here.
822 (demangle_type): Adjust calls to demangle_template_param,
823 substitution_add, and demangle_type_ptr. Fix substitution of
824 templated types.
825 (demangle_function_type): Change parameter to a pointer.
826 (demangle_bare_function_type): Likewise. Adjust insertion point.
827 (demangle_template_param): Remove last parameter.
828 (demangle_expr_primary): Remove unused variable. Adjust call to
829 demangle_template_param.
830 (is_mangled_char): Accept `$' and `.'.
831 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
832 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
833
8342000-08-31 Hans-Peter Nilsson <hp@axis.com>
835
836 * testsuite/demangle-expected: Add nine tests for
837 underscore-after-number followed by five tests for name-signature
838 delimiter.
839
8402000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
841
842 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
843
8442000-08-28 Jason Merrill <jason@redhat.com>
845
846 * Makefile.in (REQUIRED_OFILES): Add md5.o.
847 (CFILES): Add md5.c.
848 * md5.c: New file.
849
8502000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
851
852 * cp-demangle.c (demangle_name): Initialize template_p in local
853 name case. Don't re-add substitutions as candidates.
854 (demangle_nested_name): Use <unqualified-name>.
855 (demangle_prefix): Likewise. Don't add template names as
856 substitution candidates twice, or re-add a substitution or the
857 last prefix component.
858 (demangle_local_name): Adjust output format.
ae7d06ad
NC
859
8602000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
861
862 * cp-demangle.c (result_add_separated_char): Change parameter to
863 int.
864 (substitution_add): Don't check for duplicates. Check if
865 previously allocated size is zero.
866 (demangle_name): Remove duplicate check for std substitution.
867 Clear template flag appropriately.
868 (demangle_prefix): Remove argument to demangle_substitution.
869 Don't check that template flag is already set.
870 (demangle_operator_name): Add pt operator.
871 (demangle_type): Don't treat r as built-in type. Remove argument
872 to demangle_substitution. Fix substitution candidate mechanics.
873 Handle <template-template-parm>s. Improve comments.
874 (demangle_template_param): Don't handle template arg lists here.
875 (demangle_substitution): Remove parameter.
876 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
877
8782000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
879
880 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
881
8822000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
883
884 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
885 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
886 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
887
8882000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
889
890 * cp-demangle.c (result_close_template_list): Remove function.
891 (result_add_separated_char): New function.
892 (result_open_template_list): New macro.
893 (result_close_template_list): Likewise.
894 (demangle_prefix): Don't set template_p if the
895 prefix ends with a ctor name.
896 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
897 (demangle_type): Check for template args after substitution.
898 (demangle_template_args): Use result_open_template_list.
d3e85005 899
ae7d06ad 9002000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 901
ae7d06ad 902 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 903
ae7d06ad 9042000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
905
906 * config/mh-openedition.h: Added -DLE370 definition.
907
a9f34fb6
JL
9082000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
909
910 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
911 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
912 Cast program to 'char *' in errmsg_arg assignment.
913 (PWAIT_ERROR): Define.
914 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
915 to DJGPP's WIF* macros.
916
90aaccd1 9172000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 918 Jeff Law <law@cygnus.com>
90aaccd1 919
ae7d06ad 920 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 921
90aaccd1 922 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
923 * rename.c: Include config.h, unistd.h
924 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 925
6ef554e3
HPN
9262000-07-24 Hans-Peter Nilsson <hp@axis.com>
927
928 * cplus-dem.c (work_stuff_copy_to_from): New.
929 (delete_non_B_K_work_stuff): New.
930 (delete_work_stuff): New.
931 (mop_up): Break out work_stuff partly destruction to
932 delete_non_B_K_work_stuff.
933 (iterate_demangle_function): New.
934 (demangle_prefix): Call iterate_demangle_function instead of
935 demangle_function_name. Leave handling of name-signature
936 __-delimiters to iterate_demangle_function.
937 (demangle_integral_value): Strip an optional
938 following underscore cautiously. Handle negative numbers.
939
ae7d06ad 9402000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 941
ae7d06ad 942 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
943 if (AUTO_DEMANGLING || GNU_DEMANGLING)
944
ae7d06ad
NC
9452000-07-21 Alex Samuel <samuel@codesourcery.com>
946
947 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
948 allocating ctor mangling.
949 (demangle_array_type): Handle empty and non-constant array length.
950
b1233257 9512000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
952 Jeff Law <law@cygnus.com>
953
954 * configure.in (AC_CHECK_HEADERS): Add time.h.
955 (AC_HEADER_TIME): Add check.
956 * configure, config.in: Regenerate.
957 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
958
959 * configure.in (AC_CHECK_HEADERS): Add limits.h.
960 * configure, config.in: Regenerate.
961 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
962 * strtol.c, strtoul.c: #include "config.h". Portably #include
963 <limits.h> and/or <sys/param.h>.
964 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 965
7d3ffcaf
JL
966 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
967 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
968 * configure, config.in: Regenerate.
969 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
970
b1233257
JL
971 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
972
ae7d06ad
NC
9732000-07-21 Mike Stump <mrs@wrs.com>
974
975 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
976 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
977
9782000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
979
980 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
981
982 * setenv.c (setenv): Initialize variable `ep'.
983
984 * sigsetmask.c (abort): Prototype.
985
986 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
987 __STDC__ for stdarg.h include.
988 (int_vasprintf): Prototype.
989 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
990 definition. Cast `global_total_width' in comparison.
991 (main): Prototype. Return a value.
992
993 * vfork.c (fork): Prototype.
994
995 * xexit.c: Include config.h.
996
9adf30b2
JL
9972000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
998
999 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1000 and print it with %u.
1001
2ed78d1b
HPN
10022000-07-17 Hans-Peter Nilsson <hp@axis.com>
1003
1004 * testsuite/regress-demangle (failed test): Show result and
1005 expected output.
1006
0473bdf7
AH
10072000-07-07 Andrew Haley <aph@cygnus.com>
1008
1009 * cplus-dem.c (main): fflush() after emitting last char before
1010 waiting for input.
1011
03d5f569
JM
10122000-06-28 Alex Samuel <samuel@codesourcery.com>
1013
1014 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1015 (demangle_name): Handle <substitution> followed by
1016 <unqualified-template-name>.
1017 (demangle_type): Follow special substitutions with
1018 <class-enum-type>
1019 (demangle_subtitution): Set template_p for special substitutions.
1020 (main): Fix typos.
ae7d06ad 1021
03d5f569
JM
10222000-06-27 Alex Samuel <samuel@codesourcery.com>
1023
1024 * cp-demangle.c (demangle_special_name): Swap base and derived
1025 class when demangling construction vtables.
1026
10272000-06-21 Alex Samuel <samuel@codesourcery.com>
1028
1029 * cp-demangle.c: Don't include ctype.h.
1030 (IS_DIGIT): New macro.
1031 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1032 instead of isdigit and isalpanum.
1033 (demangling_def): Make name and next const pointers.
1034 (STATUS_ALLOCATION_FAILED): New status code.
1035 (dyn_string_append_space): Handle failure in
1036 dyn_string_append_char.
1037 (int_to_dyn_string): Likewise. Change return value to status_t.
1038 (string_list_new): Handle failure of dyn_string_init.
1039 (result_close_template_list): Change return type to status_t.
1040 Handle failure in dyn_string_append.
1041 (result_push): Change return value to status_t. Handle failure in
1042 string_list_new. Handle failure of result_push throughout.
1043 (substitution_add): Change return value to status_t. Handle
1044 dyn_string failures. Handle failure of substitution_add
1045 throughout.
1046 (template_arg_list_new): Return NULL on allocation failure.
1047 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1048 Handle error result throughout.
1049 (result_append): Likewise.
1050 (result_append_char): Likewise.
1051 (result_append_space): Likewise.
1052 (demangling_new): Make argument a const pointer. Handle
1053 allocation failures.
1054 (demangle_template_args): Handle failure in template_arg_list_new
1055 and result_close_template_list.
1056 (demangle_discriminator): Return if int_to_dyn_string fails.
1057 (cp_demangle): Likewise.
1058 (cp_demangle_type): New function.
1059 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1060 memory allocation failure.
1061 (main): Likewise.
1062 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1063 IN_LIBGCC2.
1064 (dyn_string_init): Change return value to int. Handle
1065 RETURN_ON_ALLOCATION_FAILURE case.
1066 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1067 (dyn_string_release): Delete the dyn_string.
1068 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1069 (dyn_string_copy): Change return type to int.
1070 (dyn_string_copy_cstr): Likewise.
1071 (dyn_string_prepend): Likewise.
1072 (dyn_string_prepend_cstr): Likewise.
1073 (dyn_string_insert): Likewise.
1074 (dyn_string_insert_cstr): Likewise.
1075 (dyn_string_append): Likewise.
1076 (dyn_string_append_cstr): Likewise.
1077 (dyn_string_append_char): Likewise.
1078 (dyn_string_substring): Likewise.
ae7d06ad 1079
eb383413 10802000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1081
eb383413
L
1082 * cp-demangle.c (demangle_operator_name): Add spaces before
1083 names beginning with a letter: delete, delete[], new, new[],
1084 sizeof.
1085 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1086
eb383413
L
1087Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1088
1089 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1090
1091Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1092
1093 * cp-demangle.c (stdio.h): File included unconditionaly.
1094 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1095 * dyn-string.c (stdio.h): File included.
1096 * partition.c (partition_print): No `&' needed to take the address of
1097 a function.
1098
10992000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1100
1101 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1102
eb383413
L
1103 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1104
1105 * cp-demangle.c (demangle_char): Change parameter from char to int.
1106 (demangle_expression, demangle_expr_primary): Remove extra
1107 semi-colon in prototype.
1108
1109 * dyn-string.c (dyn_string_append_char): Change parameter from
1110 char to int.
1111
1112 * memcmp.c (memcmp): Constify.
1113
1114 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1115 __extension__.
1116
1117 * partition.c (elem_compare): Prototype. Don't cast away
1118 const-ness.
1119
1120 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1121
eb383413
L
11222000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1123
1124 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1125
1126 * cp-demangle.c: Include demangle.h.
1127 (template_arg_list_new): DeANSIfy.
1128 (cp_demangle): Make static and add prototype.
1129 (operator_code, operators): Constify.
1130 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1131
11322000-06-05 Alex Samuel <samuel@codesourcery.com>
1133
1134 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1135 unsigned char.
1136 (demangle_unqualified_name): Likewise.
1137 (demangle_number_literally): Likewise.
1138 (demangle_type): Likewise.
1139 (demangle_substitution): Likewise.
1140 (is_mangled_char): Likewise, for isalnum.
1141
11422000-06-04 Alex Samuel <samuel@codesourcery.com>
1143
1144 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1145 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1146 (cp-demangle.o): New dependency.
1147 (dyn-string.o): Likewise.
1148
1149 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1150
1151 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1152 demangler.
1153 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1154 demangling mode.
1155 (gnu_new_abi_symbol_characters): New function.
1156 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1157 file.
1158 * cp-demangle.c: New file.
ae7d06ad 1159
f03aa80d
AC
1160Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1161
1162 * floatformat.c: Add name to each floatformat field.
1163
77bfb694
JL
1164Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1165
1166 * Makefile.in (objalloc.o): Depend on config.h
1167
5c82d20a
ZW
11682000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1169
eb383413 1170 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1171 if HAVE_STRING_H.
1172 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1173 * objalloc.c: Include config.h. Include stdlib.h and don't
1174 declare malloc or free if HAVE_STDLIB_H.
1175 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1176 else declare malloc without prototype. Include string.h if
1177 HAVE_STRING_H, else declare memset without prototype. Don't
1178 include stddef.h.
1179
eb383413
L
11802000-05-23 Mike Stump <mrs@wrs.com>
1181
1182 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1183 -j3.
eb383413
L
1184
11852000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1186
1187 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1188
11892000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1190
ae7d06ad 1191 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1192 probably zero, also eliminate a warning on alpha.
1193
11942000-05-15 David Edelsohn <edelsohn@gnu.org>
1195
1196 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1197 on $(enable_shared).
1198
11992000-05-10 Jakub Jelinek <jakub@redhat.com>
1200
1201 * config.table: Use mh-sparcpic for sparc*-*-*.
1202
12032000-05-08 Nick Clifton <nickc@cygnus.com>
1204
1205 * Makefile.in (CFILES): Add strncmp.c.
1206 (NEEDED): Add strncmp.
1207
12082000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1209
eb383413
L
1210 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1211 Cast the arguments to `islower' to `unsigned char'.
1212 (print_demangler_list): Prototype.
1213
1214Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1215
1216 * sort.c (UCHAR_MAX): Provide fallback definition.
1217
12182000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1219
1220 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1221 SUBDIRS.
1222
eb383413
L
12232000-04-28 Kenneth Block <block@zk3.dec.com>
1224 Jason Merrill <jason@casey.cygnus.com>
1225
ae7d06ad
NC
1226 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1227 (cplus_demangle_set_style): New function for setting style.
1228 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1229
12302000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1231
1232 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1233
1234 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1235 (libiberty_AC_FUNC_STRNCMP): Invoke.
1236
1237 * strncmp.c: New file.
1238
1239Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1240
1241 * hashtab.c (htab_expand): Add prototype.
1242 (find_empty_slot_for_expand): Likewise.
1243
12442000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1245
1246 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1247 match prototype.
1248 (htab_expand): Cast the return value of xcalloc.
1249
12502000-04-24 Mark Mitchell <mark@codesourcery.com>
1251
1252 * hashtab.c (hash_pointer): New function.
1253 (eq_pointer): Likewise.
1254 (htab_hash_pointer): New variable.
1255 (htab_eq_pointer): Likewise.
1256
12572000-04-23 Mark Mitchell <mark@codesourcery.com>
1258
1259 * sort.c (sort_pointers): Fix endianness bugs.
1260
1261 * sort.c: New file.
1262 * Makefile.in (CFILES): Add sort.c
1263 (REQUIRED_OFILES): Add sort.o.
1264 (sort.o): New target.
1265
19be4303
JL
12662000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1267
1268 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1269 4.3BSD systems.
1270
eb383413
L
1271Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1272
1273 * hashtab.c: Various minor cleanups.
1274 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1275 (htab_find_slot): Likewise.
1276
12772000-04-16 Dave Pitts <dpitts@cozx.com>
1278
1279 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1280
afe36a78
RH
12812000-04-05 Richard Henderson <rth@cygnus.com>
1282
1283 * splay-tree.c (splay_tree_remove): New.
1284
eb383413
L
12852000-03-30 Mark Mitchell <mark@codesourcery.com>
1286
1287 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1288 codes.
1289 (htab_find_with_hash): Likewise.
1290 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1291
eb383413
L
12922000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1293
1294 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1295 unless it will be used. Rearrange loop for better
1296 optimization.
1297 (higher_prime_number): Add static prototype.
1298
b4fe2683
JM
1299Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1300
1301 * Makefile.in (partition.o): Depend on config.h
1302
13032000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1304
1305 * hashtab.c (find_empty_slot_for_expand): New function.
1306 (htab_expand): Use it instead of htab_find_slot.
1307 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1308 argument HASH.
1309 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1310 (htab_find): New wrapper function.
1311 (htab_find_slot): Likewise.
1312 (htab_traverse): Pass slot, not entry, to called function.
1313
13142000-03-09 Alex Samuel <samuel@codesourcery.com>
1315
1316 * Makefile.in (CFILES): Add partition.c.
1317 (REQUIRED_OFILES): Add partition.o.
1318 (partition.o): New rule.
1319 * partition.c: New file.
ae7d06ad 1320
b4fe2683
JM
13212000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1322
1323 * hashtab.c (htab_create): Set del_f.
1324 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1325 Use it.
1326
13272000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1328
1329 * hashtab.c: Remove debugging variables (all_searches,
1330 all_collisions, all_expansions). Delete
1331 all_hash_table_collisions.
1332 (create_hash_table, delete_hash_table, empty_hash_table,
1333 find_hash_table_entry, remove_element_from_hash_table_entry,
1334 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1335 hash_table_elements_number, hash_table_collisions): Rename to:
1336 htab_create, htab_delete, htab_empty, htab_find_slot,
1337 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1338 htab_elements, htab_collisions.
1339 (htab_find): New function, handles common case where you don't
1340 plan to add or delete an entry.
1341 (htab_expand): Don't create a whole new table, just a new
1342 entry vector.
1343 (htab_find_slot): Simplify logic.
1344
08372f14
ILT
13451999-08-03 Ian Lance Taylor <ian@zembu.com>
1346
1347 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1348 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1349
1350 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1351 $(TARGETLIB)n so it works on MSDOS.
1352 (install_to_tooldir): Likewise.
1353
9c8ac5a9
ILT
13541999-07-21 Ian Lance Taylor <ian@zembu.com>
1355
1356 From Mark Elbrecht:
1357 * makefile.dos: Remove; obsolete.
8f36e47c 1358 * configure.bat: Remove; obsolete.
9c8ac5a9 1359
0c0a36a4
ILT
13601999-07-11 Ian Lance Taylor <ian@zembu.com>
1361
1362 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1363 warning.
1364
13652000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1366
1367 * pexecute.c: Conditionally include string.h.
b4fe2683 1368 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1369
13702000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1371
1372 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1373 we're using gcc.
1374
1375 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1376
13771999-12-27 Geoff Keating <geoffk@cygnus.com>
1378
1379 * vasprintf.c (int_vasprintf): Don't re-read the format character
1380 as this mishandles strings like '%%s'.
1381
13821999-12-05 Mark Mitchell <mark@codesourcery.com>
1383
1384 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1385 rather than struct splay_tree_node.
1386 (splay_tree_insert): Use struct splay_tree_s rather than struct
1387 splay_tree.
1388
1389Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1390
1391 * hashtab.c (sys/types.h): File included.
1392
13931999-11-22 Jason Merrill <jason@casey.cygnus.com>
1394
1395 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1396 BSD license, pursuant with
1397
1398 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1399
1400Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1401
1402 * hashtab.c: Include stdio.h.
1403
1404Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1405
1406 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1407
1408Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1409
1410 * xstrdup (sys/types.h): Include this file.
1411
14121999-10-28 Nathan Sidwell <nathan@acm.org>
1413
1414 * Makefile.in (SUBDIRS): New macro.
1415 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1416 avoid multiple subdirectory cleaning.
1417 (*-subdir): Use SUBDIRS.
1418
14191999-10-25 Jim Kingdon <http://developer.redhat.com/>
1420
1421 * cplus-dem.c: Move declarations of standard_symbol_characters and
1422 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1423 warnings.
1424
14251999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1426
1427 * hashtab.c (find_hash_table_entry): When returning a
1428 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1429 (clear_hash_table_slot): New function which deletes an entry
1430 by its position in the table, not its value.
1431 (traverse_hash_table): New function which calls a hook
1432 function for every live entry in the table.
1433
14341999-10-19 Mark Mitchell <mark@codesourcery.com>
1435
1436 * cplus-dem.c (INTBUF_SIZE): New macro.
1437 (string_append_template_idx): New function.
1438 (demangle_expression): Likewise.
1439 (demangle_integral_value): Use it.
1440 (demangle_real_value): New function, split out from ...
1441 (demangle_template_value_parm): ... here. Use
1442 string_append_template_idx. Use demangle_real_value.
1443 (demangle_template): Use string_append_template_idx.
1444 (demangle_qualified): Use consume_count_with_underscores.
1445 (get_count): Tweak formatting.
1446 (do_type): Use string_append_template_idx.
b4fe2683 1447
0c0a36a4
ILT
14481999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1449
1450 * calloc.c: Add a public domain notice.
1451
1452Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1453
1454 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1455
1456Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1457
1458 * Makefile.in (CFILES): Add hashtab.c
1459 (REQUIRED_OFILES): Add hashtab.o
1460 (hashtab.o): Add dependencies.
1461 * hashtab.c: New file
1462
1463Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1464
1465 * basename.c (DIR_SEPARATOR): New macro.
1466 (DIR_SEPARATOR_2): Likewise.
1467 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1468 (IS_DIR_SEPARATOR): Likewise.
1469 (main): Handle MSDOS style pathname.
1470
14711999-10-11 Mark Mitchell <mark@codesourcery.com>
1472
1473 * cplus-dem.c (do_type): Handle pointer to member types whose
1474 enclosing classes have namespace scope.
1475
1476Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1477
1478 * config.table: Provide a backup shell for executing move-if-change.
1479
14801999-10-02 Mark Mitchell <mark@codesourcery.com>
1481
1482 * xmalloc.c (xmalloc): Fix spelling error.
1483 (xcalloc, xrealloc): Likewise.
1484
14851999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1486
1487 * cplus-dem.c (fancy_abort, demangle_integral_value,
1488 demangle_arm_hp_template, recursively_demangle,
1489 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1490 (program_name, program_version, fatal): Constify a char*.
1491 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1492 (main): Call return, not exit.
1493
14941999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1495
1496 * choose-temp.c: Remove obsolete comment about gcc.
1497 (make_temp_file): Constify a char*.
1498
1499Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1500
1501 * xmemdup.c: Include sys/types.h.
1502
15031999-09-07 Jeff Garzik <jgarzik@pobox.com>
1504
1505 * xmemdup.c: New xmemdup function.
1506 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1507
1508Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1509
b4fe2683 1510 * config.table: Add openedition target.
0c0a36a4
ILT
1511 * config/mh-openedition: New file.
1512
1513Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1514
1515 * pexecute.c (pexecute): Fill in temp_base when needed.
1516
15171999-08-31 Richard Henderson <rth@cygnus.com>
1518
1519 * getpwd.c: Check HAVE_GETCWD before defining it away.
1520
15211999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1522
1523 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1524 (REQUIRED_OFILES): Add getpwd.o.
1525 (getpwd.o): Add target.
1526
1527 * configure.in (AC_PREREQ): Bump to 2.13.
1528 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1529
1530 * getpwd.c: New file, moved here from gcc.
1531
15321999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1533
1534 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1535 comparing against a signed quantity.
1536 (arm_special): Likewise.
1537 (demangle_fund_type): Likewise.
1538 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1539 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1540 (main): Constify variable `valid_symbols'.
1541
1542Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1543
1544 * strtoul.c (strtoul): Add parentheses around && within ||.
1545
1546Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1547
1548 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1549 libdir, libsubdir and tooldir.
1550
15511999-08-01 Mark Mitchell <mark@codesourcery.com>
1552
1553 * splay-tree.c (splay_tree_insert): Return the new node.
1554
35ca97ea
RH
15551999-07-14 Richard Henderson <rth@cygnus.com>
1556
b4fe2683 1557 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1558 prototyping directly.
1559 * choose-temp.c: Conditionally include string.h.
1560
0c0a36a4
ILT
15611999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1562
1563 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1564
af32ff69
ILT
15651999-07-11 Ian Lance Taylor <ian@zembu.com>
1566
1567 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1568 warning.
1569
0c0a36a4
ILT
15701999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1571
1572 * Makefile.in (needed-list): Only include stuff we actually need
1573 for libstdc++.
1574
15751999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1576
1577 * configure.in (checkfuncs): Add gettimeofday.
1578 * config.in, configure: Regenerated.
1579
1580Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1581
1582 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1583 the test fails.
1584 * configure: Regenerate.
1585
15861999-06-10 Mike Stump <mrs@wrs.com>
1587
1588 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1589 parallel builds.
1590
15911999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1592
1593 * putenv.c: Include ansidecl.h to define `const'.
1594 * setenv.c: Likewise.
1595
1596Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1597
1598 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1599 * configure.in (funcs): Add putenv and setenv.
1600 (AC_CHECK_FUNCS): Check for putenv and setenv.
1601 * configure: Rebuilt.
1602 * putenv.c setenv.c: New files.
1603
1604 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1605 bytes of space using malloc.
1606
1607Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1608
1609 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1610 the *mangled pointer beyond the end of the string. Clean up code to
1611 match prevailing coding style.
1612
16131999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1614
1615 * tmpnam.c (L_tmpnam): Fix typo.
1616
1617Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1618
1619 * cplus-dem.c (standard_symbol_characters): Renamed from
1620 standard_symbol_alphabet. No longer modify TABLE.
1621 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1622 modify TABLE.
1623 (main): Corresponding changes. Use strchr to determine if a
1624 character is valid.
1625
e9868447
JB
16261999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1627
1628 * cplus-dem.c (main): Use table lookup to distinguish identifier
1629 characters from non-identifier characters.
1630 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1631
33fbbfbc
RH
1632Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1633
1634 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1635 * getruntime.c: Only attempt to include sys/resource.h and
1636 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1637 are defined.
1638
0c0a36a4
ILT
1639Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1640
1641 * configure.in (alloca detection): Handle alloca directly for interix.
1642 * configure: Rebuilt.
1643
1644Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1645
1646 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1647
252b5132
RH
16481999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1649
1650 Fix from Dale Hawkins:
b4fe2683 1651 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1652 reallocated properly if we use it again.
1653
1654 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1655 stricter about syntax. Always null-terminate string.
1656
c1687039
ILT
1657Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1658
1659 * configure.in (checkfuncs): Check for sbrk.
1660 * config.in: Rebuilt.
1661 * configure: Likewise.
1662 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1663
0c0a36a4
ILT
16641999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1665
1666 Fix from Marcus Daniels:
1667 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1668 identifier looking for another underscore.
1669
1670Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1671
1672 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1673 * xmalloc.c: Likewise.
1674 (xcalloc): UWIN has sbrk.
1675 (xrealloc): Fix guard macro.
1676
252b5132
RH
16771999-04-11 Richard Henderson <rth@cygnus.com>
1678
1679 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1680 or <alloca.h>.
1681 * clock.c (GNU_HZ): New definition.
1682 (clock): Use it.
1683 * getruntime.c: Likewise.
1684
1685 * config.table: Use mh-beos.
1686 * config/mh-beos: New file.
1687
0c0a36a4
ILT
16881999-04-11 Mark Mitchell <mark@codesourcery.com>
1689
1690 * cplus-dem.c (demangle_template_value_parm): Handle
1691 pointers-to-members.
1692 (do_type): Handle template parameters as qualifiers.
1693
252b5132
RH
16941999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1695
1696 * cplus-dem.c: Attempt to handle overflows in counts with some
1697 semblance of grace.
1698 (consume_count): Detect overflows. Return -1 to indicate errors,
1699 instead of zero.
1700 (demangle_template_value_parm, demangle_template): Handle change
1701 to consume_count's return convention.
1702
0c0a36a4
ILT
17031999-04-05 Tom Tromey <tromey@cygnus.com>
1704
1705 * testsuite/regress-demangle: New file.
1706 * testsuite/demangle-expected: New file.
252b5132 1707
0c0a36a4
ILT
1708 * Makefile.in (all, check, installcheck, info, install-info,
1709 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1710 distclean, maintainer-clean, realclean): Depend on corresponding
1711 `-subdir' target.
1712 (all-subdir check-subdir installcheck-subdir info-subdir
1713 install-info-subdir clean-info-subdir dvi-subdir
1714 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1715 distclean-subdir maintainer-clean-subdir): New target.
1716 * testsuite/Makefile.in: New file.
1717 * configure: Rebuilt.
1718 * configure.in: Create testsuite/Makefile.
252b5132
RH
1719
17201999-04-02 Mark Mitchell <mark@codesourcery.com>
1721
1722 * splay-tree.h (splay_tree_compare_pointers): Define.
1723
17241999-03-30 Mark Mitchell <mark@codesourcery.com>
1725
1726 * splay-tree.c (splay_tree_compare_ints): Define.
1727
17281999-03-30 Tom Tromey <tromey@cygnus.com>
1729
1730 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1731 don't advance input pointer.
1732 (demangle_class_name): If consume_count didn't find a count, do
1733 nothing. Don't bother with `strlen' sanity check; consume_count
1734 does it for us.
1735
17361999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1737
1738 From Art Haas <ahaas@neosoft.com>:
1739 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1740 when doing arm or hp style.
1741 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1742
252b5132
RH
1743Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1744
1745 * pexecute.c (__CYGWIN32__): Rename to
1746 (__CYGWIN__): this.
1747 * xmalloc.c: Likewise.
1748
1749 Changes to support i386-pc-uwin.
1750 * configure.in (*-*-uwin*): Workaround for vfork bug.
1751 * configure: Regenerate.
1752 * pexecute.c (pexecute): Be like standard Unix.
1753 (pwait): Likewise.
1754 * xmalloc.c (first_break): Define.
1755 (xmalloc_set_program_name): Use.
1756 (xmalloc): Use.
1757
1758Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1759
1760 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1761
1762Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1763
1764 * config.table: Check cygwin*, not cygwin32*.
1765
1766Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1767
1768 * Makefile.in: Change mkstemp -> mkstemps.
1769
1770Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1771
1772 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1773 * configure.in (funcs): Check for and conditionally add mkstemps to
1774 the list of functions libiberty will provide.
1775 * configure: Rebuilt.
b4fe2683 1776
252b5132
RH
1777Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1778
b4fe2683 1779 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1780 platforms that don't have HZ.
1781 * getruntime.c (HZ): Likewise.
1782
1783Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1784
1785 * Makefile.in (xstrdup.o): Depend on config.h.
1786
1787Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1788
1789 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1790 freeing it.
1791
1792Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1793
1794 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1795
1796Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1797
1798 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1799 splay-tree.o.
1800
18011999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1802
1803 * configure.in: Require autoconf 2.12.1 or higher.
1804
18051998-12-30 Michael Meissner <meissner@cygnus.com>
1806
1807 * random.c (NULL): Don't redefine NULL if it is already defined.
1808
1809Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1810
1811 * argv.c (buildargv): Cast the result of alloca in assignment.
1812
1813 * choose-temp.c: Include stdlib.h.
1814
1815 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
1816 (snarf_numeric_literal): Constify first parameter.
1817 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1818 int, not a char.
252b5132
RH
1819 (demangle_qualifier): Likewise.
1820 (demangle_signature): Cast the argument of a ctype function to
1821 unsigned char.
1822 (arm_pt): Add parens around assignment used as truth value.
1823 (demangle_arm_hp_template): Constify variable `args'.
1824 (do_hpacc_template_const_value): Cast the argument of a ctype
1825 function to unsigned char.
1826 (do_hpacc_template_literal): Remove unused variable `i'.
1827 (snarf_numeric_literal): Constify parameter `args'.
1828 Cast the argument of a ctype function to unsigned char.
1829
1830 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 1831 avoid ambiguous `else'.
252b5132
RH
1832
1833 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
1834 `cstart' and `cend' to unsigned char. Cast the argument of macro
1835 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
1836
1837 * objalloc.c (free): Add prototype.
1838
1839Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1840
1841 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1842
1843Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1844
1845 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 1846 doesn't exist.
252b5132 1847 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1848
252b5132
RH
1849Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1850
1851 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1852 bumping the pointer we read from. Also prepend these codes,
1853 as we do in other places.
1854
18551998-12-18 Nick Clifton <nickc@cygnus.com>
1856
1857 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1858 'const char *' in order to match its usage when calling siblings.
1859 (snarf_numeric_literal): Make first arg 'const char **' in order
1860 to match usage.
1861
1862Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1863
1864 * choose-temp.c: Don't check IN_GCC anymore.
1865
1866 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1867 * memchr.c (memchr): Likewise.
1868 * memcpy.c (memcpy): Likewise.
1869 * memmove.c (memmove): Likewise.
1870
1871 * mkstemp.c: Don't check IN_GCC anymore.
1872 * pexecute.c: Likewise.
1873 * splay-tree.c: Likewise.
1874
1875 * strchr.c (strchr): Use `const', not `CONST'.
1876 * strrchr.c (strrchr): Likewise.
1877 * strtol.c (strtol): Likewise.
1878 * strtoul.c (strtoul): Likewise.
1879
1880Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1881 Elena Zannoni <ezannoni@cygnus.com>
1882 Stan Shebs <shebs@cygnus.com>
1883 Edith Epstein <eepstein@cygnus.com>
1884 Andres MacLeod <amacleod@cygnus.com>
1885 Satish Pai <pai@apollo.hp.com>
1886
1887 * HP aCC demangling support.
1888 * cplus-dem.c
1889 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
1890 demangling correctly when -edg specified; set the demangling style
1891 when user specifies 'edg'. Set strip_underscore to
1892 prepends_underscore, if not HPUXHPPA. Set
1893 current_demangling_style to hp_demangling if HPUXHPPA. Set
1894 current demangling style correctly if the switch is hp. Read
1895 label correctly also in the HP style case.
252b5132 1896 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 1897 function.
252b5132 1898 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 1899 style for this case is the same as ARM.
252b5132
RH
1900 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1901 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
1902 demangle_arm_pt.); check and set value of temp_start field in
1903 multiple places. Also, when ceching for end of template args,
1904 check to see if at end of static member of template class.
252b5132 1905 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 1906 include template args in string defining class.
252b5132
RH
1907 (demangle_class_name): use demangel_arm_hp_template.
1908 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
1909 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1910 Handle EDG_DEMANGLING style. Handle constructor and destructor
1911 ops for HP style.
252b5132 1912 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
1913 styles. global destructor and constructor for HP style are same
1914 as for ARM style. Same for local variables.
252b5132
RH
1915 (demangle_qualified): handle EDG_DEMANGLING style.
1916 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
1917 cases '1' - '9' : initialize the temp_start field to -1 and handle
1918 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1919 and AUTO_DEMANGLING styles. If expecting a function and managed
1920 to demangle the funct args, then handle the LUCID_DEMANGLING,
1921 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1922 class name after "Lnnn_ in HP style case. HP style too needs to
1923 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 1924 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 1925 value param for HP/aCC.
252b5132 1926 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 1927 literal parameter for HP aCC.
252b5132
RH
1928 (recursively_demangle): new function
1929 (snarf_numeric_literal): new function.
1930 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 1931 to message.
252b5132
RH
1932
1933Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1934
1935 * pexecute.c: Remove obsolete ifdefed cygwin code.
1936
1937Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1938
1939 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1940 * cplus-dem.c: Likewise. Conform to libiberty.h.
1941 * pexecute.c: Likewise.
1942 * splay-tree.c: Likewise.
1943
19441998-11-25 Mike Stump <mrs@wrs.com>
1945
1946 * Makefile.in (splay-tree.o): Add config.h dependency.
1947
1948Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1949
1950 * configure.in: Use AC_PREREQ(2.12.1).
1951
19521998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1953
b4fe2683 1954 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1955
1956Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1957
1958 * mpw.c (mpw_access): Add missing parens.
1959
1960Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1961
1962 * configure.in: Call AC_HEADER_SYS_WAIT.
1963
1964 * pexecute.c: Include sys/wait.h when !IN_GCC.
1965
1966Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1967
1968 * pexecute.c: revert back to checking old Cygwin
1969 preprocessor symbol until some time has passed.
1970
1971Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1972
1973 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1974 since it will now support similar constructs.
1975
1976Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1977
1978 * configure.in: Check for calloc.
1979
1980 * calloc.c: New file.
1981
1982 * xmalloc.c (xcalloc): New function.
1983
1984Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1985
1986 *cplus-dem.c (demangle_prefix): Use the last "__"
1987 in the mangled name when looking for the signature. This allows
1988 template names to begin with "__".
1989
19901998-11-08 Mark Mitchell <mark@markmitchell.com>
1991
1992 * cplus-dem.c (type_kind_t): Add tk_reference.
1993 (demangle_template_value_parm): Handle it.
1994 (do_type): Use it for references, instead of tk_pointer.
1995
1996 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1997 not internal_cplus_demangle.
1998
1999Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2000
2001 * choose-temp.c: Don't include gansidecl.h.
2002 * mkstemp.c: Likewise.
2003 * pexecute.c: Likewise.
2004
2005Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2006
b4fe2683
JM
2007 * configure.in: detect cygwin* instead of cygwin32*
2008 * configure: regenerate
252b5132
RH
2009
2010Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2011
2012 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2013 whether to include config.h. Possibly include unistd.h in the
2014 !IN_GCC case. Define VFORK_STRING as a printable function call
2015 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2016 defined, include vfork.h. If VMS is defined, define vfork()
2017 appropriately. Remove vfork check on USG, we're using autoconf.
2018 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2019 locally what string to use.
252b5132
RH
2020
20211998-10-26 Mark Mitchell <mark@markmitchell.com>
2022
2023 * splay-tree.c: Tweak include directives to make sure declarations of
2024 xmalloc and free are available.
2025
20261998-10-25 Mark Mitchell <mark@markmitchell.com>
2027
2028 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2029 anonymous namespaces.
2030
20311998-10-23 Mark Mitchell <mark@markmitchell.com>
2032
2033 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2034 with type_quals.
2035 (TYPE_UNQUALIFIED): New macro.
2036 (TYPE_QUAL_CONST): Likewise.
2037 (TYPE_QUAL_VOLATILE): Likewise.
2038 (TYPE_QUAL_RESTRICT): Likewise.
2039 (code_for_qualifier): New function.
2040 (qualifier_string): Likewise.
2041 (demangle_qualifier): Likewise.
2042 (internal_cplus_demangle): Use them.
2043 (demangle_signature): Likewise.
2044 (demangle_template_value_parm): Likewise.
2045 (do_type): Likewise.
2046 (demangle_fund_type)): Likewise.
2047
2048Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2049
2050 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2051 to match prototype.
2052
20531998-10-21 Mark Mitchell <mark@markmitchell.com>
2054
2055 * splay-tree.c: New file.
2056 * Makefile.in (CFILES): Add it.
2057 (REQUIRED_OFILES): Likewise.
2058 (splay-tree.o): Add dependencies.
2059
2060Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2061
2062 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2063 range of 'K' index.
2064
2065Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2066
2067 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2068
2069 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2070 `unsigned char'.
2071 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2072 comparing against one.
2073 (cplus_mangle_opname): Likewise.
2074 (demangle_integral_value): Cast argument of ctype macro to
2075 `unsigned char'.
2076 (demangle_template_value_parm): Likewise.
2077 (demangle_template): Initialize variable `bindex'. Cast the
2078 result of `strlen' to (int) when comparing against one. Remove
2079 unused variable `start_of_value_parm'.
2080 (demangle_class_name): Cast the result of `strlen' to (int) when
2081 comparing against one.
2082 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2083 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2084 when comparing against one.
2085 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2086 (get_count): Likewise.
2087 (do_type): Likewise. Cast the result of `strlen' to (int) when
2088 comparing against one.
2089 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2090 (demangle_function_name): Cast the result of `strlen' to (int)
2091 when comparing against one.
2092
2093 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2094 comparing against one.
2095
2096Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2097
b4fe2683
JM
2098 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2099 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2100 * config.in, configure: Rebuilt.
252b5132
RH
2101
2102 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2103 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2104 * config.in, configure: Rebuilt.
2105
2106Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2107
b4fe2683 2108 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2109
2110Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2111
2112 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2113
2114Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2115
2116 * Merge egcs & devo libiberty.
2117
2118