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