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