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