]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
fix typo
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
89a5385c 12002-01-31 Phil Edwards <pme@gcc.gnu.org>
2
3 * cp-demangle.c: Revert yesterday's change.
4
da383dd4 52002-01-31 Adam Megacz <adam@xwt.org>
6
7 * gcc/libiberty/configure.in: Treat mingw the same as cywin
8 wrt HAVE_SYS_ERRLIST.
9
1e72f309 102002-01-30 Phil Edwards <pme@gcc.gnu.org>
11
12 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
13 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
14 cp_demangle_type.
15 * testsuite/demangle-expected: New gnu-v3 test.
16
2c79f170 172002-01-22 Momchil Velikov <velco@fadata.bg>
18
19 * configure.in (variable detection): Use arrays of unspecified
20 size instead of plain integers.
21
98b6fc70 222002-01-18 DJ Delorie <dj@redhat.com>
23
24 * Makefile.in (TESTLIB): New. This library is for future
25 testsuites.
26 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
27 break down by letter.
28 (REQUIRED_OFILES): List long-to-compile files first.
29 (maint-deps): New, target for updating dependencies.
30 (dependencies): Update.
31 * maint-tool: Add dependency-generating option.
32 * configure.in: Check for _doprnt even if we're not providing it.
33 * configure: Regenerate.
34
35 * _doprnt.c: Modifications to allow compiling on any platform.
36 * copysign.c: Likewise.
37 * putenv.c: Likewise.
38 * setenv.c: Likewise.
39 * vsprintf.c: Likewise.
40
b4eac72f 412002-01-15 Douglas B Rupp <rupp@gnat.com>
42
43 * mkstemps.c (mkstemps): On VMS, open temp file with option
44 that causes it to be deleted when closed.
45
7806d7a4 462002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
47
c077395f 48 * cp-demangle.c (long_options): Const-ify.
49 * cplus-dem.c (long_options): Likewise.
50
7806d7a4 51 * cplus-dem.c (mystrstr): Delete. All callers changed to use
52 strstr instead.
53
936c37fd 542001-12-31 Ira Ruben <ira@apple.com>
55
56 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
57 * configure: Regenerated.
e9894157 58
592001-12-24 Douglas B. Rupp <rupp@gnat.com>
60
61 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
62 * configure: Regenerated.
936c37fd 63
4e3ed534 642001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
65
66 PR other/2719
67 * cplus-dem.c (consume_count): Treat negative count as an error.
68 * testsuite/demangle-expected: Added testcase.
69
8f966bdb 70Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
71
72 * configure.in: Hardcode that vfork works on VMS host.
73 * configure: Regenerated.
74
8d87ccec 752001-12-06 Richard Henderson <rth@redhat.com>
76
77 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
78 (cplus_demangle): Support no_demangling.
79
31972771 802001-11-27 Zack Weinberg <zack@codesourcery.com>
81
82 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
83 in libiberty context. Fix typo in leading comment.
84 * configure.in: Fix various AC_DEFINEs so autoheader works.
85 If any of vprintf, vsprintf, vfprintf is missing from libc,
86 then AC_REPLACE_FUNCS(_doprnt).
87
8e198eb2 882001-11-26 DJ Delorie <dj@redhat.com>
31972771 89 Daniel Jacobowitz <drow@mvista.com>
8e198eb2 90
91 * Makefile.in (stamp-h): Depend on Makefile for proper
92 serialization.
93 (*-subdir): Depend on config.h for proper serialization.
94
c660fab8 952001-11-26 DJ Delorie <dj@redhat.com>
96
97 * configure.in: Check for alloca.h (for regex.c and putenv.c).
98 * configure: Regenerate.
99 * config.h: Add HAVE_ALLOCA_H.
100
43eb13f7 1012001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
102
81cea2ab 103 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
104 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
105 is available.
43eb13f7 106
e9fb7b39 107Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
108
7b190504 109 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
110 * configure.in (HAVE_UINTPTR_T): Test for system defining
111 uintptr_t and define HAVE_UINTPTR_T appropriately.
112 * regex.c (uintptr_t): Do not provide a definition if the
113 system provided one.
114
e9fb7b39 115 * regex.c (PREFIX): Provide an alternate definition for
116 non-ANSI/ISO compilers.
117 (ARG_PREFIX): Likewise.
118
448378fc 1192001-11-12 Jim Meyering <meyering@lucent.com>
120
121 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
122 this code would end up calling gettext even in packages built
123 with --disable-nls.
124 * getopt.c (_): Likewise.
125 * regex.c (_): Likewise.
126
7c9e70dd 1272001-11-03 Alan Modra <amodra@bigpond.net.au>
128
129 * configure.in: Cope with missing makeinfo.
ebfeb892 130 * configure: Regenerate.
7c9e70dd 131
a3493641 1322001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
133
e500d428 134 * hex.c (hex_init): Provide empty stub.
135
a3493641 136 * hex.c (hex_init): Delete.
137 (_hex_value): Const-ify and initialize at compile-time.
138
3de15244 1392001-10-19 H.J. Lu <hjl@gnu.org>
140
141 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
142 necessary.
143
f0ed5ac1 1442001-10-17 DJ Delorie <dj@redhat.com>
145
146 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
147 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
0af1044a 148 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
f0ed5ac1 149 Improve manual formatting.
150 * functions.texi: Regenerate.
151
349e8276 1522001-10-15 DJ Delorie <dj@redhat.com>
153
154 * Makefile.in (TEXIFILES): Add fnmatch.txh.
155 (maint-undoc): New.
156 maint-tool: Add "undoc" tool.
157 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
158 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
159 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
160 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
161 documentation.
162 * fnmatch.txh: New.
163 * functions.texi: Regenerate.
8cc9ccc9 164
8a630ee4 1652001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
166
167 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
168 * strtod.c: Use "ISO C" instead of "ANSI C".
169 * functions.texi: Regenerate.
170
a3a8a3df 1712001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
172
173 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
174 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
175 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
176 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
177 spelling. Give names to function arguments in documentation. Use
178 (void) prototypes in documentation.
179 * functions.texi: Regenerate.
180
542e9271 1812001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
182
183 * argv.c (buildargv, tests, main): Const-ify.
184 * cp-demangle.c (operator_code): Likewise.
185 * cplus-dem.c (optable, libiberty_demanglers,
186 cplus_demangle_set_style, cplus_demangle_name_to_style,
187 print_demangler_list): Likewise.
188 * hashtab.c (higher_prime_number): Likewise.
189 * strcasecmp.c (charmap): Likewise.
190 * strerror.c (error_info, strerror, main): Likewise.
191 * strncasecmp.c (charmap): Likewise.
192 * strsignal.c (signal_info): Likewise.
193
5b7836cc 1942001-09-29 DJ Delorie <dj@redhat.com>
195
196 * configure: Regenerate.
197
e7faea46 1982001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
199
200 * concat.c: Include stdlib.h.
201
997fdf4a 2022001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
203
204 * libiberty.texi: (Top level): Add syncodeindex pg. Add
205 @dircategory and @direntry directives. Add @finalout.
206 (many nodes): Lose the next,prev,up pointers on the @nide line.
207 (Using, Supplemental Functions, Replacement Functions): Fix
208 markup.
209 (Functions): Move around, to allow makeinfo to build the manual
210 without next,prev,up pointers in thye node lines.
211 (Licenses): Fix typos.
212
213 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
214 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
215 * functions.texi: Regenerate.
216
217 * copying-lib.texi: Lose the next,prev,up pointers on the @node
218 line.
219
eb765d0c 2202001-09-27 DJ Delorie <dj@redhat.com>
221
222 * configure.in: Don't use in-tree texinfo, because libiberty must
223 be built before it. Check for makeinfo version 4 or higher.
224 * functions.texi: Regenerate.
8cc9ccc9 225
614a23c6 2262001-09-20 DJ Delorie <dj@redhat.com>
227 Phil Edwards <pedwards@disaster.jaj.com>
8cc9ccc9 228
614a23c6 229 * configure.in (MAKEINFO, PERL): Detect these.
230 (--enable-maintainer-mode): Add.
231 * configure: Regenerate.
232 * Makefile.in (MAKEINFO, PERL): Define.
233 (libiberty.info, libiberty.dvi, libiberty.html): New.
234 (CFILES): Add bsearch.c.
235 (CONFIGURED_OFILES): New, list of objects configure might add.
236 (maint-missing, maint-buildall): New, for maintainers only.
237 (clean, mostlyclean): Add info/dvi/html files.
238 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
239 * gather-docs: New, for maintainers.
240 * maint-tool: New, for maintainers.
241 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
242 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
243 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
244 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
245 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
246 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
247 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
248 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
249 documentation.
8cc9ccc9 250
92f03c00 2512001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
252
253 * concat.c (reconcat): Fix for traditional C.
254
0be2ebc7 2552001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
256
257 * concat.c (reconcat): New function.
258
add62f6a 2592001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
260
9659201a 261 * concat.c (vconcat_length, vconcat_copy, concat_length,
262 concat_copy, concat_copy2): New functions.
263 (concat): Use vconcat_length/vconcat_copy.
264
add62f6a 265 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
266 Define.
267
2bfbbd2b 2682001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
269
270 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
271 VA_FIXEDARG & VA_CLOSE.
8cc9ccc9 272
2bfbbd2b 273 * vasprintf.c: Check HAVE_STRING_H when including string.h.
274 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
275 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
276
68036f05 2772001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
278
279 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
280
958cb671 2812001-08-23 Ulrich Drepper <drepper@redhat.com>
282
283 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
284
2852001-08-23 Ulrich Drepper <drepper@redhat.com>
286
287 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
288 instead of mbrtowc.
289 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
290 wcslen, and __wcscoll instead of wcscoll.
291
b266b68b 2922001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
293
294 * fibheap.c (fibheap_init, fibnode_init): Remove.
295 (fibheap_new, fibnode_new): Use xcalloc to allocate and
296 initialize memory.
297 (fibheap_insert): Remove check for node allocation failure.
298
c6028964 2992001-08-21 Richard Henderson <rth@redhat.com>
300
301 * Makefile.in (fibheap.o): Depend on config.h.
302 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
303 functions for inlining.
304
3652f680 305Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
306
307 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
308 hosting on cygwin.
309 * configure: Regenerate.
310
95f0a124 3112001-08-20 Andrew Cagney <ac131313@redhat.com>
312
313 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
314 HARRIS_FLOAT_FORMAT.
315 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
316 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
317 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
318 (floatformat_m88110_harris_ext): New float formats.
319
522a00cd 3202001-08-20 Daniel Berlin <dan@cgsoftware.com>
321
322 * fibheap.c: New file. Fibonacci heap.
323
324 * Makefile.in (CFILES): Add fibheap.c.
325 (REQUIRED_OFILES): Add fibheap.o.
326 (fibheap.o): Add dependencies for fibheap.o.
327
6a51e4c4 3282001-08-17 Christopher Faylor <cgf@cygnus.com>
329
330 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
331 * configure: Regenerate.
332
80f07f6c 3332001-08-16 Richard Henderson <rth@redhat.com>
334
335 * hashtab.c (htab_hash_string): New.
336
e9106811 3372001-08-13 Andrew Cagney <ac131313@redhat.com>
338
339 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
340 name.
341
458e9fd0 3422001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
343
344 * regex.c (wcs_regex_compile): Use appropriate string
345 to compare with collating element.
346 Fix the padding for the alignment.
347
da8a7320 3482001-08-10 Andrew Cagney <ac131313@redhat.com>
2bce2a69 349
350 * lbasename.c (lbasename): Change function definition to return a
351 const char pointer.
352
6539a5d8 3532001-08-07 Jason Merrill <jason_merrill@redhat.com>
354
355 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
356 for".
357
2644ae20 3582001-08-03 Richard Henderson <rth@redhat.com>
359
360 * Makefile.in (concat.o): Depend on config.h.
361
6c9ffcbc 3622001-07-30 Andreas Jaeger <aj@suse.de>
363
364 * concat.c: Include "config.h".
365
9f21bac8 3662001-07-30 Andreas Jaeger <aj@suse.de>
367
368 * regex.c: Declare wcs functions only if compiling with
369 MBS_SUPPORT.
370 Don't use #elif for traditional C.
371
3722001-07-23 Ulrich Drepper <drepper@redhat.com>
373
374 * regex.c: Revamp memory allocation for WCHAR functions to
375 not use too much stack.
376
3772001-07-30 Andreas Jaeger <aj@suse.de>
378
379 * regex.c: Declare wcs functions only if compiling with
380 MBS_SUPPORT.
381 Don't use #elif for traditional C.
382
2bbbdf1a 3832001-07-25 Daniel Jacobowitz <drow@mvista.com>
384
385 * Makefile.in (regex.o): Add dependency on config.h.
386
b92e80db 3872001-07-18 Andreas Schwab <schwab@suse.de>
388
389 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
390 underscore character.
391
3922001-07-18 Ulrich Drepper <drepper@redhat.com>
393
394 * regex.c: Limit string length printed in debug messages to 100
395 chars.
396
3972001-07-18 Andreas Jaeger <aj@suse.de>
398
399 * regex.c: Place under LGPL version 2.1.
400
7703a7de 4012001-07-10 Jeff Johnston <jjohnstn@redhat.com>
402
403 * Makefile.in: Add support for regex code.
404 * regex.c: New file.
405
8568af22 4062001-07-05 Mark Klein <mklein@dis.com>
407
408 * Makefile.in: Add ffs.c dependency.
409 * configure.in: Add ffs.c.
410 * ffs.c: New file.
411
c1a60b7d 4122001-06-18 Richard Henderson <rth@redhat.com>
413
414 * concat.c: Include <sys/types.h>.
415
66806be2 4162001-06-11 Loren J. Rittle <ljrittle@acm.org>
417
2778f1dc 418 bootstrap/3106
66806be2 419 * strerror.c (sys_nerr): Hide the OS header version.
420 * strsignal.c (sys_nsig): Likewise.
421
222ce6b9 4222001-06-10 Richard Henderson <rth@redhat.com>
423
424 * concat.c: Include string.h. Fix int vs size_t usage.
425 Simplify the iteration loops. Use memcpy.
426
cb6758b9 4272001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
428
429 * partition.c: Fix misspelling of `implementation'.
430
091eef96 4312001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
432
433 * md5.c (md5_init_ctx): Declare constants as unsigned.
434 (md5_process_block): Likewise.
435
e5f55ef4 4362001-05-07 Zack Weinberg <zackw@stanford.edu>
437
438 * cp-demangle.c (demangle_v3_with_details,
439 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
440 function definition.
441 * ternary.c: Use K+R style function definitions. Use PTR, not
442 void *. Make arguments constant where possible.
443
c99b4ef9 4442001-05-07 Mark Mitchell <mark@codesourcery.com>
445
446 * splay-tree.h (splay_tree_max): New function.
447 (splay_tree_min): Likewise.
448
eec19420 4492001-04-15 Daniel Berlin <dan@cgsoftware.com>
450
451 * ternary.c: New file - Ternary search tree implementation.
452
453 * Makefile.in: Add ternary.o, and ternary.c dependencies.
454
673b6e5a 4552001-04-03 Zack Weinberg <zackw@stanford.edu>
456
457 * make-temp-file.c (try): Inline.
458
b8f02fb2 4592001-02-28 Richard Henderson <rth@redhat.com>
460
461 * Makefile.in (make-temp-file.o): Depend on config.h.
462
b130ede9 4632001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
464
465 * memchr.c (memchr): Adjust condition to avoid infinite loop.
466
5a4fcef0 4672001-03-23 Jakub Jelinek <jakub@redhat.com>
468
469 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
470 `_' not followed by a digit is invalid.
471
c83c8218 4722001-03-22 Jim Blandy <jimb@redhat.com>
473
474 * cp-demangle.c (string_list_delete): Use dyn_string_delete
475 instead of free, to free the contents as well as the string
476 structure.
477
7e660a1b 4782001-03-21 Zack Weinberg <zackw@stanford.edu>
479
480 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
481 Don't default P_tmpdir to anything. Try /var/tmp before
482 /usr/tmp.
483
e6351181 4842001-03-20 Zack Weinberg <zackw@stanford.edu>
485
486 * choose-temp.c: Split off make_temp_file, and the code
487 duplicated between it and choose_temp_base, into...
488 * make-temp-file.c: ... here; new file.
489
490 * Makefile.in (CFILES): Add make-temp-file.c.
491 (REQUIRED_OFILES): Add make-temp-file.o.
492
3a18c9fc 4932001-03-20 Jim Blandy <jimb@redhat.com>
494
495 * cp-demangle.c (struct demangling_def): New fields:
496 is_constructor and is_destructor.
497 (demangling_new): Initialize them.
498 (demangle_ctor_dtor_name): Set them, if we detect a constructor
499 or destructor.
500 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
501 is_gnu_v3_mangled_dtor): New functions.
502
d219f684 5032001-03-20 Jason Merrill <jason@redhat.com>
504
505 * cplus-dem.c (main): Skip initial $.
506
dfc58e62 5072001-03-15 Michael Meissner <meissner@redhat.com>
508
509 * hashtab.c (higher_prime_number): Silence warning that 4294967291
510 might be a signed integer under pre-ISO C systems.
511
0bce9b89 5122001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
513 John David Anglin <dave@hiauly1.hia.nrc.ca>
514
515 * libiberty/lbasename.c: New file.
516 * libiberty/Makefile.in: Update for lbasename.
517
012f1707 5182001-03-06 Zack Weinberg <zackw@stanford.edu>
519
520 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
521 * configure.in: Replace all alloca logic with a simple use of
522 the above new macro.
523 * config.table: Kill *-*-beos* entry.
524 * config/mh-beos: Delete.
525 * configure, config.in: Regenerate.
526
527 * Makefile.in (ALLOCA, HFILES): Kill.
528 (REQUIRED_OFILES): Add alloca.o.
529 (alloca.o): Depend on libiberty.h.
530 (argv.o): Don't depend on alloca-conf.h.
531 * alloca-conf.h: Delete.
532 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
533 blocks. Provide the C alloca unconditionally. Use PTR where
534 appropriate. Make i00afunc static.
535 * argv.c: Don't include alloca-conf.h.
536
163369e7 5372001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
538
539 * cplus-dem.c (main): Cast enum style to int.
540
39fb1bb6 5412001-02-16 Loren J. Rittle <ljrittle@acm.org>
542
543 * cplus-dem.c (main): Initialize style.
544
bace101a 5452001-02-02 Phil Edwards <pme@sources.redhat.com>
546
547 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
548
1c1033dd 5492001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
550
551 Add support for Java demangling under the v3 ABI:
552 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
553 (struct demangling_def): Add `style' field.
554 (demangling_new): New parameter `style'. Set it in demangling_t.
555 (demangle_prefix): Use NAMESPACE_SEPARATOR.
556 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
557 (cp_demangle): New parameter `style'. Pass it to demangling_new().
558 (main): Call cp_demangle with extra parameter.
559 (java_demangle_v3): New function.
560 (java_builtin_type_names): New. Table of primitive type names used
561 for Java demangling.
562 (demangle_builtin_type): Look up in java_builtin_type_names if doing
563 Java output.
012f1707 564 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1c1033dd 565 demangling.
566 (long_options): Remove obsolete `java' option.
567 (main): Remove explicit handling of `java' option. Instead, pass style
568 parameter in cplus_demangle flags as gdb does.
569 * testsuite/demangle.expected: Add some Java test cases.
570
fec9182b 5712000-12-29 DJ Delorie <dj@redhat.com>
572
573 * fnmatch.c: Make the note about the origins of this file more
574 accurate, at least until we can sync with glibc.
575 * getopt.c: Ditto.
576 * getopt1.c: Ditto.
577 * md5.c: Ditto.
578 * obstack.c: Ditto.
579
5b9c32cc 5802000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
581
582 * bsearch.c: New file.
583 * configure.in (funcs): Add bsearch.
584 (AC_CHECK_FUNCS): Likewise.
585 * configure, config.in: Regenerate.
586
a973e2b1 5872000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
588
589 * safe-ctype.c: #include "ansidecl.h".
590 * strtod.c: Likewise.
591
14282c1a 5922000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
593
594 * strtoul.c: Include safe-ctype.h, not ctype.h.
595
93ce8ce4 5962000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
597
598 * safe-ctype.c: New file.
599 * Makefile.in (CFILES): Add safe-ctype.c.
600 (REQUIRED_OFILES): Add safe-ctype.o.
601
602 * argv.c: Define ISBLANK and use it, not isspace.
603 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
604 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
605 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
606 before calling TOLOWER(c)/TOUPPER(c).
607
be6afa8f 6082000-12-07 Mike Stump <mrs@wrs.com>
e5fb0a98 609
610 * Makefile.in (distclean): When cleaning, remove testsuite.
611
cf0ad6a8 6122000-12-05 Jason Merrill <jason@redhat.com>
613
614 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
615 name before allocating the dyn_string.
616
bb505139 6172000-12-04 Jason Merrill <jason@redhat.com>
618
619 * cp-demangle.c: s/new_abi/v3/.
620 * cplus-dem.c: Likewise.
621 (current_demangling_style): Now auto_demangling.
622 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
93ce8ce4 623 (main): Use standard symbol chars for auto_demangling.
bb505139 624
54b3a5af 6252000-11-26 Mark Mitchell <mark@codesourcery.com>
626
627 * hashtab.c (higher_prime_number): Use a table, rather than a
628 seive, to find the next prime.
629
9628d706 6302000-11-22 H.J. Lu <hjl@gnu.org>
631
632 * cplus-dem.c (main): Handle gnat_demangling.
633
ec255163 6342000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
635
636 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
637 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
638 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
639 argument form of AC_DEFINE in dummy definitions block. Use
640 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
641 in dummy block. Preload cache variables instead of bypassing
642 tests, where possible.
643 * acconfig.h: Removed.
644
645 * xmalloc.c (xmalloc_failed): New function, does error
646 reporting on failed allocation.
647 (xmalloc, xcalloc, xrealloc): Use it.
648
626946fb 6492000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
650
651 * cplus-dem.c (cplus_demangle): Fix formatting.
652 (grow_vect): Ditto.
653 (ada_demangle): Ditto.
654 (internal_cplus_demangle): Ditto.
655 (mop_up): Ditto.
656
6572000-11-21 H.J. Lu <hjl@gnu.org>
658
659 * cplus-dem.c (main): Handle java_demangling.
660
918a89ef 6612000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
662
663 * cplus-dem.c (grow_vect): Prototype.
664 (ada_demangle): Cast the arg of ctype macros to unsigned char.
665
582f72ad 6662000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
667
668 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
669 parameter `option'.
670
0d6e3c59 6712000-11-15 Kenneth Block <kenneth.block@compaq.com>
672
42ded3a1 673 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0d6e3c59 674 be used in GCC.
675
9df8b754 6762000-11-15 Kenneth Block <kenneth.block@compaq.com>
d7c1c148 677
582f72ad 678 * cplus-dem.c: Add gnat demangler. Add java to demangle style
d7c1c148 679 list.
680
e4c2dc6e 6812000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
682
683 * hashtab.c (htab_expand): Change to return int. Use calloc or
9f21bac8 684 xcalloc depending on htab->return_allocation_failure. Return zero
685 if calloc fails.
e4c2dc6e 686 (htab_create): Update comment to cover memory allocation.
687 (htab_try_create): New.
688 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
9f21bac8 689 Update comment to cover this.
e4c2dc6e 690
696d6593 6912000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
692
693 * hashtab.c: Change void * to PTR where necessary.
694 (htab_create, htab_expand): Correct formatting of comment before
695 function.
696
8f2b45d4 6972000-10-22 Alex Samuel <samuel@codesourcery.com>
f99edf23 698
699 * cp-demangle.c (string_list_def): Add caret_position and comments.
700 (result_caret_pos): New macro.
701 (result_append_string): Rename to...
702 (result_add_string): ... this, and insert at caret position.
ec255163 703 Rename throughout.
f99edf23 704 (result_append): Rename to...
705 (result_add): ... this, and insert at caret position. Rename
ec255163 706 throughout.
f99edf23 707 (result_append_char): Rename to...
708 (result_add_char): ... this, and insert at caret position. Rename
ec255163 709 throughout.
f99edf23 710 (result_append_space): Remove.
711 (string_list_new): Initialize caret position.
712 (result_add_separated_char): Use caret position.
713 (result_get_caret): New funtion.
714 (result_set_caret): Likewise.
715 (result_shift_caret): Likewise.
716 (result_previous_char_is_space): Likewise.
717 (substitution_start): Use caret position.
718 (substitution_add): Likewise.
719 (demangling_new): Initialize caret position.
720 (demangle_encoding): Use caret position.
ec255163 721 (demanglin_nested_name): Put CV qualifiers after name.
f99edf23 722 (demangle_type_ptr): Use switch statement. Handle pointers to
723 arrays. Don't use result_append_space. Use caret position.
724 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ec255163 725 call to demangle_array_type.
726 (demangle_array_type): Add parameter to handle pointers to arrays.
727
a4e59c31 7282000-10-01 Mark Mitchell <mark@codesourcery.com>
729
730 * splay-tree.c (splay_tree_insert): Fix formatting.
731
e41f0d80 7322000-09-16 Mark Mitchell <mark@codesourcery.com>
733
734 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
735
83d86ada 7362000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
737
738 * splay-tree.c: #include <stdio.h>.
739
78631810 7402000-09-14 Hans-Peter Nilsson <hp@axis.com>
741
742 * testsuite/demangle-expected: Add two tests for anonymous
743 namespaces.
744 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
745
508f18c8 7462000-09-10 Mark Mitchell <mark@codesourcery.com>
747
748 * splay-tree.c (splay_tree_predecessor): New function.
749 (splay_tree_successor): Likewise.
750
1a2d2193 7512000-09-10 Hans-Peter Nilsson <hp@axis.com>
752
753 * testsuite/demangle-expected: Add four tests for type_info
754 mangling.
1a2d2193 755 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
756 for a non-template non-qualified type_info function or node.
757
09656987 7582000-09-08 Alex Samuel <samuel@codesourcery.com>
759
760 * cp-demangle.c: Fix copyright banner.
761
7cc2d24b 7622000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
763
764 * md5.c: #include "ansidecl.h".
765
b83e8722 7662000-09-06 Alex Samuel <samuel@codesourcery.com>
767
768 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
769 (demangle_type): Handle substitution candidates correctly in the
770 face of special substitutions.
771
cf70278e 7722000-09-05 Alex Samuel <samuel@codesourcery.com>
773
774 * cp-demangle.c (demangle_encoding): Rename variable.
775 (demangle_name): Rename parameter. Handle return type
776 suppression.
777 (demangle_nested_name): Rename parameter.
778 (demangle_prefix): Likewise. Change return type suppression.
779 (demangle_unqualified_name): Add parameter. Flag constructors and
780 conversion operators.
781 (demangle_special_name): Fix comment.
782 (demangle_type): Rename variable.
783 (demangle_bare_function_type): Check for missing return type and
ec255163 784 parameter.
cf70278e 785 (demangle_class_enum_type): Rename parameter.
786 (demangle_discriminator): Fix misspelling in comment.
787
4aabc076 7882000-08-31 DJ Delorie <dj@redhat.com>
789
790 * configure.in (Cygwin): special case cygwin only when we're
791 building cygwin, not when we're hosting cygwin.
792
804ddfd1 7932000-09-04 Alex Samuel <samuel@codesourcery.com>
794
795 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
ec255163 796 <expression>.
797
e015a852 7982000-09-04 Alex Samuel <samuel@codesourcery.com>
799
800 * cp-demangle.c (demangle_type_ptr): Increment position past
801 pointer and reference characters.
802
2b6805b4 8032000-09-04 Alex Samuel <samuel@codesourcery.com>
804
805 * cp-demangle.c (demangle_nv_offset): New function.
806 (demangle_v_offset): Likewise.
807 (demangle_call_offset): Likewise.
808 (demangle_special_name): Update thunk demangling to comply with
809 ABI changes.
ec255163 810
40e00cb0 8112000-09-03 Alex Samuel <samuel@codesourcery.com>
812
813 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
814 (substitution_def): Remove template_parm_number.
815 (NOT_TEMPLATE_PARM): Remove.
816 (result_insert_string): New macro.
817 (result_insert): Likewise.
818 (result_insert_char): Likewise.
819 (substitution_add): Remove last parameter. Don't store template
ec255163 820 parm number.
40e00cb0 821 (BFT_NO_RETURN_TYPE): Define as NULL.
822 (demangle_encoding): Adjust call to demangle_bare_function_type.
823 (demangle_name): Adjust substitution. Adjust call to
ec255163 824 substitution_add.
40e00cb0 825 (demangle_prefix): Adjust call to substitution_add.
826 (demangle_identifier): Handle anonymous namespaces.
827 (demangle_operator_name): Change demangling of vendor-extended
828 operator to match ABI changes.
829 (demangle_type_ptr): Change parameters. Make recursive. Handle
ec255163 830 substitutions here.
40e00cb0 831 (demangle_type): Adjust calls to demangle_template_param,
832 substitution_add, and demangle_type_ptr. Fix substitution of
833 templated types.
834 (demangle_function_type): Change parameter to a pointer.
835 (demangle_bare_function_type): Likewise. Adjust insertion point.
836 (demangle_template_param): Remove last parameter.
837 (demangle_expr_primary): Remove unused variable. Adjust call to
ec255163 838 demangle_template_param.
40e00cb0 839 (is_mangled_char): Accept `$' and `.'.
840 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
841 * dyn-string.c (dyn_string_insert_char): New function.
842
01f404a2 8432000-08-31 Hans-Peter Nilsson <hp@axis.com>
844
845 * testsuite/demangle-expected: Add nine tests for
846 underscore-after-number followed by five tests for name-signature
847 delimiter.
848
d74245d4 8492000-08-28 Richard Henderson <rth@cygnus.com>
850
851 * Makefile.in (md5.o): Depend on config.h.
852
19f716e5 8532000-08-28 Jason Merrill <jason@redhat.com>
854
855 * Makefile.in (REQUIRED_OFILES): Add md5.o.
856 (CFILES): Add md5.c.
857 * md5.c: New file.
858
f8aeab41 8592000-08-27 Alex Samuel <samuel@codesourcery.com>
860
861 * cp-demangle.c (demangle_name): Initialize template_p in local
862 name case. Don't re-add substitutions as candidates.
863 (demangle_nested_name): Use <unqualified-name>.
864 (demangle_prefix): Likewise. Don't add template names as
865 substitution candidates twice, or re-add a substitution or the
866 last prefix component.
867 (demangle_local_name): Adjust output format.
868
62c2feed 8692000-08-25 Alex Samuel <samuel@codesourcery.com>
870
871 * cp-demangle.c (result_add_separated_char): Change parameter to
872 int.
873 (substitution_add): Don't check for duplicates. Check if
874 previously allocated size is zero.
875 (demangle_name): Remove duplicate check for std substitution.
876 Clear template flag appropriately.
877 (demangle_prefix): Remove argument to demangle_substitution.
878 Don't check that template flag is already set.
879 (demangle_operator_name): Add pt operator.
880 (demangle_type): Don't treat r as built-in type. Remove argument
881 to demangle_substitution. Fix substitution candidate mechanics.
882 Handle <template-template-parm>s. Improve comments.
ec255163 883 (demangle_template_param): Don't handle template arg lists here.
62c2feed 884 (demangle_substitution): Remove parameter.
885 (print_usage): Remove extra fprintf option.
886
ee1d4c3d 8872000-08-24 Greg McGary <greg@mcgary.org>
888
889 * libiberty/random.c (end_ptr): Revert previous change.
890
f0bff53d 8912000-08-24 Greg McGary <greg@mcgary.org>
892
893 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
894 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
895 * libiberty/random.c (end_ptr): Likewise.
896
c1b316c0 8972000-08-23 Alex Samuel <samuel@codesourcery.com>
898
899 * cp-demangle.c (result_close_template_list): Remove function.
900 (result_add_separated_char): New function.
901 (result_open_template_list): New macro.
902 (result_close_template_list): Likewise.
903 (demangle_prefix): Don't set template_p if the
904 prefix ends with a ctor name.
905 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
906 (demangle_type): Check for template args after substitution.
907 (demangle_template_args): Use result_open_template_list.
ec255163 908
385b48fc 9092000-08-02 Zack Weinberg <zack@wolery.cumb.org>
910
911 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
912
ec255163 9132000-07-26 Dave Pitts <dpitts@cozx.com>
ba886691 914
915 * config/mh-openedition.h: Added -DLE370 definition.
916
8fc0efd2 9172000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
918
919 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
920 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
921 Cast program to 'char *' in errmsg_arg assignment.
922 (PWAIT_ERROR): Define.
923 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
924 to DJGPP's WIF* macros.
925
a1d4f79a 9262000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
927 Jeff Law <law@cygnus.com>
928
98b4c197 929 * getcwd.c: Include string.h, stdlib.h for prototypes
930
a1d4f79a 931 * Makefile.in (rename.o, waitpid.o): Depend on config.h
98b4c197 932 * rename.c: Include config.h, unistd.h
933 * waitpid.c: Include config.h, sys/wait.h
a1d4f79a 934
01f404a2 9352000-07-24 Hans-Peter Nilsson <hp@axis.com>
936
937 * cplus-dem.c (work_stuff_copy_to_from): New.
938 (delete_non_B_K_work_stuff): New.
939 (delete_work_stuff): New.
940 (mop_up): Break out work_stuff partly destruction to
941 delete_non_B_K_work_stuff.
942 (iterate_demangle_function): New.
943 (demangle_prefix): Call iterate_demangle_function instead of
944 demangle_function_name. Leave handling of name-signature
945 __-delimiters to iterate_demangle_function.
946 (demangle_integral_value): Strip an optional
947 following underscore cautiously. Handle negative numbers.
948
f2e5a608 9492000-07-24 Daniel Berlin <dberlin@redhat.com>
950
ec255163 951 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
f2e5a608 952 if (AUTO_DEMANGLING || GNU_DEMANGLING)
953
65bcf503 9542000-07-21 Alex Samuel <samuel@codesourcery.com>
955
956 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
957 allocating ctor mangling.
958 (demangle_array_type): Handle empty and non-constant array length.
959
68e6b6e1 9602000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a451eef0 961 Jeff Law <law@cygnus.com>
962
1a163ca8 963 * configure.in (AC_CHECK_HEADERS): Add time.h.
964 (AC_HEADER_TIME): Add check.
965 * configure, config.in: Regenerate.
966 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
967
a451eef0 968 * configure.in (AC_CHECK_HEADERS): Add limits.h.
969 * configure, config.in: Regenerate.
970 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
971 * strtol.c, strtoul.c: #include "config.h". Portably #include
972 <limits.h> and/or <sys/param.h>.
973 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
68e6b6e1 974
fb758229 975 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
976 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
977 * configure, config.in: Regenerate.
978 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
979
68e6b6e1 980 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
981
ad46fec4 9822000-07-21 Mike Stump <mrs@wrs.com>
983
984 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
7b23d366 985 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
ad46fec4 986
bb37062f 9872000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
988
989 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
990
991 * setenv.c (setenv): Initialize variable `ep'.
992
993 * sigsetmask.c (abort): Prototype.
994
995 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
996 __STDC__ for stdarg.h include.
997 (int_vasprintf): Prototype.
998 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
999 definition. Cast `global_total_width' in comparison.
1000 (main): Prototype. Return a value.
1001
1002 * vfork.c (fork): Prototype.
1003
1004 * xexit.c: Include config.h.
1005
6cb730c2 10062000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1007
1008 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1009 and print it with %u.
1010
e42d7fe1 10112000-07-17 Hans-Peter Nilsson <hp@axis.com>
1012
1013 * testsuite/regress-demangle (failed test): Show result and
1014 expected output.
1015
04ef60ef 10162000-07-07 Andrew Haley <aph@cygnus.com>
1017
1018 * cplus-dem.c (main): fflush() after emitting last char before
1019 waiting for input.
1020
b7f68aff 10212000-06-28 Alex Samuel <samuel@codesourcery.com>
1022
1023 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1024 (demangle_name): Handle <substitution> followed by
1025 <unqualified-template-name>.
1026 (demangle_type): Follow special substitutions with
1027 <class-enum-type>
1028 (demangle_subtitution): Set template_p for special substitutions.
1029 (main): Fix typos.
ec255163 1030
597f928d 10312000-06-27 Alex Samuel <samuel@codesourcery.com>
1032
1033 * cp-demangle.c (demangle_special_name): Swap base and derived
1034 class when demangling construction vtables.
1035
140d75d7 10362000-06-21 Alex Samuel <samuel@codesourcery.com>
1037
1038 * cp-demangle.c: Don't include ctype.h.
1039 (IS_DIGIT): New macro.
1040 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1041 instead of isdigit and isalpanum.
1042 (demangling_def): Make name and next const pointers.
1043 (STATUS_ALLOCATION_FAILED): New status code.
1044 (dyn_string_append_space): Handle failure in
1045 dyn_string_append_char.
1046 (int_to_dyn_string): Likewise. Change return value to status_t.
1047 (string_list_new): Handle failure of dyn_string_init.
1048 (result_close_template_list): Change return type to status_t.
1049 Handle failure in dyn_string_append.
1050 (result_push): Change return value to status_t. Handle failure in
1051 string_list_new. Handle failure of result_push throughout.
1052 (substitution_add): Change return value to status_t. Handle
1053 dyn_string failures. Handle failure of substitution_add
1054 throughout.
1055 (template_arg_list_new): Return NULL on allocation failure.
1056 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1057 Handle error result throughout.
1058 (result_append): Likewise.
1059 (result_append_char): Likewise.
1060 (result_append_space): Likewise.
1061 (demangling_new): Make argument a const pointer. Handle
1062 allocation failures.
1063 (demangle_template_args): Handle failure in template_arg_list_new
1064 and result_close_template_list.
1065 (demangle_discriminator): Return if int_to_dyn_string fails.
1066 (cp_demangle): Likewise.
1067 (cp_demangle_type): New function.
1068 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1069 memory allocation failure.
1070 (main): Likewise.
1071 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1072 IN_LIBGCC2.
1073 (dyn_string_init): Change return value to int. Handle
1074 RETURN_ON_ALLOCATION_FAILURE case.
1075 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1076 (dyn_string_release): Delete the dyn_string.
1077 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1078 (dyn_string_copy): Change return type to int.
1079 (dyn_string_copy_cstr): Likewise.
1080 (dyn_string_prepend): Likewise.
1081 (dyn_string_prepend_cstr): Likewise.
1082 (dyn_string_insert): Likewise.
1083 (dyn_string_insert_cstr): Likewise.
1084 (dyn_string_append): Likewise.
1085 (dyn_string_append_cstr): Likewise.
1086 (dyn_string_append_char): Likewise.
1087 (dyn_string_substring): Likewise.
ec255163 1088
210aba33 10892000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1090
1091 * cp-demangle.c (demangle_operator_name): Add spaces before
1092 names beginning with a letter: delete, delete[], new, new[],
1093 sizeof.
1094 (demangle_special_name): Handle TF <type> and TJ <type>.
1095
0b4450c1 1096Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1097
1098 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1099
e5d6924a 1100Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1101
1102 * cp-demangle.c (stdio.h): File included unconditionaly.
1103 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1104 * dyn-string.c (stdio.h): File included.
1105 * partition.c (partition_print): No `&' needed to take the address of
1106 a function.
1107
da8bd873 11082000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1109
1110 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ec255163 1111
da8bd873 1112 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1113
1114 * cp-demangle.c (demangle_char): Change parameter from char to int.
1115 (demangle_expression, demangle_expr_primary): Remove extra
1116 semi-colon in prototype.
1117
1118 * dyn-string.c (dyn_string_append_char): Change parameter from
1119 char to int.
1120
1121 * memcmp.c (memcmp): Constify.
1122
1123 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1124 __extension__.
1125
1126 * partition.c (elem_compare): Prototype. Don't cast away
1127 const-ness.
1128
1129 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ec255163 1130
4b7bc488 11312000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1132
1133 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1134
1135 * cp-demangle.c: Include demangle.h.
1136 (template_arg_list_new): DeANSIfy.
1137 (cp_demangle): Make static and add prototype.
1138 (operator_code, operators): Constify.
1139 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1140
7ae7b54c 11412000-06-05 Alex Samuel <samuel@codesourcery.com>
1142
1143 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1144 unsigned char.
1145 (demangle_unqualified_name): Likewise.
1146 (demangle_number_literally): Likewise.
1147 (demangle_type): Likewise.
1148 (demangle_substitution): Likewise.
1149 (is_mangled_char): Likewise, for isalnum.
1150
168d63e5 11512000-06-04 Alex Samuel <samuel@codesourcery.com>
1152
1153 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1154 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1155 (cp-demangle.o): New dependency.
1156 (dyn-string.o): Likewise.
1157
1158 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1159
1160 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1161 demangler.
1162 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1163 demangling mode.
1164 (gnu_new_abi_symbol_characters): New function.
1165 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1166 file.
1167 * cp-demangle.c: New file.
ec255163 1168
b5495c1d 1169Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1170
1171 * floatformat.c: Add name to each floatformat field.
1172
8fab1737 1173Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1174
1175 * Makefile.in (objalloc.o): Depend on config.h
1176
317ab997 11772000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1178
1179 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1180 if HAVE_STRING_H.
1181 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1182 * objalloc.c: Include config.h. Include stdlib.h and don't
1183 declare malloc or free if HAVE_STDLIB_H.
1184 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1185 else declare malloc without prototype. Include string.h if
1186 HAVE_STRING_H, else declare memset without prototype. Don't
1187 include stddef.h.
1188
874478ba 11892000-05-23 Mike Stump <mrs@wrs.com>
1190
1191 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
9f21bac8 1192 -j3.
874478ba 1193
55de1520 11942000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1195
1196 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1197
e51b357b 11982000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1199
ec255163 1200 * hashtab.c (hash_pointer): Delete low-order bits which are
e51b357b 1201 probably zero, also eliminate a warning on alpha.
1202
9e362499 12032000-05-15 David Edelsohn <edelsohn@gnu.org>
1204
e390e838 1205 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
9e362499 1206 on $(enable_shared).
1207
06c6487f 12082000-05-10 Jakub Jelinek <jakub@redhat.com>
1209
1210 * config.table: Use mh-sparcpic for sparc*-*-*.
1211
0baf89fb 12122000-05-08 Nick Clifton <nickc@cygnus.com>
1213
1214 * Makefile.in (CFILES): Add strncmp.c.
1215 (NEEDED): Add strncmp.
1216
59f72e4d 12172000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1218
1219 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1220 Cast the arguments to `islower' to `unsigned char'.
1221 (print_demangler_list): Prototype.
1222
fb0c90ed 1223Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1224
1225 * sort.c (UCHAR_MAX): Provide fallback definition.
1226
167a5f18 12272000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1228
1229 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1230 SUBDIRS.
1231
6f572555 12322000-04-28 Kenneth Block <block@zk3.dec.com>
1233 Jason Merrill <jason@casey.cygnus.com>
1234
ec255163 1235 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1236 (cplus_demangle_set_style): New function for setting style.
1237 (cplus_demangle_name_to_style): New function to translate name.
6f572555 1238
b3524c8f 12392000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1240
1241 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1242
1243 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1244 (libiberty_AC_FUNC_STRNCMP): Invoke.
1245
1246 * strncmp.c: New file.
1247
a5f725a3 1248Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1249
1250 * hashtab.c (htab_expand): Add prototype.
1251 (find_empty_slot_for_expand): Likewise.
1252
8afd4145 12532000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1254
1255 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1256 match prototype.
1257 (htab_expand): Cast the return value of xcalloc.
1258
c9dfb8ae 12592000-04-24 Mark Mitchell <mark@codesourcery.com>
1260
1261 * hashtab.c (hash_pointer): New function.
1262 (eq_pointer): Likewise.
1263 (htab_hash_pointer): New variable.
1264 (htab_eq_pointer): Likewise.
1265
85993fc6 12662000-04-23 Mark Mitchell <mark@codesourcery.com>
1267
9517f453 1268 * sort.c (sort_pointers): Fix endianness bugs.
1269
85993fc6 1270 * sort.c: New file.
1271 * Makefile.in (CFILES): Add sort.c
1272 (REQUIRED_OFILES): Add sort.o.
1273 (sort.o): New target.
1274
c9b2f47c 12752000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1276
1277 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1278 4.3BSD systems.
1279
2b3dbc20 1280Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1281
1282 * hashtab.c: Various minor cleanups.
1283 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1284 (htab_find_slot): Likewise.
1285
6ea8a864 12862000-04-16 Dave Pitts <dpitts@cozx.com>
1287
1288 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ec255163 1289
105211e5 12902000-04-05 Richard Henderson <rth@cygnus.com>
1291
1292 * splay-tree.c (splay_tree_remove): New.
1293
7669680f 12942000-03-30 Mark Mitchell <mark@codesourcery.com>
1295
1296 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1297 codes.
1298 (htab_find_with_hash): Likewise.
1299 (htab_find_slot_with_hash): Likewise.
ec255163 1300
07c797e3 13012000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1302
1303 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1304 unless it will be used. Rearrange loop for better
1305 optimization.
1306 (higher_prime_number): Add static prototype.
1307
8ef1b8d1 1308Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1309
1310 * Makefile.in (partition.o): Depend on config.h
1311
ed26da85 13122000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1313
1314 * hashtab.c (find_empty_slot_for_expand): New function.
1315 (htab_expand): Use it instead of htab_find_slot.
1316 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1317 argument HASH.
1318 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1319 (htab_find): New wrapper function.
1320 (htab_find_slot): Likewise.
1321 (htab_traverse): Pass slot, not entry, to called function.
1322
dadde703 13232000-03-09 Alex Samuel <samuel@codesourcery.com>
1324
1325 * Makefile.in (CFILES): Add partition.c.
1326 (REQUIRED_OFILES): Add partition.o.
1327 (partition.o): New rule.
1328 * partition.c: New file.
ec255163 1329
3fdd387a 13302000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1331
1332 * hashtab.c (htab_create): Set del_f.
1333 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1334 Use it.
1335
07c967f9 13362000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1337
1338 * hashtab.c: Remove debugging variables (all_searches,
1339 all_collisions, all_expansions). Delete
1340 all_hash_table_collisions.
1341 (create_hash_table, delete_hash_table, empty_hash_table,
1342 find_hash_table_entry, remove_element_from_hash_table_entry,
1343 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1344 hash_table_elements_number, hash_table_collisions): Rename to:
1345 htab_create, htab_delete, htab_empty, htab_find_slot,
1346 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1347 htab_elements, htab_collisions.
1348 (htab_find): New function, handles common case where you don't
1349 plan to add or delete an entry.
1350 (htab_expand): Don't create a whole new table, just a new
1351 entry vector.
1352 (htab_find_slot): Simplify logic.
1353
1f33a375 13541999-08-03 Ian Lance Taylor <ian@zembu.com>
1355
1356 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1357 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1358
1359 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1360 $(TARGETLIB)n so it works on MSDOS.
1361 (install_to_tooldir): Likewise.
1362
13631999-07-21 Ian Lance Taylor <ian@zembu.com>
1364
1365 From Mark Elbrecht:
1366 * makefile.dos: Remove; obsolete.
1367 * configure.bat: Remove; obsolete.
1368
13691999-07-11 Ian Lance Taylor <ian@zembu.com>
1370
1371 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1372 warning.
1373
b99e5aef 13742000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1375
1376 * pexecute.c: Conditionally include string.h.
07c967f9 1377 (fix_argv): Handle embedded whitespace in args for Mingw32.
b99e5aef 1378
6d93ad38 13792000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1380
1381 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1382 we're using gcc.
1383
1384 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1385
59dfb43e 13861999-12-27 Geoff Keating <geoffk@cygnus.com>
1387
1388 * vasprintf.c (int_vasprintf): Don't re-read the format character
1389 as this mishandles strings like '%%s'.
1390
b04bbebb 13911999-12-05 Mark Mitchell <mark@codesourcery.com>
1392
1393 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1394 rather than struct splay_tree_node.
1395 (splay_tree_insert): Use struct splay_tree_s rather than struct
1396 splay_tree.
1397
d7f8de75 1398Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1399
1400 * hashtab.c (sys/types.h): File included.
1401
7202ac7d 14021999-11-22 Jason Merrill <jason@casey.cygnus.com>
1403
1404 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1405 BSD license, pursuant with
1406
1407 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1408
bd41a79e 1409Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1410
1411 * hashtab.c: Include stdio.h.
1412
b77d3fd0 1413Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1414
1415 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1416
1b4391fe 1417Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1418
1419 * xstrdup (sys/types.h): Include this file.
1420
4bc57096 14211999-10-28 Nathan Sidwell <nathan@acm.org>
1422
1423 * Makefile.in (SUBDIRS): New macro.
1424 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1425 avoid multiple subdirectory cleaning.
1426 (*-subdir): Use SUBDIRS.
1427
9087cad2 14281999-10-25 Jim Kingdon <http://developer.redhat.com/>
1429
1430 * cplus-dem.c: Move declarations of standard_symbol_characters and
1431 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1432 warnings.
1433
21a7d507 14341999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1435
1436 * hashtab.c (find_hash_table_entry): When returning a
1437 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1438 (clear_hash_table_slot): New function which deletes an entry
1439 by its position in the table, not its value.
1440 (traverse_hash_table): New function which calls a hook
1441 function for every live entry in the table.
1442
42c870f1 14431999-10-19 Mark Mitchell <mark@codesourcery.com>
1444
1445 * cplus-dem.c (INTBUF_SIZE): New macro.
1446 (string_append_template_idx): New function.
1447 (demangle_expression): Likewise.
1448 (demangle_integral_value): Use it.
1449 (demangle_real_value): New function, split out from ...
1450 (demangle_template_value_parm): ... here. Use
1451 string_append_template_idx. Use demangle_real_value.
1452 (demangle_template): Use string_append_template_idx.
1453 (demangle_qualified): Use consume_count_with_underscores.
1454 (get_count): Tweak formatting.
1455 (do_type): Use string_append_template_idx.
07c967f9 1456
33b090eb 14571999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1458
1459 * calloc.c: Add a public domain notice.
1460
9879c2ce 1461Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1462
1463 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1464
5da6c26f 1465Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1466
1467 * Makefile.in (CFILES): Add hashtab.c
1468 (REQUIRED_OFILES): Add hashtab.o
1469 (hashtab.o): Add dependencies.
1470 * hashtab.c: New file
1471
be42b79e 1472Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1473
1474 * basename.c (DIR_SEPARATOR): New macro.
1475 (DIR_SEPARATOR_2): Likewise.
1476 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1477 (IS_DIR_SEPARATOR): Likewise.
1478 (main): Handle MSDOS style pathname.
1479
6c65e8d7 14801999-10-11 Mark Mitchell <mark@codesourcery.com>
1481
1482 * cplus-dem.c (do_type): Handle pointer to member types whose
1483 enclosing classes have namespace scope.
1484
278929f3 1485Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1486
1487 * config.table: Provide a backup shell for executing move-if-change.
1488
a7599ac8 14891999-10-02 Mark Mitchell <mark@codesourcery.com>
1490
1491 * xmalloc.c (xmalloc): Fix spelling error.
1492 (xcalloc, xrealloc): Likewise.
1493
4d84eafd 14941999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1495
1496 * cplus-dem.c (fancy_abort, demangle_integral_value,
1497 demangle_arm_hp_template, recursively_demangle,
1498 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1499 (program_name, program_version, fatal): Constify a char*.
1500 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1501 (main): Call return, not exit.
1502
8f376364 15031999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1504
1505 * choose-temp.c: Remove obsolete comment about gcc.
1506 (make_temp_file): Constify a char*.
1507
3a4fff76 1508Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1509
1510 * xmemdup.c: Include sys/types.h.
1511
7570bccb 15121999-09-07 Jeff Garzik <jgarzik@pobox.com>
1513
1514 * xmemdup.c: New xmemdup function.
1515 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1516
b50c7be3 1517Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1518
07c967f9 1519 * config.table: Add openedition target.
b50c7be3 1520 * config/mh-openedition: New file.
1521
fd0c1d22 1522Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1523
1524 * pexecute.c (pexecute): Fill in temp_base when needed.
1525
be342bf0 15261999-08-31 Richard Henderson <rth@cygnus.com>
1527
1528 * getpwd.c: Check HAVE_GETCWD before defining it away.
1529
71774460 15301999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1531
1532 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1533 (REQUIRED_OFILES): Add getpwd.o.
1534 (getpwd.o): Add target.
1535
1536 * configure.in (AC_PREREQ): Bump to 2.13.
1537 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1538
1539 * getpwd.c: New file, moved here from gcc.
1540
ac126d82 15411999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1542
1543 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1544 comparing against a signed quantity.
1545 (arm_special): Likewise.
1546 (demangle_fund_type): Likewise.
1547 (do_hpacc_template_const_value): Mark parameter `work' with
07c967f9 1548 ATTRIBUTE_UNUSED.
ac126d82 1549 (main): Constify variable `valid_symbols'.
1550
4f3b4661 1551Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1552
1553 * strtoul.c (strtoul): Add parentheses around && within ||.
1554
f92ff492 1555Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1556
1557 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1558 libdir, libsubdir and tooldir.
1559
a9f46aed 15601999-08-01 Mark Mitchell <mark@codesourcery.com>
1561
1562 * splay-tree.c (splay_tree_insert): Return the new node.
1563
db081298 15641999-07-14 Richard Henderson <rth@cygnus.com>
1565
07c967f9 1566 * argv.c: Include stdlib.h and string.h instead of
db081298 1567 prototyping directly.
1568 * choose-temp.c: Conditionally include string.h.
1569
e5aa3a54 15701999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1571
1572 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1573
4ef402f7 15741999-07-11 Ian Lance Taylor <ian@zembu.com>
1575
1576 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1577 warning.
1578
d65034bd 15791999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1580
1581 * Makefile.in (needed-list): Only include stuff we actually need
1582 for libstdc++.
1583
18912799 15841999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1585
1586 * configure.in (checkfuncs): Add gettimeofday.
1587 * config.in, configure: Regenerated.
1588
d96f58b6 1589Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1590
1591 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1592 the test fails.
1593 * configure: Regenerate.
1594
4248b202 15951999-06-10 Mike Stump <mrs@wrs.com>
1596
1597 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1598 parallel builds.
1599
3c243ded 16001999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1601
1602 * putenv.c: Include ansidecl.h to define `const'.
1603 * setenv.c: Likewise.
1604
654c70ae 1605Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1606
34f75864 1607 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1608 * configure.in (funcs): Add putenv and setenv.
1609 (AC_CHECK_FUNCS): Check for putenv and setenv.
1610 * configure: Rebuilt.
1611 * putenv.c setenv.c: New files.
1612
654c70ae 1613 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1614 bytes of space using malloc.
1615
41980611 1616Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1617
1618 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1619 the *mangled pointer beyond the end of the string. Clean up code to
1620 match prevailing coding style.
1621
08b8ada9 16221999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1623
1624 * tmpnam.c (L_tmpnam): Fix typo.
1625
2fb1c6e9 1626Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1627
1628 * cplus-dem.c (standard_symbol_characters): Renamed from
1629 standard_symbol_alphabet. No longer modify TABLE.
1630 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1631 modify TABLE.
1632 (main): Corresponding changes. Use strchr to determine if a
1633 character is valid.
1634
25398e41 16351999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1636
1637 * cplus-dem.c (main): Use table lookup to distinguish identifier
1638 characters from non-identifier characters.
1639 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1640
29723d26 1641Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1642
1643 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1644 * getruntime.c: Only attempt to include sys/resource.h and
1645 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1646 are defined.
1647
dde96550 1648Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1649
1650 * configure.in (alloca detection): Handle alloca directly for interix.
1651 * configure: Rebuilt.
1652
e98ba651 1653Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1654
1655 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1656
3460a017 16571999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1658
1659 Fix from Dale Hawkins:
07c967f9 1660 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
3460a017 1661 reallocated properly if we use it again.
1662
1663 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1664 stricter about syntax. Always null-terminate string.
1665
b01c0955 1666Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1667
1668 * configure.in (checkfuncs): Check for sbrk.
1669 * config.in: Rebuilt.
1670 * configure: Likewise.
1671 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1672
87c2e884 16731999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1674
1675 Fix from Marcus Daniels:
1676 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1677 identifier looking for another underscore.
1678
16b8e80f 1679Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1680
1681 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1682 * xmalloc.c: Likewise.
1683 (xcalloc): UWIN has sbrk.
1684 (xrealloc): Fix guard macro.
1685
4d0cfb7e 16861999-04-11 Richard Henderson <rth@cygnus.com>
1687
1688 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1689 or <alloca.h>.
1690 * clock.c (GNU_HZ): New definition.
1691 (clock): Use it.
1692 * getruntime.c: Likewise.
1693
1694 * config.table: Use mh-beos.
1695 * config/mh-beos: New file.
1696
0dc64970 16971999-04-11 Mark Mitchell <mark@codesourcery.com>
1698
1699 * cplus-dem.c (demangle_template_value_parm): Handle
1700 pointers-to-members.
1701 (do_type): Handle template parameters as qualifiers.
1702
9fec6063 17031999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1704
1705 * cplus-dem.c: Attempt to handle overflows in counts with some
1706 semblance of grace.
1707 (consume_count): Detect overflows. Return -1 to indicate errors,
1708 instead of zero.
1709 (demangle_template_value_parm, demangle_template): Handle change
1710 to consume_count's return convention.
1711
715f424c 17121999-04-05 Tom Tromey <tromey@cygnus.com>
1713
1714 * testsuite/regress-demangle: New file.
1715 * testsuite/demangle-expected: New file.
1716
1717 * Makefile.in (all, check, installcheck, info, install-info,
1718 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1719 distclean, maintainer-clean, realclean): Depend on corresponding
1720 `-subdir' target.
1721 (all-subdir check-subdir installcheck-subdir info-subdir
1722 install-info-subdir clean-info-subdir dvi-subdir
1723 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1724 distclean-subdir maintainer-clean-subdir): New target.
1725 * testsuite/Makefile.in: New file.
1726 * configure: Rebuilt.
1727 * configure.in: Create testsuite/Makefile.
1728
71c5948c 17291999-04-02 Mark Mitchell <mark@codesourcery.com>
1730
1731 * splay-tree.h (splay_tree_compare_pointers): Define.
1732
d1264606 17331999-03-30 Mark Mitchell <mark@codesourcery.com>
1734
1735 * splay-tree.c (splay_tree_compare_ints): Define.
1736
6fd618e7 17371999-03-30 Tom Tromey <tromey@cygnus.com>
1738
1739 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1740 don't advance input pointer.
1741 (demangle_class_name): If consume_count didn't find a count, do
1742 nothing. Don't bother with `strlen' sanity check; consume_count
1743 does it for us.
1744
bdaa26ad 17451999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1746
1747 From Art Haas <ahaas@neosoft.com>:
1748 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1749 when doing arm or hp style.
1750 (demangle_nested_args): Decr forgetting_types field when done.
07c967f9 1751
d267f778 1752Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1753
1754 * pexecute.c (__CYGWIN32__): Rename to
1755 (__CYGWIN__): this.
1756 * xmalloc.c: Likewise.
1757
1758 Changes to support i386-pc-uwin.
1759 * configure.in (*-*-uwin*): Workaround for vfork bug.
1760 * configure: Regenerate.
1761 * pexecute.c (pexecute): Be like standard Unix.
1762 (pwait): Likewise.
1763 * xmalloc.c (first_break): Define.
1764 (xmalloc_set_program_name): Use.
1765 (xmalloc): Use.
1766
90405950 1767Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1768
1769 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1770
bdaa26ad 1771Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1772
1773 * config.table: Check cygwin*, not cygwin32*.
1774
e6ed8194 1775Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1776
1777 * Makefile.in: Change mkstemp -> mkstemps.
1778
301e59c9 1779Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1780
1781 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1782 * configure.in (funcs): Check for and conditionally add mkstemps to
1783 the list of functions libiberty will provide.
1784 * configure: Rebuilt.
07c967f9 1785
89e305f9 1786Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1787
07c967f9 1788 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
89e305f9 1789 platforms that don't have HZ.
1790 * getruntime.c (HZ): Likewise.
1791
ecfe64e7 1792Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1793
1794 * Makefile.in (xstrdup.o): Depend on config.h.
1795
2e5e2114 1796Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1797
1798 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1799 freeing it.
1800
6aa62a59 1801Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1802
1803 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1804
bdaa26ad 1805Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1806
1807 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1808 splay-tree.o.
1809
18101999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1811
1812 * configure.in: Require autoconf 2.12.1 or higher.
1813
9e1ed734 18141998-12-30 Michael Meissner <meissner@cygnus.com>
1815
1816 * random.c (NULL): Don't redefine NULL if it is already defined.
1817
7c8c70e9 1818Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1819
1820 * argv.c (buildargv): Cast the result of alloca in assignment.
1821
1822 * choose-temp.c: Include stdlib.h.
2e5e2114 1823
7c8c70e9 1824 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
9f21bac8 1825 (snarf_numeric_literal): Constify first parameter.
1826 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1827 int, not a char.
7c8c70e9 1828 (demangle_qualifier): Likewise.
1829 (demangle_signature): Cast the argument of a ctype function to
1830 unsigned char.
1831 (arm_pt): Add parens around assignment used as truth value.
1832 (demangle_arm_hp_template): Constify variable `args'.
1833 (do_hpacc_template_const_value): Cast the argument of a ctype
1834 function to unsigned char.
1835 (do_hpacc_template_literal): Remove unused variable `i'.
1836 (snarf_numeric_literal): Constify parameter `args'.
1837 Cast the argument of a ctype function to unsigned char.
1838
1839 * floatformat.c (floatformat_to_double): Add explicit braces to
9f21bac8 1840 avoid ambiguous `else'.
2e5e2114 1841
7c8c70e9 1842 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
9f21bac8 1843 `cstart' and `cend' to unsigned char. Cast the argument of macro
1844 `FOLD', which uses ctype functions, to unsigned char.
7c8c70e9 1845
1846 * objalloc.c (free): Add prototype.
1847
9070a37e 1848Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1849
1850 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1851
bdaa26ad 1852Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1853
1854 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
9f21bac8 1855 doesn't exist.
bdaa26ad 1856 (do_hpacc_template_literal): remove unused variable `i'.
07c967f9 1857
0a5a5994 1858Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1859
1860 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1861 bumping the pointer we read from. Also prepend these codes,
1862 as we do in other places.
1863
bdaa26ad 18641998-12-18 Nick Clifton <nickc@cygnus.com>
1865
1866 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1867 'const char *' in order to match its usage when calling siblings.
1868 (snarf_numeric_literal): Make first arg 'const char **' in order
1869 to match usage.
4ed77eec 1870
50cbddd6 1871Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1872
4ed77eec 1873 * choose-temp.c: Don't check IN_GCC anymore.
1874
1875 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1876 * memchr.c (memchr): Likewise.
1877 * memcpy.c (memcpy): Likewise.
1878 * memmove.c (memmove): Likewise.
2e5e2114 1879
4ed77eec 1880 * mkstemp.c: Don't check IN_GCC anymore.
1881 * pexecute.c: Likewise.
1882 * splay-tree.c: Likewise.
2e5e2114 1883
4ed77eec 1884 * strchr.c (strchr): Use `const', not `CONST'.
1885 * strrchr.c (strrchr): Likewise.
1886 * strtol.c (strtol): Likewise.
1887 * strtoul.c (strtoul): Likewise.
1888
f75dc4de 1889Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1890 Elena Zannoni <ezannoni@cygnus.com>
1891 Stan Shebs <shebs@cygnus.com>
1892 Edith Epstein <eepstein@cygnus.com>
1893 Andres MacLeod <amacleod@cygnus.com>
1894 Satish Pai <pai@apollo.hp.com>
1895
1896 * HP aCC demangling support.
1897 * cplus-dem.c
1898 (main): Remove default to HP style demangling, set to EDG
9f21bac8 1899 demangling correctly when -edg specified; set the demangling style
1900 when user specifies 'edg'. Set strip_underscore to
1901 prepends_underscore, if not HPUXHPPA. Set
1902 current_demangling_style to hp_demangling if HPUXHPPA. Set
1903 current demangling style correctly if the switch is hp. Read
1904 label correctly also in the HP style case.
f75dc4de 1905 (work_stuff): add temp_start field; add field for volatile member
9f21bac8 1906 function.
f75dc4de 1907 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
9f21bac8 1908 style for this case is the same as ARM.
f75dc4de 1909 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1910 (demangle_arm_hp_template): new function. (It was
9f21bac8 1911 demangle_arm_pt.); check and set value of temp_start field in
1912 multiple places. Also, when ceching for end of template args,
1913 check to see if at end of static member of template class.
f75dc4de 1914 (demangle_class): new local variable : save_class_name_end Don't
9f21bac8 1915 include template args in string defining class.
f75dc4de 1916 (demangle_class_name): use demangel_arm_hp_template.
1917 (demangle_function_name): handle case where demangling style is
9f21bac8 1918 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1919 Handle EDG_DEMANGLING style. Handle constructor and destructor
1920 ops for HP style.
f75dc4de 1921 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
9f21bac8 1922 styles. global destructor and constructor for HP style are same
1923 as for ARM style. Same for local variables.
f75dc4de 1924 (demangle_qualified): handle EDG_DEMANGLING style.
1925 (demangle_signature): add case for volatile member function. For
9f21bac8 1926 cases '1' - '9' : initialize the temp_start field to -1 and handle
1927 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1928 and AUTO_DEMANGLING styles. If expecting a function and managed
1929 to demangle the funct args, then handle the LUCID_DEMANGLING,
1930 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1931 class name after "Lnnn_ in HP style case. HP style too needs to
1932 forget types. _nnn is OK for HP style, so don't report failure.
f75dc4de 1933 (do_hpacc_template_const_value): new function. Handle template's
9f21bac8 1934 value param for HP/aCC.
f75dc4de 1935 (do_hpacc_template_literal): new function. Handle a template's
9f21bac8 1936 literal parameter for HP aCC.
f75dc4de 1937 (recursively_demangle): new function
1938 (snarf_numeric_literal): new function.
1939 (usage): add 'edg' to the list of demangling styles; add hp switch
9f21bac8 1940 to message.
f75dc4de 1941
a5c56042 1942Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1943
1944 * pexecute.c: Remove obsolete ifdefed cygwin code.
1945
4ae63959 1946Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1947
1948 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1949 * cplus-dem.c: Likewise. Conform to libiberty.h.
1950 * pexecute.c: Likewise.
1951 * splay-tree.c: Likewise.
1952
b41b6b67 19531998-11-25 Mike Stump <mrs@wrs.com>
1954
1955 * Makefile.in (splay-tree.o): Add config.h dependency.
1956
a1dd5bff 1957Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1958
1959 * configure.in: Use AC_PREREQ(2.12.1).
1960
d54546fb 19611998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1962
07c967f9 1963 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
d54546fb 1964
9fdb1080 1965Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1966
1967 * mpw.c (mpw_access): Add missing parens.
1968
1ed7db2f 1969Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1970
1971 * configure.in: Call AC_HEADER_SYS_WAIT.
1972
1973 * pexecute.c: Include sys/wait.h when !IN_GCC.
1974
bdaa26ad 1975Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1976
1977 * pexecute.c: revert back to checking old Cygwin
1978 preprocessor symbol until some time has passed.
1979
1980Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1981
1982 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1983 since it will now support similar constructs.
1984
34fa8831 1985Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1986
1987 * configure.in: Check for calloc.
1988
1989 * calloc.c: New file.
1990
1991 * xmalloc.c (xcalloc): New function.
1992
75ebb412 1993Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1994
1995 *cplus-dem.c (demangle_prefix): Use the last "__"
1996 in the mangled name when looking for the signature. This allows
1997 template names to begin with "__".
1998
5b546829 19991998-11-08 Mark Mitchell <mark@markmitchell.com>
2000
73bea962 2001 * cplus-dem.c (type_kind_t): Add tk_reference.
2002 (demangle_template_value_parm): Handle it.
2003 (do_type): Use it for references, instead of tk_pointer.
2004
5b546829 2005 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2006 not internal_cplus_demangle.
2007
0e4558d2 2008Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2009
2010 * choose-temp.c: Don't include gansidecl.h.
2011 * mkstemp.c: Likewise.
2012 * pexecute.c: Likewise.
2013
7b8b8d43 2014Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2015
07c967f9 2016 * configure.in: detect cygwin* instead of cygwin32*
2017 * configure: regenerate
7b8b8d43 2018
f9a39df1 2019Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2020
2021 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
9f21bac8 2022 whether to include config.h. Possibly include unistd.h in the
2023 !IN_GCC case. Define VFORK_STRING as a printable function call
2024 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2025 defined, include vfork.h. If VMS is defined, define vfork()
2026 appropriately. Remove vfork check on USG, we're using autoconf.
2027 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2028 locally what string to use.
f9a39df1 2029
797ba725 20301998-10-26 Mark Mitchell <mark@markmitchell.com>
2031
2032 * splay-tree.c: Tweak include directives to make sure declarations of
2033 xmalloc and free are available.
2034
3662c79b 20351998-10-25 Mark Mitchell <mark@markmitchell.com>
2036
2037 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2038 anonymous namespaces.
2e5e2114 2039
af5199c0 20401998-10-23 Mark Mitchell <mark@markmitchell.com>
2041
2042 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2043 with type_quals.
2044 (TYPE_UNQUALIFIED): New macro.
2045 (TYPE_QUAL_CONST): Likewise.
2046 (TYPE_QUAL_VOLATILE): Likewise.
2047 (TYPE_QUAL_RESTRICT): Likewise.
2048 (code_for_qualifier): New function.
2049 (qualifier_string): Likewise.
2050 (demangle_qualifier): Likewise.
2051 (internal_cplus_demangle): Use them.
2052 (demangle_signature): Likewise.
2053 (demangle_template_value_parm): Likewise.
2054 (do_type): Likewise.
2055 (demangle_fund_type)): Likewise.
3662c79b 2056
e61da89d 2057Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2058
2059 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2060 to match prototype.
2061
9a4eb61d 20621998-10-21 Mark Mitchell <mark@markmitchell.com>
2063
2064 * splay-tree.c: New file.
2065 * Makefile.in (CFILES): Add it.
2066 (REQUIRED_OFILES): Likewise.
2067 (splay-tree.o): Add dependencies.
2068
e5d3a45b 2069Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2070
2071 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2072 range of 'K' index.
2073
4350e959 2074Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2075
2076 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2077
2078 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2079 `unsigned char'.
2080 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2081 comparing against one.
2082 (cplus_mangle_opname): Likewise.
2083 (demangle_integral_value): Cast argument of ctype macro to
2084 `unsigned char'.
2085 (demangle_template_value_parm): Likewise.
2086 (demangle_template): Initialize variable `bindex'. Cast the
2087 result of `strlen' to (int) when comparing against one. Remove
2088 unused variable `start_of_value_parm'.
2089 (demangle_class_name): Cast the result of `strlen' to (int) when
2090 comparing against one.
2091 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2092 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2093 when comparing against one.
2094 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2095 (get_count): Likewise.
2096 (do_type): Likewise. Cast the result of `strlen' to (int) when
2097 comparing against one.
2098 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2099 (demangle_function_name): Cast the result of `strlen' to (int)
2100 when comparing against one.
2101
2102 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2103 comparing against one.
2104
5dfe2c03 2105Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2106
07c967f9 2107 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2108 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2109 * config.in, configure: Rebuilt.
0be6f86d 2110
5dfe2c03 2111 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2112 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2113 * config.in, configure: Rebuilt.
2114
7b8b8d43 2115Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2116
07c967f9 2117 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
7b8b8d43 2118
68b78c88 2119Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2120
2121 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2122
804ec1bf 2123Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2124
2125 * Merge egcs & devo libiberty.
2126
7a1ec54f 2127