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