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