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