]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
configure.in: Don't build grez.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
5d69ba1f
MM
12002-07-01 Mark Mitchell <mark@codesourcery.com>
2
3 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
4 Set it for the "st" operator.
5 (demangle_expression): Handle expressions with types as arguments.
6
7fda878c
DR
72002-06-30 Douglas Rupp <rupp@gnat.com>
8
9 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
10 * Makefile.in (OUTPUT_OPTION): Use.
11
112bae77
PB
122002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
13
14 * Makefile.in (install_to_libdir): Add $(DESTDIR).
15 (install_to_tooldir): Likewise.
16
53309d5c
DR
172002-06-17 Douglas Rupp <rupp@gnat.com>
18
19 * lbasename.c: Add 2002 to copyright.
20 (IS_DIR_SEPARATOR): Remove VMS junk.
21
045b3a49
GK
222002-06-05 Geoffrey Keating <geoffk@redhat.com>
23
24 * hashtab.c (htab_create): New stub function for backward
25 compatibility.
26 (htab_try_create): Likewise.
27
e2500fed
GK
282002-06-03 Geoffrey Keating <geoffk@redhat.com>
29
30 * hashtab.c (htab_create): Delete.
31 (htab_try_create): Delete.
32 (htab_create_alloc): New.
33 (htab_delete): Support user-specified memory allocation.
34 (htab_expand): Likewise.
35
9f3dbd92
RL
362002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
37
38 * configure.in: Fix typo in the code checking for sys_errlist.
39 * configure: Regenerated.
40
e4723404
AS
412002-05-13 Andreas Schwab <schwab@suse.de>
42
43 * config.table: Use mh-x86pic also for x86-64.
44
6706f116
AO
452002-05-08 Alexandre Oliva <aoliva@redhat.com>
46
47 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
48 script entry, and set LD to it when configuring multilibs.
49 * configure: Rebuilt.
50
deae2ed9
MM
512002-05-07 Mark Mitchell <mark@codesourcery.com>
52
53 * configure.in (AC_TYPE_PID_T): Use it.
54 * configure: Regenerated.
55 * getruntime.c: Include <sys/types.h>.
56 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
57
4fc4e478
RH
582002-04-09 Richard Henderson <rth@redhat.com>
59
60 * hashtab.c (higher_prime_number): Use 7 as minimum.
61 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
62 (htab_find_slot_with_hash): Likewise.
63
bd7e6f2d
PE
642002-04-01 Phil Edwards <pme@gcc.gnu.org>
65
66 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
67 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
68 not compile if IN_GLIBCPP_V3 defined.
69 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
70
a8f55e51
BM
712002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
72
73 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
74 if it is NULL.
75
96adcacb
DD
762002-03-27 DJ Delorie <dj@redhat.com>
77
78 * hex.c: Add documentation.
79 (_hex_value): Provide non-ASCII empty table.
80 (hex_init): Initialize the non-ASCII table.
81 * functions.texi: Regenerate.
82
2b613c6a
MM
832002-03-27 Mark Mitchell <mark@codesourcery.com>
84
85 * dyn-string.c: Add libgcc exception to copyright notice.
86
cd862df8
L
872002-03-26 H.J. Lu (hjl@gnu.org)
88
89 * config.table: Support --with-build-subdir.
90 * configure.in: Likewise.
91 * configure: Rebuild.
92
ed300793
SG
932002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
94
95 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
96 seen.
97
b3dd43df
MM
982002-03-12 Mark Mitchell <mark@codesourcery.com>
99
100 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
101 notice.
102
50c74579
DR
1032002-03-11 Douglas B Rupp <rupp@gnat.com>
104
105 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
106
957978a4
JB
1072002-03-06 Jim Blandy <jimb@redhat.com>
108
109 * splay-tree.c (splay_tree_xmalloc_allocate,
110 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
111 prototyped definitions. Mark `data' arguments as unused.
112
ccc49bed
AC
1132002-03-06 Andrew Cagney <ac131313@redhat.com>
114
115 * floatformat.c (floatformat_arm_ext_big): Delete definition.
116
48d7db63
PE
1172002-03-04 Phil Edwards <pme@gcc.gnu.org>
118
119 * configure.in: Add --enable-install-libiberty option.
120 * Makefile.in (INSTALLED_HEADERS): New variable.
121 (install_to_libdir): Possibly also copy headers.
122 * configure: Regenerated.
123
af18e951
NB
1242002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
125
126 * xmalloc.c (xmalloc_fail): Clarify error message further.
127
d8d7c3c3
NB
1282002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
129
130 * xmalloc.c (xmalloc_fail): Clarify error message.
131
00c2f96f
JB
1322002-02-22 Jim Blandy <jimb@redhat.com>
133
134 * splay-tree.c (splay_tree_xmalloc_allocate,
135 splay_tree_xmalloc_deallocate): New functions.
136 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
137 above functions and a dummy data pointer.
138 (splay_tree_new_with_allocator): New function.
139 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
140 splay_tree_remove): Use the splay tree's allocation and
141 deallocation functions.
142
b1c1a22f
SS
1432002-02-19 Scott Snyder <snyder@fnal.gov>
144
145 * testsuite/demangle-expected: Add test case for infinite loop in
146 demangler.
147 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
148 if do_type() doesn't make any progress --- prevents an infinite
149 loop.
150
336669e7
CW
1512002-02-18 Carlo Wood <carlo@gnu.org>
152
153 PR c++/5390
154 * cplus-dem.c (demangle_integral_value): Accept multi-digit
155 numbers that do not start with an underscore; This is needed
156 for integer template parameters. This doesn't break anything
157 because multi-digit numbers are never followed by a digit.
158 * testsuite/demangle-expected: Corrected all mangled test
159 cases with multi-digit template parameters: g++ 2.95.x does
160 not generate underscores around these parameters.
161
c13db5d1
JM
1622002-02-05 Jason Merrill <jason@redhat.com>
163
164 * cplus-dem.c (flags): Add DMGL_VERBOSE
165 (cplus_demangle_v3_p): Remove.
166 (demangle_it): Add DMGL_TYPES to passed flags.
167 * cp-demangle.c (cplus_demangle_v3_all): Remove.
168 (cplus_demangle_v3_type): Remove.
169 (cplus_demangle_v3): Add options parm.
170
d74697b8
L
1712002-02-02 H.J. Lu (hjl@gnu.org)
172
173 * cp-demangle.c (cp_demangle_type): Do not protect with
174 IN_LIBGCC2.
175 (cplus_demangle_v3_all): New.
176 (cplus_demangle_v3): Call cplus_demangle_v3_all.
177 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
178
179 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
180 Initialized to cplus_demangle_v3.
181 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
182 of cplus_demangle_v3.
183 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
184 command line symbol.
185
186 * testsuite/regress-demangle: Pass the mangled name at the
187 command line.
188
3a441e38
L
1892002-02-01 H.J. Lu <hjl@gnu.org>
190
191 * cp-demangle.c (cp_demangle_type): Call demangling_new with
192 DMGL_GNU_V3.
193
6d747e63
PE
1942002-01-31 Phil Edwards <pme@gcc.gnu.org>
195
196 * cp-demangle.c: Revert yesterday's change.
197
46af757b
AM
1982002-01-31 Adam Megacz <adam@xwt.org>
199
200 * gcc/libiberty/configure.in: Treat mingw the same as cywin
201 wrt HAVE_SYS_ERRLIST.
202
46ab74b1
PE
2032002-01-30 Phil Edwards <pme@gcc.gnu.org>
204
205 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
206 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
207 cp_demangle_type.
208 * testsuite/demangle-expected: New gnu-v3 test.
209
e64d0626
MV
2102002-01-22 Momchil Velikov <velco@fadata.bg>
211
212 * configure.in (variable detection): Use arrays of unspecified
213 size instead of plain integers.
214
9ce3f7e5
DD
2152002-01-18 DJ Delorie <dj@redhat.com>
216
217 * Makefile.in (TESTLIB): New. This library is for future
218 testsuites.
219 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
220 break down by letter.
221 (REQUIRED_OFILES): List long-to-compile files first.
222 (maint-deps): New, target for updating dependencies.
223 (dependencies): Update.
224 * maint-tool: Add dependency-generating option.
225 * configure.in: Check for _doprnt even if we're not providing it.
226 * configure: Regenerate.
227
228 * _doprnt.c: Modifications to allow compiling on any platform.
229 * copysign.c: Likewise.
230 * putenv.c: Likewise.
231 * setenv.c: Likewise.
232 * vsprintf.c: Likewise.
233
0e83ceb1
DR
2342002-01-15 Douglas B Rupp <rupp@gnat.com>
235
236 * mkstemps.c (mkstemps): On VMS, open temp file with option
237 that causes it to be deleted when closed.
238
adddf5bf
KG
2392002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
240
5e65297b
KG
241 * cp-demangle.c (long_options): Const-ify.
242 * cplus-dem.c (long_options): Likewise.
243
adddf5bf
KG
244 * cplus-dem.c (mystrstr): Delete. All callers changed to use
245 strstr instead.
246
a4219437
IR
2472001-12-31 Ira Ruben <ira@apple.com>
248
249 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
250 * configure: Regenerated.
af328d8d
DR
251
2522001-12-24 Douglas B. Rupp <rupp@gnat.com>
253
254 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
255 * configure: Regenerated.
a4219437 256
63de15a4
CR
2572001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
258
259 PR other/2719
260 * cplus-dem.c (consume_count): Treat negative count as an error.
261 * testsuite/demangle-expected: Added testcase.
262
ee262b6f
DR
263Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
264
265 * configure.in: Hardcode that vfork works on VMS host.
266 * configure: Regenerated.
267
d06ba3c7
RH
2682001-12-06 Richard Henderson <rth@redhat.com>
269
270 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
271 (cplus_demangle): Support no_demangling.
272
e490616e
ZW
2732001-11-27 Zack Weinberg <zack@codesourcery.com>
274
275 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
276 in libiberty context. Fix typo in leading comment.
277 * configure.in: Fix various AC_DEFINEs so autoheader works.
278 If any of vprintf, vsprintf, vfprintf is missing from libc,
279 then AC_REPLACE_FUNCS(_doprnt).
280
97e620cf 2812001-11-26 DJ Delorie <dj@redhat.com>
e490616e 282 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
283
284 * Makefile.in (stamp-h): Depend on Makefile for proper
285 serialization.
286 (*-subdir): Depend on config.h for proper serialization.
287
c3bb7df0
DD
2882001-11-26 DJ Delorie <dj@redhat.com>
289
290 * configure.in: Check for alloca.h (for regex.c and putenv.c).
291 * configure: Regenerate.
292 * config.h: Add HAVE_ALLOCA_H.
293
23850d35
KG
2942001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
295
2c47b56b
KG
296 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
297 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
298 is available.
23850d35 299
7ddfb651
JL
300Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
301
d3982b71
JL
302 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
303 * configure.in (HAVE_UINTPTR_T): Test for system defining
304 uintptr_t and define HAVE_UINTPTR_T appropriately.
305 * regex.c (uintptr_t): Do not provide a definition if the
306 system provided one.
307
7ddfb651
JL
308 * regex.c (PREFIX): Provide an alternate definition for
309 non-ANSI/ISO compilers.
310 (ARG_PREFIX): Likewise.
311
2e683037
JM
3122001-11-12 Jim Meyering <meyering@lucent.com>
313
314 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
315 this code would end up calling gettext even in packages built
316 with --disable-nls.
317 * getopt.c (_): Likewise.
318 * regex.c (_): Likewise.
319
f749bd83
AM
3202001-11-03 Alan Modra <amodra@bigpond.net.au>
321
322 * configure.in: Cope with missing makeinfo.
55a10d7c 323 * configure: Regenerate.
f749bd83 324
26ad2982
KG
3252001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
326
e5969ba6
KG
327 * hex.c (hex_init): Provide empty stub.
328
26ad2982
KG
329 * hex.c (hex_init): Delete.
330 (_hex_value): Const-ify and initialize at compile-time.
331
afb649d5
L
3322001-10-19 H.J. Lu <hjl@gnu.org>
333
334 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
335 necessary.
336
5bed56d9
DD
3372001-10-17 DJ Delorie <dj@redhat.com>
338
339 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
340 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 341 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
342 Improve manual formatting.
343 * functions.texi: Regenerate.
344
aac04c15
DD
3452001-10-15 DJ Delorie <dj@redhat.com>
346
347 * Makefile.in (TEXIFILES): Add fnmatch.txh.
348 (maint-undoc): New.
349 maint-tool: Add "undoc" tool.
350 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
351 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
352 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
353 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
354 documentation.
355 * fnmatch.txh: New.
356 * functions.texi: Regenerate.
fae8182a 357
0e4e9e8f
JM
3582001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
359
360 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
361 * strtod.c: Use "ISO C" instead of "ANSI C".
362 * functions.texi: Regenerate.
363
7f8fa05d
JM
3642001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
365
366 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
367 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
368 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
369 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
370 spelling. Give names to function arguments in documentation. Use
371 (void) prototypes in documentation.
372 * functions.texi: Regenerate.
373
0be6abca
KG
3742001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
375
376 * argv.c (buildargv, tests, main): Const-ify.
377 * cp-demangle.c (operator_code): Likewise.
378 * cplus-dem.c (optable, libiberty_demanglers,
379 cplus_demangle_set_style, cplus_demangle_name_to_style,
380 print_demangler_list): Likewise.
381 * hashtab.c (higher_prime_number): Likewise.
382 * strcasecmp.c (charmap): Likewise.
383 * strerror.c (error_info, strerror, main): Likewise.
384 * strncasecmp.c (charmap): Likewise.
385 * strsignal.c (signal_info): Likewise.
386
0e30ffc5
DD
3872001-09-29 DJ Delorie <dj@redhat.com>
388
389 * configure: Regenerate.
390
576fb787
KG
3912001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
392
393 * concat.c: Include stdlib.h.
394
e922f978
EZ
3952001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
396
397 * libiberty.texi: (Top level): Add syncodeindex pg. Add
398 @dircategory and @direntry directives. Add @finalout.
399 (many nodes): Lose the next,prev,up pointers on the @nide line.
400 (Using, Supplemental Functions, Replacement Functions): Fix
401 markup.
402 (Functions): Move around, to allow makeinfo to build the manual
403 without next,prev,up pointers in thye node lines.
404 (Licenses): Fix typos.
405
406 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
407 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
408 * functions.texi: Regenerate.
409
410 * copying-lib.texi: Lose the next,prev,up pointers on the @node
411 line.
412
ae9092da
DD
4132001-09-27 DJ Delorie <dj@redhat.com>
414
415 * configure.in: Don't use in-tree texinfo, because libiberty must
416 be built before it. Check for makeinfo version 4 or higher.
417 * functions.texi: Regenerate.
fae8182a 418
aaa5f039
DD
4192001-09-20 DJ Delorie <dj@redhat.com>
420 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 421
aaa5f039
DD
422 * configure.in (MAKEINFO, PERL): Detect these.
423 (--enable-maintainer-mode): Add.
424 * configure: Regenerate.
425 * Makefile.in (MAKEINFO, PERL): Define.
426 (libiberty.info, libiberty.dvi, libiberty.html): New.
427 (CFILES): Add bsearch.c.
428 (CONFIGURED_OFILES): New, list of objects configure might add.
429 (maint-missing, maint-buildall): New, for maintainers only.
430 (clean, mostlyclean): Add info/dvi/html files.
431 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
432 * gather-docs: New, for maintainers.
433 * maint-tool: New, for maintainers.
434 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
435 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
436 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
437 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
438 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
439 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
440 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
441 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
442 documentation.
fae8182a 443
c1766881
KG
4442001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
445
446 * concat.c (reconcat): Fix for traditional C.
447
ad43d46f
KG
4482001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
449
450 * concat.c (reconcat): New function.
451
c1d49704
KG
4522001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
453
c793eea7
KG
454 * concat.c (vconcat_length, vconcat_copy, concat_length,
455 concat_copy, concat_copy2): New functions.
456 (concat): Use vconcat_length/vconcat_copy.
457
c1d49704
KG
458 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
459 Define.
460
7a98d9b2
KG
4612001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
462
463 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
464 VA_FIXEDARG & VA_CLOSE.
fae8182a 465
7a98d9b2
KG
466 * vasprintf.c: Check HAVE_STRING_H when including string.h.
467 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
468 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
469
e2dff3f2
KG
4702001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
471
472 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
473
d0708dc1
UD
4742001-08-23 Ulrich Drepper <drepper@redhat.com>
475
476 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
477
4782001-08-23 Ulrich Drepper <drepper@redhat.com>
479
480 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
481 instead of mbrtowc.
482 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
483 wcslen, and __wcscoll instead of wcscoll.
484
ffb9435b
MK
4852001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
486
487 * fibheap.c (fibheap_init, fibnode_init): Remove.
488 (fibheap_new, fibnode_new): Use xcalloc to allocate and
489 initialize memory.
490 (fibheap_insert): Remove check for node allocation failure.
491
f379eac3
RH
4922001-08-21 Richard Henderson <rth@redhat.com>
493
494 * Makefile.in (fibheap.o): Depend on config.h.
495 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
496 functions for inlining.
497
b1c45ae4
CF
498Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
499
500 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
501 hosting on cygwin.
502 * configure: Regenerate.
503
0310e5ac
AC
5042001-08-20 Andrew Cagney <ac131313@redhat.com>
505
506 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
507 HARRIS_FLOAT_FORMAT.
508 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
509 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
510 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
511 (floatformat_m88110_harris_ext): New float formats.
512
8c23e0a4
DB
5132001-08-20 Daniel Berlin <dan@cgsoftware.com>
514
515 * fibheap.c: New file. Fibonacci heap.
516
517 * Makefile.in (CFILES): Add fibheap.c.
518 (REQUIRED_OFILES): Add fibheap.o.
519 (fibheap.o): Add dependencies for fibheap.o.
520
91625004
CF
5212001-08-17 Christopher Faylor <cgf@cygnus.com>
522
523 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
524 * configure: Regenerate.
525
9e0ba685
RH
5262001-08-16 Richard Henderson <rth@redhat.com>
527
528 * hashtab.c (htab_hash_string): New.
529
d80dedbe
AC
5302001-08-13 Andrew Cagney <ac131313@redhat.com>
531
532 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
533 name.
534
ccea0d85
IH
5352001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
536
537 * regex.c (wcs_regex_compile): Use appropriate string
538 to compare with collating element.
539 Fix the padding for the alignment.
540
b0e9bc8c 5412001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
542
543 * lbasename.c (lbasename): Change function definition to return a
544 const char pointer.
545
056400f1
JM
5462001-08-07 Jason Merrill <jason_merrill@redhat.com>
547
548 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
549 for".
550
4e627c41
RH
5512001-08-03 Richard Henderson <rth@redhat.com>
552
553 * Makefile.in (concat.o): Depend on config.h.
554
b6a2f884
AJ
5552001-07-30 Andreas Jaeger <aj@suse.de>
556
557 * concat.c: Include "config.h".
558
c4b9cfe0
AJ
5592001-07-30 Andreas Jaeger <aj@suse.de>
560
561 * regex.c: Declare wcs functions only if compiling with
562 MBS_SUPPORT.
563 Don't use #elif for traditional C.
564
5652001-07-23 Ulrich Drepper <drepper@redhat.com>
566
567 * regex.c: Revamp memory allocation for WCHAR functions to
568 not use too much stack.
569
5702001-07-30 Andreas Jaeger <aj@suse.de>
571
572 * regex.c: Declare wcs functions only if compiling with
573 MBS_SUPPORT.
574 Don't use #elif for traditional C.
575
2cf50fd3
DJ
5762001-07-25 Daniel Jacobowitz <drow@mvista.com>
577
578 * Makefile.in (regex.o): Add dependency on config.h.
579
27ffc806
DD
5802001-07-18 Andreas Schwab <schwab@suse.de>
581
582 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
583 underscore character.
584
5852001-07-18 Ulrich Drepper <drepper@redhat.com>
586
587 * regex.c: Limit string length printed in debug messages to 100
588 chars.
589
5902001-07-18 Andreas Jaeger <aj@suse.de>
591
592 * regex.c: Place under LGPL version 2.1.
593
dd771632
JJ
5942001-07-10 Jeff Johnston <jjohnstn@redhat.com>
595
596 * Makefile.in: Add support for regex code.
597 * regex.c: New file.
598
29650b2b
MK
5992001-07-05 Mark Klein <mklein@dis.com>
600
601 * Makefile.in: Add ffs.c dependency.
602 * configure.in: Add ffs.c.
603 * ffs.c: New file.
604
c8b28221
RH
6052001-06-18 Richard Henderson <rth@redhat.com>
606
607 * concat.c: Include <sys/types.h>.
608
473c2d0b
LR
6092001-06-11 Loren J. Rittle <ljrittle@acm.org>
610
a4c03da2 611 bootstrap/3106
473c2d0b
LR
612 * strerror.c (sys_nerr): Hide the OS header version.
613 * strsignal.c (sys_nsig): Likewise.
614
0bdcca68
RH
6152001-06-10 Richard Henderson <rth@redhat.com>
616
617 * concat.c: Include string.h. Fix int vs size_t usage.
618 Simplify the iteration loops. Use memcpy.
619
6de133d3
MK
6202001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
621
622 * partition.c: Fix misspelling of `implementation'.
623
8a153288
TS
6242001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
625
626 * md5.c (md5_init_ctx): Declare constants as unsigned.
627 (md5_process_block): Likewise.
628
641b2721
ZW
6292001-05-07 Zack Weinberg <zackw@stanford.edu>
630
631 * cp-demangle.c (demangle_v3_with_details,
632 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
633 function definition.
634 * ternary.c: Use K+R style function definitions. Use PTR, not
635 void *. Make arguments constant where possible.
636
5cdba4ff
MM
6372001-05-07 Mark Mitchell <mark@codesourcery.com>
638
639 * splay-tree.h (splay_tree_max): New function.
640 (splay_tree_min): Likewise.
641
9dab060e
DB
6422001-04-15 Daniel Berlin <dan@cgsoftware.com>
643
644 * ternary.c: New file - Ternary search tree implementation.
645
646 * Makefile.in: Add ternary.o, and ternary.c dependencies.
647
d02af173
ZW
6482001-04-03 Zack Weinberg <zackw@stanford.edu>
649
650 * make-temp-file.c (try): Inline.
651
94b68558
RH
6522001-02-28 Richard Henderson <rth@redhat.com>
653
654 * Makefile.in (make-temp-file.o): Depend on config.h.
655
27f66c0b
KG
6562001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
657
658 * memchr.c (memchr): Adjust condition to avoid infinite loop.
659
f1a0345c
JJ
6602001-03-23 Jakub Jelinek <jakub@redhat.com>
661
662 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
663 `_' not followed by a digit is invalid.
664
a519fba6
JB
6652001-03-22 Jim Blandy <jimb@redhat.com>
666
667 * cp-demangle.c (string_list_delete): Use dyn_string_delete
668 instead of free, to free the contents as well as the string
669 structure.
670
49ee944b
ZW
6712001-03-21 Zack Weinberg <zackw@stanford.edu>
672
673 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
674 Don't default P_tmpdir to anything. Try /var/tmp before
675 /usr/tmp.
676
33437dc7
ZW
6772001-03-20 Zack Weinberg <zackw@stanford.edu>
678
679 * choose-temp.c: Split off make_temp_file, and the code
680 duplicated between it and choose_temp_base, into...
681 * make-temp-file.c: ... here; new file.
682
683 * Makefile.in (CFILES): Add make-temp-file.c.
684 (REQUIRED_OFILES): Add make-temp-file.o.
685
7dce2eff
JB
6862001-03-20 Jim Blandy <jimb@redhat.com>
687
688 * cp-demangle.c (struct demangling_def): New fields:
689 is_constructor and is_destructor.
690 (demangling_new): Initialize them.
691 (demangle_ctor_dtor_name): Set them, if we detect a constructor
692 or destructor.
693 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
694 is_gnu_v3_mangled_dtor): New functions.
695
e03a61f1
JM
6962001-03-20 Jason Merrill <jason@redhat.com>
697
698 * cplus-dem.c (main): Skip initial $.
699
8860ddab
MM
7002001-03-15 Michael Meissner <meissner@redhat.com>
701
702 * hashtab.c (higher_prime_number): Silence warning that 4294967291
703 might be a signed integer under pre-ISO C systems.
704
2b757d51
NB
7052001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
706 John David Anglin <dave@hiauly1.hia.nrc.ca>
707
708 * libiberty/lbasename.c: New file.
709 * libiberty/Makefile.in: Update for lbasename.
710
1f50aafb
ZW
7112001-03-06 Zack Weinberg <zackw@stanford.edu>
712
713 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
714 * configure.in: Replace all alloca logic with a simple use of
715 the above new macro.
716 * config.table: Kill *-*-beos* entry.
717 * config/mh-beos: Delete.
718 * configure, config.in: Regenerate.
719
720 * Makefile.in (ALLOCA, HFILES): Kill.
721 (REQUIRED_OFILES): Add alloca.o.
722 (alloca.o): Depend on libiberty.h.
723 (argv.o): Don't depend on alloca-conf.h.
724 * alloca-conf.h: Delete.
725 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
726 blocks. Provide the C alloca unconditionally. Use PTR where
727 appropriate. Make i00afunc static.
728 * argv.c: Don't include alloca-conf.h.
729
d9fd5aae
JDA
7302001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
731
732 * cplus-dem.c (main): Cast enum style to int.
733
4031ed65
LR
7342001-02-16 Loren J. Rittle <ljrittle@acm.org>
735
736 * cplus-dem.c (main): Initialize style.
737
2ca46e8a
PE
7382001-02-02 Phil Edwards <pme@sources.redhat.com>
739
740 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
741
3b60dd8e
BM
7422001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
743
744 Add support for Java demangling under the v3 ABI:
745 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
746 (struct demangling_def): Add `style' field.
747 (demangling_new): New parameter `style'. Set it in demangling_t.
748 (demangle_prefix): Use NAMESPACE_SEPARATOR.
749 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
750 (cp_demangle): New parameter `style'. Pass it to demangling_new().
751 (main): Call cp_demangle with extra parameter.
752 (java_demangle_v3): New function.
753 (java_builtin_type_names): New. Table of primitive type names used
754 for Java demangling.
755 (demangle_builtin_type): Look up in java_builtin_type_names if doing
756 Java output.
1f50aafb 757 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
758 demangling.
759 (long_options): Remove obsolete `java' option.
760 (main): Remove explicit handling of `java' option. Instead, pass style
761 parameter in cplus_demangle flags as gdb does.
762 * testsuite/demangle.expected: Add some Java test cases.
763
584932e9
DD
7642000-12-29 DJ Delorie <dj@redhat.com>
765
766 * fnmatch.c: Make the note about the origins of this file more
767 accurate, at least until we can sync with glibc.
768 * getopt.c: Ditto.
769 * getopt1.c: Ditto.
770 * md5.c: Ditto.
771 * obstack.c: Ditto.
772
dac45916
MS
7732000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
774
775 * bsearch.c: New file.
776 * configure.in (funcs): Add bsearch.
777 (AC_CHECK_FUNCS): Likewise.
778 * configure, config.in: Regenerate.
779
a8e4a997
MS
7802000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
781
782 * safe-ctype.c: #include "ansidecl.h".
783 * strtod.c: Likewise.
784
75444da7
MS
7852000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
786
787 * strtoul.c: Include safe-ctype.h, not ctype.h.
788
f6bbde28
ZW
7892000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
790
791 * safe-ctype.c: New file.
792 * Makefile.in (CFILES): Add safe-ctype.c.
793 (REQUIRED_OFILES): Add safe-ctype.o.
794
795 * argv.c: Define ISBLANK and use it, not isspace.
796 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
797 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
798 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
799 before calling TOLOWER(c)/TOUPPER(c).
800
6c1ce62b 8012000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
802
803 * Makefile.in (distclean): When cleaning, remove testsuite.
804
b5d1497d
JM
8052000-12-05 Jason Merrill <jason@redhat.com>
806
807 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
808 name before allocating the dyn_string.
809
c6e13630
JM
8102000-12-04 Jason Merrill <jason@redhat.com>
811
812 * cp-demangle.c: s/new_abi/v3/.
813 * cplus-dem.c: Likewise.
814 (current_demangling_style): Now auto_demangling.
815 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 816 (main): Use standard symbol chars for auto_demangling.
c6e13630 817
a4c9b97e
MM
8182000-11-26 Mark Mitchell <mark@codesourcery.com>
819
820 * hashtab.c (higher_prime_number): Use a table, rather than a
821 seive, to find the next prime.
822
3b3bd9a7
L
8232000-11-22 H.J. Lu <hjl@gnu.org>
824
825 * cplus-dem.c (main): Handle gnat_demangling.
826
d1209685
ZW
8272000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
828
829 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
830 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
831 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
832 argument form of AC_DEFINE in dummy definitions block. Use
833 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
834 in dummy block. Preload cache variables instead of bypassing
835 tests, where possible.
836 * acconfig.h: Removed.
837
838 * xmalloc.c (xmalloc_failed): New function, does error
839 reporting on failed allocation.
840 (xmalloc, xcalloc, xrealloc): Use it.
841
cf183ac2
HPN
8422000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
843
844 * cplus-dem.c (cplus_demangle): Fix formatting.
845 (grow_vect): Ditto.
846 (ada_demangle): Ditto.
847 (internal_cplus_demangle): Ditto.
848 (mop_up): Ditto.
849
8502000-11-21 H.J. Lu <hjl@gnu.org>
851
852 * cplus-dem.c (main): Handle java_demangling.
853
8bcc782c
KG
8542000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
855
856 * cplus-dem.c (grow_vect): Prototype.
857 (ada_demangle): Cast the arg of ctype macros to unsigned char.
858
29120f44
HPN
8592000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
860
861 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
862 parameter `option'.
863
0437a5a8
KB
8642000-11-15 Kenneth Block <kenneth.block@compaq.com>
865
9e038f71 866 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
867 be used in GCC.
868
eab0c1ab 8692000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 870
29120f44 871 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
872 list.
873
d50d20ec
HPN
8742000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
875
876 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
877 xcalloc depending on htab->return_allocation_failure. Return zero
878 if calloc fails.
d50d20ec
HPN
879 (htab_create): Update comment to cover memory allocation.
880 (htab_try_create): New.
881 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 882 Update comment to cover this.
d50d20ec 883
35e9340f
HPN
8842000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
885
886 * hashtab.c: Change void * to PTR where necessary.
887 (htab_create, htab_expand): Correct formatting of comment before
888 function.
889
ea343d1a 8902000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
891
892 * cp-demangle.c (string_list_def): Add caret_position and comments.
893 (result_caret_pos): New macro.
894 (result_append_string): Rename to...
895 (result_add_string): ... this, and insert at caret position.
d1209685 896 Rename throughout.
0870bfd6
AS
897 (result_append): Rename to...
898 (result_add): ... this, and insert at caret position. Rename
d1209685 899 throughout.
0870bfd6
AS
900 (result_append_char): Rename to...
901 (result_add_char): ... this, and insert at caret position. Rename
d1209685 902 throughout.
0870bfd6
AS
903 (result_append_space): Remove.
904 (string_list_new): Initialize caret position.
905 (result_add_separated_char): Use caret position.
906 (result_get_caret): New funtion.
907 (result_set_caret): Likewise.
908 (result_shift_caret): Likewise.
909 (result_previous_char_is_space): Likewise.
910 (substitution_start): Use caret position.
911 (substitution_add): Likewise.
912 (demangling_new): Initialize caret position.
913 (demangle_encoding): Use caret position.
d1209685 914 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
915 (demangle_type_ptr): Use switch statement. Handle pointers to
916 arrays. Don't use result_append_space. Use caret position.
917 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
918 call to demangle_array_type.
919 (demangle_array_type): Add parameter to handle pointers to arrays.
920
f15b9af9
MM
9212000-10-01 Mark Mitchell <mark@codesourcery.com>
922
923 * splay-tree.c (splay_tree_insert): Fix formatting.
924
8f17b5c5
MM
9252000-09-16 Mark Mitchell <mark@codesourcery.com>
926
927 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
928
4eaa189a
MS
9292000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
930
931 * splay-tree.c: #include <stdio.h>.
932
29791078
HPN
9332000-09-14 Hans-Peter Nilsson <hp@axis.com>
934
935 * testsuite/demangle-expected: Add two tests for anonymous
936 namespaces.
937 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
938
2c9f4db7
MM
9392000-09-10 Mark Mitchell <mark@codesourcery.com>
940
941 * splay-tree.c (splay_tree_predecessor): New function.
942 (splay_tree_successor): Likewise.
943
bb22da4b
HPN
9442000-09-10 Hans-Peter Nilsson <hp@axis.com>
945
946 * testsuite/demangle-expected: Add four tests for type_info
947 mangling.
bb22da4b
HPN
948 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
949 for a non-template non-qualified type_info function or node.
950
759e8187
AS
9512000-09-08 Alex Samuel <samuel@codesourcery.com>
952
953 * cp-demangle.c: Fix copyright banner.
954
2ecd81ef
MS
9552000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
956
957 * md5.c: #include "ansidecl.h".
958
d93998ec
AS
9592000-09-06 Alex Samuel <samuel@codesourcery.com>
960
961 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
962 (demangle_type): Handle substitution candidates correctly in the
963 face of special substitutions.
964
1056d228
AS
9652000-09-05 Alex Samuel <samuel@codesourcery.com>
966
967 * cp-demangle.c (demangle_encoding): Rename variable.
968 (demangle_name): Rename parameter. Handle return type
969 suppression.
970 (demangle_nested_name): Rename parameter.
971 (demangle_prefix): Likewise. Change return type suppression.
972 (demangle_unqualified_name): Add parameter. Flag constructors and
973 conversion operators.
974 (demangle_special_name): Fix comment.
975 (demangle_type): Rename variable.
976 (demangle_bare_function_type): Check for missing return type and
d1209685 977 parameter.
1056d228
AS
978 (demangle_class_enum_type): Rename parameter.
979 (demangle_discriminator): Fix misspelling in comment.
980
2f31ed7e
DD
9812000-08-31 DJ Delorie <dj@redhat.com>
982
983 * configure.in (Cygwin): special case cygwin only when we're
984 building cygwin, not when we're hosting cygwin.
985
02bcb9c6
AS
9862000-09-04 Alex Samuel <samuel@codesourcery.com>
987
988 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
989 <expression>.
990
aee749cf
AS
9912000-09-04 Alex Samuel <samuel@codesourcery.com>
992
993 * cp-demangle.c (demangle_type_ptr): Increment position past
994 pointer and reference characters.
995
92a16bbe
AS
9962000-09-04 Alex Samuel <samuel@codesourcery.com>
997
998 * cp-demangle.c (demangle_nv_offset): New function.
999 (demangle_v_offset): Likewise.
1000 (demangle_call_offset): Likewise.
1001 (demangle_special_name): Update thunk demangling to comply with
1002 ABI changes.
d1209685 1003
31e0ab1f
AS
10042000-09-03 Alex Samuel <samuel@codesourcery.com>
1005
1006 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1007 (substitution_def): Remove template_parm_number.
1008 (NOT_TEMPLATE_PARM): Remove.
1009 (result_insert_string): New macro.
1010 (result_insert): Likewise.
1011 (result_insert_char): Likewise.
1012 (substitution_add): Remove last parameter. Don't store template
d1209685 1013 parm number.
31e0ab1f
AS
1014 (BFT_NO_RETURN_TYPE): Define as NULL.
1015 (demangle_encoding): Adjust call to demangle_bare_function_type.
1016 (demangle_name): Adjust substitution. Adjust call to
d1209685 1017 substitution_add.
31e0ab1f
AS
1018 (demangle_prefix): Adjust call to substitution_add.
1019 (demangle_identifier): Handle anonymous namespaces.
1020 (demangle_operator_name): Change demangling of vendor-extended
1021 operator to match ABI changes.
1022 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 1023 substitutions here.
31e0ab1f
AS
1024 (demangle_type): Adjust calls to demangle_template_param,
1025 substitution_add, and demangle_type_ptr. Fix substitution of
1026 templated types.
1027 (demangle_function_type): Change parameter to a pointer.
1028 (demangle_bare_function_type): Likewise. Adjust insertion point.
1029 (demangle_template_param): Remove last parameter.
1030 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 1031 demangle_template_param.
31e0ab1f
AS
1032 (is_mangled_char): Accept `$' and `.'.
1033 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1034 * dyn-string.c (dyn_string_insert_char): New function.
1035
ccbc3eb7
HPN
10362000-08-31 Hans-Peter Nilsson <hp@axis.com>
1037
1038 * testsuite/demangle-expected: Add nine tests for
1039 underscore-after-number followed by five tests for name-signature
1040 delimiter.
1041
53dce582
RH
10422000-08-28 Richard Henderson <rth@cygnus.com>
1043
1044 * Makefile.in (md5.o): Depend on config.h.
1045
881c6935
JM
10462000-08-28 Jason Merrill <jason@redhat.com>
1047
1048 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1049 (CFILES): Add md5.c.
1050 * md5.c: New file.
1051
a440fd19
AS
10522000-08-27 Alex Samuel <samuel@codesourcery.com>
1053
1054 * cp-demangle.c (demangle_name): Initialize template_p in local
1055 name case. Don't re-add substitutions as candidates.
1056 (demangle_nested_name): Use <unqualified-name>.
1057 (demangle_prefix): Likewise. Don't add template names as
1058 substitution candidates twice, or re-add a substitution or the
1059 last prefix component.
1060 (demangle_local_name): Adjust output format.
1061
d01ce591
AS
10622000-08-25 Alex Samuel <samuel@codesourcery.com>
1063
1064 * cp-demangle.c (result_add_separated_char): Change parameter to
1065 int.
1066 (substitution_add): Don't check for duplicates. Check if
1067 previously allocated size is zero.
1068 (demangle_name): Remove duplicate check for std substitution.
1069 Clear template flag appropriately.
1070 (demangle_prefix): Remove argument to demangle_substitution.
1071 Don't check that template flag is already set.
1072 (demangle_operator_name): Add pt operator.
1073 (demangle_type): Don't treat r as built-in type. Remove argument
1074 to demangle_substitution. Fix substitution candidate mechanics.
1075 Handle <template-template-parm>s. Improve comments.
d1209685 1076 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
1077 (demangle_substitution): Remove parameter.
1078 (print_usage): Remove extra fprintf option.
1079
2f59c8eb
GM
10802000-08-24 Greg McGary <greg@mcgary.org>
1081
1082 * libiberty/random.c (end_ptr): Revert previous change.
1083
2f26c11d
GM
10842000-08-24 Greg McGary <greg@mcgary.org>
1085
1086 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1087 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1088 * libiberty/random.c (end_ptr): Likewise.
1089
e282c9c9
AS
10902000-08-23 Alex Samuel <samuel@codesourcery.com>
1091
1092 * cp-demangle.c (result_close_template_list): Remove function.
1093 (result_add_separated_char): New function.
1094 (result_open_template_list): New macro.
1095 (result_close_template_list): Likewise.
1096 (demangle_prefix): Don't set template_p if the
1097 prefix ends with a ctor name.
1098 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1099 (demangle_type): Check for template args after substitution.
1100 (demangle_template_args): Use result_open_template_list.
d1209685 1101
c9b6494a
ZW
11022000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1103
1104 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1105
d1209685 11062000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
1107
1108 * config/mh-openedition.h: Added -DLE370 definition.
1109
0aab2795
ME
11102000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1111
1112 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1113 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1114 Cast program to 'char *' in errmsg_arg assignment.
1115 (PWAIT_ERROR): Define.
1116 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1117 to DJGPP's WIF* macros.
1118
c2f275e4
RB
11192000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1120 Jeff Law <law@cygnus.com>
1121
73aa9564
RB
1122 * getcwd.c: Include string.h, stdlib.h for prototypes
1123
c2f275e4 1124 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
1125 * rename.c: Include config.h, unistd.h
1126 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 1127
ccbc3eb7
HPN
11282000-07-24 Hans-Peter Nilsson <hp@axis.com>
1129
1130 * cplus-dem.c (work_stuff_copy_to_from): New.
1131 (delete_non_B_K_work_stuff): New.
1132 (delete_work_stuff): New.
1133 (mop_up): Break out work_stuff partly destruction to
1134 delete_non_B_K_work_stuff.
1135 (iterate_demangle_function): New.
1136 (demangle_prefix): Call iterate_demangle_function instead of
1137 demangle_function_name. Leave handling of name-signature
1138 __-delimiters to iterate_demangle_function.
1139 (demangle_integral_value): Strip an optional
1140 following underscore cautiously. Handle negative numbers.
1141
3388651c
DB
11422000-07-24 Daniel Berlin <dberlin@redhat.com>
1143
d1209685 1144 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
1145 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1146
0fac482e
AS
11472000-07-21 Alex Samuel <samuel@codesourcery.com>
1148
1149 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1150 allocating ctor mangling.
1151 (demangle_array_type): Handle empty and non-constant array length.
1152
8502a100 11532000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
1154 Jeff Law <law@cygnus.com>
1155
c6451ce1
MS
1156 * configure.in (AC_CHECK_HEADERS): Add time.h.
1157 (AC_HEADER_TIME): Add check.
1158 * configure, config.in: Regenerate.
1159 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1160
cd447360
MS
1161 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1162 * configure, config.in: Regenerate.
1163 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1164 * strtol.c, strtoul.c: #include "config.h". Portably #include
1165 <limits.h> and/or <sys/param.h>.
1166 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 1167
3b58c099
MS
1168 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1169 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1170 * configure, config.in: Regenerate.
1171 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1172
8502a100
MS
1173 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1174
da0c7743
MS
11752000-07-21 Mike Stump <mrs@wrs.com>
1176
1177 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 1178 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 1179
838f8562
KG
11802000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1181
1182 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1183
1184 * setenv.c (setenv): Initialize variable `ep'.
1185
1186 * sigsetmask.c (abort): Prototype.
1187
1188 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1189 __STDC__ for stdarg.h include.
1190 (int_vasprintf): Prototype.
1191 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1192 definition. Cast `global_total_width' in comparison.
1193 (main): Prototype. Return a value.
1194
1195 * vfork.c (fork): Prototype.
1196
1197 * xexit.c: Include config.h.
1198
e9958132
JM
11992000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1200
1201 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1202 and print it with %u.
1203
39a6492f
HPN
12042000-07-17 Hans-Peter Nilsson <hp@axis.com>
1205
1206 * testsuite/regress-demangle (failed test): Show result and
1207 expected output.
1208
6d0be369
AH
12092000-07-07 Andrew Haley <aph@cygnus.com>
1210
1211 * cplus-dem.c (main): fflush() after emitting last char before
1212 waiting for input.
1213
bece74bd
AS
12142000-06-28 Alex Samuel <samuel@codesourcery.com>
1215
1216 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1217 (demangle_name): Handle <substitution> followed by
1218 <unqualified-template-name>.
1219 (demangle_type): Follow special substitutions with
1220 <class-enum-type>
1221 (demangle_subtitution): Set template_p for special substitutions.
1222 (main): Fix typos.
d1209685 1223
229b8ec7
AS
12242000-06-27 Alex Samuel <samuel@codesourcery.com>
1225
1226 * cp-demangle.c (demangle_special_name): Swap base and derived
1227 class when demangling construction vtables.
1228
051664b0
AS
12292000-06-21 Alex Samuel <samuel@codesourcery.com>
1230
1231 * cp-demangle.c: Don't include ctype.h.
1232 (IS_DIGIT): New macro.
1233 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1234 instead of isdigit and isalpanum.
1235 (demangling_def): Make name and next const pointers.
1236 (STATUS_ALLOCATION_FAILED): New status code.
1237 (dyn_string_append_space): Handle failure in
1238 dyn_string_append_char.
1239 (int_to_dyn_string): Likewise. Change return value to status_t.
1240 (string_list_new): Handle failure of dyn_string_init.
1241 (result_close_template_list): Change return type to status_t.
1242 Handle failure in dyn_string_append.
1243 (result_push): Change return value to status_t. Handle failure in
1244 string_list_new. Handle failure of result_push throughout.
1245 (substitution_add): Change return value to status_t. Handle
1246 dyn_string failures. Handle failure of substitution_add
1247 throughout.
1248 (template_arg_list_new): Return NULL on allocation failure.
1249 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1250 Handle error result throughout.
1251 (result_append): Likewise.
1252 (result_append_char): Likewise.
1253 (result_append_space): Likewise.
1254 (demangling_new): Make argument a const pointer. Handle
1255 allocation failures.
1256 (demangle_template_args): Handle failure in template_arg_list_new
1257 and result_close_template_list.
1258 (demangle_discriminator): Return if int_to_dyn_string fails.
1259 (cp_demangle): Likewise.
1260 (cp_demangle_type): New function.
1261 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1262 memory allocation failure.
1263 (main): Likewise.
1264 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1265 IN_LIBGCC2.
1266 (dyn_string_init): Change return value to int. Handle
1267 RETURN_ON_ALLOCATION_FAILURE case.
1268 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1269 (dyn_string_release): Delete the dyn_string.
1270 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1271 (dyn_string_copy): Change return type to int.
1272 (dyn_string_copy_cstr): Likewise.
1273 (dyn_string_prepend): Likewise.
1274 (dyn_string_prepend_cstr): Likewise.
1275 (dyn_string_insert): Likewise.
1276 (dyn_string_insert_cstr): Likewise.
1277 (dyn_string_append): Likewise.
1278 (dyn_string_append_cstr): Likewise.
1279 (dyn_string_append_char): Likewise.
1280 (dyn_string_substring): Likewise.
d1209685 1281
fe06b696
ZW
12822000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1283
1284 * cp-demangle.c (demangle_operator_name): Add spaces before
1285 names beginning with a letter: delete, delete[], new, new[],
1286 sizeof.
1287 (demangle_special_name): Handle TF <type> and TJ <type>.
1288
6223e158
PDM
1289Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1290
1291 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1292
48f3e29b
PDM
1293Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1294
1295 * cp-demangle.c (stdio.h): File included unconditionaly.
1296 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1297 * dyn-string.c (stdio.h): File included.
1298 * partition.c (partition_print): No `&' needed to take the address of
1299 a function.
1300
69197e7e
KG
13012000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1302
1303 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 1304
69197e7e
KG
1305 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1306
1307 * cp-demangle.c (demangle_char): Change parameter from char to int.
1308 (demangle_expression, demangle_expr_primary): Remove extra
1309 semi-colon in prototype.
1310
1311 * dyn-string.c (dyn_string_append_char): Change parameter from
1312 char to int.
1313
1314 * memcmp.c (memcmp): Constify.
1315
1316 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1317 __extension__.
1318
1319 * partition.c (elem_compare): Prototype. Don't cast away
1320 const-ness.
1321
1322 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 1323
7eb23b1f
KG
13242000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1325
1326 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1327
1328 * cp-demangle.c: Include demangle.h.
1329 (template_arg_list_new): DeANSIfy.
1330 (cp_demangle): Make static and add prototype.
1331 (operator_code, operators): Constify.
1332 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1333
3faa108c
AS
13342000-06-05 Alex Samuel <samuel@codesourcery.com>
1335
1336 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1337 unsigned char.
1338 (demangle_unqualified_name): Likewise.
1339 (demangle_number_literally): Likewise.
1340 (demangle_type): Likewise.
1341 (demangle_substitution): Likewise.
1342 (is_mangled_char): Likewise, for isalnum.
1343
69afa80d
AS
13442000-06-04 Alex Samuel <samuel@codesourcery.com>
1345
1346 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1347 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1348 (cp-demangle.o): New dependency.
1349 (dyn-string.o): Likewise.
1350
1351 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1352
1353 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1354 demangler.
1355 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1356 demangling mode.
1357 (gnu_new_abi_symbol_characters): New function.
1358 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1359 file.
1360 * cp-demangle.c: New file.
d1209685 1361
0b72c3df
AC
1362Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1363
1364 * floatformat.c: Add name to each floatformat field.
1365
270cea06
JL
1366Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1367
1368 * Makefile.in (objalloc.o): Depend on config.h
1369
d11ec6f0
ZW
13702000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1371
1372 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1373 if HAVE_STRING_H.
1374 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1375 * objalloc.c: Include config.h. Include stdlib.h and don't
1376 declare malloc or free if HAVE_STDLIB_H.
1377 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1378 else declare malloc without prototype. Include string.h if
1379 HAVE_STRING_H, else declare memset without prototype. Don't
1380 include stddef.h.
1381
f8e2da56
MS
13822000-05-23 Mike Stump <mrs@wrs.com>
1383
1384 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 1385 -j3.
f8e2da56 1386
650f3068
DA
13872000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1388
1389 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1390
1d2da2e1
HB
13912000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1392
d1209685 1393 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
1394 probably zero, also eliminate a warning on alpha.
1395
47668d0a
DE
13962000-05-15 David Edelsohn <edelsohn@gnu.org>
1397
c7a79a32 1398 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
1399 on $(enable_shared).
1400
36348eab
JJ
14012000-05-10 Jakub Jelinek <jakub@redhat.com>
1402
1403 * config.table: Use mh-sparcpic for sparc*-*-*.
1404
209bbe34
NC
14052000-05-08 Nick Clifton <nickc@cygnus.com>
1406
1407 * Makefile.in (CFILES): Add strncmp.c.
1408 (NEEDED): Add strncmp.
1409
a85a47fb
KG
14102000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1411
1412 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1413 Cast the arguments to `islower' to `unsigned char'.
1414 (print_demangler_list): Prototype.
1415
4aef973c
PDM
1416Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1417
1418 * sort.c (UCHAR_MAX): Provide fallback definition.
1419
3b94497c
AO
14202000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1421
1422 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1423 SUBDIRS.
1424
24eaa47a
KB
14252000-04-28 Kenneth Block <block@zk3.dec.com>
1426 Jason Merrill <jason@casey.cygnus.com>
1427
d1209685
ZW
1428 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1429 (cplus_demangle_set_style): New function for setting style.
1430 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 1431
a9266bfa
KG
14322000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1433
1434 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1435
1436 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1437 (libiberty_AC_FUNC_STRNCMP): Invoke.
1438
1439 * strncmp.c: New file.
1440
8e02c4d0
JH
1441Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1442
1443 * hashtab.c (htab_expand): Add prototype.
1444 (find_empty_slot_for_expand): Likewise.
1445
4feeaae3
KG
14462000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1447
1448 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1449 match prototype.
1450 (htab_expand): Cast the return value of xcalloc.
1451
18a94a2f
MM
14522000-04-24 Mark Mitchell <mark@codesourcery.com>
1453
1454 * hashtab.c (hash_pointer): New function.
1455 (eq_pointer): Likewise.
1456 (htab_hash_pointer): New variable.
1457 (htab_eq_pointer): Likewise.
1458
eeb0656f
MM
14592000-04-23 Mark Mitchell <mark@codesourcery.com>
1460
b51024fc
MM
1461 * sort.c (sort_pointers): Fix endianness bugs.
1462
eeb0656f
MM
1463 * sort.c: New file.
1464 * Makefile.in (CFILES): Add sort.c
1465 (REQUIRED_OFILES): Add sort.o.
1466 (sort.o): New target.
1467
7277f72d
MS
14682000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1469
1470 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1471 4.3BSD systems.
1472
e38992e8
RK
1473Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1474
1475 * hashtab.c: Various minor cleanups.
1476 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1477 (htab_find_slot): Likewise.
1478
498e1ab1
DP
14792000-04-16 Dave Pitts <dpitts@cozx.com>
1480
1481 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 1482
dc17cc7b
RH
14832000-04-05 Richard Henderson <rth@cygnus.com>
1484
1485 * splay-tree.c (splay_tree_remove): New.
1486
b13eb66b
MM
14872000-03-30 Mark Mitchell <mark@codesourcery.com>
1488
1489 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1490 codes.
1491 (htab_find_with_hash): Likewise.
1492 (htab_find_slot_with_hash): Likewise.
d1209685 1493
0194e877
ZW
14942000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1495
1496 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1497 unless it will be used. Rearrange loop for better
1498 optimization.
1499 (higher_prime_number): Add static prototype.
1500
abc61fd4
JL
1501Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1502
1503 * Makefile.in (partition.o): Depend on config.h
1504
8c5d513f
BS
15052000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1506
1507 * hashtab.c (find_empty_slot_for_expand): New function.
1508 (htab_expand): Use it instead of htab_find_slot.
1509 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1510 argument HASH.
1511 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1512 (htab_find): New wrapper function.
1513 (htab_find_slot): Likewise.
1514 (htab_traverse): Pass slot, not entry, to called function.
1515
d9d4fb43
AS
15162000-03-09 Alex Samuel <samuel@codesourcery.com>
1517
1518 * Makefile.in (CFILES): Add partition.c.
1519 (REQUIRED_OFILES): Add partition.o.
1520 (partition.o): New rule.
1521 * partition.c: New file.
d1209685 1522
5dc9cffd
ZW
15232000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1524
1525 * hashtab.c (htab_create): Set del_f.
1526 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1527 Use it.
1528
5194cf08
ZW
15292000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1530
1531 * hashtab.c: Remove debugging variables (all_searches,
1532 all_collisions, all_expansions). Delete
1533 all_hash_table_collisions.
1534 (create_hash_table, delete_hash_table, empty_hash_table,
1535 find_hash_table_entry, remove_element_from_hash_table_entry,
1536 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1537 hash_table_elements_number, hash_table_collisions): Rename to:
1538 htab_create, htab_delete, htab_empty, htab_find_slot,
1539 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1540 htab_elements, htab_collisions.
1541 (htab_find): New function, handles common case where you don't
1542 plan to add or delete an entry.
1543 (htab_expand): Don't create a whole new table, just a new
1544 entry vector.
1545 (htab_find_slot): Simplify logic.
1546
5ad5a984
ILT
15471999-08-03 Ian Lance Taylor <ian@zembu.com>
1548
1549 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1550 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1551
1552 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1553 $(TARGETLIB)n so it works on MSDOS.
1554 (install_to_tooldir): Likewise.
1555
15561999-07-21 Ian Lance Taylor <ian@zembu.com>
1557
1558 From Mark Elbrecht:
1559 * makefile.dos: Remove; obsolete.
1560 * configure.bat: Remove; obsolete.
1561
15621999-07-11 Ian Lance Taylor <ian@zembu.com>
1563
1564 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1565 warning.
1566
aeecce42
MK
15672000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1568
1569 * pexecute.c: Conditionally include string.h.
5194cf08 1570 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 1571
1eaf7d9c
KG
15722000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1573
1574 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1575 we're using gcc.
1576
1577 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1578
0fadedb2
GK
15791999-12-27 Geoff Keating <geoffk@cygnus.com>
1580
1581 * vasprintf.c (int_vasprintf): Don't re-read the format character
1582 as this mishandles strings like '%%s'.
1583
08230f26
MM
15841999-12-05 Mark Mitchell <mark@codesourcery.com>
1585
1586 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1587 rather than struct splay_tree_node.
1588 (splay_tree_insert): Use struct splay_tree_s rather than struct
1589 splay_tree.
1590
6de9b8ff
PDM
1591Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1592
1593 * hashtab.c (sys/types.h): File included.
1594
f3636679
JM
15951999-11-22 Jason Merrill <jason@casey.cygnus.com>
1596
1597 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1598 BSD license, pursuant with
1599
1600 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1601
36dd3a44
JL
1602Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1603
1604 * hashtab.c: Include stdio.h.
1605
6e300472
JL
1606Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1607
1608 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1609
df548dfc
PDM
1610Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1611
1612 * xstrdup (sys/types.h): Include this file.
1613
2c375143
NS
16141999-10-28 Nathan Sidwell <nathan@acm.org>
1615
1616 * Makefile.in (SUBDIRS): New macro.
1617 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1618 avoid multiple subdirectory cleaning.
1619 (*-subdir): Use SUBDIRS.
1620
a82cecda
JK
16211999-10-25 Jim Kingdon <http://developer.redhat.com/>
1622
1623 * cplus-dem.c: Move declarations of standard_symbol_characters and
1624 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1625 warnings.
1626
ed38f5d5
ZW
16271999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1628
1629 * hashtab.c (find_hash_table_entry): When returning a
1630 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1631 (clear_hash_table_slot): New function which deletes an entry
1632 by its position in the table, not its value.
1633 (traverse_hash_table): New function which calls a hook
1634 function for every live entry in the table.
1635
b60fe4a7
MM
16361999-10-19 Mark Mitchell <mark@codesourcery.com>
1637
1638 * cplus-dem.c (INTBUF_SIZE): New macro.
1639 (string_append_template_idx): New function.
1640 (demangle_expression): Likewise.
1641 (demangle_integral_value): Use it.
1642 (demangle_real_value): New function, split out from ...
1643 (demangle_template_value_parm): ... here. Use
1644 string_append_template_idx. Use demangle_real_value.
1645 (demangle_template): Use string_append_template_idx.
1646 (demangle_qualified): Use consume_count_with_underscores.
1647 (get_count): Tweak formatting.
1648 (do_type): Use string_append_template_idx.
5194cf08 1649
3da5522a
KG
16501999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1651
1652 * calloc.c: Add a public domain notice.
1653
d7d36ea8
PDM
1654Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1655
1656 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1657
a2f945c6
VM
1658Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1659
1660 * Makefile.in (CFILES): Add hashtab.c
1661 (REQUIRED_OFILES): Add hashtab.o
1662 (hashtab.o): Add dependencies.
1663 * hashtab.c: New file
1664
7f22ec2e
MK
1665Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1666
1667 * basename.c (DIR_SEPARATOR): New macro.
1668 (DIR_SEPARATOR_2): Likewise.
1669 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1670 (IS_DIR_SEPARATOR): Likewise.
1671 (main): Handle MSDOS style pathname.
1672
7c56a6ce
MM
16731999-10-11 Mark Mitchell <mark@codesourcery.com>
1674
1675 * cplus-dem.c (do_type): Handle pointer to member types whose
1676 enclosing classes have namespace scope.
1677
cd32188b
ME
1678Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1679
1680 * config.table: Provide a backup shell for executing move-if-change.
1681
fc232f7a
MM
16821999-10-02 Mark Mitchell <mark@codesourcery.com>
1683
1684 * xmalloc.c (xmalloc): Fix spelling error.
1685 (xcalloc, xrealloc): Likewise.
1686
2a138827
KG
16871999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1688
1689 * cplus-dem.c (fancy_abort, demangle_integral_value,
1690 demangle_arm_hp_template, recursively_demangle,
1691 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1692 (program_name, program_version, fatal): Constify a char*.
1693 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1694 (main): Call return, not exit.
1695
5a657fc3
KG
16961999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1697
1698 * choose-temp.c: Remove obsolete comment about gcc.
1699 (make_temp_file): Constify a char*.
1700
33c5ddcd
KG
1701Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1702
1703 * xmemdup.c: Include sys/types.h.
1704
b10647f1
JG
17051999-09-07 Jeff Garzik <jgarzik@pobox.com>
1706
1707 * xmemdup.c: New xmemdup function.
1708 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1709
3dd6c3af
LV
1710Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1711
5194cf08 1712 * config.table: Add openedition target.
3dd6c3af
LV
1713 * config/mh-openedition: New file.
1714
19e28e2a
ME
1715Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1716
1717 * pexecute.c (pexecute): Fill in temp_base when needed.
1718
4dfeccf9
RH
17191999-08-31 Richard Henderson <rth@cygnus.com>
1720
1721 * getpwd.c: Check HAVE_GETCWD before defining it away.
1722
4ac3cb83
KG
17231999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1724
1725 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1726 (REQUIRED_OFILES): Add getpwd.o.
1727 (getpwd.o): Add target.
1728
1729 * configure.in (AC_PREREQ): Bump to 2.13.
1730 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1731
1732 * getpwd.c: New file, moved here from gcc.
1733
e797ff70
KG
17341999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1735
1736 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1737 comparing against a signed quantity.
1738 (arm_special): Likewise.
1739 (demangle_fund_type): Likewise.
1740 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 1741 ATTRIBUTE_UNUSED.
e797ff70
KG
1742 (main): Constify variable `valid_symbols'.
1743
55247fce
PDM
1744Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1745
1746 * strtoul.c (strtoul): Add parentheses around && within ||.
1747
76632dd0
DJ
1748Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1749
1750 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1751 libdir, libsubdir and tooldir.
1752
d080bbfa
MM
17531999-08-01 Mark Mitchell <mark@codesourcery.com>
1754
1755 * splay-tree.c (splay_tree_insert): Return the new node.
1756
a81c752a
RH
17571999-07-14 Richard Henderson <rth@cygnus.com>
1758
5194cf08 1759 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
1760 prototyping directly.
1761 * choose-temp.c: Conditionally include string.h.
1762
8f1824d9
JM
17631999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1764
1765 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1766
652374d3
ILT
17671999-07-11 Ian Lance Taylor <ian@zembu.com>
1768
1769 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1770 warning.
1771
a4494286
JM
17721999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1773
1774 * Makefile.in (needed-list): Only include stuff we actually need
1775 for libstdc++.
1776
90e72e20
AS
17771999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1778
1779 * configure.in (checkfuncs): Add gettimeofday.
1780 * config.in, configure: Regenerated.
1781
b569200e
MK
1782Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1783
1784 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1785 the test fails.
1786 * configure: Regenerate.
1787
73919448
MS
17881999-06-10 Mike Stump <mrs@wrs.com>
1789
1790 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1791 parallel builds.
1792
fee9125c
KG
17931999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1794
1795 * putenv.c: Include ansidecl.h to define `const'.
1796 * setenv.c: Likewise.
1797
71cce721
MN
1798Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1799
a7c9637f
JL
1800 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1801 * configure.in (funcs): Add putenv and setenv.
1802 (AC_CHECK_FUNCS): Check for putenv and setenv.
1803 * configure: Rebuilt.
1804 * putenv.c setenv.c: New files.
1805
71cce721
MN
1806 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1807 bytes of space using malloc.
1808
53504016
SG
1809Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1810
1811 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1812 the *mangled pointer beyond the end of the string. Clean up code to
1813 match prevailing coding style.
1814
34842539
MH
18151999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1816
1817 * tmpnam.c (L_tmpnam): Fix typo.
1818
3a08531d
ME
1819Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1820
1821 * cplus-dem.c (standard_symbol_characters): Renamed from
1822 standard_symbol_alphabet. No longer modify TABLE.
1823 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1824 modify TABLE.
1825 (main): Corresponding changes. Use strchr to determine if a
1826 character is valid.
1827
8db9d08b
JB
18281999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1829
1830 * cplus-dem.c (main): Use table lookup to distinguish identifier
1831 characters from non-identifier characters.
1832 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1833
6a071f4a
FF
1834Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1835
1836 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1837 * getruntime.c: Only attempt to include sys/resource.h and
1838 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1839 are defined.
1840
7dd88617
DT
1841Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1842
1843 * configure.in (alloca detection): Handle alloca directly for interix.
1844 * configure: Rebuilt.
1845
7a1528bc
MK
1846Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1847
1848 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1849
76409268
JB
18501999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1851
1852 Fix from Dale Hawkins:
5194cf08 1853 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
1854 reallocated properly if we use it again.
1855
1856 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1857 stricter about syntax. Always null-terminate string.
1858
acbbd80a
MK
1859Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1860
1861 * configure.in (checkfuncs): Check for sbrk.
1862 * config.in: Rebuilt.
1863 * configure: Likewise.
1864 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1865
92523551
JB
18661999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1867
1868 Fix from Marcus Daniels:
1869 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1870 identifier looking for another underscore.
1871
36eb4217
MK
1872Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1873
1874 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1875 * xmalloc.c: Likewise.
1876 (xcalloc): UWIN has sbrk.
1877 (xrealloc): Fix guard macro.
1878
2c45d1a0
RH
18791999-04-11 Richard Henderson <rth@cygnus.com>
1880
1881 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1882 or <alloca.h>.
1883 * clock.c (GNU_HZ): New definition.
1884 (clock): Use it.
1885 * getruntime.c: Likewise.
1886
1887 * config.table: Use mh-beos.
1888 * config/mh-beos: New file.
1889
391cdef0
MM
18901999-04-11 Mark Mitchell <mark@codesourcery.com>
1891
1892 * cplus-dem.c (demangle_template_value_parm): Handle
1893 pointers-to-members.
1894 (do_type): Handle template parameters as qualifiers.
1895
9d229989
JB
18961999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1897
1898 * cplus-dem.c: Attempt to handle overflows in counts with some
1899 semblance of grace.
1900 (consume_count): Detect overflows. Return -1 to indicate errors,
1901 instead of zero.
1902 (demangle_template_value_parm, demangle_template): Handle change
1903 to consume_count's return convention.
1904
7c72138a
TT
19051999-04-05 Tom Tromey <tromey@cygnus.com>
1906
1907 * testsuite/regress-demangle: New file.
1908 * testsuite/demangle-expected: New file.
1909
1910 * Makefile.in (all, check, installcheck, info, install-info,
1911 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1912 distclean, maintainer-clean, realclean): Depend on corresponding
1913 `-subdir' target.
1914 (all-subdir check-subdir installcheck-subdir info-subdir
1915 install-info-subdir clean-info-subdir dvi-subdir
1916 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1917 distclean-subdir maintainer-clean-subdir): New target.
1918 * testsuite/Makefile.in: New file.
1919 * configure: Rebuilt.
1920 * configure.in: Create testsuite/Makefile.
1921
ae7f7270
MM
19221999-04-02 Mark Mitchell <mark@codesourcery.com>
1923
1924 * splay-tree.h (splay_tree_compare_pointers): Define.
1925
30f72379
MM
19261999-03-30 Mark Mitchell <mark@codesourcery.com>
1927
1928 * splay-tree.c (splay_tree_compare_ints): Define.
1929
4cc48683
TT
19301999-03-30 Tom Tromey <tromey@cygnus.com>
1931
1932 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1933 don't advance input pointer.
1934 (demangle_class_name): If consume_count didn't find a count, do
1935 nothing. Don't bother with `strlen' sanity check; consume_count
1936 does it for us.
1937
3510075c
JL
19381999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1939
1940 From Art Haas <ahaas@neosoft.com>:
1941 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1942 when doing arm or hp style.
1943 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 1944
89f602a7
MK
1945Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1946
1947 * pexecute.c (__CYGWIN32__): Rename to
1948 (__CYGWIN__): this.
1949 * xmalloc.c: Likewise.
1950
1951 Changes to support i386-pc-uwin.
1952 * configure.in (*-*-uwin*): Workaround for vfork bug.
1953 * configure: Regenerate.
1954 * pexecute.c (pexecute): Be like standard Unix.
1955 (pwait): Likewise.
1956 * xmalloc.c (first_break): Define.
1957 (xmalloc_set_program_name): Use.
1958 (xmalloc): Use.
1959
9346c824
FS
1960Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1961
1962 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1963
3510075c
JL
1964Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1965
1966 * config.table: Check cygwin*, not cygwin32*.
1967
8ec65f13
DB
1968Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1969
1970 * Makefile.in: Change mkstemp -> mkstemps.
1971
687361c8
ME
1972Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1973
1974 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1975 * configure.in (funcs): Check for and conditionally add mkstemps to
1976 the list of functions libiberty will provide.
1977 * configure: Rebuilt.
5194cf08 1978
b207e09c
MK
1979Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1980
5194cf08 1981 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
1982 platforms that don't have HZ.
1983 * getruntime.c (HZ): Likewise.
1984
16b4c15e
RH
1985Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1986
1987 * Makefile.in (xstrdup.o): Depend on config.h.
1988
38beb75c
UD
1989Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1990
1991 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1992 freeing it.
1993
7e4311a3
KG
1994Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1995
1996 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1997
3510075c
JL
1998Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1999
2000 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2001 splay-tree.o.
2002
20031999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2004
2005 * configure.in: Require autoconf 2.12.1 or higher.
2006
fb9939b8
MM
20071998-12-30 Michael Meissner <meissner@cygnus.com>
2008
2009 * random.c (NULL): Don't redefine NULL if it is already defined.
2010
087aa398
KG
2011Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2012
2013 * argv.c (buildargv): Cast the result of alloca in assignment.
2014
2015 * choose-temp.c: Include stdlib.h.
38beb75c 2016
087aa398 2017 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
2018 (snarf_numeric_literal): Constify first parameter.
2019 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2020 int, not a char.
087aa398
KG
2021 (demangle_qualifier): Likewise.
2022 (demangle_signature): Cast the argument of a ctype function to
2023 unsigned char.
2024 (arm_pt): Add parens around assignment used as truth value.
2025 (demangle_arm_hp_template): Constify variable `args'.
2026 (do_hpacc_template_const_value): Cast the argument of a ctype
2027 function to unsigned char.
2028 (do_hpacc_template_literal): Remove unused variable `i'.
2029 (snarf_numeric_literal): Constify parameter `args'.
2030 Cast the argument of a ctype function to unsigned char.
2031
2032 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 2033 avoid ambiguous `else'.
38beb75c 2034
087aa398 2035 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
2036 `cstart' and `cend' to unsigned char. Cast the argument of macro
2037 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
2038
2039 * objalloc.c (free): Add prototype.
2040
21f2174d
HPN
2041Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2042
2043 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2044
3510075c
JL
2045Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2046
2047 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 2048 doesn't exist.
3510075c 2049 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 2050
e8fc8222
AM
2051Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2052
2053 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2054 bumping the pointer we read from. Also prepend these codes,
2055 as we do in other places.
2056
3510075c
JL
20571998-12-18 Nick Clifton <nickc@cygnus.com>
2058
2059 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2060 'const char *' in order to match its usage when calling siblings.
2061 (snarf_numeric_literal): Make first arg 'const char **' in order
2062 to match usage.
11a0bb74 2063
f4f30aa1
JL
2064Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2065
11a0bb74
KG
2066 * choose-temp.c: Don't check IN_GCC anymore.
2067
2068 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2069 * memchr.c (memchr): Likewise.
2070 * memcpy.c (memcpy): Likewise.
2071 * memmove.c (memmove): Likewise.
38beb75c 2072
11a0bb74
KG
2073 * mkstemp.c: Don't check IN_GCC anymore.
2074 * pexecute.c: Likewise.
2075 * splay-tree.c: Likewise.
38beb75c 2076
11a0bb74
KG
2077 * strchr.c (strchr): Use `const', not `CONST'.
2078 * strrchr.c (strrchr): Likewise.
2079 * strtol.c (strtol): Likewise.
2080 * strtoul.c (strtoul): Likewise.
2081
70d5ccef
DT
2082Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2083 Elena Zannoni <ezannoni@cygnus.com>
2084 Stan Shebs <shebs@cygnus.com>
2085 Edith Epstein <eepstein@cygnus.com>
2086 Andres MacLeod <amacleod@cygnus.com>
2087 Satish Pai <pai@apollo.hp.com>
2088
2089 * HP aCC demangling support.
2090 * cplus-dem.c
2091 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
2092 demangling correctly when -edg specified; set the demangling style
2093 when user specifies 'edg'. Set strip_underscore to
2094 prepends_underscore, if not HPUXHPPA. Set
2095 current_demangling_style to hp_demangling if HPUXHPPA. Set
2096 current demangling style correctly if the switch is hp. Read
2097 label correctly also in the HP style case.
70d5ccef 2098 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 2099 function.
70d5ccef 2100 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 2101 style for this case is the same as ARM.
70d5ccef
DT
2102 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2103 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
2104 demangle_arm_pt.); check and set value of temp_start field in
2105 multiple places. Also, when ceching for end of template args,
2106 check to see if at end of static member of template class.
70d5ccef 2107 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 2108 include template args in string defining class.
70d5ccef
DT
2109 (demangle_class_name): use demangel_arm_hp_template.
2110 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
2111 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2112 Handle EDG_DEMANGLING style. Handle constructor and destructor
2113 ops for HP style.
70d5ccef 2114 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
2115 styles. global destructor and constructor for HP style are same
2116 as for ARM style. Same for local variables.
70d5ccef
DT
2117 (demangle_qualified): handle EDG_DEMANGLING style.
2118 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
2119 cases '1' - '9' : initialize the temp_start field to -1 and handle
2120 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2121 and AUTO_DEMANGLING styles. If expecting a function and managed
2122 to demangle the funct args, then handle the LUCID_DEMANGLING,
2123 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2124 class name after "Lnnn_ in HP style case. HP style too needs to
2125 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 2126 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 2127 value param for HP/aCC.
70d5ccef 2128 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 2129 literal parameter for HP aCC.
70d5ccef
DT
2130 (recursively_demangle): new function
2131 (snarf_numeric_literal): new function.
2132 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 2133 to message.
70d5ccef 2134
8d525fa8
CF
2135Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2136
2137 * pexecute.c: Remove obsolete ifdefed cygwin code.
2138
9b1a92d8
KG
2139Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2140
2141 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2142 * cplus-dem.c: Likewise. Conform to libiberty.h.
2143 * pexecute.c: Likewise.
2144 * splay-tree.c: Likewise.
2145
c85c3232
MS
21461998-11-25 Mike Stump <mrs@wrs.com>
2147
2148 * Makefile.in (splay-tree.o): Add config.h dependency.
2149
35a6cd99
KG
2150Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2151
2152 * configure.in: Use AC_PREREQ(2.12.1).
2153
6e6e34b7
BK
21541998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2155
5194cf08 2156 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 2157
59b67c11
JL
2158Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2159
2160 * mpw.c (mpw_access): Add missing parens.
2161
a6458d1d
KG
2162Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2163
2164 * configure.in: Call AC_HEADER_SYS_WAIT.
2165
2166 * pexecute.c: Include sys/wait.h when !IN_GCC.
2167
3510075c
JL
2168Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2169
2170 * pexecute.c: revert back to checking old Cygwin
2171 preprocessor symbol until some time has passed.
2172
2173Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2174
2175 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2176 since it will now support similar constructs.
2177
a9acf741
KG
2178Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2179
2180 * configure.in: Check for calloc.
2181
2182 * calloc.c: New file.
2183
2184 * xmalloc.c (xcalloc): New function.
2185
a49fb37a
AM
2186Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2187
2188 *cplus-dem.c (demangle_prefix): Use the last "__"
2189 in the mangled name when looking for the signature. This allows
2190 template names to begin with "__".
2191
0e714131
MM
21921998-11-08 Mark Mitchell <mark@markmitchell.com>
2193
ec2288ff
MM
2194 * cplus-dem.c (type_kind_t): Add tk_reference.
2195 (demangle_template_value_parm): Handle it.
2196 (do_type): Use it for references, instead of tk_pointer.
2197
0e714131
MM
2198 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2199 not internal_cplus_demangle.
2200
2931b6d4
KG
2201Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2202
2203 * choose-temp.c: Don't include gansidecl.h.
2204 * mkstemp.c: Likewise.
2205 * pexecute.c: Likewise.
2206
dd8f3ed5
GN
2207Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2208
5194cf08
ZW
2209 * configure.in: detect cygwin* instead of cygwin32*
2210 * configure: regenerate
dd8f3ed5 2211
c5f7c445
KG
2212Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2213
2214 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
2215 whether to include config.h. Possibly include unistd.h in the
2216 !IN_GCC case. Define VFORK_STRING as a printable function call
2217 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2218 defined, include vfork.h. If VMS is defined, define vfork()
2219 appropriately. Remove vfork check on USG, we're using autoconf.
2220 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2221 locally what string to use.
c5f7c445 2222
ad3ef78e
MM
22231998-10-26 Mark Mitchell <mark@markmitchell.com>
2224
2225 * splay-tree.c: Tweak include directives to make sure declarations of
2226 xmalloc and free are available.
2227
224301c1
MM
22281998-10-25 Mark Mitchell <mark@markmitchell.com>
2229
2230 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2231 anonymous namespaces.
38beb75c 2232
d9db46fd
MM
22331998-10-23 Mark Mitchell <mark@markmitchell.com>
2234
2235 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2236 with type_quals.
2237 (TYPE_UNQUALIFIED): New macro.
2238 (TYPE_QUAL_CONST): Likewise.
2239 (TYPE_QUAL_VOLATILE): Likewise.
2240 (TYPE_QUAL_RESTRICT): Likewise.
2241 (code_for_qualifier): New function.
2242 (qualifier_string): Likewise.
2243 (demangle_qualifier): Likewise.
2244 (internal_cplus_demangle): Use them.
2245 (demangle_signature): Likewise.
2246 (demangle_template_value_parm): Likewise.
2247 (do_type): Likewise.
2248 (demangle_fund_type)): Likewise.
224301c1 2249
b056ad1c
KG
2250Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2251
2252 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2253 to match prototype.
2254
ed87f9c8
MM
22551998-10-21 Mark Mitchell <mark@markmitchell.com>
2256
2257 * splay-tree.c: New file.
2258 * Makefile.in (CFILES): Add it.
2259 (REQUIRED_OFILES): Likewise.
2260 (splay-tree.o): Add dependencies.
2261
e0c13971
AS
2262Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2263
2264 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2265 range of 'K' index.
2266
91e0f659
KG
2267Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2268
2269 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2270
2271 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2272 `unsigned char'.
2273 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2274 comparing against one.
2275 (cplus_mangle_opname): Likewise.
2276 (demangle_integral_value): Cast argument of ctype macro to
2277 `unsigned char'.
2278 (demangle_template_value_parm): Likewise.
2279 (demangle_template): Initialize variable `bindex'. Cast the
2280 result of `strlen' to (int) when comparing against one. Remove
2281 unused variable `start_of_value_parm'.
2282 (demangle_class_name): Cast the result of `strlen' to (int) when
2283 comparing against one.
2284 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2285 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2286 when comparing against one.
2287 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2288 (get_count): Likewise.
2289 (do_type): Likewise. Cast the result of `strlen' to (int) when
2290 comparing against one.
2291 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2292 (demangle_function_name): Cast the result of `strlen' to (int)
2293 when comparing against one.
2294
2295 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2296 comparing against one.
2297
73aeb2ff
JL
2298Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2299
5194cf08
ZW
2300 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2301 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2302 * config.in, configure: Rebuilt.
ae76f1be 2303
73aeb2ff
JL
2304 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2305 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2306 * config.in, configure: Rebuilt.
2307
dd8f3ed5
GN
2308Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2309
5194cf08 2310 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 2311
f77d8413
MT
2312Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2313
2314 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2315
ca6b370d
JL
2316Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2317
2318 * Merge egcs & devo libiberty.
2319
ab4856b1
ML
2320