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