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