]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
PR opt/10024
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
62133c30 12003-03-23 Alexandre Oliva <aoliva@redhat.com>
2
3 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
4 instead of $$CC alone.
5 (install_to_tooldir): Use it.
6
6d05ae35 72003-17-03 Jan Hubicka <jh@suse.cz>
8
9 * hashtab.c (htab_traverse_noresize): Break out from ...
10 * hashtab.c (htab_traverse): ... here.
11
b9af005f 122003-12-03 Jan Hubicka <jh@suse.cz>
13
6d4061d0 14 * hashtab.c (htab_expand): Fix warning.
15
b9af005f 16 * hashtab.c (htab_expand): Compute the size of hashtable based
17 on the number of elements actually used.
18 (htab_traverse): Call htab_expand when table is too empty.
19
68f6f1d9 202003-03-11 Carlo Wood <carlo@gnu.org>
21
22 * cplus-dem.c (demangle_integral_value): Correction to reflect
23 patch of 2002-01-10 in order to also make negative multi-digits
24 without leading underscore work.
25
ac5e00d3 262003-03-03 Mark Mitchell <mark@codesourcery.com>
27
28 * cplus-dem.c: Add license exception to copyright notice.
29
df4b17bf 302003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
31
32 * physmem.c: Formatting changes from upstream.
33
eafe92ea 342003-02-24 Danny Smith <dannysmith@users.source.forge.net>
35
36 * physmem.c (physmem_total): Add _WIN32 support.
37 (physmem_available): Likewise.
38
5833978f 392003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
40
41 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
42 GSI_PHYSMEM.
43 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
44
4195ec6a 452003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
46
47 * configure.in: Check for sys/systemcfg.h and
48 _system_configuration.
49 * physmem.c: Add support for AIX. Tweek formatting as per
50 upstream coreutils beta.
51
0991d38e 522003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
53 Richard Earnshaw <rearnsha@arm.com>
54 Geoffrey Keating <geoffk@apple.com>
55
56 * configure.in: Check for sys/sysctl.h and sysctl.
57 * physmem.c: Add support for *bsd and darwin.
58 * Makefile.in: Generate depedency for physmem.o.
59
622d92fb 602003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
61
62 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
63 Tru64 UNIX.
64 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
65 Tru64 UNIX.
66
67 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
68 machine/hal_sysinfo.h, sys/table.h.
69 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
70 * configure, config.in: Regenerate.
71
8f3b8386 722003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
73
74 * configure.in: Check for sys/sysmp.h and sysmp.
75 * physmem.c: Pull upstream copy, add support for irix6.
76
77 * config.in, configure: Regenerated.
78
25b160f7 792003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
80
81 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
82 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
83 pstat_getdynamic.
84
5cf67f1b 852003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
86
87 * Makefile.in (CFILES): Add physmem.c.
88 (REQUIRED_OFILES): Add physmem.o.
89 * configure.in: Check for sys/pstat.h.
90 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
91 * physmem.c: New file, copied from textutils.
92
93 * config.in, configure: Regenerated.
94
846a645c 952003-02-20 Daniel Jacobowitz <drow@mvista.com>
96
97 * Makefile.in (CFILES): Add lrealpath.c.
98 (REQUIRED_OFILES): Add lrealpath.o.
99 (lrealpath.o): Add rule.
100 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
101 * configure.in: Add realpath and canonicalize_file_name to
102 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
103 for canonicalize_file_name.
104 * lrealpath.c: New file.
105 * make-relative-prefix.c: Update documentation.
106 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
107 * config.in: Regenerated.
108 * configure: Regenerated.
109 * functions.texi: Regenerated.
110
82561650 1112003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
112
113 * cplus_dem.c: Fix typo: intializes -> initializes.
114
e4e6363f 1152003-02-20 Alexandre Oliva <aoliva@redhat.com>
116
117 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
118 config.status.
119 * configure: Rebuilt.
120
cc720498 1212003-02-13 Daniel Jacobowitz <drow@mvista.com>
122
123 Fix PR c++/7612.
124 * cplus-dem.c (demangle_signature): Call string_delete.
125 Remove extra string_init.
126 (demangle_arm_hp_template): Call string_delete instead of
127 string_clear. Add missing string_delete call.
128 (demangle_qualified): Add missing string_delete call.
129 (do_type): Remove unused variable btype. Add missing string_delete
130 call. Call string_delete instead of string_clear.
131 (demangle_fund_type): Move variable btype inside of the switch
132 statement. Add missing string_delete call.
133 (do_arg): Call string_delete instead of string_clear. Remove extra
134 string_init.
135 (demangle_nested_args): Free work->previous_argument.
136
d94d977c 1372003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
138
139 * acconfig.h: New file. Add uintptr_t.
140 * config.in: Regenerated.
141
5533bc76 1422003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
143
144 * libiberty.texi: Update to GFDL 1.2.
145
7f13318a 1462003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
147
148 * Makefile.in (libiberty_topdir): New subst.
149 (mkinstalldirs): Redefine in terms of the above.
150 * configure.in: AC_SUBST it.
151 * configure: Regenerate.
152
9d2299ec 1532003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
154
155 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
156 (info-subdir, install-info-subdir, clean-info-subdir)
157 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
158 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
159 Pass $(FLAGS_TO_PASS).
160
49f7db63 1612003-01-27 Alexandre Oliva <aoliva@redhat.com>
162
163 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
164 /`$$CC -print-multi-os-directory`.
165
a21acbbb 1662003-01-26 Daniel Jacobowitz <drow@mvista.com>
167
168 * hashtab.c (htab_create_alloc_ex): New function.
169 (hatab_set_functions_ex): New function.
170 (htab_delete, htab_expand): Support alternate allocation functions.
171
8c171144 1722003-01-24 Christopher Faylor <cgf@redhat.com>
173
174 * configure.in: Remove special pex-cygwin consideration.
175 * configure: Regenerate.
176 * pex-cygwin.c: Remove.
177 * Makefile.in: Remove pex-cygwin.[co] lines.
178
8cb0536d 1792003-01-24 Zack Weinberg <zack@codesourcery.com>
180
181 * Makefile.in (CFILES): Add pex-*.c.
182 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
183 (CONFIGURED_OFILES): Add pex-*.o.
184 (TEXIFILES): Add pexecute.txh.
185 (pexecute.o): Delete rule.
186 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
187 pex-unix.o, pex-win32.o): New rules.
188 * configure.in: Change AC_INIT argument to xmalloc.c.
189 Compute appropriate pexecute implementation and substitute it
190 as @pexecute@.
191
192 * pexecute.c: Split up into...
193 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
194 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
195 new files.
196
197 * functions.texi: Regenerate.
198 * configure: Regenerate.
199
aa5761b7 2002003-01-20 Josef Zlomek <zlomekj@suse.cz>
201
202 * hashtab.c (htab_expand): Fix allocation of new entries.
203
71aad3b8 2042003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
205
206 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
207
2e6a336d 208 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
209 mkinstalldirs command.
210
e162e528 2112002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
212
213 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
214 Define for hosts with HOST_EXECUTABLE_SUFFIX.
215
aba68506 2162002-11-24 Nick Clifton <nickc@redhat.com>
217
218 * make-relative-prefix.c (make_relative_prefix): Ensure return
219 string is empty before using strcat to construct it.
220
5feeeb38 2212002-11-22 Daniel Jacobowitz <drow@mvista.com>
222
223 * Makefile.in: Add make-relative-prefix.c.
224 * make-relative-prefix.c: New file.
225 * functions.texi: Rebuilt.
226
d7022963 2272002-11-16 Jakub Jelinek <jakub@redhat.com>
228
229 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
230 used with arguments in traditional C' warnings.
231
dacb9fcc 2322002-10-16 Jakub Jelinek <jakub@redhat.com>
233
234 * config.table: Use mh-s390pic for s390x too.
235
ff02de61 2362002-10-06 Andreas Jaeger <aj@suse.de>
237
238 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
239 variable and of strict-aliasing warning.
240 (grow_vect): Use char as first parameter.
241
5f7912d8 2422002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
243
244 * Makefile.in (all): Fix multilib parallel build.
245
05455547 2462002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
247
248 * cp-demangle.c (demangling_new): Cast 0 to enum.
249 (demangle_char): Cast return of strdup to char *.
250 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
251 (is_gnu_v3_mangled_dtor): Likewise.
252 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
253 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
254 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
255 * md5.c (md5_process_bytes): Cast results back to const void *.
256 (md5_process_block): Add cast to const md5_uint32 *.
257 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
258 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
259 unsigned short.
260 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
261 to void *.
262 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
263
bd5d1805 2642002-09-19 Nick Clifton <nickc@redhat.com>
265
266 * README: Update email addresses for bugs and patches.
267
0fe3478a 2682002-09-10 Mike Stump <mrs@apple.com>
269
270 * splay-tree.c (splay_tree_successor): Fix comments.
271
65e49ff1 2722002-09-11 Zack Weinberg <zack@codesourcery.com>
273
808b5085 274 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
65e49ff1 275 * testsuite/Makefile.in: Adjust for test-demangle.
276 * testsuite/regress-demangle: Deleted.
277 * testsuite/test-demangle.c: New file.
278 * testsuite/demangle-expected: Change \$ to $ throughout, now that
279 this file is not being read by a shell script.
280
5ca95c55 2812002-09-05 Roger Sayle <roger@eyesopen.com>
282
283 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
284
b251a88a 2852002-08-07 DJ Delorie <dj@redhat.com>
286
287 * regex.c (re_error_msgid): Just use a simple array of strings.
288 (re_compile_pattern): Compensate.
289 (re_comp): Likewise.
290 (re_comp): Likewise.
291 (regerror): Likewise.
292
f4e29b4a 2932002-07-29 Neil Booth <neil@daikokuya.co.uk>
294
295 * cplus-dem.c (PREPEND_BLANK): Remove.
ff02de61 296
abcf0552 2972002-07-10 Jason Merrill <jason@redhat.com>
298
299 * cp-demangle.c (demangle_identifier): Support extended Unicode
300 characters.
301
c62ef5b5 3022002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
303
304 * cp-demangle.c (demangle_v3_with_details): Wrap in
ff02de61 305 !defined IN_GLIBCPP_V3.
c62ef5b5 306
74c75ba5 3072002-07-01 Mark Mitchell <mark@codesourcery.com>
308
309 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
310 Set it for the "st" operator.
311 (demangle_expression): Handle expressions with types as arguments.
312
b2835908 3132002-06-30 Douglas Rupp <rupp@gnat.com>
314
315 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
316 * Makefile.in (OUTPUT_OPTION): Use.
317
c75cb827 3182002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
319
320 * Makefile.in (install_to_libdir): Add $(DESTDIR).
321 (install_to_tooldir): Likewise.
322
55fc5d04 3232002-06-17 Douglas Rupp <rupp@gnat.com>
324
325 * lbasename.c: Add 2002 to copyright.
326 (IS_DIR_SEPARATOR): Remove VMS junk.
327
8d24e548 3282002-06-05 Geoffrey Keating <geoffk@redhat.com>
329
330 * hashtab.c (htab_create): New stub function for backward
331 compatibility.
332 (htab_try_create): Likewise.
333
1f3233d1 3342002-06-03 Geoffrey Keating <geoffk@redhat.com>
335
336 * hashtab.c (htab_create): Delete.
337 (htab_try_create): Delete.
338 (htab_create_alloc): New.
339 (htab_delete): Support user-specified memory allocation.
340 (htab_expand): Likewise.
341
daa2cd64 3422002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
343
344 * configure.in: Fix typo in the code checking for sys_errlist.
345 * configure: Regenerated.
346
70102259 3472002-05-13 Andreas Schwab <schwab@suse.de>
348
349 * config.table: Use mh-x86pic also for x86-64.
350
0b045cf7 3512002-05-08 Alexandre Oliva <aoliva@redhat.com>
352
353 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
354 script entry, and set LD to it when configuring multilibs.
355 * configure: Rebuilt.
356
63e428d5 3572002-05-07 Mark Mitchell <mark@codesourcery.com>
358
359 * configure.in (AC_TYPE_PID_T): Use it.
360 * configure: Regenerated.
361 * getruntime.c: Include <sys/types.h>.
362 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
363
8c8eb750 3642002-04-09 Richard Henderson <rth@redhat.com>
365
366 * hashtab.c (higher_prime_number): Use 7 as minimum.
367 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
368 (htab_find_slot_with_hash): Likewise.
369
5acfe29d 3702002-04-01 Phil Edwards <pme@gcc.gnu.org>
371
372 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
373 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
374 not compile if IN_GLIBCPP_V3 defined.
375 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
376
87591c4a 3772002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
378
ff02de61 379 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
87591c4a 380 if it is NULL.
381
b8327a91 3822002-03-27 DJ Delorie <dj@redhat.com>
383
384 * hex.c: Add documentation.
385 (_hex_value): Provide non-ASCII empty table.
386 (hex_init): Initialize the non-ASCII table.
387 * functions.texi: Regenerate.
388
baf716a5 3892002-03-27 Mark Mitchell <mark@codesourcery.com>
390
391 * dyn-string.c: Add libgcc exception to copyright notice.
392
60d10194 3932002-03-26 H.J. Lu (hjl@gnu.org)
394
395 * config.table: Support --with-build-subdir.
396 * configure.in: Likewise.
397 * configure: Rebuild.
398
8b7d2865 3992002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
400
401 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
402 seen.
403
8916275c 4042002-03-12 Mark Mitchell <mark@codesourcery.com>
405
406 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
407 notice.
408
241f7b9c 4092002-03-11 Douglas B Rupp <rupp@gnat.com>
410
411 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
412
bc95356d 4132002-03-06 Jim Blandy <jimb@redhat.com>
414
415 * splay-tree.c (splay_tree_xmalloc_allocate,
416 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
417 prototyped definitions. Mark `data' arguments as unused.
418
5a3c5094 4192002-03-06 Andrew Cagney <ac131313@redhat.com>
420
421 * floatformat.c (floatformat_arm_ext_big): Delete definition.
422
9123512a 4232002-03-04 Phil Edwards <pme@gcc.gnu.org>
424
425 * configure.in: Add --enable-install-libiberty option.
426 * Makefile.in (INSTALLED_HEADERS): New variable.
427 (install_to_libdir): Possibly also copy headers.
428 * configure: Regenerated.
429
5e571023 4302002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
431
432 * xmalloc.c (xmalloc_fail): Clarify error message further.
433
323c06f5 4342002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
435
436 * xmalloc.c (xmalloc_fail): Clarify error message.
437
a3af3ae8 4382002-02-22 Jim Blandy <jimb@redhat.com>
439
440 * splay-tree.c (splay_tree_xmalloc_allocate,
441 splay_tree_xmalloc_deallocate): New functions.
442 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
443 above functions and a dummy data pointer.
444 (splay_tree_new_with_allocator): New function.
445 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
446 splay_tree_remove): Use the splay tree's allocation and
447 deallocation functions.
448
080f842c 4492002-02-19 Scott Snyder <snyder@fnal.gov>
450
451 * testsuite/demangle-expected: Add test case for infinite loop in
452 demangler.
453 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
454 if do_type() doesn't make any progress --- prevents an infinite
455 loop.
456
a9e05c62 4572002-02-18 Carlo Wood <carlo@gnu.org>
458
459 PR c++/5390
460 * cplus-dem.c (demangle_integral_value): Accept multi-digit
461 numbers that do not start with an underscore; This is needed
462 for integer template parameters. This doesn't break anything
463 because multi-digit numbers are never followed by a digit.
464 * testsuite/demangle-expected: Corrected all mangled test
465 cases with multi-digit template parameters: g++ 2.95.x does
466 not generate underscores around these parameters.
467
c6d86b63 4682002-02-05 Jason Merrill <jason@redhat.com>
469
470 * cplus-dem.c (flags): Add DMGL_VERBOSE
471 (cplus_demangle_v3_p): Remove.
472 (demangle_it): Add DMGL_TYPES to passed flags.
473 * cp-demangle.c (cplus_demangle_v3_all): Remove.
474 (cplus_demangle_v3_type): Remove.
475 (cplus_demangle_v3): Add options parm.
476
9bd54051 4772002-02-02 H.J. Lu (hjl@gnu.org)
478
479 * cp-demangle.c (cp_demangle_type): Do not protect with
480 IN_LIBGCC2.
481 (cplus_demangle_v3_all): New.
482 (cplus_demangle_v3): Call cplus_demangle_v3_all.
483 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
484
485 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
486 Initialized to cplus_demangle_v3.
487 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
488 of cplus_demangle_v3.
489 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
490 command line symbol.
491
492 * testsuite/regress-demangle: Pass the mangled name at the
493 command line.
494
db248273 4952002-02-01 H.J. Lu <hjl@gnu.org>
496
497 * cp-demangle.c (cp_demangle_type): Call demangling_new with
498 DMGL_GNU_V3.
499
89a5385c 5002002-01-31 Phil Edwards <pme@gcc.gnu.org>
501
502 * cp-demangle.c: Revert yesterday's change.
503
da383dd4 5042002-01-31 Adam Megacz <adam@xwt.org>
505
506 * gcc/libiberty/configure.in: Treat mingw the same as cywin
507 wrt HAVE_SYS_ERRLIST.
508
1e72f309 5092002-01-30 Phil Edwards <pme@gcc.gnu.org>
510
511 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
512 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
513 cp_demangle_type.
514 * testsuite/demangle-expected: New gnu-v3 test.
515
2c79f170 5162002-01-22 Momchil Velikov <velco@fadata.bg>
517
518 * configure.in (variable detection): Use arrays of unspecified
519 size instead of plain integers.
520
98b6fc70 5212002-01-18 DJ Delorie <dj@redhat.com>
522
523 * Makefile.in (TESTLIB): New. This library is for future
524 testsuites.
525 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
526 break down by letter.
527 (REQUIRED_OFILES): List long-to-compile files first.
528 (maint-deps): New, target for updating dependencies.
529 (dependencies): Update.
530 * maint-tool: Add dependency-generating option.
531 * configure.in: Check for _doprnt even if we're not providing it.
532 * configure: Regenerate.
533
534 * _doprnt.c: Modifications to allow compiling on any platform.
535 * copysign.c: Likewise.
536 * putenv.c: Likewise.
537 * setenv.c: Likewise.
538 * vsprintf.c: Likewise.
539
b4eac72f 5402002-01-15 Douglas B Rupp <rupp@gnat.com>
541
542 * mkstemps.c (mkstemps): On VMS, open temp file with option
543 that causes it to be deleted when closed.
544
7806d7a4 5452002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
546
c077395f 547 * cp-demangle.c (long_options): Const-ify.
548 * cplus-dem.c (long_options): Likewise.
549
7806d7a4 550 * cplus-dem.c (mystrstr): Delete. All callers changed to use
551 strstr instead.
552
936c37fd 5532001-12-31 Ira Ruben <ira@apple.com>
554
555 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
556 * configure: Regenerated.
e9894157 557
5582001-12-24 Douglas B. Rupp <rupp@gnat.com>
559
560 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
561 * configure: Regenerated.
936c37fd 562
4e3ed534 5632001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
564
565 PR other/2719
566 * cplus-dem.c (consume_count): Treat negative count as an error.
567 * testsuite/demangle-expected: Added testcase.
568
8f966bdb 569Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
570
571 * configure.in: Hardcode that vfork works on VMS host.
572 * configure: Regenerated.
573
8d87ccec 5742001-12-06 Richard Henderson <rth@redhat.com>
575
576 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
577 (cplus_demangle): Support no_demangling.
578
31972771 5792001-11-27 Zack Weinberg <zack@codesourcery.com>
580
581 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
582 in libiberty context. Fix typo in leading comment.
583 * configure.in: Fix various AC_DEFINEs so autoheader works.
584 If any of vprintf, vsprintf, vfprintf is missing from libc,
585 then AC_REPLACE_FUNCS(_doprnt).
586
8e198eb2 5872001-11-26 DJ Delorie <dj@redhat.com>
31972771 588 Daniel Jacobowitz <drow@mvista.com>
8e198eb2 589
590 * Makefile.in (stamp-h): Depend on Makefile for proper
591 serialization.
592 (*-subdir): Depend on config.h for proper serialization.
593
c660fab8 5942001-11-26 DJ Delorie <dj@redhat.com>
595
596 * configure.in: Check for alloca.h (for regex.c and putenv.c).
597 * configure: Regenerate.
598 * config.h: Add HAVE_ALLOCA_H.
599
43eb13f7 6002001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
601
81cea2ab 602 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
603 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
604 is available.
43eb13f7 605
e9fb7b39 606Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
607
7b190504 608 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
609 * configure.in (HAVE_UINTPTR_T): Test for system defining
610 uintptr_t and define HAVE_UINTPTR_T appropriately.
611 * regex.c (uintptr_t): Do not provide a definition if the
612 system provided one.
613
e9fb7b39 614 * regex.c (PREFIX): Provide an alternate definition for
615 non-ANSI/ISO compilers.
616 (ARG_PREFIX): Likewise.
617
448378fc 6182001-11-12 Jim Meyering <meyering@lucent.com>
619
620 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
621 this code would end up calling gettext even in packages built
622 with --disable-nls.
623 * getopt.c (_): Likewise.
624 * regex.c (_): Likewise.
625
7c9e70dd 6262001-11-03 Alan Modra <amodra@bigpond.net.au>
627
628 * configure.in: Cope with missing makeinfo.
ebfeb892 629 * configure: Regenerate.
7c9e70dd 630
a3493641 6312001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
632
e500d428 633 * hex.c (hex_init): Provide empty stub.
634
a3493641 635 * hex.c (hex_init): Delete.
636 (_hex_value): Const-ify and initialize at compile-time.
637
3de15244 6382001-10-19 H.J. Lu <hjl@gnu.org>
639
640 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
641 necessary.
642
f0ed5ac1 6432001-10-17 DJ Delorie <dj@redhat.com>
644
645 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
646 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
0af1044a 647 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
f0ed5ac1 648 Improve manual formatting.
649 * functions.texi: Regenerate.
650
349e8276 6512001-10-15 DJ Delorie <dj@redhat.com>
652
653 * Makefile.in (TEXIFILES): Add fnmatch.txh.
654 (maint-undoc): New.
655 maint-tool: Add "undoc" tool.
656 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
657 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
658 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
659 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
660 documentation.
661 * fnmatch.txh: New.
662 * functions.texi: Regenerate.
8cc9ccc9 663
8a630ee4 6642001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
665
666 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
667 * strtod.c: Use "ISO C" instead of "ANSI C".
668 * functions.texi: Regenerate.
669
a3a8a3df 6702001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
671
672 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
673 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
674 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
675 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
676 spelling. Give names to function arguments in documentation. Use
677 (void) prototypes in documentation.
678 * functions.texi: Regenerate.
679
542e9271 6802001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
681
682 * argv.c (buildargv, tests, main): Const-ify.
683 * cp-demangle.c (operator_code): Likewise.
684 * cplus-dem.c (optable, libiberty_demanglers,
685 cplus_demangle_set_style, cplus_demangle_name_to_style,
686 print_demangler_list): Likewise.
687 * hashtab.c (higher_prime_number): Likewise.
688 * strcasecmp.c (charmap): Likewise.
689 * strerror.c (error_info, strerror, main): Likewise.
690 * strncasecmp.c (charmap): Likewise.
691 * strsignal.c (signal_info): Likewise.
692
5b7836cc 6932001-09-29 DJ Delorie <dj@redhat.com>
694
695 * configure: Regenerate.
696
e7faea46 6972001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
698
699 * concat.c: Include stdlib.h.
700
997fdf4a 7012001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
702
703 * libiberty.texi: (Top level): Add syncodeindex pg. Add
704 @dircategory and @direntry directives. Add @finalout.
705 (many nodes): Lose the next,prev,up pointers on the @nide line.
706 (Using, Supplemental Functions, Replacement Functions): Fix
707 markup.
708 (Functions): Move around, to allow makeinfo to build the manual
709 without next,prev,up pointers in thye node lines.
710 (Licenses): Fix typos.
711
712 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
713 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
714 * functions.texi: Regenerate.
715
716 * copying-lib.texi: Lose the next,prev,up pointers on the @node
717 line.
718
eb765d0c 7192001-09-27 DJ Delorie <dj@redhat.com>
720
721 * configure.in: Don't use in-tree texinfo, because libiberty must
722 be built before it. Check for makeinfo version 4 or higher.
723 * functions.texi: Regenerate.
8cc9ccc9 724
614a23c6 7252001-09-20 DJ Delorie <dj@redhat.com>
726 Phil Edwards <pedwards@disaster.jaj.com>
8cc9ccc9 727
614a23c6 728 * configure.in (MAKEINFO, PERL): Detect these.
729 (--enable-maintainer-mode): Add.
730 * configure: Regenerate.
731 * Makefile.in (MAKEINFO, PERL): Define.
732 (libiberty.info, libiberty.dvi, libiberty.html): New.
733 (CFILES): Add bsearch.c.
734 (CONFIGURED_OFILES): New, list of objects configure might add.
735 (maint-missing, maint-buildall): New, for maintainers only.
736 (clean, mostlyclean): Add info/dvi/html files.
737 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
738 * gather-docs: New, for maintainers.
739 * maint-tool: New, for maintainers.
740 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
741 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
742 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
743 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
744 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
745 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
746 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
747 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
748 documentation.
8cc9ccc9 749
92f03c00 7502001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
751
752 * concat.c (reconcat): Fix for traditional C.
753
0be2ebc7 7542001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
755
756 * concat.c (reconcat): New function.
757
add62f6a 7582001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
759
9659201a 760 * concat.c (vconcat_length, vconcat_copy, concat_length,
761 concat_copy, concat_copy2): New functions.
762 (concat): Use vconcat_length/vconcat_copy.
763
add62f6a 764 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
765 Define.
766
2bfbbd2b 7672001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
768
769 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
770 VA_FIXEDARG & VA_CLOSE.
8cc9ccc9 771
2bfbbd2b 772 * vasprintf.c: Check HAVE_STRING_H when including string.h.
773 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
774 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
775
68036f05 7762001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
777
778 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
779
958cb671 7802001-08-23 Ulrich Drepper <drepper@redhat.com>
781
782 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
783
7842001-08-23 Ulrich Drepper <drepper@redhat.com>
785
786 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
787 instead of mbrtowc.
788 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
789 wcslen, and __wcscoll instead of wcscoll.
790
b266b68b 7912001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
792
ff02de61 793 * fibheap.c (fibheap_init, fibnode_init): Remove.
794 (fibheap_new, fibnode_new): Use xcalloc to allocate and
795 initialize memory.
796 (fibheap_insert): Remove check for node allocation failure.
b266b68b 797
c6028964 7982001-08-21 Richard Henderson <rth@redhat.com>
799
800 * Makefile.in (fibheap.o): Depend on config.h.
801 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
802 functions for inlining.
803
3652f680 804Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
805
806 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
807 hosting on cygwin.
808 * configure: Regenerate.
809
95f0a124 8102001-08-20 Andrew Cagney <ac131313@redhat.com>
811
812 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
813 HARRIS_FLOAT_FORMAT.
814 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
815 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
816 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
817 (floatformat_m88110_harris_ext): New float formats.
818
522a00cd 8192001-08-20 Daniel Berlin <dan@cgsoftware.com>
820
821 * fibheap.c: New file. Fibonacci heap.
822
823 * Makefile.in (CFILES): Add fibheap.c.
824 (REQUIRED_OFILES): Add fibheap.o.
825 (fibheap.o): Add dependencies for fibheap.o.
826
6a51e4c4 8272001-08-17 Christopher Faylor <cgf@cygnus.com>
828
829 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
830 * configure: Regenerate.
831
80f07f6c 8322001-08-16 Richard Henderson <rth@redhat.com>
833
834 * hashtab.c (htab_hash_string): New.
835
e9106811 8362001-08-13 Andrew Cagney <ac131313@redhat.com>
837
838 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
839 name.
840
458e9fd0 8412001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
842
843 * regex.c (wcs_regex_compile): Use appropriate string
844 to compare with collating element.
845 Fix the padding for the alignment.
846
da8a7320 8472001-08-10 Andrew Cagney <ac131313@redhat.com>
2bce2a69 848
849 * lbasename.c (lbasename): Change function definition to return a
850 const char pointer.
851
6539a5d8 8522001-08-07 Jason Merrill <jason_merrill@redhat.com>
853
854 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
855 for".
856
2644ae20 8572001-08-03 Richard Henderson <rth@redhat.com>
858
859 * Makefile.in (concat.o): Depend on config.h.
860
6c9ffcbc 8612001-07-30 Andreas Jaeger <aj@suse.de>
862
863 * concat.c: Include "config.h".
864
9f21bac8 8652001-07-30 Andreas Jaeger <aj@suse.de>
866
867 * regex.c: Declare wcs functions only if compiling with
868 MBS_SUPPORT.
869 Don't use #elif for traditional C.
870
8712001-07-23 Ulrich Drepper <drepper@redhat.com>
872
873 * regex.c: Revamp memory allocation for WCHAR functions to
874 not use too much stack.
875
8762001-07-30 Andreas Jaeger <aj@suse.de>
877
878 * regex.c: Declare wcs functions only if compiling with
879 MBS_SUPPORT.
880 Don't use #elif for traditional C.
881
2bbbdf1a 8822001-07-25 Daniel Jacobowitz <drow@mvista.com>
883
884 * Makefile.in (regex.o): Add dependency on config.h.
885
b92e80db 8862001-07-18 Andreas Schwab <schwab@suse.de>
887
888 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
889 underscore character.
890
8912001-07-18 Ulrich Drepper <drepper@redhat.com>
892
893 * regex.c: Limit string length printed in debug messages to 100
894 chars.
895
8962001-07-18 Andreas Jaeger <aj@suse.de>
897
898 * regex.c: Place under LGPL version 2.1.
899
7703a7de 9002001-07-10 Jeff Johnston <jjohnstn@redhat.com>
901
902 * Makefile.in: Add support for regex code.
903 * regex.c: New file.
904
8568af22 9052001-07-05 Mark Klein <mklein@dis.com>
906
907 * Makefile.in: Add ffs.c dependency.
908 * configure.in: Add ffs.c.
909 * ffs.c: New file.
910
c1a60b7d 9112001-06-18 Richard Henderson <rth@redhat.com>
912
913 * concat.c: Include <sys/types.h>.
914
66806be2 9152001-06-11 Loren J. Rittle <ljrittle@acm.org>
916
2778f1dc 917 bootstrap/3106
66806be2 918 * strerror.c (sys_nerr): Hide the OS header version.
919 * strsignal.c (sys_nsig): Likewise.
920
222ce6b9 9212001-06-10 Richard Henderson <rth@redhat.com>
922
923 * concat.c: Include string.h. Fix int vs size_t usage.
924 Simplify the iteration loops. Use memcpy.
925
cb6758b9 9262001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
927
928 * partition.c: Fix misspelling of `implementation'.
929
091eef96 9302001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
931
932 * md5.c (md5_init_ctx): Declare constants as unsigned.
933 (md5_process_block): Likewise.
934
e5f55ef4 9352001-05-07 Zack Weinberg <zackw@stanford.edu>
936
937 * cp-demangle.c (demangle_v3_with_details,
938 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
939 function definition.
940 * ternary.c: Use K+R style function definitions. Use PTR, not
941 void *. Make arguments constant where possible.
942
c99b4ef9 9432001-05-07 Mark Mitchell <mark@codesourcery.com>
944
945 * splay-tree.h (splay_tree_max): New function.
946 (splay_tree_min): Likewise.
947
eec19420 9482001-04-15 Daniel Berlin <dan@cgsoftware.com>
949
950 * ternary.c: New file - Ternary search tree implementation.
951
952 * Makefile.in: Add ternary.o, and ternary.c dependencies.
953
673b6e5a 9542001-04-03 Zack Weinberg <zackw@stanford.edu>
955
956 * make-temp-file.c (try): Inline.
957
b8f02fb2 9582001-02-28 Richard Henderson <rth@redhat.com>
959
960 * Makefile.in (make-temp-file.o): Depend on config.h.
961
b130ede9 9622001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
963
964 * memchr.c (memchr): Adjust condition to avoid infinite loop.
965
5a4fcef0 9662001-03-23 Jakub Jelinek <jakub@redhat.com>
967
968 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
969 `_' not followed by a digit is invalid.
970
c83c8218 9712001-03-22 Jim Blandy <jimb@redhat.com>
972
973 * cp-demangle.c (string_list_delete): Use dyn_string_delete
974 instead of free, to free the contents as well as the string
975 structure.
976
7e660a1b 9772001-03-21 Zack Weinberg <zackw@stanford.edu>
978
979 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
980 Don't default P_tmpdir to anything. Try /var/tmp before
981 /usr/tmp.
982
e6351181 9832001-03-20 Zack Weinberg <zackw@stanford.edu>
984
985 * choose-temp.c: Split off make_temp_file, and the code
986 duplicated between it and choose_temp_base, into...
987 * make-temp-file.c: ... here; new file.
988
989 * Makefile.in (CFILES): Add make-temp-file.c.
990 (REQUIRED_OFILES): Add make-temp-file.o.
991
3a18c9fc 9922001-03-20 Jim Blandy <jimb@redhat.com>
993
994 * cp-demangle.c (struct demangling_def): New fields:
995 is_constructor and is_destructor.
996 (demangling_new): Initialize them.
997 (demangle_ctor_dtor_name): Set them, if we detect a constructor
998 or destructor.
999 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1000 is_gnu_v3_mangled_dtor): New functions.
1001
d219f684 10022001-03-20 Jason Merrill <jason@redhat.com>
1003
1004 * cplus-dem.c (main): Skip initial $.
1005
dfc58e62 10062001-03-15 Michael Meissner <meissner@redhat.com>
1007
1008 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1009 might be a signed integer under pre-ISO C systems.
1010
0bce9b89 10112001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1012 John David Anglin <dave@hiauly1.hia.nrc.ca>
1013
1014 * libiberty/lbasename.c: New file.
1015 * libiberty/Makefile.in: Update for lbasename.
1016
012f1707 10172001-03-06 Zack Weinberg <zackw@stanford.edu>
1018
1019 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1020 * configure.in: Replace all alloca logic with a simple use of
1021 the above new macro.
1022 * config.table: Kill *-*-beos* entry.
1023 * config/mh-beos: Delete.
1024 * configure, config.in: Regenerate.
1025
1026 * Makefile.in (ALLOCA, HFILES): Kill.
1027 (REQUIRED_OFILES): Add alloca.o.
1028 (alloca.o): Depend on libiberty.h.
1029 (argv.o): Don't depend on alloca-conf.h.
1030 * alloca-conf.h: Delete.
1031 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1032 blocks. Provide the C alloca unconditionally. Use PTR where
1033 appropriate. Make i00afunc static.
1034 * argv.c: Don't include alloca-conf.h.
1035
163369e7 10362001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1037
1038 * cplus-dem.c (main): Cast enum style to int.
1039
39fb1bb6 10402001-02-16 Loren J. Rittle <ljrittle@acm.org>
1041
1042 * cplus-dem.c (main): Initialize style.
1043
bace101a 10442001-02-02 Phil Edwards <pme@sources.redhat.com>
1045
1046 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1047
1c1033dd 10482001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1049
1050 Add support for Java demangling under the v3 ABI:
1051 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1052 (struct demangling_def): Add `style' field.
1053 (demangling_new): New parameter `style'. Set it in demangling_t.
1054 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1055 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1056 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1057 (main): Call cp_demangle with extra parameter.
1058 (java_demangle_v3): New function.
1059 (java_builtin_type_names): New. Table of primitive type names used
1060 for Java demangling.
1061 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1062 Java output.
012f1707 1063 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1c1033dd 1064 demangling.
1065 (long_options): Remove obsolete `java' option.
1066 (main): Remove explicit handling of `java' option. Instead, pass style
1067 parameter in cplus_demangle flags as gdb does.
1068 * testsuite/demangle.expected: Add some Java test cases.
1069
fec9182b 10702000-12-29 DJ Delorie <dj@redhat.com>
1071
1072 * fnmatch.c: Make the note about the origins of this file more
1073 accurate, at least until we can sync with glibc.
1074 * getopt.c: Ditto.
1075 * getopt1.c: Ditto.
1076 * md5.c: Ditto.
1077 * obstack.c: Ditto.
1078
5b9c32cc 10792000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1080
1081 * bsearch.c: New file.
1082 * configure.in (funcs): Add bsearch.
1083 (AC_CHECK_FUNCS): Likewise.
1084 * configure, config.in: Regenerate.
1085
a973e2b1 10862000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1087
1088 * safe-ctype.c: #include "ansidecl.h".
1089 * strtod.c: Likewise.
1090
14282c1a 10912000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1092
1093 * strtoul.c: Include safe-ctype.h, not ctype.h.
1094
93ce8ce4 10952000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1096
1097 * safe-ctype.c: New file.
1098 * Makefile.in (CFILES): Add safe-ctype.c.
1099 (REQUIRED_OFILES): Add safe-ctype.o.
1100
1101 * argv.c: Define ISBLANK and use it, not isspace.
1102 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1103 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1104 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1105 before calling TOLOWER(c)/TOUPPER(c).
1106
be6afa8f 11072000-12-07 Mike Stump <mrs@wrs.com>
e5fb0a98 1108
1109 * Makefile.in (distclean): When cleaning, remove testsuite.
1110
cf0ad6a8 11112000-12-05 Jason Merrill <jason@redhat.com>
1112
1113 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1114 name before allocating the dyn_string.
1115
bb505139 11162000-12-04 Jason Merrill <jason@redhat.com>
1117
1118 * cp-demangle.c: s/new_abi/v3/.
1119 * cplus-dem.c: Likewise.
1120 (current_demangling_style): Now auto_demangling.
1121 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
93ce8ce4 1122 (main): Use standard symbol chars for auto_demangling.
bb505139 1123
54b3a5af 11242000-11-26 Mark Mitchell <mark@codesourcery.com>
1125
1126 * hashtab.c (higher_prime_number): Use a table, rather than a
1127 seive, to find the next prime.
1128
9628d706 11292000-11-22 H.J. Lu <hjl@gnu.org>
1130
1131 * cplus-dem.c (main): Handle gnat_demangling.
1132
ec255163 11332000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1134
1135 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1136 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1137 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1138 argument form of AC_DEFINE in dummy definitions block. Use
1139 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1140 in dummy block. Preload cache variables instead of bypassing
1141 tests, where possible.
1142 * acconfig.h: Removed.
1143
1144 * xmalloc.c (xmalloc_failed): New function, does error
1145 reporting on failed allocation.
1146 (xmalloc, xcalloc, xrealloc): Use it.
1147
626946fb 11482000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1149
1150 * cplus-dem.c (cplus_demangle): Fix formatting.
1151 (grow_vect): Ditto.
1152 (ada_demangle): Ditto.
1153 (internal_cplus_demangle): Ditto.
1154 (mop_up): Ditto.
1155
11562000-11-21 H.J. Lu <hjl@gnu.org>
1157
1158 * cplus-dem.c (main): Handle java_demangling.
1159
918a89ef 11602000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1161
1162 * cplus-dem.c (grow_vect): Prototype.
1163 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1164
582f72ad 11652000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1166
1167 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1168 parameter `option'.
1169
0d6e3c59 11702000-11-15 Kenneth Block <kenneth.block@compaq.com>
1171
42ded3a1 1172 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0d6e3c59 1173 be used in GCC.
1174
9df8b754 11752000-11-15 Kenneth Block <kenneth.block@compaq.com>
d7c1c148 1176
582f72ad 1177 * cplus-dem.c: Add gnat demangler. Add java to demangle style
d7c1c148 1178 list.
1179
e4c2dc6e 11802000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1181
1182 * hashtab.c (htab_expand): Change to return int. Use calloc or
9f21bac8 1183 xcalloc depending on htab->return_allocation_failure. Return zero
1184 if calloc fails.
e4c2dc6e 1185 (htab_create): Update comment to cover memory allocation.
1186 (htab_try_create): New.
1187 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
9f21bac8 1188 Update comment to cover this.
e4c2dc6e 1189
696d6593 11902000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1191
1192 * hashtab.c: Change void * to PTR where necessary.
1193 (htab_create, htab_expand): Correct formatting of comment before
1194 function.
1195
8f2b45d4 11962000-10-22 Alex Samuel <samuel@codesourcery.com>
f99edf23 1197
1198 * cp-demangle.c (string_list_def): Add caret_position and comments.
1199 (result_caret_pos): New macro.
1200 (result_append_string): Rename to...
1201 (result_add_string): ... this, and insert at caret position.
ec255163 1202 Rename throughout.
f99edf23 1203 (result_append): Rename to...
1204 (result_add): ... this, and insert at caret position. Rename
ec255163 1205 throughout.
f99edf23 1206 (result_append_char): Rename to...
1207 (result_add_char): ... this, and insert at caret position. Rename
ec255163 1208 throughout.
f99edf23 1209 (result_append_space): Remove.
1210 (string_list_new): Initialize caret position.
1211 (result_add_separated_char): Use caret position.
1212 (result_get_caret): New funtion.
1213 (result_set_caret): Likewise.
1214 (result_shift_caret): Likewise.
1215 (result_previous_char_is_space): Likewise.
1216 (substitution_start): Use caret position.
1217 (substitution_add): Likewise.
1218 (demangling_new): Initialize caret position.
1219 (demangle_encoding): Use caret position.
ec255163 1220 (demanglin_nested_name): Put CV qualifiers after name.
f99edf23 1221 (demangle_type_ptr): Use switch statement. Handle pointers to
1222 arrays. Don't use result_append_space. Use caret position.
1223 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ec255163 1224 call to demangle_array_type.
1225 (demangle_array_type): Add parameter to handle pointers to arrays.
1226
a4e59c31 12272000-10-01 Mark Mitchell <mark@codesourcery.com>
1228
1229 * splay-tree.c (splay_tree_insert): Fix formatting.
1230
e41f0d80 12312000-09-16 Mark Mitchell <mark@codesourcery.com>
1232
1233 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1234
83d86ada 12352000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1236
1237 * splay-tree.c: #include <stdio.h>.
1238
78631810 12392000-09-14 Hans-Peter Nilsson <hp@axis.com>
1240
1241 * testsuite/demangle-expected: Add two tests for anonymous
1242 namespaces.
1243 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1244
508f18c8 12452000-09-10 Mark Mitchell <mark@codesourcery.com>
1246
1247 * splay-tree.c (splay_tree_predecessor): New function.
1248 (splay_tree_successor): Likewise.
1249
1a2d2193 12502000-09-10 Hans-Peter Nilsson <hp@axis.com>
1251
1252 * testsuite/demangle-expected: Add four tests for type_info
1253 mangling.
1a2d2193 1254 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1255 for a non-template non-qualified type_info function or node.
1256
09656987 12572000-09-08 Alex Samuel <samuel@codesourcery.com>
1258
1259 * cp-demangle.c: Fix copyright banner.
1260
7cc2d24b 12612000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1262
1263 * md5.c: #include "ansidecl.h".
1264
b83e8722 12652000-09-06 Alex Samuel <samuel@codesourcery.com>
1266
1267 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1268 (demangle_type): Handle substitution candidates correctly in the
1269 face of special substitutions.
1270
cf70278e 12712000-09-05 Alex Samuel <samuel@codesourcery.com>
1272
1273 * cp-demangle.c (demangle_encoding): Rename variable.
1274 (demangle_name): Rename parameter. Handle return type
1275 suppression.
1276 (demangle_nested_name): Rename parameter.
1277 (demangle_prefix): Likewise. Change return type suppression.
1278 (demangle_unqualified_name): Add parameter. Flag constructors and
1279 conversion operators.
1280 (demangle_special_name): Fix comment.
1281 (demangle_type): Rename variable.
1282 (demangle_bare_function_type): Check for missing return type and
ec255163 1283 parameter.
cf70278e 1284 (demangle_class_enum_type): Rename parameter.
1285 (demangle_discriminator): Fix misspelling in comment.
1286
4aabc076 12872000-08-31 DJ Delorie <dj@redhat.com>
1288
1289 * configure.in (Cygwin): special case cygwin only when we're
1290 building cygwin, not when we're hosting cygwin.
1291
804ddfd1 12922000-09-04 Alex Samuel <samuel@codesourcery.com>
1293
1294 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
ec255163 1295 <expression>.
1296
e015a852 12972000-09-04 Alex Samuel <samuel@codesourcery.com>
1298
1299 * cp-demangle.c (demangle_type_ptr): Increment position past
1300 pointer and reference characters.
1301
2b6805b4 13022000-09-04 Alex Samuel <samuel@codesourcery.com>
1303
1304 * cp-demangle.c (demangle_nv_offset): New function.
1305 (demangle_v_offset): Likewise.
1306 (demangle_call_offset): Likewise.
1307 (demangle_special_name): Update thunk demangling to comply with
1308 ABI changes.
ec255163 1309
40e00cb0 13102000-09-03 Alex Samuel <samuel@codesourcery.com>
1311
1312 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1313 (substitution_def): Remove template_parm_number.
1314 (NOT_TEMPLATE_PARM): Remove.
1315 (result_insert_string): New macro.
1316 (result_insert): Likewise.
1317 (result_insert_char): Likewise.
1318 (substitution_add): Remove last parameter. Don't store template
ec255163 1319 parm number.
40e00cb0 1320 (BFT_NO_RETURN_TYPE): Define as NULL.
1321 (demangle_encoding): Adjust call to demangle_bare_function_type.
1322 (demangle_name): Adjust substitution. Adjust call to
ec255163 1323 substitution_add.
40e00cb0 1324 (demangle_prefix): Adjust call to substitution_add.
1325 (demangle_identifier): Handle anonymous namespaces.
1326 (demangle_operator_name): Change demangling of vendor-extended
1327 operator to match ABI changes.
1328 (demangle_type_ptr): Change parameters. Make recursive. Handle
ec255163 1329 substitutions here.
40e00cb0 1330 (demangle_type): Adjust calls to demangle_template_param,
1331 substitution_add, and demangle_type_ptr. Fix substitution of
1332 templated types.
1333 (demangle_function_type): Change parameter to a pointer.
1334 (demangle_bare_function_type): Likewise. Adjust insertion point.
1335 (demangle_template_param): Remove last parameter.
1336 (demangle_expr_primary): Remove unused variable. Adjust call to
ec255163 1337 demangle_template_param.
40e00cb0 1338 (is_mangled_char): Accept `$' and `.'.
1339 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1340 * dyn-string.c (dyn_string_insert_char): New function.
1341
01f404a2 13422000-08-31 Hans-Peter Nilsson <hp@axis.com>
1343
1344 * testsuite/demangle-expected: Add nine tests for
1345 underscore-after-number followed by five tests for name-signature
1346 delimiter.
1347
d74245d4 13482000-08-28 Richard Henderson <rth@cygnus.com>
1349
1350 * Makefile.in (md5.o): Depend on config.h.
1351
19f716e5 13522000-08-28 Jason Merrill <jason@redhat.com>
1353
1354 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1355 (CFILES): Add md5.c.
1356 * md5.c: New file.
1357
f8aeab41 13582000-08-27 Alex Samuel <samuel@codesourcery.com>
1359
1360 * cp-demangle.c (demangle_name): Initialize template_p in local
1361 name case. Don't re-add substitutions as candidates.
1362 (demangle_nested_name): Use <unqualified-name>.
1363 (demangle_prefix): Likewise. Don't add template names as
1364 substitution candidates twice, or re-add a substitution or the
1365 last prefix component.
1366 (demangle_local_name): Adjust output format.
1367
62c2feed 13682000-08-25 Alex Samuel <samuel@codesourcery.com>
1369
1370 * cp-demangle.c (result_add_separated_char): Change parameter to
1371 int.
1372 (substitution_add): Don't check for duplicates. Check if
1373 previously allocated size is zero.
1374 (demangle_name): Remove duplicate check for std substitution.
1375 Clear template flag appropriately.
1376 (demangle_prefix): Remove argument to demangle_substitution.
1377 Don't check that template flag is already set.
1378 (demangle_operator_name): Add pt operator.
1379 (demangle_type): Don't treat r as built-in type. Remove argument
1380 to demangle_substitution. Fix substitution candidate mechanics.
1381 Handle <template-template-parm>s. Improve comments.
ec255163 1382 (demangle_template_param): Don't handle template arg lists here.
62c2feed 1383 (demangle_substitution): Remove parameter.
1384 (print_usage): Remove extra fprintf option.
1385
ee1d4c3d 13862000-08-24 Greg McGary <greg@mcgary.org>
1387
1388 * libiberty/random.c (end_ptr): Revert previous change.
1389
f0bff53d 13902000-08-24 Greg McGary <greg@mcgary.org>
1391
1392 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1393 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1394 * libiberty/random.c (end_ptr): Likewise.
1395
c1b316c0 13962000-08-23 Alex Samuel <samuel@codesourcery.com>
1397
1398 * cp-demangle.c (result_close_template_list): Remove function.
1399 (result_add_separated_char): New function.
1400 (result_open_template_list): New macro.
1401 (result_close_template_list): Likewise.
1402 (demangle_prefix): Don't set template_p if the
1403 prefix ends with a ctor name.
1404 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1405 (demangle_type): Check for template args after substitution.
1406 (demangle_template_args): Use result_open_template_list.
ec255163 1407
385b48fc 14082000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1409
1410 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1411
ec255163 14122000-07-26 Dave Pitts <dpitts@cozx.com>
ba886691 1413
1414 * config/mh-openedition.h: Added -DLE370 definition.
1415
8fc0efd2 14162000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1417
1418 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1419 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1420 Cast program to 'char *' in errmsg_arg assignment.
1421 (PWAIT_ERROR): Define.
1422 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1423 to DJGPP's WIF* macros.
1424
a1d4f79a 14252000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1426 Jeff Law <law@cygnus.com>
1427
98b4c197 1428 * getcwd.c: Include string.h, stdlib.h for prototypes
1429
a1d4f79a 1430 * Makefile.in (rename.o, waitpid.o): Depend on config.h
98b4c197 1431 * rename.c: Include config.h, unistd.h
1432 * waitpid.c: Include config.h, sys/wait.h
a1d4f79a 1433
01f404a2 14342000-07-24 Hans-Peter Nilsson <hp@axis.com>
1435
1436 * cplus-dem.c (work_stuff_copy_to_from): New.
1437 (delete_non_B_K_work_stuff): New.
1438 (delete_work_stuff): New.
1439 (mop_up): Break out work_stuff partly destruction to
1440 delete_non_B_K_work_stuff.
1441 (iterate_demangle_function): New.
1442 (demangle_prefix): Call iterate_demangle_function instead of
1443 demangle_function_name. Leave handling of name-signature
1444 __-delimiters to iterate_demangle_function.
1445 (demangle_integral_value): Strip an optional
1446 following underscore cautiously. Handle negative numbers.
1447
f2e5a608 14482000-07-24 Daniel Berlin <dberlin@redhat.com>
1449
ec255163 1450 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
f2e5a608 1451 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1452
65bcf503 14532000-07-21 Alex Samuel <samuel@codesourcery.com>
1454
1455 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1456 allocating ctor mangling.
1457 (demangle_array_type): Handle empty and non-constant array length.
1458
68e6b6e1 14592000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a451eef0 1460 Jeff Law <law@cygnus.com>
1461
1a163ca8 1462 * configure.in (AC_CHECK_HEADERS): Add time.h.
1463 (AC_HEADER_TIME): Add check.
1464 * configure, config.in: Regenerate.
1465 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1466
a451eef0 1467 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1468 * configure, config.in: Regenerate.
1469 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1470 * strtol.c, strtoul.c: #include "config.h". Portably #include
1471 <limits.h> and/or <sys/param.h>.
1472 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
68e6b6e1 1473
fb758229 1474 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1475 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1476 * configure, config.in: Regenerate.
1477 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1478
68e6b6e1 1479 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1480
ad46fec4 14812000-07-21 Mike Stump <mrs@wrs.com>
1482
1483 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
7b23d366 1484 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
ad46fec4 1485
bb37062f 14862000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1487
1488 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1489
1490 * setenv.c (setenv): Initialize variable `ep'.
1491
1492 * sigsetmask.c (abort): Prototype.
1493
1494 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1495 __STDC__ for stdarg.h include.
1496 (int_vasprintf): Prototype.
1497 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1498 definition. Cast `global_total_width' in comparison.
1499 (main): Prototype. Return a value.
1500
1501 * vfork.c (fork): Prototype.
1502
1503 * xexit.c: Include config.h.
1504
6cb730c2 15052000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1506
1507 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1508 and print it with %u.
1509
e42d7fe1 15102000-07-17 Hans-Peter Nilsson <hp@axis.com>
1511
1512 * testsuite/regress-demangle (failed test): Show result and
1513 expected output.
1514
04ef60ef 15152000-07-07 Andrew Haley <aph@cygnus.com>
1516
1517 * cplus-dem.c (main): fflush() after emitting last char before
1518 waiting for input.
1519
b7f68aff 15202000-06-28 Alex Samuel <samuel@codesourcery.com>
1521
1522 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1523 (demangle_name): Handle <substitution> followed by
1524 <unqualified-template-name>.
1525 (demangle_type): Follow special substitutions with
1526 <class-enum-type>
1527 (demangle_subtitution): Set template_p for special substitutions.
1528 (main): Fix typos.
ec255163 1529
597f928d 15302000-06-27 Alex Samuel <samuel@codesourcery.com>
1531
1532 * cp-demangle.c (demangle_special_name): Swap base and derived
1533 class when demangling construction vtables.
1534
140d75d7 15352000-06-21 Alex Samuel <samuel@codesourcery.com>
1536
1537 * cp-demangle.c: Don't include ctype.h.
1538 (IS_DIGIT): New macro.
1539 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1540 instead of isdigit and isalpanum.
1541 (demangling_def): Make name and next const pointers.
1542 (STATUS_ALLOCATION_FAILED): New status code.
1543 (dyn_string_append_space): Handle failure in
1544 dyn_string_append_char.
1545 (int_to_dyn_string): Likewise. Change return value to status_t.
1546 (string_list_new): Handle failure of dyn_string_init.
1547 (result_close_template_list): Change return type to status_t.
1548 Handle failure in dyn_string_append.
1549 (result_push): Change return value to status_t. Handle failure in
1550 string_list_new. Handle failure of result_push throughout.
1551 (substitution_add): Change return value to status_t. Handle
1552 dyn_string failures. Handle failure of substitution_add
1553 throughout.
1554 (template_arg_list_new): Return NULL on allocation failure.
1555 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1556 Handle error result throughout.
1557 (result_append): Likewise.
1558 (result_append_char): Likewise.
1559 (result_append_space): Likewise.
1560 (demangling_new): Make argument a const pointer. Handle
1561 allocation failures.
1562 (demangle_template_args): Handle failure in template_arg_list_new
1563 and result_close_template_list.
1564 (demangle_discriminator): Return if int_to_dyn_string fails.
1565 (cp_demangle): Likewise.
1566 (cp_demangle_type): New function.
1567 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1568 memory allocation failure.
1569 (main): Likewise.
1570 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1571 IN_LIBGCC2.
1572 (dyn_string_init): Change return value to int. Handle
1573 RETURN_ON_ALLOCATION_FAILURE case.
1574 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1575 (dyn_string_release): Delete the dyn_string.
1576 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1577 (dyn_string_copy): Change return type to int.
1578 (dyn_string_copy_cstr): Likewise.
1579 (dyn_string_prepend): Likewise.
1580 (dyn_string_prepend_cstr): Likewise.
1581 (dyn_string_insert): Likewise.
1582 (dyn_string_insert_cstr): Likewise.
1583 (dyn_string_append): Likewise.
1584 (dyn_string_append_cstr): Likewise.
1585 (dyn_string_append_char): Likewise.
1586 (dyn_string_substring): Likewise.
ec255163 1587
210aba33 15882000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1589
1590 * cp-demangle.c (demangle_operator_name): Add spaces before
1591 names beginning with a letter: delete, delete[], new, new[],
1592 sizeof.
1593 (demangle_special_name): Handle TF <type> and TJ <type>.
1594
0b4450c1 1595Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1596
1597 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1598
e5d6924a 1599Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1600
1601 * cp-demangle.c (stdio.h): File included unconditionaly.
1602 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1603 * dyn-string.c (stdio.h): File included.
1604 * partition.c (partition_print): No `&' needed to take the address of
1605 a function.
1606
da8bd873 16072000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1608
1609 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ec255163 1610
da8bd873 1611 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1612
1613 * cp-demangle.c (demangle_char): Change parameter from char to int.
1614 (demangle_expression, demangle_expr_primary): Remove extra
1615 semi-colon in prototype.
1616
1617 * dyn-string.c (dyn_string_append_char): Change parameter from
1618 char to int.
1619
1620 * memcmp.c (memcmp): Constify.
1621
1622 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1623 __extension__.
1624
1625 * partition.c (elem_compare): Prototype. Don't cast away
1626 const-ness.
1627
1628 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ec255163 1629
4b7bc488 16302000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1631
1632 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1633
1634 * cp-demangle.c: Include demangle.h.
1635 (template_arg_list_new): DeANSIfy.
1636 (cp_demangle): Make static and add prototype.
1637 (operator_code, operators): Constify.
1638 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1639
7ae7b54c 16402000-06-05 Alex Samuel <samuel@codesourcery.com>
1641
1642 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1643 unsigned char.
1644 (demangle_unqualified_name): Likewise.
1645 (demangle_number_literally): Likewise.
1646 (demangle_type): Likewise.
1647 (demangle_substitution): Likewise.
1648 (is_mangled_char): Likewise, for isalnum.
1649
168d63e5 16502000-06-04 Alex Samuel <samuel@codesourcery.com>
1651
1652 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1653 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1654 (cp-demangle.o): New dependency.
1655 (dyn-string.o): Likewise.
1656
1657 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1658
1659 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1660 demangler.
1661 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1662 demangling mode.
1663 (gnu_new_abi_symbol_characters): New function.
1664 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1665 file.
1666 * cp-demangle.c: New file.
ec255163 1667
b5495c1d 1668Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1669
1670 * floatformat.c: Add name to each floatformat field.
1671
8fab1737 1672Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1673
1674 * Makefile.in (objalloc.o): Depend on config.h
1675
317ab997 16762000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1677
1678 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1679 if HAVE_STRING_H.
1680 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1681 * objalloc.c: Include config.h. Include stdlib.h and don't
1682 declare malloc or free if HAVE_STDLIB_H.
1683 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1684 else declare malloc without prototype. Include string.h if
1685 HAVE_STRING_H, else declare memset without prototype. Don't
1686 include stddef.h.
1687
874478ba 16882000-05-23 Mike Stump <mrs@wrs.com>
1689
1690 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
9f21bac8 1691 -j3.
874478ba 1692
55de1520 16932000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1694
1695 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1696
e51b357b 16972000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1698
ec255163 1699 * hashtab.c (hash_pointer): Delete low-order bits which are
e51b357b 1700 probably zero, also eliminate a warning on alpha.
1701
9e362499 17022000-05-15 David Edelsohn <edelsohn@gnu.org>
1703
e390e838 1704 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
9e362499 1705 on $(enable_shared).
1706
06c6487f 17072000-05-10 Jakub Jelinek <jakub@redhat.com>
1708
1709 * config.table: Use mh-sparcpic for sparc*-*-*.
1710
0baf89fb 17112000-05-08 Nick Clifton <nickc@cygnus.com>
1712
1713 * Makefile.in (CFILES): Add strncmp.c.
1714 (NEEDED): Add strncmp.
1715
59f72e4d 17162000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1717
1718 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1719 Cast the arguments to `islower' to `unsigned char'.
1720 (print_demangler_list): Prototype.
1721
fb0c90ed 1722Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1723
1724 * sort.c (UCHAR_MAX): Provide fallback definition.
1725
167a5f18 17262000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1727
1728 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1729 SUBDIRS.
1730
6f572555 17312000-04-28 Kenneth Block <block@zk3.dec.com>
1732 Jason Merrill <jason@casey.cygnus.com>
1733
ec255163 1734 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1735 (cplus_demangle_set_style): New function for setting style.
1736 (cplus_demangle_name_to_style): New function to translate name.
6f572555 1737
b3524c8f 17382000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1739
1740 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1741
1742 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1743 (libiberty_AC_FUNC_STRNCMP): Invoke.
1744
1745 * strncmp.c: New file.
1746
a5f725a3 1747Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1748
1749 * hashtab.c (htab_expand): Add prototype.
1750 (find_empty_slot_for_expand): Likewise.
1751
8afd4145 17522000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1753
1754 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1755 match prototype.
1756 (htab_expand): Cast the return value of xcalloc.
1757
c9dfb8ae 17582000-04-24 Mark Mitchell <mark@codesourcery.com>
1759
1760 * hashtab.c (hash_pointer): New function.
1761 (eq_pointer): Likewise.
1762 (htab_hash_pointer): New variable.
1763 (htab_eq_pointer): Likewise.
1764
85993fc6 17652000-04-23 Mark Mitchell <mark@codesourcery.com>
1766
9517f453 1767 * sort.c (sort_pointers): Fix endianness bugs.
1768
85993fc6 1769 * sort.c: New file.
1770 * Makefile.in (CFILES): Add sort.c
1771 (REQUIRED_OFILES): Add sort.o.
1772 (sort.o): New target.
1773
c9b2f47c 17742000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1775
1776 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1777 4.3BSD systems.
1778
2b3dbc20 1779Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1780
1781 * hashtab.c: Various minor cleanups.
1782 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1783 (htab_find_slot): Likewise.
1784
6ea8a864 17852000-04-16 Dave Pitts <dpitts@cozx.com>
1786
1787 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ec255163 1788
105211e5 17892000-04-05 Richard Henderson <rth@cygnus.com>
1790
1791 * splay-tree.c (splay_tree_remove): New.
1792
7669680f 17932000-03-30 Mark Mitchell <mark@codesourcery.com>
1794
1795 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1796 codes.
1797 (htab_find_with_hash): Likewise.
1798 (htab_find_slot_with_hash): Likewise.
ec255163 1799
07c797e3 18002000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1801
1802 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1803 unless it will be used. Rearrange loop for better
1804 optimization.
1805 (higher_prime_number): Add static prototype.
1806
8ef1b8d1 1807Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1808
1809 * Makefile.in (partition.o): Depend on config.h
1810
ed26da85 18112000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1812
1813 * hashtab.c (find_empty_slot_for_expand): New function.
1814 (htab_expand): Use it instead of htab_find_slot.
1815 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1816 argument HASH.
1817 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1818 (htab_find): New wrapper function.
1819 (htab_find_slot): Likewise.
1820 (htab_traverse): Pass slot, not entry, to called function.
1821
dadde703 18222000-03-09 Alex Samuel <samuel@codesourcery.com>
1823
1824 * Makefile.in (CFILES): Add partition.c.
1825 (REQUIRED_OFILES): Add partition.o.
1826 (partition.o): New rule.
1827 * partition.c: New file.
ec255163 1828
3fdd387a 18292000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1830
1831 * hashtab.c (htab_create): Set del_f.
1832 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1833 Use it.
1834
07c967f9 18352000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1836
1837 * hashtab.c: Remove debugging variables (all_searches,
1838 all_collisions, all_expansions). Delete
1839 all_hash_table_collisions.
1840 (create_hash_table, delete_hash_table, empty_hash_table,
1841 find_hash_table_entry, remove_element_from_hash_table_entry,
1842 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1843 hash_table_elements_number, hash_table_collisions): Rename to:
1844 htab_create, htab_delete, htab_empty, htab_find_slot,
1845 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1846 htab_elements, htab_collisions.
1847 (htab_find): New function, handles common case where you don't
1848 plan to add or delete an entry.
1849 (htab_expand): Don't create a whole new table, just a new
1850 entry vector.
1851 (htab_find_slot): Simplify logic.
1852
1f33a375 18531999-08-03 Ian Lance Taylor <ian@zembu.com>
1854
1855 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1856 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1857
1858 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1859 $(TARGETLIB)n so it works on MSDOS.
1860 (install_to_tooldir): Likewise.
1861
18621999-07-21 Ian Lance Taylor <ian@zembu.com>
1863
1864 From Mark Elbrecht:
1865 * makefile.dos: Remove; obsolete.
1866 * configure.bat: Remove; obsolete.
1867
18681999-07-11 Ian Lance Taylor <ian@zembu.com>
1869
1870 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1871 warning.
1872
b99e5aef 18732000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1874
1875 * pexecute.c: Conditionally include string.h.
07c967f9 1876 (fix_argv): Handle embedded whitespace in args for Mingw32.
b99e5aef 1877
6d93ad38 18782000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1879
1880 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1881 we're using gcc.
1882
1883 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1884
59dfb43e 18851999-12-27 Geoff Keating <geoffk@cygnus.com>
1886
1887 * vasprintf.c (int_vasprintf): Don't re-read the format character
1888 as this mishandles strings like '%%s'.
1889
b04bbebb 18901999-12-05 Mark Mitchell <mark@codesourcery.com>
1891
1892 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1893 rather than struct splay_tree_node.
1894 (splay_tree_insert): Use struct splay_tree_s rather than struct
1895 splay_tree.
1896
d7f8de75 1897Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1898
1899 * hashtab.c (sys/types.h): File included.
1900
7202ac7d 19011999-11-22 Jason Merrill <jason@casey.cygnus.com>
1902
1903 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1904 BSD license, pursuant with
1905
1906 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1907
bd41a79e 1908Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1909
1910 * hashtab.c: Include stdio.h.
1911
b77d3fd0 1912Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1913
1914 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1915
1b4391fe 1916Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1917
1918 * xstrdup (sys/types.h): Include this file.
1919
4bc57096 19201999-10-28 Nathan Sidwell <nathan@acm.org>
1921
1922 * Makefile.in (SUBDIRS): New macro.
1923 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1924 avoid multiple subdirectory cleaning.
1925 (*-subdir): Use SUBDIRS.
1926
9087cad2 19271999-10-25 Jim Kingdon <http://developer.redhat.com/>
1928
1929 * cplus-dem.c: Move declarations of standard_symbol_characters and
1930 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1931 warnings.
1932
21a7d507 19331999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1934
1935 * hashtab.c (find_hash_table_entry): When returning a
1936 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1937 (clear_hash_table_slot): New function which deletes an entry
1938 by its position in the table, not its value.
1939 (traverse_hash_table): New function which calls a hook
1940 function for every live entry in the table.
1941
42c870f1 19421999-10-19 Mark Mitchell <mark@codesourcery.com>
1943
1944 * cplus-dem.c (INTBUF_SIZE): New macro.
1945 (string_append_template_idx): New function.
1946 (demangle_expression): Likewise.
1947 (demangle_integral_value): Use it.
1948 (demangle_real_value): New function, split out from ...
1949 (demangle_template_value_parm): ... here. Use
1950 string_append_template_idx. Use demangle_real_value.
1951 (demangle_template): Use string_append_template_idx.
1952 (demangle_qualified): Use consume_count_with_underscores.
1953 (get_count): Tweak formatting.
1954 (do_type): Use string_append_template_idx.
07c967f9 1955
33b090eb 19561999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1957
1958 * calloc.c: Add a public domain notice.
1959
9879c2ce 1960Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1961
1962 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1963
5da6c26f 1964Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1965
1966 * Makefile.in (CFILES): Add hashtab.c
1967 (REQUIRED_OFILES): Add hashtab.o
1968 (hashtab.o): Add dependencies.
1969 * hashtab.c: New file
1970
be42b79e 1971Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1972
1973 * basename.c (DIR_SEPARATOR): New macro.
1974 (DIR_SEPARATOR_2): Likewise.
1975 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1976 (IS_DIR_SEPARATOR): Likewise.
1977 (main): Handle MSDOS style pathname.
1978
6c65e8d7 19791999-10-11 Mark Mitchell <mark@codesourcery.com>
1980
1981 * cplus-dem.c (do_type): Handle pointer to member types whose
1982 enclosing classes have namespace scope.
1983
278929f3 1984Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1985
1986 * config.table: Provide a backup shell for executing move-if-change.
1987
a7599ac8 19881999-10-02 Mark Mitchell <mark@codesourcery.com>
1989
1990 * xmalloc.c (xmalloc): Fix spelling error.
1991 (xcalloc, xrealloc): Likewise.
1992
4d84eafd 19931999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1994
1995 * cplus-dem.c (fancy_abort, demangle_integral_value,
1996 demangle_arm_hp_template, recursively_demangle,
1997 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1998 (program_name, program_version, fatal): Constify a char*.
1999 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2000 (main): Call return, not exit.
2001
8f376364 20021999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2003
2004 * choose-temp.c: Remove obsolete comment about gcc.
2005 (make_temp_file): Constify a char*.
2006
3a4fff76 2007Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2008
2009 * xmemdup.c: Include sys/types.h.
2010
7570bccb 20111999-09-07 Jeff Garzik <jgarzik@pobox.com>
2012
2013 * xmemdup.c: New xmemdup function.
2014 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2015
b50c7be3 2016Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2017
07c967f9 2018 * config.table: Add openedition target.
b50c7be3 2019 * config/mh-openedition: New file.
2020
fd0c1d22 2021Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2022
2023 * pexecute.c (pexecute): Fill in temp_base when needed.
2024
be342bf0 20251999-08-31 Richard Henderson <rth@cygnus.com>
2026
2027 * getpwd.c: Check HAVE_GETCWD before defining it away.
2028
71774460 20291999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2030
2031 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2032 (REQUIRED_OFILES): Add getpwd.o.
2033 (getpwd.o): Add target.
2034
2035 * configure.in (AC_PREREQ): Bump to 2.13.
2036 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2037
2038 * getpwd.c: New file, moved here from gcc.
2039
ac126d82 20401999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2041
2042 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2043 comparing against a signed quantity.
2044 (arm_special): Likewise.
2045 (demangle_fund_type): Likewise.
2046 (do_hpacc_template_const_value): Mark parameter `work' with
07c967f9 2047 ATTRIBUTE_UNUSED.
ac126d82 2048 (main): Constify variable `valid_symbols'.
2049
4f3b4661 2050Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2051
2052 * strtoul.c (strtoul): Add parentheses around && within ||.
2053
f92ff492 2054Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2055
2056 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2057 libdir, libsubdir and tooldir.
2058
a9f46aed 20591999-08-01 Mark Mitchell <mark@codesourcery.com>
2060
2061 * splay-tree.c (splay_tree_insert): Return the new node.
2062
db081298 20631999-07-14 Richard Henderson <rth@cygnus.com>
2064
07c967f9 2065 * argv.c: Include stdlib.h and string.h instead of
db081298 2066 prototyping directly.
2067 * choose-temp.c: Conditionally include string.h.
2068
e5aa3a54 20691999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2070
2071 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2072
4ef402f7 20731999-07-11 Ian Lance Taylor <ian@zembu.com>
2074
2075 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2076 warning.
2077
d65034bd 20781999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2079
2080 * Makefile.in (needed-list): Only include stuff we actually need
2081 for libstdc++.
2082
18912799 20831999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2084
2085 * configure.in (checkfuncs): Add gettimeofday.
2086 * config.in, configure: Regenerated.
2087
d96f58b6 2088Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2089
2090 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2091 the test fails.
2092 * configure: Regenerate.
2093
4248b202 20941999-06-10 Mike Stump <mrs@wrs.com>
2095
2096 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2097 parallel builds.
2098
3c243ded 20991999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2100
2101 * putenv.c: Include ansidecl.h to define `const'.
2102 * setenv.c: Likewise.
2103
654c70ae 2104Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2105
34f75864 2106 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2107 * configure.in (funcs): Add putenv and setenv.
2108 (AC_CHECK_FUNCS): Check for putenv and setenv.
2109 * configure: Rebuilt.
2110 * putenv.c setenv.c: New files.
2111
654c70ae 2112 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2113 bytes of space using malloc.
2114
41980611 2115Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2116
2117 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2118 the *mangled pointer beyond the end of the string. Clean up code to
2119 match prevailing coding style.
2120
08b8ada9 21211999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2122
2123 * tmpnam.c (L_tmpnam): Fix typo.
2124
2fb1c6e9 2125Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2126
2127 * cplus-dem.c (standard_symbol_characters): Renamed from
2128 standard_symbol_alphabet. No longer modify TABLE.
2129 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2130 modify TABLE.
2131 (main): Corresponding changes. Use strchr to determine if a
2132 character is valid.
2133
25398e41 21341999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2135
2136 * cplus-dem.c (main): Use table lookup to distinguish identifier
2137 characters from non-identifier characters.
2138 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2139
29723d26 2140Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2141
2142 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2143 * getruntime.c: Only attempt to include sys/resource.h and
2144 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2145 are defined.
2146
dde96550 2147Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2148
2149 * configure.in (alloca detection): Handle alloca directly for interix.
2150 * configure: Rebuilt.
2151
e98ba651 2152Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2153
2154 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2155
3460a017 21561999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2157
2158 Fix from Dale Hawkins:
07c967f9 2159 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
3460a017 2160 reallocated properly if we use it again.
2161
2162 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2163 stricter about syntax. Always null-terminate string.
2164
b01c0955 2165Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2166
2167 * configure.in (checkfuncs): Check for sbrk.
2168 * config.in: Rebuilt.
2169 * configure: Likewise.
2170 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2171
87c2e884 21721999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2173
2174 Fix from Marcus Daniels:
2175 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2176 identifier looking for another underscore.
2177
16b8e80f 2178Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2179
2180 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2181 * xmalloc.c: Likewise.
2182 (xcalloc): UWIN has sbrk.
2183 (xrealloc): Fix guard macro.
2184
4d0cfb7e 21851999-04-11 Richard Henderson <rth@cygnus.com>
2186
2187 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2188 or <alloca.h>.
2189 * clock.c (GNU_HZ): New definition.
2190 (clock): Use it.
2191 * getruntime.c: Likewise.
2192
2193 * config.table: Use mh-beos.
2194 * config/mh-beos: New file.
2195
0dc64970 21961999-04-11 Mark Mitchell <mark@codesourcery.com>
2197
2198 * cplus-dem.c (demangle_template_value_parm): Handle
2199 pointers-to-members.
2200 (do_type): Handle template parameters as qualifiers.
2201
9fec6063 22021999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2203
2204 * cplus-dem.c: Attempt to handle overflows in counts with some
2205 semblance of grace.
2206 (consume_count): Detect overflows. Return -1 to indicate errors,
2207 instead of zero.
2208 (demangle_template_value_parm, demangle_template): Handle change
2209 to consume_count's return convention.
2210
715f424c 22111999-04-05 Tom Tromey <tromey@cygnus.com>
2212
2213 * testsuite/regress-demangle: New file.
2214 * testsuite/demangle-expected: New file.
2215
2216 * Makefile.in (all, check, installcheck, info, install-info,
2217 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2218 distclean, maintainer-clean, realclean): Depend on corresponding
2219 `-subdir' target.
2220 (all-subdir check-subdir installcheck-subdir info-subdir
2221 install-info-subdir clean-info-subdir dvi-subdir
2222 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2223 distclean-subdir maintainer-clean-subdir): New target.
2224 * testsuite/Makefile.in: New file.
2225 * configure: Rebuilt.
2226 * configure.in: Create testsuite/Makefile.
2227
71c5948c 22281999-04-02 Mark Mitchell <mark@codesourcery.com>
2229
2230 * splay-tree.h (splay_tree_compare_pointers): Define.
2231
d1264606 22321999-03-30 Mark Mitchell <mark@codesourcery.com>
2233
2234 * splay-tree.c (splay_tree_compare_ints): Define.
2235
6fd618e7 22361999-03-30 Tom Tromey <tromey@cygnus.com>
2237
2238 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2239 don't advance input pointer.
2240 (demangle_class_name): If consume_count didn't find a count, do
2241 nothing. Don't bother with `strlen' sanity check; consume_count
2242 does it for us.
2243
bdaa26ad 22441999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2245
2246 From Art Haas <ahaas@neosoft.com>:
2247 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2248 when doing arm or hp style.
2249 (demangle_nested_args): Decr forgetting_types field when done.
07c967f9 2250
d267f778 2251Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2252
2253 * pexecute.c (__CYGWIN32__): Rename to
2254 (__CYGWIN__): this.
2255 * xmalloc.c: Likewise.
2256
2257 Changes to support i386-pc-uwin.
2258 * configure.in (*-*-uwin*): Workaround for vfork bug.
2259 * configure: Regenerate.
2260 * pexecute.c (pexecute): Be like standard Unix.
2261 (pwait): Likewise.
2262 * xmalloc.c (first_break): Define.
2263 (xmalloc_set_program_name): Use.
2264 (xmalloc): Use.
2265
90405950 2266Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2267
2268 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2269
bdaa26ad 2270Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2271
2272 * config.table: Check cygwin*, not cygwin32*.
2273
e6ed8194 2274Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2275
2276 * Makefile.in: Change mkstemp -> mkstemps.
2277
301e59c9 2278Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2279
2280 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2281 * configure.in (funcs): Check for and conditionally add mkstemps to
2282 the list of functions libiberty will provide.
2283 * configure: Rebuilt.
07c967f9 2284
89e305f9 2285Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2286
07c967f9 2287 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
89e305f9 2288 platforms that don't have HZ.
2289 * getruntime.c (HZ): Likewise.
2290
ecfe64e7 2291Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2292
2293 * Makefile.in (xstrdup.o): Depend on config.h.
2294
2e5e2114 2295Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2296
2297 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2298 freeing it.
2299
6aa62a59 2300Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2301
2302 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2303
bdaa26ad 2304Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2305
2306 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2307 splay-tree.o.
2308
23091999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2310
2311 * configure.in: Require autoconf 2.12.1 or higher.
2312
9e1ed734 23131998-12-30 Michael Meissner <meissner@cygnus.com>
2314
2315 * random.c (NULL): Don't redefine NULL if it is already defined.
2316
7c8c70e9 2317Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2318
2319 * argv.c (buildargv): Cast the result of alloca in assignment.
2320
2321 * choose-temp.c: Include stdlib.h.
2e5e2114 2322
7c8c70e9 2323 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
9f21bac8 2324 (snarf_numeric_literal): Constify first parameter.
2325 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2326 int, not a char.
7c8c70e9 2327 (demangle_qualifier): Likewise.
2328 (demangle_signature): Cast the argument of a ctype function to
2329 unsigned char.
2330 (arm_pt): Add parens around assignment used as truth value.
2331 (demangle_arm_hp_template): Constify variable `args'.
2332 (do_hpacc_template_const_value): Cast the argument of a ctype
2333 function to unsigned char.
2334 (do_hpacc_template_literal): Remove unused variable `i'.
2335 (snarf_numeric_literal): Constify parameter `args'.
2336 Cast the argument of a ctype function to unsigned char.
2337
2338 * floatformat.c (floatformat_to_double): Add explicit braces to
9f21bac8 2339 avoid ambiguous `else'.
2e5e2114 2340
7c8c70e9 2341 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
9f21bac8 2342 `cstart' and `cend' to unsigned char. Cast the argument of macro
2343 `FOLD', which uses ctype functions, to unsigned char.
7c8c70e9 2344
2345 * objalloc.c (free): Add prototype.
2346
9070a37e 2347Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2348
2349 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2350
bdaa26ad 2351Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2352
2353 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
9f21bac8 2354 doesn't exist.
bdaa26ad 2355 (do_hpacc_template_literal): remove unused variable `i'.
07c967f9 2356
0a5a5994 2357Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2358
2359 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2360 bumping the pointer we read from. Also prepend these codes,
2361 as we do in other places.
2362
bdaa26ad 23631998-12-18 Nick Clifton <nickc@cygnus.com>
2364
2365 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2366 'const char *' in order to match its usage when calling siblings.
2367 (snarf_numeric_literal): Make first arg 'const char **' in order
2368 to match usage.
4ed77eec 2369
50cbddd6 2370Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2371
4ed77eec 2372 * choose-temp.c: Don't check IN_GCC anymore.
2373
2374 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2375 * memchr.c (memchr): Likewise.
2376 * memcpy.c (memcpy): Likewise.
2377 * memmove.c (memmove): Likewise.
2e5e2114 2378
4ed77eec 2379 * mkstemp.c: Don't check IN_GCC anymore.
2380 * pexecute.c: Likewise.
2381 * splay-tree.c: Likewise.
2e5e2114 2382
4ed77eec 2383 * strchr.c (strchr): Use `const', not `CONST'.
2384 * strrchr.c (strrchr): Likewise.
2385 * strtol.c (strtol): Likewise.
2386 * strtoul.c (strtoul): Likewise.
2387
f75dc4de 2388Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2389 Elena Zannoni <ezannoni@cygnus.com>
2390 Stan Shebs <shebs@cygnus.com>
2391 Edith Epstein <eepstein@cygnus.com>
2392 Andres MacLeod <amacleod@cygnus.com>
2393 Satish Pai <pai@apollo.hp.com>
2394
2395 * HP aCC demangling support.
2396 * cplus-dem.c
2397 (main): Remove default to HP style demangling, set to EDG
9f21bac8 2398 demangling correctly when -edg specified; set the demangling style
2399 when user specifies 'edg'. Set strip_underscore to
2400 prepends_underscore, if not HPUXHPPA. Set
2401 current_demangling_style to hp_demangling if HPUXHPPA. Set
2402 current demangling style correctly if the switch is hp. Read
2403 label correctly also in the HP style case.
f75dc4de 2404 (work_stuff): add temp_start field; add field for volatile member
9f21bac8 2405 function.
f75dc4de 2406 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
9f21bac8 2407 style for this case is the same as ARM.
f75dc4de 2408 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2409 (demangle_arm_hp_template): new function. (It was
9f21bac8 2410 demangle_arm_pt.); check and set value of temp_start field in
2411 multiple places. Also, when ceching for end of template args,
2412 check to see if at end of static member of template class.
f75dc4de 2413 (demangle_class): new local variable : save_class_name_end Don't
9f21bac8 2414 include template args in string defining class.
f75dc4de 2415 (demangle_class_name): use demangel_arm_hp_template.
2416 (demangle_function_name): handle case where demangling style is
9f21bac8 2417 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2418 Handle EDG_DEMANGLING style. Handle constructor and destructor
2419 ops for HP style.
f75dc4de 2420 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
9f21bac8 2421 styles. global destructor and constructor for HP style are same
2422 as for ARM style. Same for local variables.
f75dc4de 2423 (demangle_qualified): handle EDG_DEMANGLING style.
2424 (demangle_signature): add case for volatile member function. For
9f21bac8 2425 cases '1' - '9' : initialize the temp_start field to -1 and handle
2426 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2427 and AUTO_DEMANGLING styles. If expecting a function and managed
2428 to demangle the funct args, then handle the LUCID_DEMANGLING,
2429 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2430 class name after "Lnnn_ in HP style case. HP style too needs to
2431 forget types. _nnn is OK for HP style, so don't report failure.
f75dc4de 2432 (do_hpacc_template_const_value): new function. Handle template's
9f21bac8 2433 value param for HP/aCC.
f75dc4de 2434 (do_hpacc_template_literal): new function. Handle a template's
9f21bac8 2435 literal parameter for HP aCC.
f75dc4de 2436 (recursively_demangle): new function
2437 (snarf_numeric_literal): new function.
2438 (usage): add 'edg' to the list of demangling styles; add hp switch
9f21bac8 2439 to message.
f75dc4de 2440
a5c56042 2441Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2442
2443 * pexecute.c: Remove obsolete ifdefed cygwin code.
2444
4ae63959 2445Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2446
2447 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2448 * cplus-dem.c: Likewise. Conform to libiberty.h.
2449 * pexecute.c: Likewise.
2450 * splay-tree.c: Likewise.
2451
b41b6b67 24521998-11-25 Mike Stump <mrs@wrs.com>
2453
2454 * Makefile.in (splay-tree.o): Add config.h dependency.
2455
a1dd5bff 2456Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2457
2458 * configure.in: Use AC_PREREQ(2.12.1).
2459
d54546fb 24601998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2461
07c967f9 2462 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
d54546fb 2463
9fdb1080 2464Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2465
2466 * mpw.c (mpw_access): Add missing parens.
2467
1ed7db2f 2468Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2469
2470 * configure.in: Call AC_HEADER_SYS_WAIT.
2471
2472 * pexecute.c: Include sys/wait.h when !IN_GCC.
2473
bdaa26ad 2474Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2475
2476 * pexecute.c: revert back to checking old Cygwin
2477 preprocessor symbol until some time has passed.
2478
2479Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2480
2481 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2482 since it will now support similar constructs.
2483
34fa8831 2484Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2485
2486 * configure.in: Check for calloc.
2487
2488 * calloc.c: New file.
2489
2490 * xmalloc.c (xcalloc): New function.
2491
75ebb412 2492Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2493
2494 *cplus-dem.c (demangle_prefix): Use the last "__"
2495 in the mangled name when looking for the signature. This allows
2496 template names to begin with "__".
2497
5b546829 24981998-11-08 Mark Mitchell <mark@markmitchell.com>
2499
73bea962 2500 * cplus-dem.c (type_kind_t): Add tk_reference.
2501 (demangle_template_value_parm): Handle it.
2502 (do_type): Use it for references, instead of tk_pointer.
2503
5b546829 2504 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2505 not internal_cplus_demangle.
2506
0e4558d2 2507Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2508
2509 * choose-temp.c: Don't include gansidecl.h.
2510 * mkstemp.c: Likewise.
2511 * pexecute.c: Likewise.
2512
7b8b8d43 2513Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2514
07c967f9 2515 * configure.in: detect cygwin* instead of cygwin32*
2516 * configure: regenerate
7b8b8d43 2517
f9a39df1 2518Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2519
2520 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
9f21bac8 2521 whether to include config.h. Possibly include unistd.h in the
2522 !IN_GCC case. Define VFORK_STRING as a printable function call
2523 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2524 defined, include vfork.h. If VMS is defined, define vfork()
2525 appropriately. Remove vfork check on USG, we're using autoconf.
2526 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2527 locally what string to use.
f9a39df1 2528
797ba725 25291998-10-26 Mark Mitchell <mark@markmitchell.com>
2530
2531 * splay-tree.c: Tweak include directives to make sure declarations of
2532 xmalloc and free are available.
2533
3662c79b 25341998-10-25 Mark Mitchell <mark@markmitchell.com>
2535
2536 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2537 anonymous namespaces.
2e5e2114 2538
af5199c0 25391998-10-23 Mark Mitchell <mark@markmitchell.com>
2540
2541 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2542 with type_quals.
2543 (TYPE_UNQUALIFIED): New macro.
2544 (TYPE_QUAL_CONST): Likewise.
2545 (TYPE_QUAL_VOLATILE): Likewise.
2546 (TYPE_QUAL_RESTRICT): Likewise.
2547 (code_for_qualifier): New function.
2548 (qualifier_string): Likewise.
2549 (demangle_qualifier): Likewise.
2550 (internal_cplus_demangle): Use them.
2551 (demangle_signature): Likewise.
2552 (demangle_template_value_parm): Likewise.
2553 (do_type): Likewise.
2554 (demangle_fund_type)): Likewise.
3662c79b 2555
e61da89d 2556Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2557
2558 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2559 to match prototype.
2560
9a4eb61d 25611998-10-21 Mark Mitchell <mark@markmitchell.com>
2562
2563 * splay-tree.c: New file.
2564 * Makefile.in (CFILES): Add it.
2565 (REQUIRED_OFILES): Likewise.
2566 (splay-tree.o): Add dependencies.
2567
e5d3a45b 2568Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2569
2570 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2571 range of 'K' index.
2572
4350e959 2573Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2574
2575 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2576
2577 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2578 `unsigned char'.
2579 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2580 comparing against one.
2581 (cplus_mangle_opname): Likewise.
2582 (demangle_integral_value): Cast argument of ctype macro to
2583 `unsigned char'.
2584 (demangle_template_value_parm): Likewise.
2585 (demangle_template): Initialize variable `bindex'. Cast the
2586 result of `strlen' to (int) when comparing against one. Remove
2587 unused variable `start_of_value_parm'.
2588 (demangle_class_name): Cast the result of `strlen' to (int) when
2589 comparing against one.
2590 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2591 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2592 when comparing against one.
2593 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2594 (get_count): Likewise.
2595 (do_type): Likewise. Cast the result of `strlen' to (int) when
2596 comparing against one.
2597 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2598 (demangle_function_name): Cast the result of `strlen' to (int)
2599 when comparing against one.
2600
2601 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2602 comparing against one.
2603
5dfe2c03 2604Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2605
07c967f9 2606 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2607 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2608 * config.in, configure: Rebuilt.
0be6f86d 2609
5dfe2c03 2610 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2611 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2612 * config.in, configure: Rebuilt.
2613
7b8b8d43 2614Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2615
07c967f9 2616 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
7b8b8d43 2617
68b78c88 2618Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2619
2620 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2621
804ec1bf 2622Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2623
2624 * Merge egcs & devo libiberty.
2625
7a1ec54f 2626