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