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