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