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