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