Commit | Line | Data |
---|---|---|
f77ed96c DD |
1 | 2003-17-03 Jan Hubicka <jh@suse.cz> |
2 | ||
3 | * hashtab.c (htab_traverse_noresize): Break out from ... | |
4 | * hashtab.c (htab_traverse): ... here. | |
5 | ||
2336e177 DD |
6 | 2003-12-03 Jan Hubicka <jh@suse.cz> |
7 | ||
8 | * hashtab.c (htab_expand): Fix warning. | |
9 | ||
10 | * hashtab.c (htab_expand): Compute the size of hashtable based | |
11 | on the number of elements actually used. | |
12 | (htab_traverse): Call htab_expand when table is too empty. | |
13 | ||
c4d8feb2 DD |
14 | 2003-12-03 Jan Hubicka <jh@suse.cz> |
15 | ||
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 | ||
d8cbbf95 DD |
20 | 2003-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 | ||
a01fefeb DD |
26 | 2003-03-03 Mark Mitchell <mark@codesourcery.com> |
27 | ||
28 | * cplus-dem.c: Add license exception to copyright notice. | |
29 | ||
638ceb1a DD |
30 | 2003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
31 | ||
32 | * physmem.c: Formatting changes from upstream. | |
33 | ||
ef803806 DD |
34 | 2003-02-24 Danny Smith <dannysmith@users.source.forge.net> |
35 | ||
36 | * physmem.c (physmem_total): Add _WIN32 support. | |
37 | (physmem_available): Likewise. | |
38 | ||
181fa229 DD |
39 | 2003-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 | ||
cc529274 DD |
45 | 2003-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 | ||
52 | 2003-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 | ||
192cbe66 DD |
60 | 2003-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 | ||
900d2082 DD |
72 | 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
73 | ||
74 | * physmem.c (physmem_total, physmem_available): De-ANSI-fy. | |
75 | * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and | |
76 | pstat_getdynamic. | |
77 | ||
4938384a DD |
78 | 2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
79 | ||
80 | * Makefile.in (CFILES): Add physmem.c. | |
81 | (REQUIRED_OFILES): Add physmem.o. | |
82 | * configure.in: Check for sys/pstat.h. | |
83 | (checkfuncs): Add pstat_getstatic and pstat_getdynamic. | |
84 | * physmem.c: New file, copied from textutils. | |
85 | ||
86 | * config.in, configure: Regenerated. | |
87 | ||
ba61a412 DJ |
88 | 2003-02-20 Daniel Jacobowitz <drow@mvista.com> |
89 | ||
90 | * Makefile.in (CFILES): Add lrealpath.c. | |
91 | (REQUIRED_OFILES): Add lrealpath.o. | |
92 | (lrealpath.o): Add rule. | |
93 | * aclocal.m4 (libiberty_NEED_DECLARATION): Add. | |
94 | * configure.in: Add realpath and canonicalize_file_name to | |
95 | checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION | |
96 | for canonicalize_file_name. | |
97 | * lrealpath.c: New file. | |
98 | * make-relative-prefix.c: Update documentation. | |
99 | (make_relative_prefix): Simplify. Use lbasename and lrealpath. | |
100 | * config.in: Regenerated. | |
101 | * configure: Regenerated. | |
102 | * functions.texi: Regenerated. | |
103 | ||
25dfe0ac DD |
104 | 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl> |
105 | ||
106 | * cplus_dem.c: Fix typo: intializes -> initializes. | |
107 | ||
8b90eef4 AO |
108 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
109 | ||
110 | * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to | |
111 | config.status. | |
112 | * configure: Rebuilt. | |
113 | ||
fcd7c7c9 DD |
114 | 2003-02-13 Daniel Jacobowitz <drow@mvista.com> |
115 | ||
116 | Fix PR c++/7612. | |
117 | * cplus-dem.c (demangle_signature): Call string_delete. | |
118 | Remove extra string_init. | |
119 | (demangle_arm_hp_template): Call string_delete instead of | |
120 | string_clear. Add missing string_delete call. | |
121 | (demangle_qualified): Add missing string_delete call. | |
122 | (do_type): Remove unused variable btype. Add missing string_delete | |
123 | call. Call string_delete instead of string_clear. | |
124 | (demangle_fund_type): Move variable btype inside of the switch | |
125 | statement. Add missing string_delete call. | |
126 | (do_arg): Call string_delete instead of string_clear. Remove extra | |
127 | string_init. | |
128 | (demangle_nested_args): Free work->previous_argument. | |
129 | ||
073c427b DD |
130 | 2003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
131 | ||
132 | * acconfig.h: New file. Add uintptr_t. | |
133 | * config.in: Regenerated. | |
134 | ||
f8bd3000 DD |
135 | 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> |
136 | ||
137 | * libiberty.texi: Update to GFDL 1.2. | |
138 | ||
85b9a938 DD |
139 | 2003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
140 | ||
141 | * Makefile.in (libiberty_topdir): New subst. | |
142 | (mkinstalldirs): Redefine in terms of the above. | |
143 | * configure.in: AC_SUBST it. | |
144 | * configure: Regenerate. | |
145 | ||
578460f2 AO |
146 | 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
147 | ||
148 | * Makefile.in (all-subdir, check-subdir, installcheck-subdir) | |
149 | (info-subdir, install-info-subdir, clean-info-subdir) | |
150 | (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir) | |
151 | (clean-subdir, distclean-subdir, maintainer-clean-subdir): | |
152 | Pass $(FLAGS_TO_PASS). | |
153 | ||
7f285245 AO |
154 | 2003-01-27 Alexandre Oliva <aoliva@redhat.com> |
155 | ||
156 | * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use | |
157 | /`$$CC -print-multi-os-directory`. | |
158 | ||
5f9624e3 DJ |
159 | 2003-01-26 Daniel Jacobowitz <drow@mvista.com> |
160 | ||
161 | * hashtab.c (htab_create_alloc_ex): New function. | |
162 | (hatab_set_functions_ex): New function. | |
163 | (htab_delete, htab_expand): Support alternate allocation functions. | |
164 | ||
9c2259b8 DD |
165 | 2003-01-24 Christopher Faylor <cgf@redhat.com> |
166 | ||
167 | * configure.in: Remove special pex-cygwin consideration. | |
168 | * configure: Regenerate. | |
169 | * pex-cygwin.c: Remove. | |
170 | * Makefile.in: Remove pex-cygwin.[co] lines. | |
171 | ||
5a17353c DD |
172 | 2003-01-24 Zack Weinberg <zack@codesourcery.com> |
173 | ||
174 | * Makefile.in (CFILES): Add pex-*.c. | |
175 | (REQUIRED_OFILES): Change pexecute.o to @pexecute@ | |
176 | (CONFIGURED_OFILES): Add pex-*.o. | |
177 | (TEXIFILES): Add pexecute.txh. | |
178 | (pexecute.o): Delete rule. | |
179 | (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o, | |
180 | pex-unix.o, pex-win32.o): New rules. | |
181 | * configure.in: Change AC_INIT argument to xmalloc.c. | |
182 | Compute appropriate pexecute implementation and substitute it | |
183 | as @pexecute@. | |
184 | ||
185 | * pexecute.c: Split up into... | |
186 | * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c, | |
187 | pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these | |
188 | new files. | |
189 | ||
190 | * functions.texi: Regenerate. | |
191 | * configure: Regenerate. | |
192 | ||
eed2b28c DD |
193 | 2003-01-20 Josef Zlomek <zlomekj@suse.cz> |
194 | ||
195 | * hashtab.c (htab_expand): Fix allocation of new entries. | |
196 | ||
27a39a5f DD |
197 | 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
198 | ||
199 | * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. | |
200 | ||
201 | * Makefile.in (install_to_libdir, install_to_tooldir): Add a | |
202 | mkinstalldirs command. | |
203 | ||
b51c1553 DD |
204 | 2002-12-04 Danny Smith <dannysmith@users.sourceforge.net> |
205 | ||
206 | * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX): | |
207 | Define for hosts with HOST_EXECUTABLE_SUFFIX. | |
208 | ||
756954c3 DD |
209 | 2002-11-24 Nick Clifton <nickc@redhat.com> |
210 | ||
211 | * make-relative-prefix.c (make_relative_prefix): Ensure return | |
212 | string is empty before using strcat to construct it. | |
213 | ||
2a80c0a4 DD |
214 | 2002-11-22 Daniel Jacobowitz <drow@mvista.com> |
215 | ||
216 | * Makefile.in: Add make-relative-prefix.c. | |
217 | * make-relative-prefix.c: New file. | |
218 | * functions.texi: Rebuilt. | |
219 | ||
768b20d8 JJ |
220 | 2002-11-16 Jakub Jelinek <jakub@redhat.com> |
221 | ||
222 | * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be | |
223 | used with arguments in traditional C' warnings. | |
224 | ||
f52d1d64 JJ |
225 | 2002-10-16 Jakub Jelinek <jakub@redhat.com> |
226 | ||
227 | * config.table: Use mh-s390pic for s390x too. | |
228 | ||
0d3deb8d DD |
229 | 2002-10-06 Andreas Jaeger <aj@suse.de> |
230 | ||
231 | * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded | |
232 | variable and of strict-aliasing warning. | |
233 | (grow_vect): Use char as first parameter. | |
234 | ||
1b67de92 DD |
235 | 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
236 | ||
237 | * Makefile.in (all): Fix multilib parallel build. | |
238 | ||
585cc78f DD |
239 | 2002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca> |
240 | ||
241 | * cp-demangle.c (demangling_new): Cast 0 to enum. | |
242 | (demangle_char): Cast return of strdup to char *. | |
243 | (is_gnu_v3_mangled_ctor): Cast 0 to enum. | |
244 | (is_gnu_v3_mangled_dtor): Likewise. | |
245 | * cplus-dem.c (grow_vect): Cast return of xrealloc to void *. | |
246 | (work_stuff_copy_to_from): Cast return of xmalloc to char **. | |
247 | * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t. | |
248 | * md5.c (md5_process_bytes): Cast results back to const void *. | |
249 | (md5_process_block): Add cast to const md5_uint32 *. | |
250 | * regex.c (re_compile_fastmap): Cast enum to UCHAR_T. | |
251 | * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to | |
252 | unsigned short. | |
253 | * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc | |
254 | to void *. | |
255 | * vasprintf.c (int_vasprintf): Cast return of malloc to char *. | |
256 | ||
e21b0cc1 NC |
257 | 2002-09-19 Nick Clifton <nickc@redhat.com> |
258 | ||
259 | * README: Update email addresses for bugs and patches. | |
260 | ||
a54ba43f DD |
261 | 2002-09-10 Mike Stump <mrs@apple.com> |
262 | ||
263 | * splay-tree.c (splay_tree_successor): Fix comments. | |
264 | ||
265 | 2002-09-11 Zack Weinberg <zack@codesourcery.com> | |
266 | ||
267 | * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c. | |
268 | * testsuite/Makefile.in: Adjust for test-demangle. | |
269 | * testsuite/regress-demangle: Deleted. | |
270 | * testsuite/test-demangle.c: New file. | |
271 | * testsuite/demangle-expected: Change \$ to $ throughout, now that | |
272 | this file is not being read by a shell script. | |
273 | ||
01cea699 DD |
274 | 2002-09-05 Roger Sayle <roger@eyesopen.com> |
275 | ||
276 | * regex.c: Only use "#pragma alloca" on AIX when not using gcc. | |
277 | ||
a2832523 DD |
278 | 2002-08-07 DJ Delorie <dj@redhat.com> |
279 | ||
280 | * regex.c (re_error_msgid): Just use a simple array of strings. | |
281 | (re_compile_pattern): Compensate. | |
282 | (re_comp): Likewise. | |
283 | (re_comp): Likewise. | |
284 | (regerror): Likewise. | |
285 | ||
1e3f0be0 DD |
286 | 2002-07-29 Neil Booth <neil@daikokuya.co.uk> |
287 | ||
288 | * cplus-dem.c (PREPEND_BLANK): Remove. | |
289 | ||
b851d07b DD |
290 | 2002-07-10 Jason Merrill <jason@redhat.com> |
291 | ||
292 | * cp-demangle.c (demangle_identifier): Support extended Unicode | |
293 | characters. | |
294 | ||
2a9dffbf DD |
295 | 2002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
296 | ||
297 | * cp-demangle.c (demangle_v3_with_details): Wrap in | |
298 | !defined IN_GLIBCPP_V3. | |
299 | ||
793011ca DD |
300 | 2002-07-01 Mark Mitchell <mark@codesourcery.com> |
301 | ||
302 | * cp-demangle.c (demangle_operator_name): Add type_arg parameter. | |
303 | Set it for the "st" operator. | |
304 | (demangle_expression): Handle expressions with types as arguments. | |
305 | ||
b39b76b8 DD |
306 | 2002-06-30 Douglas Rupp <rupp@gnat.com> |
307 | ||
308 | * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. | |
309 | * Makefile.in (OUTPUT_OPTION): Use. | |
310 | ||
4748c6d8 DD |
311 | 2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de> |
312 | ||
313 | * Makefile.in (install_to_libdir): Add $(DESTDIR). | |
314 | (install_to_tooldir): Likewise. | |
315 | ||
f9c3326a DD |
316 | 2002-06-17 Douglas Rupp <rupp@gnat.com> |
317 | ||
318 | * lbasename.c: Add 2002 to copyright. | |
319 | (IS_DIR_SEPARATOR): Remove VMS junk. | |
320 | ||
18893690 DD |
321 | 2002-06-05 Geoffrey Keating <geoffk@redhat.com> |
322 | ||
323 | * hashtab.c (htab_create): New stub function for backward | |
324 | compatibility. | |
325 | (htab_try_create): Likewise. | |
326 | ||
327 | 2002-06-03 Geoffrey Keating <geoffk@redhat.com> | |
328 | ||
329 | * hashtab.c (htab_create): Delete. | |
330 | (htab_try_create): Delete. | |
331 | (htab_create_alloc): New. | |
332 | (htab_delete): Support user-specified memory allocation. | |
333 | (htab_expand): Likewise. | |
334 | ||
335 | 2002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de> | |
336 | ||
337 | * configure.in: Fix typo in the code checking for sys_errlist. | |
338 | * configure: Regenerated. | |
339 | ||
9296c8b2 DD |
340 | 2002-05-13 Andreas Schwab <schwab@suse.de> |
341 | ||
342 | * config.table: Use mh-x86pic also for x86-64. | |
343 | ||
52d98c2d DD |
344 | 2002-05-08 Alexandre Oliva <aoliva@redhat.com> |
345 | ||
346 | * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at | |
347 | script entry, and set LD to it when configuring multilibs. | |
348 | * configure: Rebuilt. | |
349 | ||
cafa3917 DD |
350 | 2002-05-07 Mark Mitchell <mark@codesourcery.com> |
351 | ||
352 | * configure.in (AC_TYPE_PID_T): Use it. | |
353 | * configure: Regenerated. | |
354 | * getruntime.c: Include <sys/types.h>. | |
355 | * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". | |
356 | ||
b1c933fc RH |
357 | 2002-04-09 Richard Henderson <rth@redhat.com> |
358 | ||
359 | * hashtab.c (higher_prime_number): Use 7 as minimum. | |
360 | (find_empty_slot_for_expand): Don't compute hash2 unless needed. | |
361 | (htab_find_slot_with_hash): Likewise. | |
362 | ||
0c4460bb DD |
363 | 2002-04-01 Phil Edwards <pme@gcc.gnu.org> |
364 | ||
365 | * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3. | |
366 | (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally | |
367 | not compile if IN_GLIBCPP_V3 defined. | |
368 | * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme. | |
369 | ||
f2160d2b DD |
370 | 2002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
371 | ||
3ebf1f59 | 372 | * cp-demangle.c (java_demangle_v3): Don't try to release "demangled" |
f2160d2b DD |
373 | if it is NULL. |
374 | ||
7dd4d42a DD |
375 | 2002-03-27 DJ Delorie <dj@redhat.com> |
376 | ||
377 | * hex.c: Add documentation. | |
378 | (_hex_value): Provide non-ASCII empty table. | |
379 | (hex_init): Initialize the non-ASCII table. | |
380 | * functions.texi: Regenerate. | |
381 | ||
38e57a35 DD |
382 | 2002-03-27 Mark Mitchell <mark@codesourcery.com> |
383 | ||
384 | * dyn-string.c: Add libgcc exception to copyright notice. | |
385 | ||
cfed0715 DD |
386 | 2002-03-26 H.J. Lu (hjl@gnu.org) |
387 | ||
388 | * config.table: Support --with-build-subdir. | |
389 | * configure.in: Likewise. | |
390 | * configure: Rebuild. | |
391 | ||
1504972f DD |
392 | 2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com> |
393 | ||
394 | * strtod.c (strtod): Increment 8 chars, not 7, when `infinity' | |
395 | seen. | |
396 | ||
35efcd67 DD |
397 | 2002-03-12 Mark Mitchell <mark@codesourcery.com> |
398 | ||
399 | * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright | |
400 | notice. | |
401 | ||
dabc64ea DD |
402 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
403 | ||
404 | * xatexit.c [VMS]: Include stdlib.h and unixlib.h. | |
405 | ||
3ddbd84c JB |
406 | 2002-03-06 Jim Blandy <jimb@redhat.com> |
407 | ||
408 | * splay-tree.c (splay_tree_xmalloc_allocate, | |
409 | splay_tree_xmalloc_deallocate): Use K&R-style definitions, not | |
410 | prototyped definitions. Mark `data' arguments as unused. | |
411 | ||
efdab807 AC |
412 | 2002-03-06 Andrew Cagney <ac131313@redhat.com> |
413 | ||
414 | * floatformat.c (floatformat_arm_ext_big): Delete definition. | |
415 | ||
50d4562d DD |
416 | 2002-03-04 Phil Edwards <pme@gcc.gnu.org> |
417 | ||
418 | * configure.in: Add --enable-install-libiberty option. | |
419 | * Makefile.in (INSTALLED_HEADERS): New variable. | |
420 | (install_to_libdir): Possibly also copy headers. | |
421 | * configure: Regenerated. | |
422 | ||
423 | 2002-03-04 Neil Booth <neil@daikokuya.demon.co.uk> | |
424 | ||
425 | * xmalloc.c (xmalloc_fail): Clarify error message further. | |
426 | ||
6e9980f5 DD |
427 | 2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk> |
428 | ||
429 | * xmalloc.c (xmalloc_fail): Clarify error message. | |
430 | ||
18893690 | 431 | 2002-02-22 Jim Blandy <jimb@redhat.com> |
2bbcdae9 JB |
432 | |
433 | * splay-tree.c (splay_tree_xmalloc_allocate, | |
434 | splay_tree_xmalloc_deallocate): New functions. | |
435 | (splay_tree_new): Call splay_tree_new_with_allocator, passing the | |
436 | above functions and a dummy data pointer. | |
437 | (splay_tree_new_with_allocator): New function. | |
438 | (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, | |
439 | splay_tree_remove): Use the splay tree's allocation and | |
440 | deallocation functions. | |
441 | ||
59ea9fe7 DD |
442 | 2002-02-19 Scott Snyder <snyder@fnal.gov> |
443 | ||
444 | * testsuite/demangle-expected: Add test case for infinite loop in | |
445 | demangler. | |
446 | * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle | |
447 | if do_type() doesn't make any progress --- prevents an infinite | |
448 | loop. | |
449 | ||
6f848550 DD |
450 | 2002-02-18 Carlo Wood <carlo@gnu.org> |
451 | ||
452 | PR c++/5390 | |
453 | * cplus-dem.c (demangle_integral_value): Accept multi-digit | |
454 | numbers that do not start with an underscore; This is needed | |
455 | for integer template parameters. This doesn't break anything | |
456 | because multi-digit numbers are never followed by a digit. | |
457 | * testsuite/demangle-expected: Corrected all mangled test | |
458 | cases with multi-digit template parameters: g++ 2.95.x does | |
459 | not generate underscores around these parameters. | |
460 | ||
44354ae1 DD |
461 | 2002-02-05 Jason Merrill <jason@redhat.com> |
462 | ||
463 | * cplus-dem.c (flags): Add DMGL_VERBOSE | |
464 | (cplus_demangle_v3_p): Remove. | |
465 | (demangle_it): Add DMGL_TYPES to passed flags. | |
466 | * cp-demangle.c (cplus_demangle_v3_all): Remove. | |
467 | (cplus_demangle_v3_type): Remove. | |
468 | (cplus_demangle_v3): Add options parm. | |
469 | ||
42da15d6 DD |
470 | 2002-02-02 H.J. Lu (hjl@gnu.org) |
471 | ||
472 | * cp-demangle.c (cp_demangle_type): Do not protect with | |
473 | IN_LIBGCC2. | |
474 | (cplus_demangle_v3_all): New. | |
475 | (cplus_demangle_v3): Call cplus_demangle_v3_all. | |
476 | (cplus_demangle_v3_type): Call cplus_demangle_v3_all. | |
477 | ||
478 | * cplus-dem.c (cplus_demangle_v3_p): New function pointer. | |
479 | Initialized to cplus_demangle_v3. | |
480 | (cplus_demangle_with_style): Call cplus_demangle_v3_p instead | |
481 | of cplus_demangle_v3. | |
482 | (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for | |
483 | command line symbol. | |
484 | ||
485 | * testsuite/regress-demangle: Pass the mangled name at the | |
486 | command line. | |
487 | ||
b117c158 DD |
488 | 2002-02-01 H.J. Lu <hjl@gnu.org> |
489 | ||
490 | * cp-demangle.c (cp_demangle_type): Call demangling_new with | |
491 | DMGL_GNU_V3. | |
492 | ||
c78d91b1 DD |
493 | 2002-01-31 Phil Edwards <pme@gcc.gnu.org> |
494 | ||
495 | * cp-demangle.c: Revert yesterday's change. | |
496 | ||
bef8b55d DD |
497 | 2002-01-31 Adam Megacz <adam@xwt.org> |
498 | ||
499 | * gcc/libiberty/configure.in: Treat mingw the same as cywin | |
500 | wrt HAVE_SYS_ERRLIST. | |
501 | ||
2c955b8b DD |
502 | 2002-01-30 Phil Edwards <pme@gcc.gnu.org> |
503 | ||
504 | * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. | |
505 | (cplus_demangle_v3): Mimic __cxa_demangle and fall back on | |
506 | cp_demangle_type. | |
507 | * testsuite/demangle-expected: New gnu-v3 test. | |
508 | ||
58b1717a RH |
509 | 2002-01-22 Momchil Velikov <velco@fadata.bg> |
510 | ||
511 | * configure.in (variable detection): Use arrays of unspecified | |
512 | size instead of plain integers. | |
513 | ||
cc096b71 DD |
514 | 2002-01-18 DJ Delorie <dj@redhat.com> |
515 | ||
516 | * Makefile.in (TESTLIB): New. This library is for future | |
517 | testsuites. | |
518 | (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize, | |
519 | break down by letter. | |
520 | (REQUIRED_OFILES): List long-to-compile files first. | |
521 | (maint-deps): New, target for updating dependencies. | |
522 | (dependencies): Update. | |
523 | * maint-tool: Add dependency-generating option. | |
524 | * configure.in: Check for _doprnt even if we're not providing it. | |
525 | * configure: Regenerate. | |
526 | ||
527 | * _doprnt.c: Modifications to allow compiling on any platform. | |
528 | * copysign.c: Likewise. | |
529 | * putenv.c: Likewise. | |
530 | * setenv.c: Likewise. | |
531 | * vsprintf.c: Likewise. | |
532 | ||
533 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> | |
534 | ||
535 | * mkstemps.c (mkstemps): On VMS, open temp file with option | |
536 | that causes it to be deleted when closed. | |
537 | ||
20d54542 DD |
538 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
539 | ||
c23795e2 DD |
540 | * cp-demangle.c (long_options): Const-ify. |
541 | * cplus-dem.c (long_options): Likewise. | |
542 | ||
20d54542 DD |
543 | * cplus-dem.c (mystrstr): Delete. All callers changed to use |
544 | strstr instead. | |
545 | ||
f348a7b1 DD |
546 | 2001-12-31 Ira Ruben <ira@apple.com> |
547 | ||
548 | * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try. | |
549 | * configure: Regenerated. | |
550 | ||
d86cd745 DD |
551 | 2001-12-24 Douglas B. Rupp <rupp@gnat.com> |
552 | ||
553 | * configure.in (uintptr_t): Use AC_CHECK_TYPE. | |
554 | * configure: Regenerated. | |
555 | ||
ae533646 DD |
556 | 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org> |
557 | ||
558 | PR other/2719 | |
559 | * cplus-dem.c (consume_count): Treat negative count as an error. | |
560 | * testsuite/demangle-expected: Added testcase. | |
561 | ||
c0eb281b DD |
562 | Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com> |
563 | ||
564 | * configure.in: Hardcode that vfork works on VMS host. | |
565 | * configure: Regenerated. | |
566 | ||
2da4c07f RH |
567 | 2001-12-06 Richard Henderson <rth@redhat.com> |
568 | ||
569 | * cplus-dem.c (libiberty_demanglers): Add no_demangling case. | |
570 | (cplus_demangle): Support no_demangling. | |
571 | ||
24acd898 DD |
572 | 2001-11-27 Zack Weinberg <zack@codesourcery.com> |
573 | ||
574 | * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build | |
575 | in libiberty context. Fix typo in leading comment. | |
576 | * configure.in: Fix various AC_DEFINEs so autoheader works. | |
577 | If any of vprintf, vsprintf, vfprintf is missing from libc, | |
578 | then AC_REPLACE_FUNCS(_doprnt). | |
579 | ||
fec50157 | 580 | 2001-11-26 DJ Delorie <dj@redhat.com> |
d86cd745 | 581 | Daniel Jacobowitz <drow@mvista.com> |
fec50157 DD |
582 | |
583 | * Makefile.in (stamp-h): Depend on Makefile for proper | |
584 | serialization. | |
585 | (*-subdir): Depend on config.h for proper serialization. | |
586 | ||
5527febf DD |
587 | 2001-11-26 DJ Delorie <dj@redhat.com> |
588 | ||
589 | * configure.in: Check for alloca.h (for regex.c and putenv.c). | |
590 | * configure: Regenerate. | |
591 | * config.h: Add HAVE_ALLOCA_H. | |
592 | ||
941d74a0 DD |
593 | 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
594 | ||
595 | * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) || | |
596 | defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting | |
597 | is available. | |
598 | ||
dc579051 DD |
599 | Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com) |
600 | ||
601 | * config.in (HAVE_UINTPTR_T): Provide autoconf stub. | |
602 | * configure.in (HAVE_UINTPTR_T): Test for system defining | |
603 | uintptr_t and define HAVE_UINTPTR_T appropriately. | |
604 | * regex.c (uintptr_t): Do not provide a definition if the | |
605 | system provided one. | |
606 | ||
607 | * regex.c (PREFIX): Provide an alternate definition for | |
608 | non-ANSI/ISO compilers. | |
609 | (ARG_PREFIX): Likewise. | |
610 | ||
1a78a35a DD |
611 | 2001-11-12 Jim Meyering <meyering@lucent.com> |
612 | ||
613 | * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, | |
614 | this code would end up calling gettext even in packages built | |
615 | with --disable-nls. | |
616 | * getopt.c (_): Likewise. | |
617 | * regex.c (_): Likewise. | |
618 | ||
4e55c4b6 DD |
619 | 2001-11-03 Alan Modra <amodra@bigpond.net.au> |
620 | ||
621 | * configure.in: Cope with missing makeinfo. | |
622 | * configure: Regenerate. | |
623 | ||
d311a83a DD |
624 | 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
625 | ||
626 | * hex.c (hex_init): Provide empty stub. | |
627 | ||
628 | * hex.c (hex_init): Delete. | |
629 | (_hex_value): Const-ify and initialize at compile-time. | |
630 | ||
3bc62f91 DD |
631 | 2001-10-19 H.J. Lu <hjl@gnu.org> |
632 | ||
633 | * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if | |
634 | necessary. | |
635 | ||
5d852400 DD |
636 | 2001-10-17 DJ Delorie <dj@redhat.com> |
637 | ||
638 | * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, | |
639 | ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, | |
5527febf | 640 | mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c: |
5d852400 DD |
641 | Improve manual formatting. |
642 | * functions.texi: Regenerate. | |
643 | ||
ba19b94f DD |
644 | 2001-10-15 DJ Delorie <dj@redhat.com> |
645 | ||
646 | * Makefile.in (TEXIFILES): Add fnmatch.txh. | |
647 | (maint-undoc): New. | |
648 | maint-tool: Add "undoc" tool. | |
649 | * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, | |
650 | fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, | |
651 | make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, | |
652 | strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update | |
653 | documentation. | |
654 | * fnmatch.txh: New. | |
655 | * functions.texi: Regenerate. | |
656 | ||
56056af5 DD |
657 | 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk> |
658 | ||
659 | * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero". | |
660 | * strtod.c: Use "ISO C" instead of "ANSI C". | |
661 | * functions.texi: Regenerate. | |
662 | ||
99b58139 DD |
663 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
664 | ||
665 | * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, | |
666 | libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, | |
667 | strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, | |
668 | xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix | |
669 | spelling. Give names to function arguments in documentation. Use | |
670 | (void) prototypes in documentation. | |
671 | * functions.texi: Regenerate. | |
672 | ||
e6450fe5 DD |
673 | 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
674 | ||
675 | * argv.c (buildargv, tests, main): Const-ify. | |
676 | * cp-demangle.c (operator_code): Likewise. | |
677 | * cplus-dem.c (optable, libiberty_demanglers, | |
678 | cplus_demangle_set_style, cplus_demangle_name_to_style, | |
679 | print_demangler_list): Likewise. | |
680 | * hashtab.c (higher_prime_number): Likewise. | |
681 | * strcasecmp.c (charmap): Likewise. | |
682 | * strerror.c (error_info, strerror, main): Likewise. | |
683 | * strncasecmp.c (charmap): Likewise. | |
684 | * strsignal.c (signal_info): Likewise. | |
685 | ||
da191b5b DD |
686 | 2001-09-29 DJ Delorie <dj@redhat.com> |
687 | ||
688 | * configure: Regenerate. | |
689 | ||
916aaa12 DD |
690 | 2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
691 | ||
692 | * concat.c: Include stdlib.h. | |
693 | ||
fa9f0e33 DD |
694 | 2001-09-27 Eli Zaretskii <eliz@is.elta.co.il> |
695 | ||
696 | * libiberty.texi: (Top level): Add syncodeindex pg. Add | |
697 | @dircategory and @direntry directives. Add @finalout. | |
698 | (many nodes): Lose the next,prev,up pointers on the @nide line. | |
699 | (Using, Supplemental Functions, Replacement Functions): Fix | |
700 | markup. | |
701 | (Functions): Move around, to allow makeinfo to build the manual | |
702 | without next,prev,up pointers in thye node lines. | |
703 | (Licenses): Fix typos. | |
704 | ||
705 | * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, | |
706 | strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. | |
707 | * functions.texi: Regenerate. | |
708 | ||
709 | * copying-lib.texi: Lose the next,prev,up pointers on the @node | |
710 | line. | |
711 | ||
712 | 2001-09-27 DJ Delorie <dj@redhat.com> | |
713 | ||
714 | * configure.in: Don't use in-tree texinfo, because libiberty must | |
715 | be built before it. Check for makeinfo version 4 or higher. | |
716 | * functions.texi: Regenerate. | |
717 | ||
39423523 DD |
718 | 2001-09-20 DJ Delorie <dj@redhat.com> |
719 | Phil Edwards <pedwards@disaster.jaj.com> | |
720 | ||
721 | * configure.in (MAKEINFO, PERL): Detect these. | |
722 | (--enable-maintainer-mode): Add. | |
723 | * configure: Regenerate. | |
724 | * Makefile.in (MAKEINFO, PERL): Define. | |
725 | (libiberty.info, libiberty.dvi, libiberty.html): New. | |
726 | (CFILES): Add bsearch.c. | |
727 | (CONFIGURED_OFILES): New, list of objects configure might add. | |
728 | (maint-missing, maint-buildall): New, for maintainers only. | |
729 | (clean, mostlyclean): Add info/dvi/html files. | |
730 | * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. | |
731 | * gather-docs: New, for maintainers. | |
732 | * maint-tool: New, for maintainers. | |
733 | * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, | |
734 | bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, | |
735 | getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, | |
736 | memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, | |
737 | sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, | |
738 | strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, | |
739 | tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, | |
740 | xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update | |
741 | documentation. | |
742 | ||
66c94e19 DD |
743 | 2001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
744 | ||
745 | * concat.c (reconcat): Fix for traditional C. | |
746 | ||
99ee3a8f DD |
747 | 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
748 | ||
749 | * concat.c (reconcat): New function. | |
750 | ||
54c20242 DD |
751 | 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
752 | ||
753 | * concat.c (vconcat_length, vconcat_copy, concat_length, | |
754 | concat_copy, concat_copy2): New functions. | |
755 | (concat): Use vconcat_length/vconcat_copy. | |
756 | ||
757 | * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len): | |
758 | Define. | |
759 | ||
843f21be DD |
760 | 2001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
761 | ||
762 | * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN, | |
763 | VA_FIXEDARG & VA_CLOSE. | |
764 | ||
765 | * vasprintf.c: Check HAVE_STRING_H when including string.h. | |
766 | (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1. | |
767 | Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string. | |
768 | ||
8a423cb3 DD |
769 | 2001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
770 | ||
771 | * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. | |
772 | ||
dc676635 DD |
773 | 2001-08-23 Ulrich Drepper <drepper@redhat.com> |
774 | ||
775 | * regex.c (truncate_wchar): Use wcrtomb not wctomb. | |
776 | ||
777 | 2001-08-23 Ulrich Drepper <drepper@redhat.com> | |
778 | ||
779 | * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc | |
780 | instead of mbrtowc. | |
781 | [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of | |
782 | wcslen, and __wcscoll instead of wcscoll. | |
783 | ||
f080c76d DD |
784 | 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
785 | ||
3ebf1f59 DD |
786 | * fibheap.c (fibheap_init, fibnode_init): Remove. |
787 | (fibheap_new, fibnode_new): Use xcalloc to allocate and | |
788 | initialize memory. | |
789 | (fibheap_insert): Remove check for node allocation failure. | |
f080c76d | 790 | |
f01b59ed DD |
791 | 2001-08-21 Richard Henderson <rth@redhat.com> |
792 | ||
793 | * Makefile.in (fibheap.o): Depend on config.h. | |
794 | * fibheap.c: Tidy formatting. Use config.h.` Rearrange some | |
795 | functions for inlining. | |
796 | ||
797 | Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com> | |
798 | ||
799 | * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever | |
800 | hosting on cygwin. | |
801 | * configure: Regenerate. | |
802 | ||
eb828599 AC |
803 | 2001-08-20 Andrew Cagney <ac131313@redhat.com> |
804 | ||
805 | * floatformat.c (floatformat_m88110_ext): Remove #ifdef | |
806 | HARRIS_FLOAT_FORMAT. | |
807 | (floatformat_ia64_spill_little, floatformat_ia64_quad_little) | |
808 | (floatformat_ia64_spill_big, floatformat_ia64_quad_big) | |
809 | (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) | |
810 | (floatformat_m88110_harris_ext): New float formats. | |
811 | ||
4e55c4b6 DD |
812 | 2001-08-20 Daniel Berlin <dan@cgsoftware.com> |
813 | ||
814 | * fibheap.c: New file. Fibonacci heap. | |
815 | ||
816 | * Makefile.in (CFILES): Add fibheap.c. | |
817 | (REQUIRED_OFILES): Add fibheap.o. | |
818 | (fibheap.o): Add dependencies for fibheap.o. | |
819 | ||
68a41de7 DD |
820 | 2001-08-17 Christopher Faylor <cgf@cygnus.com> |
821 | ||
822 | * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. | |
823 | * configure: Regenerate. | |
824 | ||
8fc34799 DD |
825 | 2001-08-16 Richard Henderson <rth@redhat.com> |
826 | ||
827 | * hashtab.c (htab_hash_string): New. | |
828 | ||
16bad250 AC |
829 | 2001-08-13 Andrew Cagney <ac131313@redhat.com> |
830 | ||
831 | * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix | |
832 | name. | |
833 | ||
a9022147 DD |
834 | 2001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com> |
835 | ||
836 | * regex.c (wcs_regex_compile): Use appropriate string | |
837 | to compare with collating element. | |
838 | Fix the padding for the alignment. | |
839 | ||
8aefe91a | 840 | 2001-08-10 Andrew Cagney <ac131313@redhat.com> |
3ea71002 AC |
841 | |
842 | * lbasename.c (lbasename): Change function definition to return a | |
843 | const char pointer. | |
844 | ||
e7e9b069 DD |
845 | 2001-08-07 Jason Merrill <jason_merrill@redhat.com> |
846 | ||
847 | * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary | |
848 | for". | |
849 | ||
cc5144f8 DD |
850 | 2001-08-03 Richard Henderson <rth@redhat.com> |
851 | ||
852 | * Makefile.in (concat.o): Depend on config.h. | |
853 | ||
8aefe91a DD |
854 | 2001-07-30 Andreas Jaeger <aj@suse.de> |
855 | ||
856 | * concat.c: Include "config.h". | |
857 | ||
86710ce2 DD |
858 | 2001-07-30 Andreas Jaeger <aj@suse.de> |
859 | ||
860 | * regex.c: Declare wcs functions only if compiling with | |
861 | MBS_SUPPORT. | |
862 | Don't use #elif for traditional C. | |
863 | ||
864 | 2001-07-23 Ulrich Drepper <drepper@redhat.com> | |
865 | ||
866 | * regex.c: Revamp memory allocation for WCHAR functions to | |
867 | not use too much stack. | |
868 | ||
869 | 2001-07-30 Andreas Jaeger <aj@suse.de> | |
870 | ||
871 | * regex.c: Declare wcs functions only if compiling with | |
872 | MBS_SUPPORT. | |
873 | Don't use #elif for traditional C. | |
874 | ||
a5d8f731 DD |
875 | 2001-07-25 Daniel Jacobowitz <drow@mvista.com> |
876 | ||
877 | * Makefile.in (regex.o): Add dependency on config.h. | |
878 | ||
6ad8a379 DD |
879 | 2001-07-18 Andreas Schwab <schwab@suse.de> |
880 | ||
881 | * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the | |
882 | underscore character. | |
883 | ||
884 | 2001-07-18 Ulrich Drepper <drepper@redhat.com> | |
885 | ||
886 | * regex.c: Limit string length printed in debug messages to 100 | |
887 | chars. | |
888 | ||
889 | 2001-07-18 Andreas Jaeger <aj@suse.de> | |
890 | ||
891 | * regex.c: Place under LGPL version 2.1. | |
892 | ||
2a6ef469 DD |
893 | 2001-07-10 Jeff Johnston <jjohnstn@redhat.com> |
894 | ||
895 | * Makefile.in: Add support for regex code. | |
896 | * regex.c: New file. | |
897 | ||
7b78baae DD |
898 | 2001-07-05 Mark Klein <mklein@dis.com> |
899 | ||
900 | * Makefile.in: Add ffs.c dependency. | |
901 | * configure.in: Add ffs.c. | |
902 | * ffs.c: New file. | |
903 | ||
926150e2 DD |
904 | 2001-06-18 Richard Henderson <rth@redhat.com> |
905 | ||
906 | * concat.c: Include <sys/types.h>. | |
907 | ||
11f6f21d DD |
908 | 2001-06-11 Loren J. Rittle <ljrittle@acm.org> |
909 | ||
910 | bootstrap/3106 | |
911 | * strerror.c (sys_nerr): Hide the OS header version. | |
912 | * strsignal.c (sys_nsig): Likewise. | |
913 | ||
d42dae6c DD |
914 | 2001-06-10 Richard Henderson <rth@redhat.com> |
915 | ||
916 | * concat.c: Include string.h. Fix int vs size_t usage. | |
917 | Simplify the iteration loops. Use memcpy. | |
918 | ||
e05c6d27 DD |
919 | 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
920 | ||
921 | * partition.c: Fix misspelling of `implementation'. | |
922 | ||
b50c4073 DD |
923 | 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
924 | ||
925 | * md5.c (md5_init_ctx): Declare constants as unsigned. | |
926 | (md5_process_block): Likewise. | |
927 | ||
457161bf DD |
928 | 2001-05-07 Zack Weinberg <zackw@stanford.edu> |
929 | ||
930 | * cp-demangle.c (demangle_v3_with_details, | |
931 | is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style | |
932 | function definition. | |
933 | * ternary.c: Use K+R style function definitions. Use PTR, not | |
934 | void *. Make arguments constant where possible. | |
935 | ||
e00bc6a7 DD |
936 | 2001-05-07 Mark Mitchell <mark@codesourcery.com> |
937 | ||
938 | * splay-tree.h (splay_tree_max): New function. | |
939 | (splay_tree_min): Likewise. | |
940 | ||
400ee7e1 DB |
941 | 2001-04-15 Daniel Berlin <dan@cgsoftware.com> |
942 | ||
943 | * ternary.c: New file - Ternary search tree implementation. | |
a5dd804e DB |
944 | |
945 | * Makefile.in: Add ternary.o, and ternary.c dependencies. | |
400ee7e1 | 946 | |
d9697354 DD |
947 | 2001-04-03 Zack Weinberg <zackw@stanford.edu> |
948 | ||
949 | * make-temp-file.c (try): Inline. | |
950 | ||
a7bf099b DD |
951 | 2001-02-28 Richard Henderson <rth@redhat.com> |
952 | ||
953 | * Makefile.in (make-temp-file.o): Depend on config.h. | |
954 | ||
30a1def2 DD |
955 | 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
956 | ||
957 | * memchr.c (memchr): Adjust condition to avoid infinite loop. | |
958 | ||
079c672a DD |
959 | 2001-03-23 Jakub Jelinek <jakub@redhat.com> |
960 | ||
961 | * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, | |
962 | `_' not followed by a digit is invalid. | |
963 | ||
a88e356a JB |
964 | 2001-03-22 Jim Blandy <jimb@redhat.com> |
965 | ||
966 | * cp-demangle.c (string_list_delete): Use dyn_string_delete | |
967 | instead of free, to free the contents as well as the string | |
968 | structure. | |
969 | ||
1dffcc66 DD |
970 | 2001-03-21 Zack Weinberg <zackw@stanford.edu> |
971 | ||
972 | * make-temp-file.c: Always default DIR_SEPARATOR to '/'. | |
973 | Don't default P_tmpdir to anything. Try /var/tmp before | |
974 | /usr/tmp. | |
975 | ||
976 | 2001-03-20 Zack Weinberg <zackw@stanford.edu> | |
977 | ||
978 | * choose-temp.c: Split off make_temp_file, and the code | |
979 | duplicated between it and choose_temp_base, into... | |
980 | * make-temp-file.c: ... here; new file. | |
981 | ||
982 | * Makefile.in (CFILES): Add make-temp-file.c. | |
983 | (REQUIRED_OFILES): Add make-temp-file.o. | |
984 | ||
e61231f1 JB |
985 | 2001-03-20 Jim Blandy <jimb@redhat.com> |
986 | ||
987 | * cp-demangle.c (struct demangling_def): New fields: | |
988 | is_constructor and is_destructor. | |
989 | (demangling_new): Initialize them. | |
990 | (demangle_ctor_dtor_name): Set them, if we detect a constructor | |
991 | or destructor. | |
992 | (demangle_v3_with_details, is_gnu_v3_mangled_ctor, | |
993 | is_gnu_v3_mangled_dtor): New functions. | |
994 | ||
a9cbbe6d DD |
995 | 2001-03-20 Jason Merrill <jason@redhat.com> |
996 | ||
997 | * cplus-dem.c (main): Skip initial $. | |
998 | ||
b1e51b3c DD |
999 | 2001-03-15 Michael Meissner <meissner@redhat.com> |
1000 | ||
1001 | * hashtab.c (higher_prime_number): Silence warning that 4294967291 | |
1002 | might be a signed integer under pre-ISO C systems. | |
1003 | ||
8aa30e60 | 1004 | 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
fa03f0a7 | 1005 | John David Anglin <dave@hiauly1.hia.nrc.ca> |
8aa30e60 | 1006 | |
8aa30e60 DD |
1007 | * libiberty/lbasename.c: New file. |
1008 | * libiberty/Makefile.in: Update for lbasename. | |
8aefe91a | 1009 | |
30673bf5 DD |
1010 | 2001-03-06 Zack Weinberg <zackw@stanford.edu> |
1011 | ||
1012 | * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. | |
1013 | * configure.in: Replace all alloca logic with a simple use of | |
1014 | the above new macro. | |
1015 | * config.table: Kill *-*-beos* entry. | |
1016 | * config/mh-beos: Delete. | |
1017 | * configure, config.in: Regenerate. | |
fa03f0a7 | 1018 | |
30673bf5 DD |
1019 | * Makefile.in (ALLOCA, HFILES): Kill. |
1020 | (REQUIRED_OFILES): Add alloca.o. | |
1021 | (alloca.o): Depend on libiberty.h. | |
1022 | (argv.o): Don't depend on alloca-conf.h. | |
1023 | * alloca-conf.h: Delete. | |
1024 | * alloca.c: Include libiberty.h. Kill all #ifdef emacs | |
1025 | blocks. Provide the C alloca unconditionally. Use PTR where | |
1026 | appropriate. Make i00afunc static. | |
1027 | * argv.c: Don't include alloca-conf.h. | |
fa03f0a7 | 1028 | |
5810f394 DD |
1029 | 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1030 | ||
1031 | * cplus-dem.c (main): Cast enum style to int. | |
fa03f0a7 | 1032 | |
a9db032a DD |
1033 | 2001-02-16 Loren J. Rittle <ljrittle@acm.org> |
1034 | ||
1035 | * cplus-dem.c (main): Initialize style. | |
fa03f0a7 | 1036 | |
8aefe91a DD |
1037 | 2001-02-02 Phil Edwards <pme@sources.redhat.com> |
1038 | ||
1039 | * COPYING.LIB: Update to LGPL 2.1 from the FSF. | |
1040 | ||
bc9bf259 DD |
1041 | 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz> |
1042 | ||
1043 | Add support for Java demangling under the v3 ABI: | |
1044 | * cp-demangle.c (NAMESPACE_SEPARATOR): New define. | |
1045 | (struct demangling_def): Add `style' field. | |
1046 | (demangling_new): New parameter `style'. Set it in demangling_t. | |
1047 | (demangle_prefix): Use NAMESPACE_SEPARATOR. | |
1048 | (demangle_type_ptr): Don't emit pointer symbol if doing Java output. | |
1049 | (cp_demangle): New parameter `style'. Pass it to demangling_new(). | |
1050 | (main): Call cp_demangle with extra parameter. | |
1051 | (java_demangle_v3): New function. | |
1052 | (java_builtin_type_names): New. Table of primitive type names used | |
1053 | for Java demangling. | |
1054 | (demangle_builtin_type): Look up in java_builtin_type_names if doing | |
1055 | Java output. | |
1056 | * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java | |
1057 | demangling. | |
1058 | (long_options): Remove obsolete `java' option. | |
1059 | (main): Remove explicit handling of `java' option. Instead, pass style | |
1060 | parameter in cplus_demangle flags as gdb does. | |
1061 | * testsuite/demangle.expected: Add some Java test cases. | |
fa03f0a7 | 1062 | |
f6528837 DD |
1063 | 2000-12-29 DJ Delorie <dj@redhat.com> |
1064 | ||
1065 | * fnmatch.c: Make the note about the origins of this file more | |
1066 | accurate, at least until we can sync with glibc. | |
1067 | * getopt.c: Ditto. | |
1068 | * getopt1.c: Ditto. | |
1069 | * md5.c: Ditto. | |
1070 | * obstack.c: Ditto. | |
9d969b59 | 1071 | |
c6da642e DD |
1072 | 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1073 | ||
1074 | * bsearch.c: New file. | |
1075 | * configure.in (funcs): Add bsearch. | |
1076 | (AC_CHECK_FUNCS): Likewise. | |
1077 | * configure, config.in: Regenerate. | |
1078 | ||
ae7d06ad | 1079 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
f021637a DD |
1080 | |
1081 | * safe-ctype.c: #include "ansidecl.h". | |
1082 | * strtod.c: Likewise. | |
1083 | ||
ae7d06ad | 1084 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
f021637a DD |
1085 | |
1086 | * strtoul.c: Include safe-ctype.h, not ctype.h. | |
1087 | ||
ac424eb3 DD |
1088 | 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu> |
1089 | ||
1090 | * safe-ctype.c: New file. | |
1091 | * Makefile.in (CFILES): Add safe-ctype.c. | |
1092 | (REQUIRED_OFILES): Add safe-ctype.o. | |
1093 | ||
1094 | * argv.c: Define ISBLANK and use it, not isspace. | |
1095 | * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, | |
1096 | strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use | |
1097 | uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) | |
1098 | before calling TOLOWER(c)/TOUPPER(c). | |
1099 | ||
4415a860 DD |
1100 | 2000-12-07 Mike Stump <mrs@wrs.com> |
1101 | ||
1102 | * Makefile.in (distclean): When cleaning, remove testsuite. | |
1103 | ||
849ee224 DD |
1104 | 2000-12-05 Jason Merrill <jason@redhat.com> |
1105 | ||
1106 | * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled | |
1107 | name before allocating the dyn_string. | |
1108 | ||
ae7d06ad | 1109 | 2000-12-04 Jason Merrill <jason@redhat.com> |
e49a569c DD |
1110 | |
1111 | * cp-demangle.c: s/new_abi/v3/. | |
1112 | * cplus-dem.c: Likewise. | |
1113 | (current_demangling_style): Now auto_demangling. | |
1114 | (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING. | |
ae7d06ad | 1115 | (main): Use standard symbol chars for auto_demangling. |
e49a569c | 1116 | |
ae7d06ad | 1117 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
5ca0f83d DD |
1118 | |
1119 | * hashtab.c (higher_prime_number): Use a table, rather than a | |
1120 | seive, to find the next prime. | |
ae7d06ad NC |
1121 | |
1122 | 2000-11-22 H.J. Lu <hjl@gnu.org> | |
1123 | ||
1124 | * cplus-dem.c (main): Handle gnat_demangling. | |
1125 | ||
1126 | 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu> | |
2ea7befd DD |
1127 | |
1128 | * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in. | |
1129 | (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. | |
1130 | * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three | |
1131 | argument form of AC_DEFINE in dummy definitions block. Use | |
1132 | AC_DEFINE_NOAUTOHEADER for real definitions of things defined | |
1133 | in dummy block. Preload cache variables instead of bypassing | |
1134 | tests, where possible. | |
1135 | * acconfig.h: Removed. | |
ae7d06ad | 1136 | |
2ea7befd DD |
1137 | * xmalloc.c (xmalloc_failed): New function, does error |
1138 | reporting on failed allocation. | |
1139 | (xmalloc, xcalloc, xrealloc): Use it. | |
9c26dc82 | 1140 | |
f1775526 HPN |
1141 | 2000-11-21 Hans-Peter Nilsson <hp@bitrange.com> |
1142 | ||
1143 | * cplus-dem.c (cplus_demangle): Fix formatting. | |
1144 | (grow_vect): Ditto. | |
1145 | (ada_demangle): Ditto. | |
1146 | (internal_cplus_demangle): Ditto. | |
1147 | (mop_up): Ditto. | |
1148 | ||
1149 | 2000-11-21 H.J. Lu <hjl@gnu.org> | |
1150 | ||
1151 | * cplus-dem.c (main): Handle java_demangling. | |
1152 | ||
ae7d06ad | 1153 | 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
f1775526 HPN |
1154 | |
1155 | * cplus-dem.c (grow_vect): Prototype. | |
1156 | (ada_demangle): Cast the arg of ctype macros to unsigned char. | |
1157 | ||
5dd42ef4 HPN |
1158 | 2000-11-15 Hans-Peter Nilsson <hp@bitrange.com> |
1159 | ||
1160 | * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for | |
1161 | parameter `option'. | |
1162 | ||
296731c1 DD |
1163 | 2000-11-15 Kenneth Block <kenneth.block@compaq.com> |
1164 | ||
8944fb9d | 1165 | * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot |
296731c1 DD |
1166 | be used in GCC. |
1167 | ||
6e53a714 | 1168 | 2000-11-15 Kenneth Block <kenneth.block@compaq.com> |
16e85745 | 1169 | |
5dd42ef4 | 1170 | * cplus-dem.c: Add gnat demangler. Add java to demangle style |
16e85745 HPN |
1171 | list. |
1172 | ||
99a4c1bd HPN |
1173 | 2000-11-04 Hans-Peter Nilsson <hp@bitrange.com> |
1174 | ||
1175 | * hashtab.c (htab_expand): Change to return int. Use calloc or | |
8aefe91a DD |
1176 | xcalloc depending on htab->return_allocation_failure. Return zero |
1177 | if calloc fails. | |
99a4c1bd HPN |
1178 | (htab_create): Update comment to cover memory allocation. |
1179 | (htab_try_create): New. | |
1180 | (htab_find_slot_with_hash): Return NULL if htab_expand fails. | |
8aefe91a | 1181 | Update comment to cover this. |
99a4c1bd | 1182 | |
e0f3df8f HPN |
1183 | 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com> |
1184 | ||
1185 | * hashtab.c: Change void * to PTR where necessary. | |
1186 | (htab_create, htab_expand): Correct formatting of comment before | |
1187 | function. | |
1188 | ||
ae7d06ad | 1189 | 2000-10-22 Alex Samuel <samuel@codesourcery.com> |
59666b35 DD |
1190 | |
1191 | * cp-demangle.c (string_list_def): Add caret_position and comments. | |
1192 | (result_caret_pos): New macro. | |
1193 | (result_append_string): Rename to... | |
1194 | (result_add_string): ... this, and insert at caret position. | |
ae7d06ad | 1195 | Rename throughout. |
59666b35 DD |
1196 | (result_append): Rename to... |
1197 | (result_add): ... this, and insert at caret position. Rename | |
ae7d06ad | 1198 | throughout. |
59666b35 DD |
1199 | (result_append_char): Rename to... |
1200 | (result_add_char): ... this, and insert at caret position. Rename | |
ae7d06ad | 1201 | throughout. |
59666b35 DD |
1202 | (result_append_space): Remove. |
1203 | (string_list_new): Initialize caret position. | |
1204 | (result_add_separated_char): Use caret position. | |
1205 | (result_get_caret): New funtion. | |
1206 | (result_set_caret): Likewise. | |
1207 | (result_shift_caret): Likewise. | |
1208 | (result_previous_char_is_space): Likewise. | |
1209 | (substitution_start): Use caret position. | |
1210 | (substitution_add): Likewise. | |
1211 | (demangling_new): Initialize caret position. | |
1212 | (demangle_encoding): Use caret position. | |
ae7d06ad | 1213 | (demanglin_nested_name): Put CV qualifiers after name. |
59666b35 DD |
1214 | (demangle_type_ptr): Use switch statement. Handle pointers to |
1215 | arrays. Don't use result_append_space. Use caret position. | |
1216 | (demangle_type): Emit CV qualifiers after underlying type. Adjust | |
ae7d06ad NC |
1217 | call to demangle_array_type. |
1218 | (demangle_array_type): Add parameter to handle pointers to arrays. | |
74bcd529 | 1219 | |
ae7d06ad | 1220 | 2000-10-01 Mark Mitchell <mark@codesourcery.com> |
74bcd529 DD |
1221 | |
1222 | * splay-tree.c (splay_tree_insert): Fix formatting. | |
ae7d06ad NC |
1223 | |
1224 | 2000-09-16 Mark Mitchell <mark@codesourcery.com> | |
74bcd529 DD |
1225 | |
1226 | * splay-tree.c (splay_tree_predecessor): Fix typo in comment. | |
ae7d06ad NC |
1227 | |
1228 | 2000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> | |
1229 | ||
1230 | * splay-tree.c: #include <stdio.h>. | |
1231 | ||
1232 | 2000-09-14 Hans-Peter Nilsson <hp@axis.com> | |
1233 | ||
1234 | * testsuite/demangle-expected: Add two tests for anonymous | |
1235 | namespaces. | |
1236 | * cplus-dem.c (gnu_special): Handle anonymous namespaces. | |
1237 | ||
1238 | 2000-09-10 Mark Mitchell <mark@codesourcery.com> | |
74bcd529 DD |
1239 | |
1240 | * splay-tree.c (splay_tree_predecessor): New function. | |
1241 | (splay_tree_successor): Likewise. | |
ae7d06ad NC |
1242 | |
1243 | 2000-09-10 Hans-Peter Nilsson <hp@axis.com> | |
1244 | ||
1245 | * testsuite/demangle-expected: Add four tests for type_info | |
1246 | mangling. | |
1247 | * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, | |
1248 | for a non-template non-qualified type_info function or node. | |
1249 | ||
1250 | 2000-09-08 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1251 | |
1252 | * cp-demangle.c: Fix copyright banner. | |
ae7d06ad NC |
1253 | |
1254 | 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> | |
1255 | ||
1256 | * md5.c: #include "ansidecl.h". | |
1257 | ||
1258 | 2000-09-06 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1259 | |
1260 | * cp-demangle.c (status_allocation_failed): Rearrange whitespace. | |
1261 | (demangle_type): Handle substitution candidates correctly in the | |
1262 | face of special substitutions. | |
ae7d06ad NC |
1263 | |
1264 | 2000-09-05 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1265 | |
1266 | * cp-demangle.c (demangle_encoding): Rename variable. | |
1267 | (demangle_name): Rename parameter. Handle return type | |
1268 | suppression. | |
1269 | (demangle_nested_name): Rename parameter. | |
1270 | (demangle_prefix): Likewise. Change return type suppression. | |
1271 | (demangle_unqualified_name): Add parameter. Flag constructors and | |
1272 | conversion operators. | |
1273 | (demangle_special_name): Fix comment. | |
1274 | (demangle_type): Rename variable. | |
1275 | (demangle_bare_function_type): Check for missing return type and | |
1276 | parameter. | |
1277 | (demangle_class_enum_type): Rename parameter. | |
1278 | (demangle_discriminator): Fix misspelling in comment. | |
ae7d06ad NC |
1279 | |
1280 | 2000-08-31 DJ Delorie <dj@redhat.com> | |
1281 | ||
1282 | * configure.in (Cygwin): special case cygwin only when we're | |
1283 | building cygwin, not when we're hosting cygwin. | |
1284 | ||
1285 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1286 | |
1287 | * cp-demangle.c (demangle_template_arg): Eat an `E' after an | |
1288 | <expression>. | |
ae7d06ad NC |
1289 | |
1290 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1291 | |
1292 | * cp-demangle.c (demangle_type_ptr): Increment position past | |
1293 | pointer and reference characters. | |
ae7d06ad NC |
1294 | |
1295 | 2000-09-04 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1296 | |
1297 | * cp-demangle.c (demangle_nv_offset): New function. | |
1298 | (demangle_v_offset): Likewise. | |
1299 | (demangle_call_offset): Likewise. | |
1300 | (demangle_special_name): Update thunk demangling to comply with | |
1301 | ABI changes. | |
ae7d06ad NC |
1302 | |
1303 | 2000-09-03 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1304 | |
1305 | * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro. | |
1306 | (substitution_def): Remove template_parm_number. | |
1307 | (NOT_TEMPLATE_PARM): Remove. | |
1308 | (result_insert_string): New macro. | |
1309 | (result_insert): Likewise. | |
1310 | (result_insert_char): Likewise. | |
1311 | (substitution_add): Remove last parameter. Don't store template | |
1312 | parm number. | |
1313 | (BFT_NO_RETURN_TYPE): Define as NULL. | |
1314 | (demangle_encoding): Adjust call to demangle_bare_function_type. | |
1315 | (demangle_name): Adjust substitution. Adjust call to | |
1316 | substitution_add. | |
1317 | (demangle_prefix): Adjust call to substitution_add. | |
1318 | (demangle_identifier): Handle anonymous namespaces. | |
1319 | (demangle_operator_name): Change demangling of vendor-extended | |
1320 | operator to match ABI changes. | |
1321 | (demangle_type_ptr): Change parameters. Make recursive. Handle | |
1322 | substitutions here. | |
1323 | (demangle_type): Adjust calls to demangle_template_param, | |
1324 | substitution_add, and demangle_type_ptr. Fix substitution of | |
1325 | templated types. | |
1326 | (demangle_function_type): Change parameter to a pointer. | |
1327 | (demangle_bare_function_type): Likewise. Adjust insertion point. | |
1328 | (demangle_template_param): Remove last parameter. | |
1329 | (demangle_expr_primary): Remove unused variable. Adjust call to | |
1330 | demangle_template_param. | |
1331 | (is_mangled_char): Accept `$' and `.'. | |
1332 | * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'. | |
1333 | * dyn-string.c (dyn_string_insert_char): New function. | |
ae7d06ad NC |
1334 | |
1335 | 2000-08-31 Hans-Peter Nilsson <hp@axis.com> | |
1336 | ||
1337 | * testsuite/demangle-expected: Add nine tests for | |
1338 | underscore-after-number followed by five tests for name-signature | |
1339 | delimiter. | |
1340 | ||
1341 | 2000-08-28 Richard Henderson <rth@cygnus.com> | |
74bcd529 DD |
1342 | |
1343 | * Makefile.in (md5.o): Depend on config.h. | |
ae7d06ad NC |
1344 | |
1345 | 2000-08-28 Jason Merrill <jason@redhat.com> | |
1346 | ||
1347 | * Makefile.in (REQUIRED_OFILES): Add md5.o. | |
1348 | (CFILES): Add md5.c. | |
1349 | * md5.c: New file. | |
1350 | ||
1351 | 2000-08-27 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1352 | |
1353 | * cp-demangle.c (demangle_name): Initialize template_p in local | |
1354 | name case. Don't re-add substitutions as candidates. | |
1355 | (demangle_nested_name): Use <unqualified-name>. | |
1356 | (demangle_prefix): Likewise. Don't add template names as | |
1357 | substitution candidates twice, or re-add a substitution or the | |
1358 | last prefix component. | |
1359 | (demangle_local_name): Adjust output format. | |
ae7d06ad NC |
1360 | |
1361 | 2000-08-25 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1362 | |
1363 | * cp-demangle.c (result_add_separated_char): Change parameter to | |
1364 | int. | |
1365 | (substitution_add): Don't check for duplicates. Check if | |
1366 | previously allocated size is zero. | |
1367 | (demangle_name): Remove duplicate check for std substitution. | |
1368 | Clear template flag appropriately. | |
1369 | (demangle_prefix): Remove argument to demangle_substitution. | |
1370 | Don't check that template flag is already set. | |
1371 | (demangle_operator_name): Add pt operator. | |
1372 | (demangle_type): Don't treat r as built-in type. Remove argument | |
1373 | to demangle_substitution. Fix substitution candidate mechanics. | |
1374 | Handle <template-template-parm>s. Improve comments. | |
1375 | (demangle_template_param): Don't handle template arg lists here. | |
1376 | (demangle_substitution): Remove parameter. | |
1377 | (print_usage): Remove extra fprintf option. | |
ae7d06ad NC |
1378 | |
1379 | 2000-08-24 Greg McGary <greg@mcgary.org> | |
74bcd529 DD |
1380 | |
1381 | * libiberty/random.c (end_ptr): Revert previous change. | |
ae7d06ad NC |
1382 | |
1383 | 2000-08-24 Greg McGary <greg@mcgary.org> | |
74bcd529 DD |
1384 | |
1385 | * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname, | |
1386 | demangle_expression, demangle_function_name): Use ARRAY_SIZE. | |
1387 | * libiberty/random.c (end_ptr): Likewise. | |
ae7d06ad NC |
1388 | |
1389 | 2000-08-23 Alex Samuel <samuel@codesourcery.com> | |
74bcd529 DD |
1390 | |
1391 | * cp-demangle.c (result_close_template_list): Remove function. | |
1392 | (result_add_separated_char): New function. | |
1393 | (result_open_template_list): New macro. | |
1394 | (result_close_template_list): Likewise. | |
1395 | (demangle_prefix): Don't set template_p if the | |
1396 | prefix ends with a ctor name. | |
1397 | (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR. | |
1398 | (demangle_type): Check for template args after substitution. | |
1399 | (demangle_template_args): Use result_open_template_list. | |
d3e85005 | 1400 | |
ae7d06ad | 1401 | 2000-08-02 Zack Weinberg <zack@wolery.cumb.org> |
64e3a659 | 1402 | |
ae7d06ad | 1403 | * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop. |
050823ca | 1404 | |
ae7d06ad | 1405 | 2000-07-26 Dave Pitts <dpitts@cozx.com> |
d6e83f5f JL |
1406 | |
1407 | * config/mh-openedition.h: Added -DLE370 definition. | |
1408 | ||
a9f34fb6 JL |
1409 | 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com> |
1410 | ||
1411 | * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to | |
1412 | __DJGPP__. Use P_WAIT instead of constant in the spawnv* call. | |
1413 | Cast program to 'char *' in errmsg_arg assignment. | |
1414 | (PWAIT_ERROR): Define. | |
1415 | (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform | |
1416 | to DJGPP's WIF* macros. | |
1417 | ||
90aaccd1 | 1418 | 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com> |
ae7d06ad | 1419 | Jeff Law <law@cygnus.com> |
90aaccd1 | 1420 | |
ae7d06ad | 1421 | * getcwd.c: Include string.h, stdlib.h for prototypes |
443519c1 | 1422 | |
90aaccd1 | 1423 | * Makefile.in (rename.o, waitpid.o): Depend on config.h |
ae7d06ad NC |
1424 | * rename.c: Include config.h, unistd.h |
1425 | * waitpid.c: Include config.h, sys/wait.h | |
90aaccd1 | 1426 | |
6ef554e3 HPN |
1427 | 2000-07-24 Hans-Peter Nilsson <hp@axis.com> |
1428 | ||
1429 | * cplus-dem.c (work_stuff_copy_to_from): New. | |
1430 | (delete_non_B_K_work_stuff): New. | |
1431 | (delete_work_stuff): New. | |
1432 | (mop_up): Break out work_stuff partly destruction to | |
1433 | delete_non_B_K_work_stuff. | |
1434 | (iterate_demangle_function): New. | |
1435 | (demangle_prefix): Call iterate_demangle_function instead of | |
1436 | demangle_function_name. Leave handling of name-signature | |
1437 | __-delimiters to iterate_demangle_function. | |
1438 | (demangle_integral_value): Strip an optional | |
1439 | following underscore cautiously. Handle negative numbers. | |
1440 | ||
ae7d06ad | 1441 | 2000-07-24 Daniel Berlin <dberlin@redhat.com> |
e8865c28 | 1442 | |
ae7d06ad | 1443 | * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to |
e8865c28 DB |
1444 | if (AUTO_DEMANGLING || GNU_DEMANGLING) |
1445 | ||
ae7d06ad NC |
1446 | 2000-07-21 Alex Samuel <samuel@codesourcery.com> |
1447 | ||
1448 | * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge | |
1449 | allocating ctor mangling. | |
1450 | (demangle_array_type): Handle empty and non-constant array length. | |
1451 | ||
b1233257 | 1452 | 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
62df2065 JL |
1453 | Jeff Law <law@cygnus.com> |
1454 | ||
1455 | * configure.in (AC_CHECK_HEADERS): Add time.h. | |
1456 | (AC_HEADER_TIME): Add check. | |
1457 | * configure, config.in: Regenerate. | |
1458 | * getruntime.c: Portably #include <sys/time.h> and/or <time.h>. | |
1459 | ||
1460 | * configure.in (AC_CHECK_HEADERS): Add limits.h. | |
1461 | * configure, config.in: Regenerate. | |
1462 | * sort.c: Portably #include <limits.h> and/or <sys/param.h>. | |
1463 | * strtol.c, strtoul.c: #include "config.h". Portably #include | |
1464 | <limits.h> and/or <sys/param.h>. | |
1465 | * Makefile.in (strtol.o, strtoul.o): Update dependencies. | |
b1233257 | 1466 | |
7d3ffcaf JL |
1467 | * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro. |
1468 | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. | |
1469 | * configure, config.in: Regenerate. | |
1470 | * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary. | |
1471 | ||
b1233257 JL |
1472 | * cp-demangle.c, mkstemps.c: #include <sys/types.h>. |
1473 | ||
ae7d06ad NC |
1474 | 2000-07-21 Mike Stump <mrs@wrs.com> |
1475 | ||
1476 | * Makefile.in (xexit.o): Add dependency for config.h in xexit.c. | |
1477 | * (vasprintf.o): Add dependency for config.h in vasprintf.c. | |
1478 | ||
1479 | 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1480 | ||
1481 | * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. | |
1482 | ||
1483 | * setenv.c (setenv): Initialize variable `ep'. | |
1484 | ||
1485 | * sigsetmask.c (abort): Prototype. | |
1486 | ||
1487 | * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not | |
1488 | __STDC__ for stdarg.h include. | |
1489 | (int_vasprintf): Prototype. | |
1490 | (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in | |
1491 | definition. Cast `global_total_width' in comparison. | |
1492 | (main): Prototype. Return a value. | |
1493 | ||
1494 | * vfork.c (fork): Prototype. | |
1495 | ||
1496 | * xexit.c: Include config.h. | |
1497 | ||
9adf30b2 JL |
1498 | 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk> |
1499 | ||
1500 | * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int, | |
1501 | and print it with %u. | |
1502 | ||
2ed78d1b HPN |
1503 | 2000-07-17 Hans-Peter Nilsson <hp@axis.com> |
1504 | ||
1505 | * testsuite/regress-demangle (failed test): Show result and | |
1506 | expected output. | |
1507 | ||
0473bdf7 AH |
1508 | 2000-07-07 Andrew Haley <aph@cygnus.com> |
1509 | ||
1510 | * cplus-dem.c (main): fflush() after emitting last char before | |
1511 | waiting for input. | |
1512 | ||
03d5f569 JM |
1513 | 2000-06-28 Alex Samuel <samuel@codesourcery.com> |
1514 | ||
1515 | * cp-demangle.c (demangle_encoding): Accept no substitutions. | |
1516 | (demangle_name): Handle <substitution> followed by | |
1517 | <unqualified-template-name>. | |
1518 | (demangle_type): Follow special substitutions with | |
1519 | <class-enum-type> | |
1520 | (demangle_subtitution): Set template_p for special substitutions. | |
1521 | (main): Fix typos. | |
ae7d06ad | 1522 | |
03d5f569 JM |
1523 | 2000-06-27 Alex Samuel <samuel@codesourcery.com> |
1524 | ||
1525 | * cp-demangle.c (demangle_special_name): Swap base and derived | |
1526 | class when demangling construction vtables. | |
1527 | ||
1528 | 2000-06-21 Alex Samuel <samuel@codesourcery.com> | |
1529 | ||
1530 | * cp-demangle.c: Don't include ctype.h. | |
1531 | (IS_DIGIT): New macro. | |
1532 | (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout | |
1533 | instead of isdigit and isalpanum. | |
1534 | (demangling_def): Make name and next const pointers. | |
1535 | (STATUS_ALLOCATION_FAILED): New status code. | |
1536 | (dyn_string_append_space): Handle failure in | |
1537 | dyn_string_append_char. | |
1538 | (int_to_dyn_string): Likewise. Change return value to status_t. | |
1539 | (string_list_new): Handle failure of dyn_string_init. | |
1540 | (result_close_template_list): Change return type to status_t. | |
1541 | Handle failure in dyn_string_append. | |
1542 | (result_push): Change return value to status_t. Handle failure in | |
1543 | string_list_new. Handle failure of result_push throughout. | |
1544 | (substitution_add): Change return value to status_t. Handle | |
1545 | dyn_string failures. Handle failure of substitution_add | |
1546 | throughout. | |
1547 | (template_arg_list_new): Return NULL on allocation failure. | |
1548 | (result_append_string): Return STATUS_ALLOCATION_FAILED on error. | |
1549 | Handle error result throughout. | |
1550 | (result_append): Likewise. | |
1551 | (result_append_char): Likewise. | |
1552 | (result_append_space): Likewise. | |
1553 | (demangling_new): Make argument a const pointer. Handle | |
1554 | allocation failures. | |
1555 | (demangle_template_args): Handle failure in template_arg_list_new | |
1556 | and result_close_template_list. | |
1557 | (demangle_discriminator): Return if int_to_dyn_string fails. | |
1558 | (cp_demangle): Likewise. | |
1559 | (cp_demangle_type): New function. | |
1560 | (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on | |
1561 | memory allocation failure. | |
1562 | (main): Likewise. | |
1563 | * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if | |
1564 | IN_LIBGCC2. | |
1565 | (dyn_string_init): Change return value to int. Handle | |
1566 | RETURN_ON_ALLOCATION_FAILURE case. | |
1567 | (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. | |
1568 | (dyn_string_release): Delete the dyn_string. | |
1569 | (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. | |
1570 | (dyn_string_copy): Change return type to int. | |
1571 | (dyn_string_copy_cstr): Likewise. | |
1572 | (dyn_string_prepend): Likewise. | |
1573 | (dyn_string_prepend_cstr): Likewise. | |
1574 | (dyn_string_insert): Likewise. | |
1575 | (dyn_string_insert_cstr): Likewise. | |
1576 | (dyn_string_append): Likewise. | |
1577 | (dyn_string_append_cstr): Likewise. | |
1578 | (dyn_string_append_char): Likewise. | |
1579 | (dyn_string_substring): Likewise. | |
ae7d06ad | 1580 | |
eb383413 | 1581 | 2000-06-09 Zack Weinberg <zack@wolery.cumb.org> |
9cc28cc8 | 1582 | |
eb383413 L |
1583 | * cp-demangle.c (demangle_operator_name): Add spaces before |
1584 | names beginning with a letter: delete, delete[], new, new[], | |
1585 | sizeof. | |
1586 | (demangle_special_name): Handle TF <type> and TJ <type>. | |
9cc28cc8 | 1587 | |
eb383413 L |
1588 | Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be> |
1589 | ||
1590 | * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch. | |
1591 | ||
1592 | Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be> | |
1593 | ||
1594 | * cp-demangle.c (stdio.h): File included unconditionaly. | |
1595 | (template_arg_list_new): Parameter list is PARAMS ((void)), not (). | |
1596 | * dyn-string.c (stdio.h): File included. | |
1597 | * partition.c (partition_print): No `&' needed to take the address of | |
1598 | a function. | |
1599 | ||
1600 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1601 | ||
1602 | * configure.in (ac_libiberty_warn_cflags): Add -pedantic. | |
ae7d06ad | 1603 | |
eb383413 L |
1604 | * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. |
1605 | ||
1606 | * cp-demangle.c (demangle_char): Change parameter from char to int. | |
1607 | (demangle_expression, demangle_expr_primary): Remove extra | |
1608 | semi-colon in prototype. | |
1609 | ||
1610 | * dyn-string.c (dyn_string_append_char): Change parameter from | |
1611 | char to int. | |
1612 | ||
1613 | * memcmp.c (memcmp): Constify. | |
1614 | ||
1615 | * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with | |
1616 | __extension__. | |
1617 | ||
1618 | * partition.c (elem_compare): Prototype. Don't cast away | |
1619 | const-ness. | |
1620 | ||
1621 | * setenv.c (setenv): Use braces to avoid ambiguous `else'. | |
ae7d06ad | 1622 | |
eb383413 L |
1623 | 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1624 | ||
1625 | * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. | |
1626 | ||
1627 | * cp-demangle.c: Include demangle.h. | |
1628 | (template_arg_list_new): DeANSIfy. | |
1629 | (cp_demangle): Make static and add prototype. | |
1630 | (operator_code, operators): Constify. | |
1631 | (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. | |
1632 | ||
1633 | 2000-06-05 Alex Samuel <samuel@codesourcery.com> | |
1634 | ||
1635 | * cp-demangle.c (demangle_prefix): Cast argument to isdigit to | |
1636 | unsigned char. | |
1637 | (demangle_unqualified_name): Likewise. | |
1638 | (demangle_number_literally): Likewise. | |
1639 | (demangle_type): Likewise. | |
1640 | (demangle_substitution): Likewise. | |
1641 | (is_mangled_char): Likewise, for isalnum. | |
1642 | ||
1643 | 2000-06-04 Alex Samuel <samuel@codesourcery.com> | |
1644 | ||
1645 | * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. | |
1646 | (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. | |
1647 | (cp-demangle.o): New dependency. | |
1648 | (dyn-string.o): Likewise. | |
1649 | ||
1650 | * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. | |
1651 | ||
1652 | * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI | |
1653 | demangler. | |
1654 | (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI | |
1655 | demangling mode. | |
1656 | (gnu_new_abi_symbol_characters): New function. | |
1657 | (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New | |
1658 | file. | |
1659 | * cp-demangle.c: New file. | |
ae7d06ad | 1660 | |
f03aa80d AC |
1661 | Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1662 | ||
1663 | * floatformat.c: Add name to each floatformat field. | |
1664 | ||
77bfb694 JL |
1665 | Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com) |
1666 | ||
1667 | * Makefile.in (objalloc.o): Depend on config.h | |
1668 | ||
5c82d20a ZW |
1669 | 2000-05-29 Zack Weinberg <zack@wolery.cumb.org> |
1670 | ||
eb383413 | 1671 | * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h |
5c82d20a ZW |
1672 | if HAVE_STRING_H. |
1673 | * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. | |
1674 | * objalloc.c: Include config.h. Include stdlib.h and don't | |
1675 | declare malloc or free if HAVE_STDLIB_H. | |
1676 | * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, | |
1677 | else declare malloc without prototype. Include string.h if | |
1678 | HAVE_STRING_H, else declare memset without prototype. Don't | |
1679 | include stddef.h. | |
1680 | ||
eb383413 L |
1681 | 2000-05-23 Mike Stump <mrs@wrs.com> |
1682 | ||
1683 | * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make | |
8aefe91a | 1684 | -j3. |
eb383413 L |
1685 | |
1686 | 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca> | |
1687 | ||
1688 | * xmalloc.c: Include config.h for HAVE_SBRK definition. | |
1689 | ||
1690 | 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl> | |
1691 | ||
ae7d06ad | 1692 | * hashtab.c (hash_pointer): Delete low-order bits which are |
eb383413 L |
1693 | probably zero, also eliminate a warning on alpha. |
1694 | ||
1695 | 2000-05-15 David Edelsohn <edelsohn@gnu.org> | |
1696 | ||
1697 | * Makefile.in: Change "pic" to depend on $(PICFLAG), not | |
1698 | on $(enable_shared). | |
1699 | ||
1700 | 2000-05-10 Jakub Jelinek <jakub@redhat.com> | |
1701 | ||
1702 | * config.table: Use mh-sparcpic for sparc*-*-*. | |
1703 | ||
1704 | 2000-05-08 Nick Clifton <nickc@cygnus.com> | |
1705 | ||
1706 | * Makefile.in (CFILES): Add strncmp.c. | |
1707 | (NEEDED): Add strncmp. | |
1708 | ||
1709 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
5c82d20a | 1710 | |
eb383413 L |
1711 | * cplus-dem.c (cplus_demangle_opname, demangle_function_name): |
1712 | Cast the arguments to `islower' to `unsigned char'. | |
1713 | (print_demangler_list): Prototype. | |
1714 | ||
1715 | Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be> | |
1716 | ||
1717 | * sort.c (UCHAR_MAX): Provide fallback definition. | |
1718 | ||
1719 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> | |
010c70e1 AO |
1720 | |
1721 | * Makefile.in (maintainer-clean-subdir): Fix handling of empty | |
1722 | SUBDIRS. | |
1723 | ||
eb383413 L |
1724 | 2000-04-28 Kenneth Block <block@zk3.dec.com> |
1725 | Jason Merrill <jason@casey.cygnus.com> | |
1726 | ||
ae7d06ad NC |
1727 | * cplus-dem.c (libiberty_demanglers): New table for demangle styles. |
1728 | (cplus_demangle_set_style): New function for setting style. | |
1729 | (cplus_demangle_name_to_style): New function to translate name. | |
eb383413 L |
1730 | |
1731 | 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1732 | ||
1733 | * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. | |
1734 | ||
1735 | * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. | |
1736 | (libiberty_AC_FUNC_STRNCMP): Invoke. | |
1737 | ||
1738 | * strncmp.c: New file. | |
1739 | ||
1740 | Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
1741 | ||
1742 | * hashtab.c (htab_expand): Add prototype. | |
1743 | (find_empty_slot_for_expand): Likewise. | |
1744 | ||
1745 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1746 | ||
1747 | * hashtab.c (hash_pointer, eq_pointer): Make definition static to | |
1748 | match prototype. | |
1749 | (htab_expand): Cast the return value of xcalloc. | |
1750 | ||
1751 | 2000-04-24 Mark Mitchell <mark@codesourcery.com> | |
1752 | ||
1753 | * hashtab.c (hash_pointer): New function. | |
1754 | (eq_pointer): Likewise. | |
1755 | (htab_hash_pointer): New variable. | |
1756 | (htab_eq_pointer): Likewise. | |
1757 | ||
1758 | 2000-04-23 Mark Mitchell <mark@codesourcery.com> | |
1759 | ||
1760 | * sort.c (sort_pointers): Fix endianness bugs. | |
1761 | ||
1762 | * sort.c: New file. | |
1763 | * Makefile.in (CFILES): Add sort.c | |
1764 | (REQUIRED_OFILES): Add sort.o. | |
1765 | (sort.o): New target. | |
1766 | ||
19be4303 JL |
1767 | 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1768 | ||
1769 | * Makefile.in (*-subdir): Revamp slightly to avoid losing on | |
1770 | 4.3BSD systems. | |
1771 | ||
eb383413 L |
1772 | Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1773 | ||
1774 | * hashtab.c: Various minor cleanups. | |
1775 | (htab_find_slot_with_hash): INSERT is now enum insert_option. | |
1776 | (htab_find_slot): Likewise. | |
1777 | ||
1778 | 2000-04-16 Dave Pitts <dpitts@cozx.com> | |
1779 | ||
1780 | * cplus-dem.c (cplus_demangle_opname): Changed to use islower. | |
ae7d06ad | 1781 | |
afe36a78 RH |
1782 | 2000-04-05 Richard Henderson <rth@cygnus.com> |
1783 | ||
1784 | * splay-tree.c (splay_tree_remove): New. | |
1785 | ||
eb383413 L |
1786 | 2000-03-30 Mark Mitchell <mark@codesourcery.com> |
1787 | ||
1788 | * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash | |
1789 | codes. | |
1790 | (htab_find_with_hash): Likewise. | |
1791 | (htab_find_slot_with_hash): Likewise. | |
ae7d06ad | 1792 | |
eb383413 L |
1793 | 2000-03-29 Zack Weinberg <zack@wolery.cumb.org> |
1794 | ||
1795 | * hashtab.c (htab_find_with_hash): Avoid calculating hash2 | |
1796 | unless it will be used. Rearrange loop for better | |
1797 | optimization. | |
1798 | (higher_prime_number): Add static prototype. | |
1799 | ||
b4fe2683 JM |
1800 | Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com) |
1801 | ||
1802 | * Makefile.in (partition.o): Depend on config.h | |
1803 | ||
1804 | 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk> | |
1805 | ||
1806 | * hashtab.c (find_empty_slot_for_expand): New function. | |
1807 | (htab_expand): Use it instead of htab_find_slot. | |
1808 | (htab_find_with_hash): Renamed from htab_find; now accepts extra | |
1809 | argument HASH. | |
1810 | (htab_find_slot_with_hash): Likewise for htab_find_slot. | |
1811 | (htab_find): New wrapper function. | |
1812 | (htab_find_slot): Likewise. | |
1813 | (htab_traverse): Pass slot, not entry, to called function. | |
1814 | ||
1815 | 2000-03-09 Alex Samuel <samuel@codesourcery.com> | |
1816 | ||
1817 | * Makefile.in (CFILES): Add partition.c. | |
1818 | (REQUIRED_OFILES): Add partition.o. | |
1819 | (partition.o): New rule. | |
1820 | * partition.c: New file. | |
ae7d06ad | 1821 | |
b4fe2683 JM |
1822 | 2000-03-09 Zack Weinberg <zack@wolery.cumb.org> |
1823 | ||
1824 | * hashtab.c (htab_create): Set del_f. | |
1825 | (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): | |
1826 | Use it. | |
1827 | ||
1828 | 2000-03-08 Zack Weinberg <zack@wolery.cumb.org> | |
1829 | ||
1830 | * hashtab.c: Remove debugging variables (all_searches, | |
1831 | all_collisions, all_expansions). Delete | |
1832 | all_hash_table_collisions. | |
1833 | (create_hash_table, delete_hash_table, empty_hash_table, | |
1834 | find_hash_table_entry, remove_element_from_hash_table_entry, | |
1835 | clear_hash_table_slot, traverse_hash_table, hash_table_size, | |
1836 | hash_table_elements_number, hash_table_collisions): Rename to: | |
1837 | htab_create, htab_delete, htab_empty, htab_find_slot, | |
1838 | htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, | |
1839 | htab_elements, htab_collisions. | |
1840 | (htab_find): New function, handles common case where you don't | |
1841 | plan to add or delete an entry. | |
1842 | (htab_expand): Don't create a whole new table, just a new | |
1843 | entry vector. | |
1844 | (htab_find_slot): Simplify logic. | |
1845 | ||
08372f14 ILT |
1846 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
1847 | ||
1848 | * floatformat.c: Add casts to avoid signed/unsigned warnings. | |
1849 | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix. | |
1850 | ||
1851 | * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to | |
1852 | $(TARGETLIB)n so it works on MSDOS. | |
1853 | (install_to_tooldir): Likewise. | |
1854 | ||
9c8ac5a9 ILT |
1855 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
1856 | ||
1857 | From Mark Elbrecht: | |
1858 | * makefile.dos: Remove; obsolete. | |
8f36e47c | 1859 | * configure.bat: Remove; obsolete. |
9c8ac5a9 | 1860 | |
0c0a36a4 ILT |
1861 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
1862 | ||
1863 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
1864 | warning. | |
1865 | ||
1866 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> | |
1867 | ||
1868 | * pexecute.c: Conditionally include string.h. | |
b4fe2683 | 1869 | (fix_argv): Handle embedded whitespace in args for Mingw32. |
0c0a36a4 ILT |
1870 | |
1871 | 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1872 | ||
1873 | * configure.in (ac_libiberty_warn_cflags): Turn on warnings if | |
1874 | we're using gcc. | |
1875 | ||
1876 | * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ | |
1877 | ||
1878 | 1999-12-27 Geoff Keating <geoffk@cygnus.com> | |
1879 | ||
1880 | * vasprintf.c (int_vasprintf): Don't re-read the format character | |
1881 | as this mishandles strings like '%%s'. | |
1882 | ||
1883 | 1999-12-05 Mark Mitchell <mark@codesourcery.com> | |
1884 | ||
1885 | * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s | |
1886 | rather than struct splay_tree_node. | |
1887 | (splay_tree_insert): Use struct splay_tree_s rather than struct | |
1888 | splay_tree. | |
1889 | ||
1890 | Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be> | |
1891 | ||
1892 | * hashtab.c (sys/types.h): File included. | |
1893 | ||
1894 | 1999-11-22 Jason Merrill <jason@casey.cygnus.com> | |
1895 | ||
1896 | * strtoul.c, strtol.c, random.c: Remove advertising clause from | |
1897 | BSD license, pursuant with | |
1898 | ||
1899 | ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change | |
1900 | ||
1901 | Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com) | |
1902 | ||
1903 | * hashtab.c: Include stdio.h. | |
1904 | ||
1905 | Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com) | |
1906 | ||
1907 | * hashtab.c (traverse_hash_table): Protect prototype with PARAMS. | |
1908 | ||
1909 | Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be> | |
1910 | ||
1911 | * xstrdup (sys/types.h): Include this file. | |
1912 | ||
1913 | 1999-10-28 Nathan Sidwell <nathan@acm.org> | |
1914 | ||
1915 | * Makefile.in (SUBDIRS): New macro. | |
1916 | (mostlyclean, clean, distclean, maintainer-clean): Adjust to | |
1917 | avoid multiple subdirectory cleaning. | |
1918 | (*-subdir): Use SUBDIRS. | |
1919 | ||
1920 | 1999-10-25 Jim Kingdon <http://developer.redhat.com/> | |
1921 | ||
1922 | * cplus-dem.c: Move declarations of standard_symbol_characters and | |
1923 | hp_symbol_characters inside #ifdef MAIN to avoid compiler | |
1924 | warnings. | |
1925 | ||
1926 | 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> | |
1927 | ||
1928 | * hashtab.c (find_hash_table_entry): When returning a | |
1929 | DELETED_ENTRY slot, change it to EMPTY_ENTRY first. | |
1930 | (clear_hash_table_slot): New function which deletes an entry | |
1931 | by its position in the table, not its value. | |
1932 | (traverse_hash_table): New function which calls a hook | |
1933 | function for every live entry in the table. | |
1934 | ||
1935 | 1999-10-19 Mark Mitchell <mark@codesourcery.com> | |
1936 | ||
1937 | * cplus-dem.c (INTBUF_SIZE): New macro. | |
1938 | (string_append_template_idx): New function. | |
1939 | (demangle_expression): Likewise. | |
1940 | (demangle_integral_value): Use it. | |
1941 | (demangle_real_value): New function, split out from ... | |
1942 | (demangle_template_value_parm): ... here. Use | |
1943 | string_append_template_idx. Use demangle_real_value. | |
1944 | (demangle_template): Use string_append_template_idx. | |
1945 | (demangle_qualified): Use consume_count_with_underscores. | |
1946 | (get_count): Tweak formatting. | |
1947 | (do_type): Use string_append_template_idx. | |
b4fe2683 | 1948 | |
0c0a36a4 ILT |
1949 | 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1950 | ||
1951 | * calloc.c: Add a public domain notice. | |
1952 | ||
1953 | Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be> | |
1954 | ||
1955 | * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly. | |
1956 | ||
1957 | Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com> | |
1958 | ||
1959 | * Makefile.in (CFILES): Add hashtab.c | |
1960 | (REQUIRED_OFILES): Add hashtab.o | |
1961 | (hashtab.o): Add dependencies. | |
1962 | * hashtab.c: New file | |
1963 | ||
1964 | Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
1965 | ||
1966 | * basename.c (DIR_SEPARATOR): New macro. | |
1967 | (DIR_SEPARATOR_2): Likewise. | |
1968 | (HAVE_DOS_BASED_FILESYSTEM): Likewise. | |
1969 | (IS_DIR_SEPARATOR): Likewise. | |
1970 | (main): Handle MSDOS style pathname. | |
1971 | ||
1972 | 1999-10-11 Mark Mitchell <mark@codesourcery.com> | |
1973 | ||
1974 | * cplus-dem.c (do_type): Handle pointer to member types whose | |
1975 | enclosing classes have namespace scope. | |
1976 | ||
1977 | Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org> | |
1978 | ||
1979 | * config.table: Provide a backup shell for executing move-if-change. | |
1980 | ||
1981 | 1999-10-02 Mark Mitchell <mark@codesourcery.com> | |
1982 | ||
1983 | * xmalloc.c (xmalloc): Fix spelling error. | |
1984 | (xcalloc, xrealloc): Likewise. | |
1985 | ||
1986 | 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1987 | ||
1988 | * cplus-dem.c (fancy_abort, demangle_integral_value, | |
1989 | demangle_arm_hp_template, recursively_demangle, | |
1990 | standard_symbol_characters, hp_symbol_characters, main): Add prototype. | |
1991 | (program_name, program_version, fatal): Constify a char*. | |
1992 | (usage, fatal): Mark with ATTRIBUTE_NORETURN. | |
1993 | (main): Call return, not exit. | |
1994 | ||
1995 | 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1996 | ||
1997 | * choose-temp.c: Remove obsolete comment about gcc. | |
1998 | (make_temp_file): Constify a char*. | |
1999 | ||
2000 | Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2001 | ||
2002 | * xmemdup.c: Include sys/types.h. | |
2003 | ||
2004 | 1999-09-07 Jeff Garzik <jgarzik@pobox.com> | |
2005 | ||
2006 | * xmemdup.c: New xmemdup function. | |
2007 | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. | |
2008 | ||
2009 | Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org> | |
2010 | ||
b4fe2683 | 2011 | * config.table: Add openedition target. |
0c0a36a4 ILT |
2012 | * config/mh-openedition: New file. |
2013 | ||
2014 | Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org> | |
2015 | ||
2016 | * pexecute.c (pexecute): Fill in temp_base when needed. | |
2017 | ||
2018 | 1999-08-31 Richard Henderson <rth@cygnus.com> | |
2019 | ||
2020 | * getpwd.c: Check HAVE_GETCWD before defining it away. | |
2021 | ||
2022 | 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2023 | ||
2024 | * Makefile.in (CFILES): Add calloc.c and getpwd.c. | |
2025 | (REQUIRED_OFILES): Add getpwd.o. | |
2026 | (getpwd.o): Add target. | |
2027 | ||
2028 | * configure.in (AC_PREREQ): Bump to 2.13. | |
2029 | (AC_CHECK_HEADERS): Add check for <sys/stat.h>. | |
2030 | ||
2031 | * getpwd.c: New file, moved here from gcc. | |
2032 | ||
2033 | 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2034 | ||
2035 | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when | |
2036 | comparing against a signed quantity. | |
2037 | (arm_special): Likewise. | |
2038 | (demangle_fund_type): Likewise. | |
2039 | (do_hpacc_template_const_value): Mark parameter `work' with | |
b4fe2683 | 2040 | ATTRIBUTE_UNUSED. |
0c0a36a4 ILT |
2041 | (main): Constify variable `valid_symbols'. |
2042 | ||
2043 | Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be> | |
2044 | ||
2045 | * strtoul.c (strtoul): Add parentheses around && within ||. | |
2046 | ||
2047 | Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> | |
2048 | ||
2049 | * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, | |
2050 | libdir, libsubdir and tooldir. | |
2051 | ||
2052 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> | |
2053 | ||
2054 | * splay-tree.c (splay_tree_insert): Return the new node. | |
2055 | ||
35ca97ea RH |
2056 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
2057 | ||
b4fe2683 | 2058 | * argv.c: Include stdlib.h and string.h instead of |
35ca97ea RH |
2059 | prototyping directly. |
2060 | * choose-temp.c: Conditionally include string.h. | |
2061 | ||
0c0a36a4 ILT |
2062 | 1999-07-12 Jason Merrill <jason@yorick.cygnus.com> |
2063 | ||
2064 | * Makefile.in (NEEDED): Add bcmp, bcopy, bzero. | |
2065 | ||
af32ff69 ILT |
2066 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
2067 | ||
2068 | * splay-tree.c (splay_tree_insert): Add initialization to avoid | |
2069 | warning. | |
2070 | ||
0c0a36a4 ILT |
2071 | 1999-07-07 Jason Merrill <jason@yorick.cygnus.com> |
2072 | ||
2073 | * Makefile.in (needed-list): Only include stuff we actually need | |
2074 | for libstdc++. | |
2075 | ||
2076 | 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
2077 | ||
2078 | * configure.in (checkfuncs): Add gettimeofday. | |
2079 | * config.in, configure: Regenerated. | |
2080 | ||
2081 | Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
2082 | ||
2083 | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if | |
2084 | the test fails. | |
2085 | * configure: Regenerate. | |
2086 | ||
2087 | 1999-06-10 Mike Stump <mrs@wrs.com> | |
2088 | ||
2089 | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix | |
2090 | parallel builds. | |
2091 | ||
2092 | 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2093 | ||
2094 | * putenv.c: Include ansidecl.h to define `const'. | |
2095 | * setenv.c: Likewise. | |
2096 | ||
2097 | Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca> | |
2098 | ||
2099 | * Makefile.in (CFILES): Add putenv.c and setenv.c. | |
2100 | * configure.in (funcs): Add putenv and setenv. | |
2101 | (AC_CHECK_FUNCS): Check for putenv and setenv. | |
2102 | * configure: Rebuilt. | |
2103 | * putenv.c setenv.c: New files. | |
2104 | ||
2105 | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE | |
2106 | bytes of space using malloc. | |
2107 | ||
2108 | Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com> | |
2109 | ||
2110 | * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance | |
2111 | the *mangled pointer beyond the end of the string. Clean up code to | |
2112 | match prevailing coding style. | |
2113 | ||
2114 | 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
2115 | ||
2116 | * tmpnam.c (L_tmpnam): Fix typo. | |
2117 | ||
2118 | Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org> | |
2119 | ||
2120 | * cplus-dem.c (standard_symbol_characters): Renamed from | |
2121 | standard_symbol_alphabet. No longer modify TABLE. | |
2122 | (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer | |
2123 | modify TABLE. | |
2124 | (main): Corresponding changes. Use strchr to determine if a | |
2125 | character is valid. | |
2126 | ||
e9868447 JB |
2127 | 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com> |
2128 | ||
2129 | * cplus-dem.c (main): Use table lookup to distinguish identifier | |
2130 | characters from non-identifier characters. | |
2131 | (standard_symbol_alphabet, hp_symbol_alphabet): New functions. | |
2132 | ||
33fbbfbc RH |
2133 | Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com> |
2134 | ||
2135 | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. | |
2136 | * getruntime.c: Only attempt to include sys/resource.h and | |
2137 | use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H | |
2138 | are defined. | |
2139 | ||
0c0a36a4 ILT |
2140 | Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com) |
2141 | ||
2142 | * configure.in (alloca detection): Handle alloca directly for interix. | |
2143 | * configure: Rebuilt. | |
2144 | ||
2145 | Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
2146 | ||
2147 | * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32. | |
2148 | ||
252b5132 RH |
2149 | 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com> |
2150 | ||
2151 | Fix from Dale Hawkins: | |
b4fe2683 | 2152 | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be |
252b5132 RH |
2153 | reallocated properly if we use it again. |
2154 | ||
2155 | * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be | |
2156 | stricter about syntax. Always null-terminate string. | |
2157 | ||
c1687039 ILT |
2158 | Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> |
2159 | ||
2160 | * configure.in (checkfuncs): Check for sbrk. | |
2161 | * config.in: Rebuilt. | |
2162 | * configure: Likewise. | |
2163 | * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. | |
2164 | ||
0c0a36a4 ILT |
2165 | 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com> |
2166 | ||
2167 | Fix from Marcus Daniels: | |
2168 | * cplus-dem.c (demangle_fund_type): Don't run off the end of the | |
2169 | identifier looking for another underscore. | |
2170 | ||
2171 | Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu> | |
2172 | ||
2173 | * pexecute.c: Change all references to __UWIN__ to _UWIN. | |
2174 | * xmalloc.c: Likewise. | |
2175 | (xcalloc): UWIN has sbrk. | |
2176 | (xrealloc): Fix guard macro. | |
2177 | ||
252b5132 RH |
2178 | 1999-04-11 Richard Henderson <rth@cygnus.com> |
2179 | ||
2180 | * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin | |
2181 | or <alloca.h>. | |
2182 | * clock.c (GNU_HZ): New definition. | |
2183 | (clock): Use it. | |
2184 | * getruntime.c: Likewise. | |
2185 | ||
2186 | * config.table: Use mh-beos. | |
2187 | * config/mh-beos: New file. | |
2188 | ||
0c0a36a4 ILT |
2189 | 1999-04-11 Mark Mitchell <mark@codesourcery.com> |
2190 | ||
2191 | * cplus-dem.c (demangle_template_value_parm): Handle | |
2192 | pointers-to-members. | |
2193 | (do_type): Handle template parameters as qualifiers. | |
2194 | ||
252b5132 RH |
2195 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> |
2196 | ||
2197 | * cplus-dem.c: Attempt to handle overflows in counts with some | |
2198 | semblance of grace. | |
2199 | (consume_count): Detect overflows. Return -1 to indicate errors, | |
2200 | instead of zero. | |
2201 | (demangle_template_value_parm, demangle_template): Handle change | |
2202 | to consume_count's return convention. | |
2203 | ||
0c0a36a4 ILT |
2204 | 1999-04-05 Tom Tromey <tromey@cygnus.com> |
2205 | ||
2206 | * testsuite/regress-demangle: New file. | |
2207 | * testsuite/demangle-expected: New file. | |
252b5132 | 2208 | |
0c0a36a4 ILT |
2209 | * Makefile.in (all, check, installcheck, info, install-info, |
2210 | clean-info, dvi, install, etags, tags, mostlyclean, clean, | |
2211 | distclean, maintainer-clean, realclean): Depend on corresponding | |
2212 | `-subdir' target. | |
2213 | (all-subdir check-subdir installcheck-subdir info-subdir | |
2214 | install-info-subdir clean-info-subdir dvi-subdir | |
2215 | install-info-subdir etags-subdir mostlyclean-subdir clean-subdir | |
2216 | distclean-subdir maintainer-clean-subdir): New target. | |
2217 | * testsuite/Makefile.in: New file. | |
2218 | * configure: Rebuilt. | |
2219 | * configure.in: Create testsuite/Makefile. | |
252b5132 RH |
2220 | |
2221 | 1999-04-02 Mark Mitchell <mark@codesourcery.com> | |
2222 | ||
2223 | * splay-tree.h (splay_tree_compare_pointers): Define. | |
2224 | ||
2225 | 1999-03-30 Mark Mitchell <mark@codesourcery.com> | |
2226 | ||
2227 | * splay-tree.c (splay_tree_compare_ints): Define. | |
2228 | ||
2229 | 1999-03-30 Tom Tromey <tromey@cygnus.com> | |
2230 | ||
2231 | * cplus-dem.c (consume_count): If `count' wraps, return 0 and | |
2232 | don't advance input pointer. | |
2233 | (demangle_class_name): If consume_count didn't find a count, do | |
2234 | nothing. Don't bother with `strlen' sanity check; consume_count | |
2235 | does it for us. | |
2236 | ||
2237 | 1999-03-16 Stan Shebs <shebs@andros.cygnus.com> | |
2238 | ||
2239 | From Art Haas <ahaas@neosoft.com>: | |
2240 | * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings | |
2241 | when doing arm or hp style. | |
2242 | (demangle_nested_args): Decr forgetting_types field when done. | |
b4fe2683 | 2243 | |
252b5132 RH |
2244 | Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu> |
2245 | ||
2246 | * pexecute.c (__CYGWIN32__): Rename to | |
2247 | (__CYGWIN__): this. | |
2248 | * xmalloc.c: Likewise. | |
2249 | ||
2250 | Changes to support i386-pc-uwin. | |
2251 | * configure.in (*-*-uwin*): Workaround for vfork bug. | |
2252 | * configure: Regenerate. | |
2253 | * pexecute.c (pexecute): Be like standard Unix. | |
2254 | (pwait): Likewise. | |
2255 | * xmalloc.c (first_break): Define. | |
2256 | (xmalloc_set_program_name): Use. | |
2257 | (xmalloc): Use. | |
2258 | ||
2259 | Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
2260 | ||
2261 | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc | |
2262 | ||
2263 | Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com> | |
2264 | ||
2265 | * config.table: Check cygwin*, not cygwin32*. | |
2266 | ||
2267 | Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com> | |
2268 | ||
2269 | * Makefile.in: Change mkstemp -> mkstemps. | |
2270 | ||
2271 | Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr> | |
2272 | ||
2273 | * Makefile.in (REQUIRED_OFILES): remove mkstemp.o | |
2274 | * configure.in (funcs): Check for and conditionally add mkstemps to | |
2275 | the list of functions libiberty will provide. | |
2276 | * configure: Rebuilt. | |
b4fe2683 | 2277 | |
252b5132 RH |
2278 | Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu> |
2279 | ||
b4fe2683 | 2280 | * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on |
252b5132 RH |
2281 | platforms that don't have HZ. |
2282 | * getruntime.c (HZ): Likewise. | |
2283 | ||
2284 | Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com> | |
2285 | ||
2286 | * Makefile.in (xstrdup.o): Depend on config.h. | |
2287 | ||
2288 | Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org) | |
2289 | ||
2290 | * cplus-dem.c (mop_up): Set work->previous_argument to NULL after | |
2291 | freeing it. | |
2292 | ||
2293 | Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2294 | ||
2295 | * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed. | |
2296 | ||
2297 | Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2298 | ||
2299 | * Makefile.in (CFILES): fix typo, splay-tree.c instead of | |
2300 | splay-tree.o. | |
2301 | ||
2302 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
2303 | ||
2304 | * configure.in: Require autoconf 2.12.1 or higher. | |
2305 | ||
2306 | 1998-12-30 Michael Meissner <meissner@cygnus.com> | |
2307 | ||
2308 | * random.c (NULL): Don't redefine NULL if it is already defined. | |
2309 | ||
2310 | Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2311 | ||
2312 | * argv.c (buildargv): Cast the result of alloca in assignment. | |
2313 | ||
2314 | * choose-temp.c: Include stdlib.h. | |
2315 | ||
2316 | * cplus-dem.c (demangle_arm_pt): Remove unused prototype. | |
8aefe91a DD |
2317 | (snarf_numeric_literal): Constify first parameter. |
2318 | (code_for_qualifier): Avoid a gcc extension, make the parameter an | |
2319 | int, not a char. | |
252b5132 RH |
2320 | (demangle_qualifier): Likewise. |
2321 | (demangle_signature): Cast the argument of a ctype function to | |
2322 | unsigned char. | |
2323 | (arm_pt): Add parens around assignment used as truth value. | |
2324 | (demangle_arm_hp_template): Constify variable `args'. | |
2325 | (do_hpacc_template_const_value): Cast the argument of a ctype | |
2326 | function to unsigned char. | |
2327 | (do_hpacc_template_literal): Remove unused variable `i'. | |
2328 | (snarf_numeric_literal): Constify parameter `args'. | |
2329 | Cast the argument of a ctype function to unsigned char. | |
2330 | ||
2331 | * floatformat.c (floatformat_to_double): Add explicit braces to | |
8aefe91a | 2332 | avoid ambiguous `else'. |
252b5132 RH |
2333 | |
2334 | * fnmatch.c (fnmatch): Change type of variables `c', `c1', | |
8aefe91a DD |
2335 | `cstart' and `cend' to unsigned char. Cast the argument of macro |
2336 | `FOLD', which uses ctype functions, to unsigned char. | |
252b5132 RH |
2337 | |
2338 | * objalloc.c (free): Add prototype. | |
2339 | ||
2340 | Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se> | |
2341 | ||
2342 | * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o | |
2343 | ||
2344 | Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com> | |
2345 | ||
2346 | * cplus-dem.c (demangle_arm_pt): remove declaration -- function | |
8aefe91a | 2347 | doesn't exist. |
252b5132 | 2348 | (do_hpacc_template_literal): remove unused variable `i'. |
b4fe2683 | 2349 | |
252b5132 RH |
2350 | Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com> |
2351 | ||
2352 | * cplus-dem.c (demangle_fund_type): Process CV and u codes before | |
2353 | bumping the pointer we read from. Also prepend these codes, | |
2354 | as we do in other places. | |
2355 | ||
2356 | 1998-12-18 Nick Clifton <nickc@cygnus.com> | |
2357 | ||
2358 | * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be | |
2359 | 'const char *' in order to match its usage when calling siblings. | |
2360 | (snarf_numeric_literal): Make first arg 'const char **' in order | |
2361 | to match usage. | |
2362 | ||
2363 | Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2364 | ||
2365 | * choose-temp.c: Don't check IN_GCC anymore. | |
2366 | ||
2367 | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. | |
2368 | * memchr.c (memchr): Likewise. | |
2369 | * memcpy.c (memcpy): Likewise. | |
2370 | * memmove.c (memmove): Likewise. | |
2371 | ||
2372 | * mkstemp.c: Don't check IN_GCC anymore. | |
2373 | * pexecute.c: Likewise. | |
2374 | * splay-tree.c: Likewise. | |
2375 | ||
2376 | * strchr.c (strchr): Use `const', not `CONST'. | |
2377 | * strrchr.c (strrchr): Likewise. | |
2378 | * strtol.c (strtol): Likewise. | |
2379 | * strtoul.c (strtoul): Likewise. | |
2380 | ||
2381 | Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com> | |
2382 | Elena Zannoni <ezannoni@cygnus.com> | |
2383 | Stan Shebs <shebs@cygnus.com> | |
2384 | Edith Epstein <eepstein@cygnus.com> | |
2385 | Andres MacLeod <amacleod@cygnus.com> | |
2386 | Satish Pai <pai@apollo.hp.com> | |
2387 | ||
2388 | * HP aCC demangling support. | |
2389 | * cplus-dem.c | |
2390 | (main): Remove default to HP style demangling, set to EDG | |
8aefe91a DD |
2391 | demangling correctly when -edg specified; set the demangling style |
2392 | when user specifies 'edg'. Set strip_underscore to | |
2393 | prepends_underscore, if not HPUXHPPA. Set | |
2394 | current_demangling_style to hp_demangling if HPUXHPPA. Set | |
2395 | current demangling style correctly if the switch is hp. Read | |
2396 | label correctly also in the HP style case. | |
252b5132 | 2397 | (work_stuff): add temp_start field; add field for volatile member |
8aefe91a | 2398 | function. |
252b5132 | 2399 | (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP |
8aefe91a | 2400 | style for this case is the same as ARM. |
252b5132 RH |
2401 | (demangle_args): handle EDG_DEMANGLING style; support HP style. |
2402 | (demangle_arm_hp_template): new function. (It was | |
8aefe91a DD |
2403 | demangle_arm_pt.); check and set value of temp_start field in |
2404 | multiple places. Also, when ceching for end of template args, | |
2405 | check to see if at end of static member of template class. | |
252b5132 | 2406 | (demangle_class): new local variable : save_class_name_end Don't |
8aefe91a | 2407 | include template args in string defining class. |
252b5132 RH |
2408 | (demangle_class_name): use demangel_arm_hp_template. |
2409 | (demangle_function_name): handle case where demangling style is | |
8aefe91a DD |
2410 | HP_DEMANGLING and currently point at an 'X' in the mangled name. |
2411 | Handle EDG_DEMANGLING style. Handle constructor and destructor | |
2412 | ops for HP style. | |
252b5132 | 2413 | (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING |
8aefe91a DD |
2414 | styles. global destructor and constructor for HP style are same |
2415 | as for ARM style. Same for local variables. | |
252b5132 RH |
2416 | (demangle_qualified): handle EDG_DEMANGLING style. |
2417 | (demangle_signature): add case for volatile member function. For | |
8aefe91a DD |
2418 | cases '1' - '9' : initialize the temp_start field to -1 and handle |
2419 | the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING | |
2420 | and AUTO_DEMANGLING styles. If expecting a function and managed | |
2421 | to demangle the funct args, then handle the LUCID_DEMANGLING, | |
2422 | ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local | |
2423 | class name after "Lnnn_ in HP style case. HP style too needs to | |
2424 | forget types. _nnn is OK for HP style, so don't report failure. | |
252b5132 | 2425 | (do_hpacc_template_const_value): new function. Handle template's |
8aefe91a | 2426 | value param for HP/aCC. |
252b5132 | 2427 | (do_hpacc_template_literal): new function. Handle a template's |
8aefe91a | 2428 | literal parameter for HP aCC. |
252b5132 RH |
2429 | (recursively_demangle): new function |
2430 | (snarf_numeric_literal): new function. | |
2431 | (usage): add 'edg' to the list of demangling styles; add hp switch | |
8aefe91a | 2432 | to message. |
252b5132 RH |
2433 | |
2434 | Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com> | |
2435 | ||
2436 | * pexecute.c: Remove obsolete ifdefed cygwin code. | |
2437 | ||
2438 | Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2439 | ||
2440 | * choose-temp.c: Always include libiberty.h. Avoid redundancies. | |
2441 | * cplus-dem.c: Likewise. Conform to libiberty.h. | |
2442 | * pexecute.c: Likewise. | |
2443 | * splay-tree.c: Likewise. | |
2444 | ||
2445 | 1998-11-25 Mike Stump <mrs@wrs.com> | |
2446 | ||
2447 | * Makefile.in (splay-tree.o): Add config.h dependency. | |
2448 | ||
2449 | Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2450 | ||
2451 | * configure.in: Use AC_PREREQ(2.12.1). | |
2452 | ||
2453 | 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com> | |
2454 | ||
b4fe2683 | 2455 | * cplus-dem.c (demangle_fund_type): Add demangling for C9x types. |
252b5132 RH |
2456 | |
2457 | Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) | |
2458 | ||
2459 | * mpw.c (mpw_access): Add missing parens. | |
2460 | ||
2461 | Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2462 | ||
2463 | * configure.in: Call AC_HEADER_SYS_WAIT. | |
2464 | ||
2465 | * pexecute.c: Include sys/wait.h when !IN_GCC. | |
2466 | ||
2467 | Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com> | |
2468 | ||
2469 | * pexecute.c: revert back to checking old Cygwin | |
2470 | preprocessor symbol until some time has passed. | |
2471 | ||
2472 | Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com> | |
2473 | ||
2474 | * pexecute.c: Reorganize WIN32 case to accomodate Cygwin | |
2475 | since it will now support similar constructs. | |
2476 | ||
2477 | Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2478 | ||
2479 | * configure.in: Check for calloc. | |
2480 | ||
2481 | * calloc.c: New file. | |
2482 | ||
2483 | * xmalloc.c (xcalloc): New function. | |
2484 | ||
2485 | Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com> | |
2486 | ||
2487 | *cplus-dem.c (demangle_prefix): Use the last "__" | |
2488 | in the mangled name when looking for the signature. This allows | |
2489 | template names to begin with "__". | |
2490 | ||
2491 | 1998-11-08 Mark Mitchell <mark@markmitchell.com> | |
2492 | ||
2493 | * cplus-dem.c (type_kind_t): Add tk_reference. | |
2494 | (demangle_template_value_parm): Handle it. | |
2495 | (do_type): Use it for references, instead of tk_pointer. | |
2496 | ||
2497 | * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, | |
2498 | not internal_cplus_demangle. | |
2499 | ||
2500 | Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2501 | ||
2502 | * choose-temp.c: Don't include gansidecl.h. | |
2503 | * mkstemp.c: Likewise. | |
2504 | * pexecute.c: Likewise. | |
2505 | ||
2506 | Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> | |
2507 | ||
b4fe2683 JM |
2508 | * configure.in: detect cygwin* instead of cygwin32* |
2509 | * configure: regenerate | |
252b5132 RH |
2510 | |
2511 | Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2512 | ||
2513 | * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining | |
8aefe91a DD |
2514 | whether to include config.h. Possibly include unistd.h in the |
2515 | !IN_GCC case. Define VFORK_STRING as a printable function call | |
2516 | for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is | |
2517 | defined, include vfork.h. If VMS is defined, define vfork() | |
2518 | appropriately. Remove vfork check on USG, we're using autoconf. | |
2519 | (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking | |
2520 | locally what string to use. | |
252b5132 RH |
2521 | |
2522 | 1998-10-26 Mark Mitchell <mark@markmitchell.com> | |
2523 | ||
2524 | * splay-tree.c: Tweak include directives to make sure declarations of | |
2525 | xmalloc and free are available. | |
2526 | ||
2527 | 1998-10-25 Mark Mitchell <mark@markmitchell.com> | |
2528 | ||
2529 | * cplus-dem.c (gnu_special): Fix handling of virtual tables in | |
2530 | anonymous namespaces. | |
2531 | ||
2532 | 1998-10-23 Mark Mitchell <mark@markmitchell.com> | |
2533 | ||
2534 | * cplus-dem.c (work_stuff): Replace const_type and volatile_type | |
2535 | with type_quals. | |
2536 | (TYPE_UNQUALIFIED): New macro. | |
2537 | (TYPE_QUAL_CONST): Likewise. | |
2538 | (TYPE_QUAL_VOLATILE): Likewise. | |
2539 | (TYPE_QUAL_RESTRICT): Likewise. | |
2540 | (code_for_qualifier): New function. | |
2541 | (qualifier_string): Likewise. | |
2542 | (demangle_qualifier): Likewise. | |
2543 | (internal_cplus_demangle): Use them. | |
2544 | (demangle_signature): Likewise. | |
2545 | (demangle_template_value_parm): Likewise. | |
2546 | (do_type): Likewise. | |
2547 | (demangle_fund_type)): Likewise. | |
2548 | ||
2549 | Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2550 | ||
2551 | * splay-tree.c (splay_tree_foreach_helper): Make definition static | |
2552 | to match prototype. | |
2553 | ||
2554 | 1998-10-21 Mark Mitchell <mark@markmitchell.com> | |
2555 | ||
2556 | * splay-tree.c: New file. | |
2557 | * Makefile.in (CFILES): Add it. | |
2558 | (REQUIRED_OFILES): Likewise. | |
2559 | (splay-tree.o): Add dependencies. | |
2560 | ||
2561 | Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
2562 | ||
2563 | * cplus-dem.c (demangle_qualified): Fix off-by-one when checking | |
2564 | range of 'K' index. | |
2565 | ||
2566 | Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2567 | ||
2568 | * choose-temp.c: Prototype mkstemps() when IN_GCC. | |
2569 | ||
2570 | * cplus-dem.c (consume_count): Cast argument of ctype macro to | |
2571 | `unsigned char'. | |
2572 | (cplus_demangle_opname): Cast the result of `strlen' to (int) when | |
2573 | comparing against one. | |
2574 | (cplus_mangle_opname): Likewise. | |
2575 | (demangle_integral_value): Cast argument of ctype macro to | |
2576 | `unsigned char'. | |
2577 | (demangle_template_value_parm): Likewise. | |
2578 | (demangle_template): Initialize variable `bindex'. Cast the | |
2579 | result of `strlen' to (int) when comparing against one. Remove | |
2580 | unused variable `start_of_value_parm'. | |
2581 | (demangle_class_name): Cast the result of `strlen' to (int) when | |
2582 | comparing against one. | |
2583 | (demangle_prefix): Cast argument of ctype macro to `unsigned char'. | |
2584 | (gnu_special): Likewise. Cast the result of `strlen' to (int) | |
2585 | when comparing against one. | |
2586 | (demangle_qualified): Cast argument of ctype macro to `unsigned char'. | |
2587 | (get_count): Likewise. | |
2588 | (do_type): Likewise. Cast the result of `strlen' to (int) when | |
2589 | comparing against one. | |
2590 | (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. | |
2591 | (demangle_function_name): Cast the result of `strlen' to (int) | |
2592 | when comparing against one. | |
2593 | ||
2594 | * mkstemp.c (mkstemps): Cast variable `len' to (int) when | |
2595 | comparing against one. | |
2596 | ||
2597 | Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com) | |
2598 | ||
b4fe2683 JM |
2599 | * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h |
2600 | * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too. | |
2601 | * config.in, configure: Rebuilt. | |
252b5132 RH |
2602 | |
2603 | * getopt.c: Check HAVE_STRINGS_H before including strings.h. | |
2604 | * configure.in (AC_CHECK_HEADERS): Check for strings.h too. | |
2605 | * config.in, configure: Rebuilt. | |
2606 | ||
2607 | Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com> | |
2608 | ||
b4fe2683 | 2609 | * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT |
252b5132 RH |
2610 | |
2611 | Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com> | |
2612 | ||
2613 | * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h. | |
2614 | ||
2615 | Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) | |
2616 | ||
2617 | * Merge egcs & devo libiberty. | |
2618 |