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