xref: /openbsd-src/gnu/lib/libiberty/src/ChangeLog (revision 150b7e42cfa21e6546d96ae514ca23e80d970ac7)
1*150b7e42Smiod2006-03-29  Jim Blandy  <jimb@codesourcery.com>
225e200daSespie
3*150b7e42Smiod 	* pex-common.c (pex_input_file, pex_input_pipe): New functions.
4*150b7e42Smiod	(pex_init_common): Initialize obj->input_file.
5*150b7e42Smiod	(pex_run): Close any file opened by pex_input_file.
6*150b7e42Smiod 	* pexecute.txh (pex_input_file, pex_input_pipe): New docs.
7*150b7e42Smiod 	* pex-common.h (struct pex_obj): New field input_file.
8*150b7e42Smiod	(struct pex_funcs): New function ptr fdopenw.
9*150b7e42Smiod 	* pex-unix.c (pex_unix_fdopenw): New function.
10*150b7e42Smiod 	(funcs): List it as our fdopenw function.
11*150b7e42Smiod 	* pex-win32.c (pex_win32_fdopenw): New function.
12*150b7e42Smiod 	(funcs): List it as our fdopenw function.
13*150b7e42Smiod 	* pex-djgpp.c (funcs): Leave fdopenw null.
14*150b7e42Smiod 	* pex-msdos (funcs): Same.
15*150b7e42Smiod 	* functions.texi: Regenerated.
1625e200daSespie
17*150b7e42Smiod2006-04-10  Jim Blandy  <jimb@codesourcery.com>
1825e200daSespie
19*150b7e42Smiod	* pex-common.c (temp_file): New function, containing guts of
20*150b7e42Smiod	pex-style temporary file name generation.
21*150b7e42Smiod	(pex_run): Use it.
2225e200daSespie
23*150b7e42Smiod2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
2425e200daSespie
25*150b7e42Smiod	* Makefile.in: Add install-html, install-html-am, and
26*150b7e42Smiod	install-html-recursive targets. Define mkdir_p and
27*150b7e42Smiod	NORMAL_INSTALL.
28*150b7e42Smiod	* configure.ac: AC_SUBST datarootdir, docdir, htmldir.
29*150b7e42Smiod	* configure: Regenerate.
30*150b7e42Smiod	* testsuite/Makefile.in: Add install-html and html targets.
31*150b7e42Smiod
32*150b7e42Smiod2006-03-31  Mark Mitchell  <mark@codesourcery.com>
33*150b7e42Smiod
34*150b7e42Smiod	* pex-win32.c (<errno.h>): Include.
35*150b7e42Smiod	(fix_argv): Remove.
36*150b7e42Smiod	(argv_to_cmdline): New function.
37*150b7e42Smiod	(std_suffixes): New variable.
38*150b7e42Smiod	(no_suffixes): Likewise.
39*150b7e42Smiod	(find_executable): New function.
40*150b7e42Smiod	(win32_spawn): Likewise.
41*150b7e42Smiod	(spawn_script): Use win32_spawn instead of _spawnv[p].
42*150b7e42Smiod	(pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
43*150b7e42Smiod	(pex_win32_wait): Likewise.
44*150b7e42Smiod
45*150b7e42Smiod2006-03-24  Jim Blandy  <jimb@codesourcery.com>
46*150b7e42Smiod
47*150b7e42Smiod	* pex-common.c (pex_run): Simplify output name handling.
48*150b7e42Smiod
49*150b7e42Smiod2006-03-12  Jim Blandy  <jimb@red-bean.com>
50*150b7e42Smiod
51*150b7e42Smiod	* pex-common.h (struct pex_obj): Doc fixes.
52*150b7e42Smiod
53*150b7e42Smiod2006-03-11  Jim Blandy  <jimb@red-bean.com>
54*150b7e42Smiod
55*150b7e42Smiod	* functions.texi: Regenerate.
56*150b7e42Smiod
57*150b7e42Smiod2006-02-21  Ben Elliston  <bje@au.ibm.com>
58*150b7e42Smiod
59*150b7e42Smiod	* pexecute.c (pwait): Syntax fix for previous change.
60*150b7e42Smiod
61*150b7e42Smiod2006-02-17  Uttam Pawar  <uttamp@us.ibm.com>
62*150b7e42Smiod
63*150b7e42Smiod	* pexecute.c (pwait): Free vector pointer.
64*150b7e42Smiod	* partition.c (partition_print): Free class_elements pointer.
65*150b7e42Smiod
66*150b7e42Smiod2006-02-11  Roger Sayle  <roger@eyesopen.com>
67*150b7e42Smiod	    R. Scott Bailey  <scott.bailey@eds.com>
68*150b7e42Smiod	    Bill Northcott  <w.northcott@unsw.edu.au>
69*150b7e42Smiod
70*150b7e42Smiod	PR bootstrap/16787
71*150b7e42Smiod	* floatformat.c: Include <float.h> where available.
72*150b7e42Smiod	(NAN): Use value of DBL_QNAN if defined, and NAN isn't.
73*150b7e42Smiod
74*150b7e42Smiod2006-01-29  Gabriel Dos Reis  <gdr@integrable-solutions.net>
75*150b7e42Smiod
76*150b7e42Smiod	* configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
77*150b7e42Smiod	supported.
78*150b7e42Smiod	* configure: Regenerated.
79*150b7e42Smiod
80*150b7e42Smiod2006-01-20  Carlos O'Donell  <carlos@codesourcery.com>
81*150b7e42Smiod
82*150b7e42Smiod	* testsuite/Makefile.in: Add test-expandargv test.
83*150b7e42Smiod	* testsuite/test-expandargv.c: New test.
84*150b7e42Smiod	* argv.c (expandargv): Check for errors with ferror,
85*150b7e42Smiod	rather than just by looking at return value from fread.
86*150b7e42Smiod
87*150b7e42Smiod2005-12-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
88*150b7e42Smiod
89*150b7e42Smiod	* floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
90*150b7e42Smiod	to convert from "from".
91*150b7e42Smiod	(floatformat_to_double): Likewise.
92*150b7e42Smiod	(floatformat_from_double): Use explicit cast to convert from "to".
93*150b7e42Smiod
94*150b7e42Smiod2005-12-10  Terry Laurenzo  <tlaurenzo@gmail.com>
95*150b7e42Smiod
96*150b7e42Smiod	PR java/9861
97*150b7e42Smiod	* cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
98*150b7e42Smiod	and include return type when found.
99*150b7e42Smiod	(d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
100*150b7e42Smiod	conditional logic to change printing order of return type.when
101*150b7e42Smiod	the DMGL_RET_POSTFIX option is present.
102*150b7e42Smiod	(java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
103*150b7e42Smiod	call.
104*150b7e42Smiod	* testsuite/test-demangle.c (main): Recognize option --ret-postfix
105*150b7e42Smiod	* testsuite/demangle-expected: Test cases to verify extended encoding.
106*150b7e42Smiod	Updated comment to document --ret-postfix option.
107*150b7e42Smiod
108*150b7e42Smiod2005-11-06  Richard Guenther  <rguenther@suse.de>
109*150b7e42Smiod
110*150b7e42Smiod	* splay-tree.c (rotate_left): New function.
111*150b7e42Smiod	(rotate_right): Likewise.
112*150b7e42Smiod	(splay_tree_splay_helper): Remove.
113*150b7e42Smiod	(splay_tree_splay): Re-implement.
114*150b7e42Smiod
115*150b7e42Smiod2005-10-31  Mark Kettenis  <kettenis@gnu.org>
116*150b7e42Smiod
117*150b7e42Smiod	* floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
118*150b7e42Smiod	New variables.
119*150b7e42Smiod
120*150b7e42Smiod2005-10-07  Mark Mitchell  <mark@codesourcery.com>
121*150b7e42Smiod
122*150b7e42Smiod	* at-file.texi: Fix typo.
123*150b7e42Smiod
124*150b7e42Smiod2005-10-03  Mark Mitchell  <mark@codesourcery.com>
125*150b7e42Smiod
126*150b7e42Smiod	* at-file.texi: New file.
127*150b7e42Smiod
128*150b7e42Smiod2005-09-27  Mark Mitchell  <mark@codesourcery.com>
129*150b7e42Smiod
130*150b7e42Smiod	* argv.c (expandargv): Do not use xmalloc_failed.
131*150b7e42Smiod
132*150b7e42Smiod2005-09-26  Mark Mitchell  <mark@codesourcery.com>
133*150b7e42Smiod
134*150b7e42Smiod	* argv.c (safe-ctype.h): Include it.
135*150b7e42Smiod	(ISBLANK): Remove.
136*150b7e42Smiod	(stdio.h): Include.
137*150b7e42Smiod	(buildargv): Use ISSPACE instead of ISBLANK.
138*150b7e42Smiod	(expandargv): New function.
139*150b7e42Smiod	* Makefile.in: Regenerated.
140*150b7e42Smiod
141*150b7e42Smiod2005-09-14  Christopher Faylor  <cgf@timesys.com>
142*150b7e42Smiod
143*150b7e42Smiod	* pex-win32.c: Include "windows.h".
144*150b7e42Smiod	(backslashify): New function.
145*150b7e42Smiod	(fix_argv): Use backslashify to convert path to windows format.
146*150b7e42Smiod	Allocate one more place in new argv for potential executable from '#!'
147*150b7e42Smiod	parsing.
148*150b7e42Smiod	(tack_on_executable): New function.  Conditional on USE_MINGW_MSYS
149*150b7e42Smiod	(openkey): Ditto.
150*150b7e42Smiod	(mingw_rootify): Ditto.
151*150b7e42Smiod	(msys_rootify): Ditto.
152*150b7e42Smiod	(spawn_script): New function.
153*150b7e42Smiod	(pex_win32_exec_child): Save translated argv in newargv.  Pass to
154*150b7e42Smiod	spawn_script if spawnv* fails.
155*150b7e42Smiod	(main): New function.  Conditional on MAIN.  Useful for testing.
156*150b7e42Smiod
157*150b7e42Smiod2005-08-17  Mark Kettenis  <kettenis@gnu.org>
158*150b7e42Smiod
159*150b7e42Smiod	* floatformat.c (floatformat_always_valid): Change type of last
160*150b7e42Smiod	argument to `void *'.
161*150b7e42Smiod	(floatformat_i387_ext_is_valid): Likewise.
162*150b7e42Smiod	(floatformat_to_double): Change type of second argument to `const
163*150b7e42Smiod	void *'.
164*150b7e42Smiod	(floatformat_from_double): Change type of last argument to `void
165*150b7e42Smiod	*'.
166*150b7e42Smiod	(floatformat_is_valid): Change type of last argument to `const
167*150b7e42Smiod	void *'.
168*150b7e42Smiod	(ieee_test): Remove redundant casts.
169*150b7e42Smiod
170*150b7e42Smiod2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
171*150b7e42Smiod
172*150b7e42Smiod	* strverscmp.c: Update FSF address.
173*150b7e42Smiod	* testsuite/Makefile.in: Likewise.
174*150b7e42Smiod	* testsuite/test-demangle.c: Likewise.
175*150b7e42Smiod	* testsuite/test-pexecute.c: Likewise.
176*150b7e42Smiod
177*150b7e42Smiod2005-07-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
178*150b7e42Smiod
179*150b7e42Smiod	* getopt.c: Include ansidecl.h before system headers.
180*150b7e42Smiod
181*150b7e42Smiod2005-07-22  Ben Elliston  <bje@gnu.org>
182*150b7e42Smiod
183*150b7e42Smiod	* getopt.c: Include "ansidecl.h".
184*150b7e42Smiod	(_getopt_initialize): Mark argc and argv parameters as unused.
185*150b7e42Smiod
186*150b7e42Smiod2005-07-22  Ben Elliston  <bje@gnu.org>
187*150b7e42Smiod
188*150b7e42Smiod	* regex.c (regcomp): Change type of `i' from unsigned to int.
189*150b7e42Smiod
190*150b7e42Smiod2005-07-22  Ben Elliston  <bje@gnu.org>
191*150b7e42Smiod
192*150b7e42Smiod	Recover patch lost in the sourceware repository:
193*150b7e42Smiod	2005-07-09  Ben Elliston  <bje@au.ibm.com>
194*150b7e42Smiod	* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
195*150b7e42Smiod	* memmove.c: Likewise.
196*150b7e42Smiod	* objalloc.c: Likewise.
197*150b7e42Smiod
198*150b7e42Smiod2005-07-22  Ben Elliston  <bje@gnu.org>
199*150b7e42Smiod
200*150b7e42Smiod	* configure.ac: Check for a getopt(3) declaration.
201*150b7e42Smiod	* configure, config.in: Regenerate.
202*150b7e42Smiod
203*150b7e42Smiod2005-07-15  Ben Elliston  <bje@au.ibm.com>
204*150b7e42Smiod
205*150b7e42Smiod	* regex.c (TRANSLATE): Cast rhs of ternary expression to char.
206*150b7e42Smiod
207*150b7e42Smiod2005-07-12  Ben Elliston  <bje@au.ibm.com>
208*150b7e42Smiod
209*150b7e42Smiod	* floatformat.c (floatformat_to_double): Add a comment about a
210*150b7e42Smiod	potential source of warnings when compiling this file.
211*150b7e42Smiod
212*150b7e42Smiod2005-07-12  Ben Elliston  <bje@au.ibm.com>
213*150b7e42Smiod
214*150b7e42Smiod	* pexecute.c (pexecute): Cast string litrals to char *.
215*150b7e42Smiod	* regex.c (re_comp): Cast a call to gettext() to char *.
216*150b7e42Smiod
217*150b7e42Smiod2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
218*150b7e42Smiod
219*150b7e42Smiod	* config.table: Delete file.  Move former contents into ...
220*150b7e42Smiod	* configure.ac: ... here and escape any brackets for m4.
221*150b7e42Smiod	* Makefile.in (config.status): Remove dependency on config.table.
222*150b7e42Smiod	* configure: Regenerate.
223*150b7e42Smiod
224*150b7e42Smiod2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
225*150b7e42Smiod
226*150b7e42Smiod	* config.in: Regenerate for 6/20 change.
227*150b7e42Smiod
228*150b7e42Smiod2005-07-03  Steve Ellcey  <sje@cup.hp.com>
229*150b7e42Smiod
230*150b7e42Smiod	PR other/13906
231*150b7e42Smiod	* md5.c (md5_process_bytes): Check alignment.
232*150b7e42Smiod
233*150b7e42Smiod2005-07-01  Ian Lance Taylor  <ian@airs.com>
234*150b7e42Smiod
235*150b7e42Smiod	PR other/22268
236*150b7e42Smiod	* cp-demangle.c (d_expr_primary): Don't run off the end of the
237*150b7e42Smiod	string while looking for the end of a literal value.
238*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
239*150b7e42Smiod
240*150b7e42Smiod2005-06-30  Daniel Berlin  <dberlin@dberlin.org>
241*150b7e42Smiod
242*150b7e42Smiod	* hashtab.c (EMPTY_ENTRY): Moved and renamed.
243*150b7e42Smiod	(DELETED_ENTRY): Ditto.
244*150b7e42Smiod
245*150b7e42Smiod2005-06-20  Geoffrey Keating  <geoffk@apple.com>
246*150b7e42Smiod
247*150b7e42Smiod	* strverscmp.c: New.
248*150b7e42Smiod	* Makefile.in (CFILES): Add strverscmp.c.
249*150b7e42Smiod	(CONFIGURED_OFILES): Add strverscmp.o.
250*150b7e42Smiod	(strverscmp.o): New rule.
251*150b7e42Smiod	(stamp-functions): Add $(srcdir) to files in source directory.
252*150b7e42Smiod	* configure.ac (funcs): Add strverscmp.
253*150b7e42Smiod	(AC_CHECK_FUNCS): Add strverscmp.
254*150b7e42Smiod	* configure: Regenerate.
255*150b7e42Smiod	* functions.texi: Regenerate.
256*150b7e42Smiod
257*150b7e42Smiod2005-05-28  Eli Zaretskii  <eliz@gnu.org>
258*150b7e42Smiod
259*150b7e42Smiod	* configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
260*150b7e42Smiod	* config.in, configure: Regenerate.
261*150b7e42Smiod
262*150b7e42Smiod2005-05-25  Richard Henderson  <rth@redhat.com>
263*150b7e42Smiod
264*150b7e42Smiod	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
265*150b7e42Smiod	(d_make_comp, d_print_comp): Likewise.
266*150b7e42Smiod	(d_special_name): Generate one.
267*150b7e42Smiod	* testsuite/demangle-expected: Add a hidden alias test.
268*150b7e42Smiod
269*150b7e42Smiod2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>
270*150b7e42Smiod
271*150b7e42Smiod	* configure.ac: Check declarations for calloc(), getenv(),
272*150b7e42Smiod	malloc(), realloc() and sbrk().
273*150b7e42Smiod	* config.in: Regenerate.
274*150b7e42Smiod	* configure: Likewise.
275*150b7e42Smiod
276*150b7e42Smiod	* alloca.c (C_alloca): Change "new" to "new_storage".  Use XNEWVEC
277*150b7e42Smiod	instead of xmalloc.
278*150b7e42Smiod	* choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
279*150b7e42Smiod	* concat.c (liiberty_concat_ptr): Surround definition with an
280*150b7e42Smiod	extern "C" block, if __cplusplus.
281*150b7e42Smiod	(concat): Use XNEWVEC instead of xmalloc.
282*150b7e42Smiod	(reconcat): Likewise.
283*150b7e42Smiod	* cp-demangle.c (struct d_print_template): Rename member
284*150b7e42Smiod	"template" to "template_decl".  Adjust use throughout the file.
285*150b7e42Smiod	(d_print_resize): Properly cast return value of realloc().
286*150b7e42Smiod	(cplus_demangle_print): Same for malloc().
287*150b7e42Smiod	(d_demangle): Likewise.
288*150b7e42Smiod	* cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
289*150b7e42Smiod	"typename" to "type_name".
290*150b7e42Smiod	* cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
291*150b7e42Smiod	(work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
292*150b7e42Smiod	(demangle_template_value_parm): Likewise.
293*150b7e42Smiod	(demangle_template): Likewise.
294*150b7e42Smiod	(recursively_demangle): Likewise.
295*150b7e42Smiod	(do_hpacc_template_literal): Likewise.
296*150b7e42Smiod	(do_arg): Likewise.
297*150b7e42Smiod	(remember_type): Likewise.
298*150b7e42Smiod	(remember_Ktype): Likewise.
299*150b7e42Smiod	(register_Btype): Likewise.
300*150b7e42Smiod	(string_need): Use XRESIZEVEC instead of xrealloc().
301*150b7e42Smiod	* dyn-string.c (dyn_string_init): Use XNEWVEC.
302*150b7e42Smiod	(dyn_string_new): Use XNEW.
303*150b7e42Smiod	(dyn_string_resize): Use XRESIZEVEC.
304*150b7e42Smiod	* fnmatch.c (fnmatch): Rename local variable "not" to "negate".
305*150b7e42Smiod	* getopt.c (getenv): Declare only if !__cplusplus and !getenv.
306*150b7e42Smiod	Otherwise include <stdlib.h>.
307*150b7e42Smiod	(exchange): Cast return value of malloc().
308*150b7e42Smiod	* hashtab.c (htab_size): Define as both macro and non-inline
309*150b7e42Smiod	function.
310*150b7e42Smiod	(htab_elements): Likewise.
311*150b7e42Smiod	* getpwd.c (getpwd): Use XNEWVEC.
312*150b7e42Smiod	(htab_create_alloc_ex): Use C90 prototype-style.
313*150b7e42Smiod	* lrealpath.c (lrealpath): Appropriately cast return value of
314*150b7e42Smiod	malloc().
315*150b7e42Smiod	* make-relative-prefix.c (save_string): Likewise.
316*150b7e42Smiod	* make-temp-file.c (try_dir): Rename from "try".  Adjust use in
317*150b7e42Smiod	the file.
318*150b7e42Smiod	(choose_tmpdir): Use XNEWVEC.
319*150b7e42Smiod	* mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
320*150b7e42Smiod	* pex-common.c (pex_init_common): Use XNEW.
321*150b7e42Smiod	(pex_add_remove): Use XRESIZEVEC.
322*150b7e42Smiod	(pex_run): Likewise.
323*150b7e42Smiod	(pex_get_status_and_time): Likewise.
324*150b7e42Smiod	* pex-djgpp.c (pex_djgpp_exec_child): Likewise.
325*150b7e42Smiod	* pex-msdos.c (pex_init): Use XNEW.
326*150b7e42Smiod	(pex_msdos_exec_child): Likewise.
327*150b7e42Smiod	(pex_msdos_exec_child): Use XRESIZEVEC.
328*150b7e42Smiod	* pex-unix.c (pex_wait): Use XNEW.
329*150b7e42Smiod	* pex-win32.c (fix_argv): Use XNEWVEC.
330*150b7e42Smiod	* pexecute.c (pwait): Likewise.
331*150b7e42Smiod	* setenv.c (setenv): Properly cast return value of malloc().
332*150b7e42Smiod	* sigsetmask.c (sigsetmask): Rename local variables "old" and
333*150b7e42Smiod	"new" to "old_sig" and "new_sig".
334*150b7e42Smiod	* sort.c (main): Use XNEWVEC.
335*150b7e42Smiod	* spaces.c (spaces): Cast return value of malloc().
336*150b7e42Smiod	* strndup.c (strndup): Likewise.
337*150b7e42Smiod	* ternary.c (ternary_insert): Use XNEW.
338*150b7e42Smiod	* xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
339*150b7e42Smiod	with an extern "C" block if __cplusplus.
340*150b7e42Smiod	* xstrdup.c (xstrdup): Cast return value of memcpy().
341*150b7e42Smiod	* xstrerror.c (strerror): Enclose declaration in an extern "C"
342*150b7e42Smiod	block if __cplusplus.
343*150b7e42Smiod	* xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
344*150b7e42Smiod
345*150b7e42Smiod2005-05-16  Andreas Jaeger  <aj@suse.de>
346*150b7e42Smiod
347*150b7e42Smiod	* getpwd.c: Remove unneeded prototype getcwd and move getwd so
348*150b7e42Smiod	that it's only declared if needed.
349*150b7e42Smiod
350*150b7e42Smiod	* getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
351*150b7e42Smiod	defined.
352*150b7e42Smiod
353*150b7e42Smiod2005-05-15  Andreas Jaeger  <aj@suse.de>
354*150b7e42Smiod
355*150b7e42Smiod	* functions.texi: Regenerated.
356*150b7e42Smiod
357*150b7e42Smiod2005-05-15  Eli Zaretskii  <eliz@gnu.org>
358*150b7e42Smiod
359*150b7e42Smiod	* pexecute.txh: Enclose multi-word data types in @deftypefn in
360*150b7e42Smiod	braces.  Minor wording fixes.  Use --- for em-dash.  Use
361*150b7e42Smiod	@enumerate in enumerated lists.
362*150b7e42Smiod
363*150b7e42Smiod	* fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
364*150b7e42Smiod	braces.
365*150b7e42Smiod
366*150b7e42Smiod2005-05-11  Eli Zaretskii  <eliz@gnu.org>
367*150b7e42Smiod
368*150b7e42Smiod	* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
369*150b7e42Smiod	sys/stat.h.
370*150b7e42Smiod	(pex_init): Fix last argument to pex_init_common.
371*150b7e42Smiod	(pex_djgpp_exec_child): Remove leading underscore from _open,
372*150b7e42Smiod	_dup, _dup2, _close, and _spawnv/_spawnvp.  Replace `program',
373*150b7e42Smiod	which is undeclared, with `executable', which was unused.  Remove
374*150b7e42Smiod	unused variable `e'.  Fix casting of last arg to spawnv/spawnvp.
375*150b7e42Smiod	(pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
376*150b7e42Smiod
377*150b7e42Smiod2005-05-11  Paul Brook  <paul@codesourcery.com>
378*150b7e42Smiod
379*150b7e42Smiod	* Makefile.in: Regenerate dependencies.
380*150b7e42Smiod
381*150b7e42Smiod2005-05-10  Nick Clifton  <nickc@redhat.com>
382*150b7e42Smiod
383*150b7e42Smiod	* Update the address and phone number of the FSF organization in
384*150b7e42Smiod	the GPL notices in the following files:
385*150b7e42Smiod	COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
386*150b7e42Smiod	choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
387*150b7e42Smiod	cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
388*150b7e42Smiod	fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
389*150b7e42Smiod	gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
390*150b7e42Smiod	lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
391*150b7e42Smiod	make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
392*150b7e42Smiod	obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
393*150b7e42Smiod	pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
394*150b7e42Smiod	physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
395*150b7e42Smiod	sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
396*150b7e42Smiod	strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
397*150b7e42Smiod	vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
398*150b7e42Smiod
399*150b7e42Smiod2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
400*150b7e42Smiod
401*150b7e42Smiod	* aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
402*150b7e42Smiod	* configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
403*150b7e42Smiod	* configure: Regenerate.
404*150b7e42Smiod
405*150b7e42Smiod2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>
406*150b7e42Smiod
407*150b7e42Smiod	* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
408*150b7e42Smiod	Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
409*150b7e42Smiod	* aclocal.m4: Don't include accross.m4.
410*150b7e42Smiod	* configure, config.in: Regenerate.
411*150b7e42Smiod
412*150b7e42Smiod2005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
413*150b7e42Smiod
414*150b7e42Smiod	* fopen_unlocked.c (unlock_std_streams): New.
415*150b7e42Smiod
416*150b7e42Smiod	* functions.texi: Regenerate.
417*150b7e42Smiod
418*150b7e42Smiod2005-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
419*150b7e42Smiod
420*150b7e42Smiod	* fopen_unlocked.c (unlock_stream): New.
421*150b7e42Smiod	Consolidate unlocking code into a helper function.
422*150b7e42Smiod
423*150b7e42Smiod	* functions.texi: Regenerate.
424*150b7e42Smiod
425*150b7e42Smiod2005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
426*150b7e42Smiod
427*150b7e42Smiod	* asprintf.c: Include config.h.
428*150b7e42Smiod	* basename.c: Likewise.
429*150b7e42Smiod	* fdmatch.c: Likewise.
430*150b7e42Smiod	* hex.c: Likewise.
431*150b7e42Smiod	* lbasename.c: Likewise.
432*150b7e42Smiod	* spaces.c: Likewise.
433*150b7e42Smiod	* xatexit.c:Likewise.
434*150b7e42Smiod	* configure.ac:  Do check declarations for basename, ffs, asprintf
435*150b7e42Smiod	and vasprintf for real.
436*150b7e42Smiod	* configure: Regenerate.
437*150b7e42Smiod
438*150b7e42Smiod2005-04-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
439*150b7e42Smiod
440*150b7e42Smiod	* argv.c (dupargv): Allocate space of argv[argc], not
441*150b7e42Smiod	sizeof(char *) of that amount.  Cast result to char *.
442*150b7e42Smiod
443*150b7e42Smiod2005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
444*150b7e42Smiod
445*150b7e42Smiod	* regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
446*150b7e42Smiod	Replace not with negate.
447*150b7e42Smiod
448*150b7e42Smiod2005-04-12  Gabriel Dos Reis  <gdr@integrable-solutions.net>
449*150b7e42Smiod
450*150b7e42Smiod	* configure.ac: Check declarations for basename, ffs, asprintf,
451*150b7e42Smiod	vasprintf.
452*150b7e42Smiod	* configure: Regenerate.
453*150b7e42Smiod	* config.in: Likewise.
454*150b7e42Smiod
455*150b7e42Smiod2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
456*150b7e42Smiod
457*150b7e42Smiod	* Makefile.in (CFILES): Add fopen_unlocked.c.
458*150b7e42Smiod	(REQUIRED_OFILES): Add ./fopen_unlocked.o.
459*150b7e42Smiod	Regenerate dependencies.
460*150b7e42Smiod
461*150b7e42Smiod	* configure.ac: Check for stdio_ext.h and __fsetlocking.
462*150b7e42Smiod
463*150b7e42Smiod	* fopen_unlocked.c: New file.
464*150b7e42Smiod
465*150b7e42Smiod	* functions.texi, configure, config.in: Regenerate.
466*150b7e42Smiod
467*150b7e42Smiod2005-04-04  Ian Lance Taylor  <ian@airs.com>
468*150b7e42Smiod
469*150b7e42Smiod	* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
470*150b7e42Smiod	declaration before statement.
471*150b7e42Smiod
472*150b7e42Smiod2005-04-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
473*150b7e42Smiod
474*150b7e42Smiod	* bcmp.c: Fix warnings and implement using memcmp.
475*150b7e42Smiod	* bcopy.c: Fix warnings.
476*150b7e42Smiod	* bzero.c: Fix warnings and implement using memset.
477*150b7e42Smiod
478*150b7e42Smiod	* configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
479*150b7e42Smiod	-Wstrict-prototypes.
480*150b7e42Smiod	* configure, config.in: Regenerate.
481*150b7e42Smiod
482*150b7e42Smiod	* bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
483*150b7e42Smiod	warnings and reconcile interfaces with relevant standards.
484*150b7e42Smiod
485*150b7e42Smiod2005-04-02  Ian Lance Taylor  <ian@airs.com>
486*150b7e42Smiod
487*150b7e42Smiod	* cp-demangle.c: Update copyright.
488*150b7e42Smiod
489*150b7e42Smiod2005-03-31  Joseph S. Myers  <joseph@codesourcery.com>
490*150b7e42Smiod
491*150b7e42Smiod	* gettimeofday.c: Add "Supplemental" to @deftypefn.
492*150b7e42Smiod	* functions.texi: Regenerate.
493*150b7e42Smiod
494*150b7e42Smiod2005-03-28  Ian Lance Taylor  <ian@airs.com>
495*150b7e42Smiod
496*150b7e42Smiod	* pex-common.c: New file.
497*150b7e42Smiod	* pex-one.c: New file.
498*150b7e42Smiod	* pexecute.c: New file.
499*150b7e42Smiod	* pex-common.h: Include <stdio.h>.
500*150b7e42Smiod	(struct pex_obj): Define.
501*150b7e42Smiod	(struct pex_funcs): Define.
502*150b7e42Smiod	(pex_init_common): Declare.
503*150b7e42Smiod	* pex-unix.c: Rewrite.
504*150b7e42Smiod	* pex-win32.c: Rewrite.
505*150b7e42Smiod	* pex-djgpp.c: Rewrite.
506*150b7e42Smiod	* pex-msdos.c: Rewrite.
507*150b7e42Smiod	* testsuite/text-pexecute.c: New file.
508*150b7e42Smiod	* pexecute.txh: Rewrite.
509*150b7e42Smiod	* configure.ac: Check for wait3 and wait4.  Set CHECK to
510*150b7e42Smiod	really-check rather than check-cplus-dem.
511*150b7e42Smiod	* functions.texi: Rebuild.
512*150b7e42Smiod	* Makefile.in: Rebuild dependencies.
513*150b7e42Smiod	(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
514*150b7e42Smiod	(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
515*150b7e42Smiod	* testsuite/Makefile.in (really-check): New target.
516*150b7e42Smiod	(check-pexecute, test-pexecute): New targets.
517*150b7e42Smiod	* configure: Rebuild.
518*150b7e42Smiod
519*150b7e42Smiod2005-03-28  Mark Kettenis  <kettenis@gnu.org>
520*150b7e42Smiod
521*150b7e42Smiod	* unlink-if-ordinary.c: Include <sys/types.h>.
522*150b7e42Smiod
523*150b7e42Smiod2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
524*150b7e42Smiod
525*150b7e42Smiod	Convert libiberty to use ISO C prototype style 7/n.
526*150b7e42Smiod	* regex.c (PARAMS): Remove definition.
527*150b7e42Smiod	(PREFIX): Unconditionaly define using ISO C ## operator.
528*150b7e42Smiod	(init_syntax_once, extract_number, extract_number_and_incr,
529*150b7e42Smiod	print_fastmap, print_partial_compiled_pattern,
530*150b7e42Smiod	print_compiled_pattern, print_double_string, printchar,
531*150b7e42Smiod	convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
532*150b7e42Smiod	regex_compile, store_op1, store_op2, insert_op1, insert_op2,
533*150b7e42Smiod	at_begline_loc_p, at_endline_p, group_in_compile_stack,
534*150b7e42Smiod	insert_space, wcs_compile_range, byte_compile_range,
535*150b7e42Smiod	truncate_wchar, re_compile_fastmap, re_compile_fastmap,
536*150b7e42Smiod	re_set_registers, re_search, re_search_2, re_search_3, re_match,
537*150b7e42Smiod	re_match_2, count_mbs_length, wcs_re_match_2_internal,
538*150b7e42Smiod	byte_re_match_2_internal, group_match_null_string_p,
539*150b7e42Smiod	alt_match_null_string_p, common_op_match_null_string_p,
540*150b7e42Smiod	bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
541*150b7e42Smiod	regexec, regerror, regfree): Use ISO C prototype style.
542*150b7e42Smiod	* partition.c: (elem_compare): Likewise.
543*150b7e42Smiod	* cp-demangle.c (print_usage): Likewise.
544*150b7e42Smiod
545*150b7e42Smiod2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
546*150b7e42Smiod
547*150b7e42Smiod	Convert libiberty to use ISO C prototype style 5/n.
548*150b7e42Smiod	* random.c (srandom, initstate, setstate, random): Use ISO C
549*150b7e42Smiod	prototypes.
550*150b7e42Smiod	* putenv.c (putenv): Likewise.
551*150b7e42Smiod	* physmem.c (physmem_available, physmem_total, main): Likewise.
552*150b7e42Smiod	* pex-win32.c (fix_argv, pexecute, pwait): Likewise.
553*150b7e42Smiod	* pex-unix.c (pexecute, pwait): Likewise.
554*150b7e42Smiod	* pex-msdos.c (pexecute, pwait): Likewise.
555*150b7e42Smiod	* pex-djgpp.c (pexecute, pwait): Likewise.
556*150b7e42Smiod	* partition.c (partition_new, partition_delete, partition_union)
557*150b7e42Smiod	(elem_compare, partition_print): Likewise.
558*150b7e42Smiod	* obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
559*150b7e42Smiod	_obstack_allocated_p, _obstack_free, obstack_free,
560*150b7e42Smiod	_obstack_memory_used, print_and_abort, obstack_next_free,
561*150b7e42Smiod	obstack_object_size, obstack_base): Likewise.  Remove codes
562*150b7e42Smiod	predicated on !defined(__STDC__).
563*150b7e42Smiod	* objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
564*150b7e42Smiod	objalloc_free_block): Use ISO C prototypes.
565*150b7e42Smiod	* mkstemps.c (mkstemps): Likewise.
566*150b7e42Smiod	* memset.c (memset): Likewise.
567*150b7e42Smiod	* mempcpy.c (mempcpy): Likewise.
568*150b7e42Smiod	* rename.c (rename): Likewise.
569*150b7e42Smiod	* rindex.c (rindex): Likewise.
570*150b7e42Smiod	* setenv.c (setenv, unsetenv): Likewise.
571*150b7e42Smiod	* sigsetmask.c (sigsetmask): Likewise.
572*150b7e42Smiod	* snprintf.c (snprintf): Likewise.
573*150b7e42Smiod	* sort.c (sort_pointers, xmalloc): Likewise.
574*150b7e42Smiod	* spaces.c (spaces): Likewise.
575*150b7e42Smiod	* splay-tree.c (splay_tree_delete_helper,
576*150b7e42Smiod	splay_tree_splay_helper, splay_tree_splay,
577*150b7e42Smiod	splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
578*150b7e42Smiod	splay_tree_new, splay_tree_xmalloc_allocate,
579*150b7e42Smiod	splay_tree_new_with_allocator, splay_tree_delete,
580*150b7e42Smiod	splay_tree_insert, splay_tree_remove, splay_tree_lookup,
581*150b7e42Smiod	splay_tree_max, splay_tree_min, splay_tree_predecessor,
582*150b7e42Smiod	splay_tree_successor, splay_tree_foreach,
583*150b7e42Smiod	splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
584*150b7e42Smiod	* stpcpy.c (stpcpy): Likewise.
585*150b7e42Smiod	* stpncpy.c (stpncpy): Likewise.
586*150b7e42Smiod	* strcasecmp.c (strcasecmp): Likewise.
587*150b7e42Smiod	* strchr.c (strchr): Likewise.
588*150b7e42Smiod	* strdup.c (strdup): Likewise.
589*150b7e42Smiod
590*150b7e42Smiod2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
591*150b7e42Smiod
592*150b7e42Smiod	Convert libiberty to use ISO C prototype style 6/n.
593*150b7e42Smiod	* strerror.c (init_error_tables, errno_max, strerror, strerrno,
594*150b7e42Smiod	strtoerrno, main): Use ISO C prototype style.
595*150b7e42Smiod	* strncasecmp.c (strncasecmp): Likewise.
596*150b7e42Smiod	* strncmp.c (strncmp): Likewise.
597*150b7e42Smiod	* strndup.c (strndup): Likewise.
598*150b7e42Smiod	* strrchr.c (strrchr): Likewise.
599*150b7e42Smiod	* strsignal.c (init_signal_tables, signo_max, strsignal,
600*150b7e42Smiod	strsigno, strtosigno, psignal, main): Likewise.
601*150b7e42Smiod	* strstr.c (strstr): Likewise.
602*150b7e42Smiod	* strtod.c (strtod, atof): Likewise.
603*150b7e42Smiod	* strtol.c (strtol): Likewise.
604*150b7e42Smiod	* strtoul.c (strtoul): Likewise.
605*150b7e42Smiod	* ternary.c (ternary_insert, ternary_cleanup, ternary_search,
606*150b7e42Smiod	ternary_recursivesearch): Likewise.
607*150b7e42Smiod	* tmpnam.c (tmpnam): Likewise.
608*150b7e42Smiod	* unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
609*150b7e42Smiod	* vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
610*150b7e42Smiod	* vfork.c (vfork): Likewise.
611*150b7e42Smiod	* vfprintf.c (vfprintf): Likewise.
612*150b7e42Smiod	* vprintf.c (vprintf): Likewise.
613*150b7e42Smiod	* vsnprintf.c (vsnprintf, checkit, main): Likewise.
614*150b7e42Smiod	* vsprintf.c (vsprintf): Likewise.
615*150b7e42Smiod	* waitpid.c (waitpid): Likewise.
616*150b7e42Smiod	* xatexit.c (xatexit, xatexit_cleanup): Likewise.
617*150b7e42Smiod	* xexit.c (xexit): Likewise.
618*150b7e42Smiod	* xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
619*150b7e42Smiod	xcalloc, xrealloc): Likewise.
620*150b7e42Smiod	* xmemdup.c (xmemdup): Likewise.
621*150b7e42Smiod	* xstrdup.c (xstrdup): Likewise.
622*150b7e42Smiod	* xstrerror.c (xstrerror): Likewise.
623*150b7e42Smiod	* xstrndup.c (xstrndup): Likewise.
624*150b7e42Smiod
625*150b7e42Smiod2005-03-27  Andreas Jaeger  <aj@suse.de>
626*150b7e42Smiod
627*150b7e42Smiod	* configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
628*150b7e42Smiod	flags.
629*150b7e42Smiod	* configure: Regenerated.
630*150b7e42Smiod
631*150b7e42Smiod2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
632*150b7e42Smiod
633*150b7e42Smiod	* getopt1.c (getopt_long_only): Fix thinko.
634*150b7e42Smiod
635*150b7e42Smiod2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
636*150b7e42Smiod
637*150b7e42Smiod	Convert libiberty to use ISO C prototype style 4/n.
638*150b7e42Smiod	* hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
639*150b7e42Smiod	htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
640*150b7e42Smiod	htab_create_alloc, htab_set_functions_ex, htab_create,
641*150b7e42Smiod	htab_try_create, htab_delete, htab_empty,
642*150b7e42Smiod	find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
643*150b7e42Smiod	htab_find, htab_find_slot_with_hash, htab_find_slot,
644*150b7e42Smiod	htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
645*150b7e42Smiod	htab_traverse_noresize, htab_traverse, htab_collisions,
646*150b7e42Smiod	htab_hash_string, iterative_hash): Use ISO C prototype.
647*150b7e42Smiod	* hex.c (hex_init): Likewise.
648*150b7e42Smiod	* index.c (index): Likewise.
649*150b7e42Smiod	* insque.c (insque, remque): Likewise.
650*150b7e42Smiod	* lbasename.c (lbasename): Likewise.
651*150b7e42Smiod	* lrealpath.c (lrealpath): Likewise.
652*150b7e42Smiod	* make-relative-prefix.c (save_string, split_directories,
653*150b7e42Smiod	free_split_directories, make_relative_prefix): Likewise.
654*150b7e42Smiod	* make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
655*150b7e42Smiod	* md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
656*150b7e42Smiod	md5_buffer, md5_process_bytes, md5_process_block): Likewise.
657*150b7e42Smiod	* memchr.c (memchr): Likewise.
658*150b7e42Smiod	* memcpy.c (memcpy): Likewise.
659*150b7e42Smiod	* memmove.c (memmove): Likewise.
660*150b7e42Smiod	* gettimeofday.c (gettimeofday): Likewise.
661*150b7e42Smiod	* getruntime.c (get_run_time): Likewise.
662*150b7e42Smiod	* getpwd.c (getpwd, getpwd): Likewise.
663*150b7e42Smiod	* getpagesize.c (getpagesize): Likewise.
664*150b7e42Smiod	* getopt1.c (getopt_long, getopt_long_only, main): Likewise.
665*150b7e42Smiod	* getopt.c (my_index, exchange, _getopt_initialize,
666*150b7e42Smiod	_getopt_internal, getopt, main): Likewise.
667*150b7e42Smiod	* getcwd.c (getcwd): Likewise.
668*150b7e42Smiod	* fnmatch.c (fnmatch): Likewise.
669*150b7e42Smiod	* floatformat.c (floatformat_always_valid,
670*150b7e42Smiod	floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
671*150b7e42Smiod	put_field, floatformat_from_double, floatformat_is_valid,
672*150b7e42Smiod	ieee_test, main): Likewise.
673*150b7e42Smiod	* fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
674*150b7e42Smiod	fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
675*150b7e42Smiod	fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
676*150b7e42Smiod	fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
677*150b7e42Smiod	fibheap_delete, fibheap_empty, fibheap_extr_min_node,
678*150b7e42Smiod	fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
679*150b7e42Smiod	fibheap_link, fibheap_cut, fibheap_cascading_cut,
680*150b7e42Smiod	fibnode_insert_after, fibnode_remove): Likewise.
681*150b7e42Smiod	* ffs.c (ffs): Likewise.
682*150b7e42Smiod	* fdmatch.c (fdmatch): Likewise.
683*150b7e42Smiod	* dyn-string.c (dyn_string_init, dyn_string_new,
684*150b7e42Smiod	dyn_string_delete, dyn_string_release, dyn_string_resize,
685*150b7e42Smiod	dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
686*150b7e42Smiod	dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
687*150b7e42Smiod	dyn_string_insert_cstr, dyn_string_insert_char,
688*150b7e42Smiod	dyn_string_append, dyn_string_append_cstr,
689*150b7e42Smiod	dyn_string_append_char, dyn_string_substring, dyn_string_eq):
690*150b7e42Smiod	Likewise.
691*150b7e42Smiod
692*150b7e42Smiod2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
693*150b7e42Smiod
694*150b7e42Smiod	Convert libiberty to use ISO C prototype style 3/n.
695*150b7e42Smiod	* cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
696*150b7e42Smiod	consume_count_with_underscores, code_for_qualifier,
697*150b7e42Smiod	qualifier_string, demangle_qualifier, cplus_demangle_opname,
698*150b7e42Smiod	cplus_mangle_opname, cplus_demangle_set_style,
699*150b7e42Smiod	cplus_demangle_name_to_style, cplus_demangle, grow_vect,
700*150b7e42Smiod	ada_demangle, internal_cplus_demangle, squangle_mop_up,
701*150b7e42Smiod	work_stuff_copy_to_from, delete_non_B_K_work_stuff,
702*150b7e42Smiod	delete_work_stuff, mop_up, demangle_signature,
703*150b7e42Smiod	demangle_method_args, demangle_template_template_parm,
704*150b7e42Smiod	demangle_expression, demangle_integral_value,
705*150b7e42Smiod	demangle_real_value, demangle_template_value_parm,
706*150b7e42Smiod	demangle_template, arm_pt, demangle_arm_hp_template,
707*150b7e42Smiod	demangle_class_name, demangle_class, iterate_demangle_function,
708*150b7e42Smiod	demangle_prefix, gnu_special, recursively_demangle, arm_special,
709*150b7e42Smiod	demangle_qualified, get_count, do_type, demangle_fund_type,
710*150b7e42Smiod	do_hpacc_template_const_value, do_hpacc_template_literal,
711*150b7e42Smiod	snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
712*150b7e42Smiod	register_Btype, remember_Btype, forget_B_and_K_types,
713*150b7e42Smiod	forget_types, demangle_args, demangle_nested_args,
714*150b7e42Smiod	demangle_function_name, string_need, string_delete, string_init,
715*150b7e42Smiod	string_clear, string_empty, string_append, string_appends,
716*150b7e42Smiod	string_appendn, string_prepend, string_prepends, string_prependn,
717*150b7e42Smiod	string_append_template_idx): Use ISO C prootype style.
718*150b7e42Smiod	* cp-demint.c (cplus_demangle_fill_component,
719*150b7e42Smiod	cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
720*150b7e42Smiod	cplus_demangle_v3_components): Likewise.
721*150b7e42Smiod
722*150b7e42Smiod2005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
723*150b7e42Smiod
724*150b7e42Smiod	Convert libiberty to use ISO C prototype style 2/n.
725*150b7e42Smiod	* cp-demangle.h: Remove uses of PARAMS.
726*150b7e42Smiod	* cp-demangle.c: Likewise.
727*150b7e42Smiod	(d_dump, cplus_demangle_fill_name,
728*150b7e42Smiod	cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
729*150b7e42Smiod	cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
730*150b7e42Smiod	d_make_builtin_type, d_make_operator, d_make_extended_operator,
731*150b7e42Smiod	d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
732*150b7e42Smiod	cplus_demangle_mangled_name, has_return_type,
733*150b7e42Smiod	is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
734*150b7e42Smiod	d_prefix, d_unqualified_name, d_source_name, d_number,
735*150b7e42Smiod	d_identifier, d_operator_name, d_special_name, d_call_offset,
736*150b7e42Smiod	d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
737*150b7e42Smiod	d_function_type, d_bare_function_type, d_class_enum_type,
738*150b7e42Smiod	d_array_type, d_pointer_to_member_type, d_template_param,
739*150b7e42Smiod	d_template_args, d_template_arg, d_expression, d_expr_primary,
740*150b7e42Smiod	d_local_name, d_discriminator, d_add_substitution,
741*150b7e42Smiod	d_substitution, d_print_resize, d_print_append_char,
742*150b7e42Smiod	d_print_append_buffer, d_print_error, cplus_demangle_print,
743*150b7e42Smiod	d_print_comp, d_print_java_identifier, d_print_mod_list,
744*150b7e42Smiod	d_print_mod, d_print_function_type, d_print_array_type,
745*150b7e42Smiod	d_print_expr_op, d_print_cast, cplus_demangle_init_info,
746*150b7e42Smiod	d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
747*150b7e42Smiod	is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
748*150b7e42Smiod	print_usage, main):
749*150b7e42Smiod
750*150b7e42Smiod2005-03-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
751*150b7e42Smiod
752*150b7e42Smiod	Convert libiberty to ISO C prototype style 1/n.
753*150b7e42Smiod	* _doprnt.c: Remove conditional #include <varargs.h> on
754*150b7e42Smiod	ANSI_PROTOTYPES as the latter is always assumed.
755*150b7e42Smiod	(_doprnt, checkit, main): Use ISO C prototype.
756*150b7e42Smiod	* alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
757*150b7e42Smiod	* argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
758*150b7e42Smiod	(dupargv, freeargv, buildargv, main): Use ISO C prototype.
759*150b7e42Smiod	* atexit.c (atexit): Likewise
760*150b7e42Smiod	* asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
761*150b7e42Smiod	(asprintf): Use ISO C prototype.
762*150b7e42Smiod	* basename.c (basename): Likewise
763*150b7e42Smiod	* bcmp.c (bcmp): Likewise.
764*150b7e42Smiod	* bcopy.c (bcopy): Likewise.
765*150b7e42Smiod	* bzero.c (bzero): Likewise.
766*150b7e42Smiod	* bsearch.c (bsearch): Likewise.  Improve const-correctness.
767*150b7e42Smiod	* choose-temp.c (choose_temp_base): Likewise.
768*150b7e42Smiod	* calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
769*150b7e42Smiod	(calloc): Use ISO C prototype.
770*150b7e42Smiod	* clock.c (clock): Likewise.
771*150b7e42Smiod	* concat.c: Remove conditional #include on ANSI_PROTOTYPES.
772*150b7e42Smiod	(vconcat_length, vconcat_copy, concat_length, concat_copy,
773*150b7e42Smiod	concat_copy2, concat, reconcat, main): Use ISO C prototype.
774*150b7e42Smiod	* copysign.c (copysign): Likewise.
775*150b7e42Smiod
776*150b7e42Smiod2005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
777*150b7e42Smiod
778*150b7e42Smiod	* Makefile.in (CFILES): Add strndup.c and xstrndup.c.
779*150b7e42Smiod	(REQUIRED_OFILES): Add xstrndup.o.
780*150b7e42Smiod	(CONFIGURED_OFILES): Add strndup.o.
781*150b7e42Smiod	Regenerate dependencies.
782*150b7e42Smiod
783*150b7e42Smiod	* configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
784*150b7e42Smiod
785*150b7e42Smiod	* strndup.c, xstrndup.c: New.
786*150b7e42Smiod
787*150b7e42Smiod	* config.in, configure, functions.texi: Regenerate.
788*150b7e42Smiod
789*150b7e42Smiod2005-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
790*150b7e42Smiod
791*150b7e42Smiod	* xmemdup.c, xstrdup.c: Expose the tail call.
792*150b7e42Smiod
793*150b7e42Smiod2005-03-09  Mark Mitchell  <mark@codesourcery.com>
794*150b7e42Smiod
795*150b7e42Smiod	* configure.ac (funcs): Add gettimeofday.
796*150b7e42Smiod	* configure: Regenerated.
797*150b7e42Smiod	* gettimeofday.c: New file.
798*150b7e42Smiod	* Makefile.in (CFILES): Add gettimeofday.
799*150b7e42Smiod	(CONFIGURED_OFILES): Add gettimeofday.o.
800*150b7e42Smiod	(./gettimeofday.o): New rule.
801*150b7e42Smiod
802*150b7e42Smiod2005-03-09  Ian Lance Taylor  <ian@airs.com>
803*150b7e42Smiod
804*150b7e42Smiod	* pex-os2.c: Remove.
805*150b7e42Smiod	* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
806*150b7e42Smiod	* Makefile.in (CFILES): Remove pex-os2.c.
807*150b7e42Smiod	(CONFIGURED_OFILES): Remove pex-os2.o.
808*150b7e42Smiod	(pex-os2.o): Remove target.
809*150b7e42Smiod	* configure: Rebuild.
810*150b7e42Smiod
811*150b7e42Smiod2005-03-07  Ian Lance Taylor  <ian@airs.com>
812*150b7e42Smiod
813*150b7e42Smiod	* mpw-config.in: Remove.
814*150b7e42Smiod	* mpw-make.sed: Remove.
815*150b7e42Smiod	* mpw.c: Remove.
816*150b7e42Smiod	* Makefile.in (CFILES): Remove pex-mpw.c.
817*150b7e42Smiod	(CONFIGURED_OFILES): Remove pex-mpw.o.
818*150b7e42Smiod	(mpw.o, pex-mpw.o): Remove targets.
819*150b7e42Smiod	* maint-tool (undoc): Remove reference to mpw.c.
820*150b7e42Smiod
821*150b7e42Smiod2005-03-06  DJ Delorie  <dj@redhat.com>
822*150b7e42Smiod
823*150b7e42Smiod	* configure.ac (target_header_dir): vfork is a stub under djgpp.
824*150b7e42Smiod	* configure: Regenerated.
825*150b7e42Smiod
826*150b7e42Smiod2005-03-01  Jan Beulich  <jbeulich@novell.com>
827*150b7e42Smiod
828*150b7e42Smiod	* Makefile.in (CFILES): Add unlink-if-ordinary.c
829*150b7e42Smiod	(REQUIRED_OFILES): Add unlink-if-ordinary.o.
830*150b7e42Smiod	Add dependencies and rule for unlink-if-ordinary.o.
831*150b7e42Smiod	* unlink-if-ordinary.c: New.
832*150b7e42Smiod
833*150b7e42Smiod2005-03-01  Ben Elliston  <bje@au.ibm.com>
834*150b7e42Smiod
835*150b7e42Smiod	* hashtab.c (htab_find_slot_with_hash): Make function
836*150b7e42Smiod	documentation clearer.
837*150b7e42Smiod
838*150b7e42Smiod2005-02-13  Jason Merrill  <jason@redhat.com>
839*150b7e42Smiod
840*150b7e42Smiod	* cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
841*150b7e42Smiod	arguments.
842*150b7e42Smiod
843*150b7e42Smiod2005-01-11  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
844*150b7e42Smiod
845*150b7e42Smiod	* hex.c (hex_value): Group 'unsigned int' together to get correct
846*150b7e42Smiod	markup.
847*150b7e42Smiod	* functions.texi: Regenerated.
848*150b7e42Smiod
849*150b7e42Smiod2004-12-27  H.J. Lu  <hongjiu.lu@intel.com>
850*150b7e42Smiod
851*150b7e42Smiod	* Makefile.in: Undo to 2004-12-17.
852*150b7e42Smiod	* aclocal.m4: Likewise.
853*150b7e42Smiod	* config.table: Likewise.
854*150b7e42Smiod	* configure.ac: Likewise.
855*150b7e42Smiod	* maint-tool: Likewise.
856*150b7e42Smiod	* configure: Likewise.
857*150b7e42Smiod
858*150b7e42Smiod2004-12-19  H.J. Lu  <hongjiu.lu@intel.com>
859*150b7e42Smiod
860*150b7e42Smiod	PR bootstrap/19072
861*150b7e42Smiod	* Makefile.in (enable_shared): New substitute.
862*150b7e42Smiod	(LTTARGETLIB): New.
863*150b7e42Smiod	(PREFIXTARGETLIB): New.
864*150b7e42Smiod	(LTTESTLIB): New.
865*150b7e42Smiod	(PREFIXTESTLIB): New.
866*150b7e42Smiod	(CCLD): New.
867*150b7e42Smiod	(LINK): New.
868*150b7e42Smiod	($(TARGETLIB)): Use $(LINK) to create libraries and create
869*150b7e42Smiod	targets by hand.
870*150b7e42Smiod	($(TESTLIB)): Likewise.
871*150b7e42Smiod	(mostlyclean): Don't remove .libs. Remove the libtool object
872*150b7e42Smiod	directory.
873*150b7e42Smiod
874*150b7e42Smiod	* config.table (enable_shared): Removed.
875*150b7e42Smiod
876*150b7e42Smiod	* configure.ac (enable_static): Set to yes.
877*150b7e42Smiod	(AC_PROG_LIBTOOL): Removed.
878*150b7e42Smiod	(AM_DISABLE_SHARED): Uncommented.
879*150b7e42Smiod	(AM_PROG_LIBTOOL): Likewise.
880*150b7e42Smiod	(LIBOBJS): Add `./' to avoid VPATH.
881*150b7e42Smiod	(LTLIBOBJS): Likewise.
882*150b7e42Smiod	(enable_shared): Substitute.
883*150b7e42Smiod	* configure: Regenerated.
884*150b7e42Smiod
885*150b7e42Smiod2004-12-18  H.J. Lu  <hongjiu.lu@intel.com>
886*150b7e42Smiod
887*150b7e42Smiod	* Makefile.in (top_builddir): Set to `.'.
888*150b7e42Smiod	(OUTPUT_OPTION): Removed.
889*150b7e42Smiod	(LIBTOOL): New.
890*150b7e42Smiod	(LTLIBOBJS): New.
891*150b7e42Smiod	(EXTRA_LTOFILES): New.
892*150b7e42Smiod	(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
893*150b7e42Smiod	(all): Remove stamp-picdir.
894*150b7e42Smiod	(LTCOMPILE): New.
895*150b7e42Smiod	(.c.lo): New rule.
896*150b7e42Smiod	(REQUIRED_LTOFILES): New.
897*150b7e42Smiod	(CONFIGURED_LTOFILES): New.
898*150b7e42Smiod	($(TARGETLIB)): Check .libs for PIC object files. Depend on
899*150b7e42Smiod	$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
900*150b7e42Smiod	(stamp-picdir): Completely removed.
901*150b7e42Smiod	(maint-missing): Pass $(REQUIRED_LTOFILES)
902*150b7e42Smiod	$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
903*150b7e42Smiod	$(CONFIGURED_OFILES)
904*150b7e42Smiod	(maint-buildall): Depend on $(REQUIRED_LTOFILES)
905*150b7e42Smiod	$(CONFIGURED_LTOFILES).
906*150b7e42Smiod	(mostlyclean): Also remove *.lo .libs.
907*150b7e42Smiod	Run "make maint-deps".
908*150b7e42Smiod
909*150b7e42Smiod	* aclocal.m4: Include ../libtool.m4.
910*150b7e42Smiod
911*150b7e42Smiod	* config.table: Don't check --enable-shared.
912*150b7e42Smiod
913*150b7e42Smiod	* configure.ac (AC_PROG_LIBTOOL): Add.
914*150b7e42Smiod	(AC_PROG_CC_C_O): Removed.
915*150b7e42Smiod	(OUTPUT_OPTION): Removed.
916*150b7e42Smiod	(NO_MINUS_C_MINUS_O): Removed.
917*150b7e42Smiod	(ltpexecute): New substitute.
918*150b7e42Smiod	(LIBOBJS): Cleanup.
919*150b7e42Smiod	* configure: Regenerated.
920*150b7e42Smiod
921*150b7e42Smiod	* maint-tool: Updated for .lo/libtool.
922*150b7e42Smiod
923*150b7e42Smiod2004-12-11  Ben Elliston  <bje@au.ibm.com>
924*150b7e42Smiod
925*150b7e42Smiod	* configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
926*150b7e42Smiod	* configure: Regenerate.
927*150b7e42Smiod	* config.in: Likewise.
928*150b7e42Smiod
929*150b7e42Smiod2004-12-07  DJ Delorie  <dj@redhat.com>
930*150b7e42Smiod
931*150b7e42Smiod	* splay-tree.c (splay_tree_delete_helper): Redesign the logic so
932*150b7e42Smiod	that recursion (and thus large stack space) is not needed.
933*150b7e42Smiod
934*150b7e42Smiod2004-11-29  Matt Kraai  <kraai@alumni.cmu.edu>
935*150b7e42Smiod
936*150b7e42Smiod	* pex-unix.c: Fix the spelling of longjmp.
937*150b7e42Smiod
938*150b7e42Smiod2004-11-23  Ian Lance Taylor  <ian@wasabisystems.com>
939*150b7e42Smiod
940*150b7e42Smiod	PR other/18623
941*150b7e42Smiod	* cp-demangle.c (d_call_offset): Remove useless local variables
942*150b7e42Smiod	offset and virtual_offset.
943*150b7e42Smiod	* cplus-dem.c (ada_demangle): Remove useless local variable
944*150b7e42Smiod	at_start_name.
945*150b7e42Smiod	(demangle_template): Remove useless local variable start.
946*150b7e42Smiod
947*150b7e42Smiod2004-11-19  Roger Sayle  <roger@eyesopen.com>
948*150b7e42Smiod
949*150b7e42Smiod	* objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
950*150b7e42Smiod	"ansidecl.h" to avoid redeclaration errors with native compilers.
951*150b7e42Smiod	* regex.c: Protect config.h from multiple inclusion.
952*150b7e42Smiod
953*150b7e42Smiod2004-11-12  Mike Stump  <mrs@apple.com>
954*150b7e42Smiod
955*150b7e42Smiod	* Makefile.in (libiberty.html): Fix html generation.
956*150b7e42Smiod
957*150b7e42Smiod2004-09-08  Adam Nemet  <anemet@lnxw.com>
958*150b7e42Smiod
959*150b7e42Smiod	* vasprintf.c: Accept __va_copy in addition to va_copy.
960*150b7e42Smiod
961*150b7e42Smiod2004-09-03  Paolo Bonzini  <bonzini@gnu.org>
962*150b7e42Smiod
963*150b7e42Smiod	* configure: Regenerate.
964*150b7e42Smiod
965*150b7e42Smiod2004-09-02  Paolo Bonzini  <bonzini@gnu.org>
966*150b7e42Smiod
967*150b7e42Smiod	* configure.ac: Do not enable multilibs for build-side libiberty.
968*150b7e42Smiod
969*150b7e42Smiod2004-06-29  Danny Smith  <dannysmith@users.sourceforge.net>
970*150b7e42Smiod
971*150b7e42Smiod	* lrealpath.c (lrealpath): Add _WIN32 support.
972*150b7e42Smiod
973*150b7e42Smiod2004-06-28  Zack Weinberg  <zack@codesourcery.com>
974*150b7e42Smiod
975*150b7e42Smiod	* cp-demangle.h: Declare cplus_demangle_operators,
976*150b7e42Smiod	cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
977*150b7e42Smiod	cplus_demangle_type as static if IN_GLIBCPP_V3.
978*150b7e42Smiod
979*150b7e42Smiod2004-06-28  Ian Lance Taylor  <ian@wasabisystems.com>
980*150b7e42Smiod
981*150b7e42Smiod	PR other/16240
982*150b7e42Smiod	* cp-demangle.c (d_expr_primary): Check for a failure return from
983*150b7e42Smiod	cplus_demangle_type.
984*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
985*150b7e42Smiod
986*150b7e42Smiod2004-05-31  Danny Smith  <dannysmith@users.sourceforge.net>
987*150b7e42Smiod
988*150b7e42Smiod	* pex-win32.c (fix_argv): Expand comment.
989*150b7e42Smiod
990*150b7e42Smiod2004-05-25  Daniel Jacobowitz  <drow@false.org>
991*150b7e42Smiod
992*150b7e42Smiod	* Makefile.in: Add .NOEXPORT.
993*150b7e42Smiod
994*150b7e42Smiod2004-04-29  Douglas B Rupp  <rupp@gnat.com>
995*150b7e42Smiod
996*150b7e42Smiod	* mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
997*150b7e42Smiod	copyright.
998*150b7e42Smiod
999*150b7e42Smiod2004-04-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1000*150b7e42Smiod
1001*150b7e42Smiod	* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
1002*150b7e42Smiod	* configure: Regenerate.
1003*150b7e42Smiod
1004*150b7e42Smiod2004-04-22  Richard Henderson  <rth@redhat.com>
1005*150b7e42Smiod
1006*150b7e42Smiod	* hashtab.c: Include limits.h, stdint.h, ansidecl.h.
1007*150b7e42Smiod	(CHAR_BIT): Provide default.
1008*150b7e42Smiod	(struct prime_ent, prime_tab): New.
1009*150b7e42Smiod	(higher_prime_index): Rename from higher_prime_number, return index.
1010*150b7e42Smiod	(htab_mod_1): New.
1011*150b7e42Smiod	(htab_mod, htab_mod_m2): Use it.
1012*150b7e42Smiod	(htab_create_alloc, htab_create_alloc_ex): Store prime index.
1013*150b7e42Smiod	(htab_expand): Likewise.
1014*150b7e42Smiod	* configure.ac: Check for stdint.h.
1015*150b7e42Smiod	(UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
1016*150b7e42Smiod	* config.in, configure: Rebuild.
1017*150b7e42Smiod
1018*150b7e42Smiod2004-04-13  Ian Lance Taylor  <ian@wasabisystems.com>
1019*150b7e42Smiod
1020*150b7e42Smiod	* strerror.c: Include config.h, and redefine sys_nerr and
1021*150b7e42Smiod	sys_errlist, before including ansidecl.h and libiberty.h.
1022*150b7e42Smiod
1023*150b7e42Smiod2004-04-13  Jeff Law  <law@redhat.com>
1024*150b7e42Smiod
1025*150b7e42Smiod	* hashtab.c (htab_remove_elt_with_hash): New function.
1026*150b7e42Smiod	(htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
1027*150b7e42Smiod
1028*150b7e42Smiod2004-03-31  Richard Henderson  <rth@redhat.com>
1029*150b7e42Smiod
1030*150b7e42Smiod	* hashtab.c (htab_size): Move to top of file; mark inline.
1031*150b7e42Smiod	(htab_elements): Likewise.
1032*150b7e42Smiod	(htab_mod, htab_mod_m2): New.
1033*150b7e42Smiod	(htab_delete): Refactor htab->size and htab->entries.
1034*150b7e42Smiod	(htab_empty): Likewise.
1035*150b7e42Smiod	(find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
1036*150b7e42Smiod	(htab_find_with_hash, htab_find_slot_with_hash): Likewise.
1037*150b7e42Smiod	(htab_clear_slot): Use htab_size, htab_elements.
1038*150b7e42Smiod	(htab_traverse_noresize, htab_traverse): Likewise.
1039*150b7e42Smiod
1040*150b7e42Smiod2004-03-17  Ian Lance Taylor  <ian@wasabisystems.com>
1041*150b7e42Smiod
1042*150b7e42Smiod	* pex-unix.c (pexecute): Use vfork instead of fork, with
1043*150b7e42Smiod	appropriate changes to make this safe.
1044*150b7e42Smiod	* pex-common.h (STDERR_FILE_NO): Define.
1045*150b7e42Smiod
1046*150b7e42Smiod	* Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
1047*150b7e42Smiod	an 80 column screen.  Run maint-deps.
1048*150b7e42Smiod
1049*150b7e42Smiod2004-03-09  Kelley Cook  <kcook@gcc.gnu.org>
1050*150b7e42Smiod
1051*150b7e42Smiod	* configure.ac: Bump version to 2.59.  Apply suggested autoupdates.
1052*150b7e42Smiod	* acconfig.h: Delete redundant file.
1053*150b7e42Smiod	* config.in: Regenerate.
1054*150b7e42Smiod	* configure: Regenerate.
1055*150b7e42Smiod
1056*150b7e42Smiod2004-03-09  Hans-Peter Nilsson  <hp@axis.com>
1057*150b7e42Smiod
1058*150b7e42Smiod	* configure: Regenerate for config/accross.m4 correction.
1059*150b7e42Smiod
1060*150b7e42Smiod2004-03-07  Andreas Jaeger  <aj@suse.de>
1061*150b7e42Smiod
1062*150b7e42Smiod	* testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
1063*150b7e42Smiod	prototypes.
1064*150b7e42Smiod	(main): Initialize style.
1065*150b7e42Smiod
1066*150b7e42Smiod2004-02-24  Ian Lance Taylor  <ian@wasabisystems.com>
1067*150b7e42Smiod
1068*150b7e42Smiod	* cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
1069*150b7e42Smiod	D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
1070*150b7e42Smiod	D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
1071*150b7e42Smiod	* cp-demangle.c (cplus_demangle_builtin_types): Change char and
1072*150b7e42Smiod	short types to D_PRINT_DEFAULT.  Change other integer types to use
1073*150b7e42Smiod	new D_PRINT_* values where appropriate.  Change float types to
1074*150b7e42Smiod	D_PRINT_FLOAT.
1075*150b7e42Smiod	(d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
1076*150b7e42Smiod	values.
1077*150b7e42Smiod	* testsuite/demangle-expected: Adjust two test cases.
1078*150b7e42Smiod
1079*150b7e42Smiod	* cp-demangle.c (d_print_function_type): Print a space before the
1080*150b7e42Smiod	parenthesis around the function type in more cases.
1081*150b7e42Smiod	* testsuite/demangle-expected: Adjust one test case.
1082*150b7e42Smiod
1083*150b7e42Smiod	* cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
1084*150b7e42Smiod	parentheses around a cast.
1085*150b7e42Smiod	* testsuite/demangle-expected: Adjust two test cases to match new
1086*150b7e42Smiod	output.
1087*150b7e42Smiod
1088*150b7e42Smiod	* cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
1089*150b7e42Smiod
1090*150b7e42Smiod	* cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
1091*150b7e42Smiod	push more than one of the same CV-qualifier on the top of the
1092*150b7e42Smiod	stack.
1093*150b7e42Smiod	(d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
1094*150b7e42Smiod	move the CV-qualifiers to apply to the element type instead.
1095*150b7e42Smiod	(d_print_array_type): When checking the modifiers, keep looking
1096*150b7e42Smiod	past ones which have been printed already.
1097*150b7e42Smiod	* testsuite/demangle-expected: Add three test cases.
1098*150b7e42Smiod
1099*150b7e42Smiod2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
1100*150b7e42Smiod
1101*150b7e42Smiod	* cp-demangle.c (__cxa_demangle): Adjust last patch to handle
1102*150b7e42Smiod	empty string correctly.
1103*150b7e42Smiod
1104*150b7e42Smiod	* cp-demangle.c (__cxa_demangle): It is not an error if status is
1105*150b7e42Smiod	not NULL.  It is an error if the mangled name is the same as a
1106*150b7e42Smiod	built-in type name.
1107*150b7e42Smiod	(main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
1108*150b7e42Smiod	than cplus_demangle_v3.
1109*150b7e42Smiod
1110*150b7e42Smiod	* dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
1111*150b7e42Smiod	the associated #define of RETURN_ON_ALLOCATION_FAILURE.
1112*150b7e42Smiod
1113*150b7e42Smiod2004-02-16  Matt Kraai  <kraai@alumni.cmu.edu>
1114*150b7e42Smiod
1115*150b7e42Smiod	* regex.c: Include <ansidecl.h>.
1116*150b7e42Smiod	(regcomp): Cast i to int.
1117*150b7e42Smiod	(regerror): Add ATTRIBUTE_UNUSED to parameter preg.
1118*150b7e42Smiod
1119*150b7e42Smiod2004-01-25  Ian Lance Taylor  <ian@wasabisystems.com>
1120*150b7e42Smiod
1121*150b7e42Smiod	* configure.ac: Add m4_pattern_allow(LIBOBJS).
1122*150b7e42Smiod	* configure: Regenerate.
1123*150b7e42Smiod
1124*150b7e42Smiod2004-01-22  DJ Delorie  <dj@redhat.com>
1125*150b7e42Smiod
1126*150b7e42Smiod	* Makefile.in: Convert to ./ throughout.  Rebuild dependencies
1127*150b7e42Smiod	with explicit build rules.
1128*150b7e42Smiod	(VPATH): Remove.
1129*150b7e42Smiod	(.c.o): Poison.
1130*150b7e42Smiod	* configure.ac (pexecute, LIBOBJS): Add ./ .
1131*150b7e42Smiod	* maint-tool: Build dependencies with explicit rules.
1132*150b7e42Smiod
1133*150b7e42Smiod2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
1134*150b7e42Smiod
1135*150b7e42Smiod	* strdup.c (strdup): Constify the argument.
1136*150b7e42Smiod
1137*150b7e42Smiod2004-01-14  Loren J. Rittle  <ljrittle@acm.org>
1138*150b7e42Smiod
1139*150b7e42Smiod	* Makefile.in (distclean): Remove config.cache.
1140*150b7e42Smiod
1141*150b7e42Smiod2004-01-13  Daniel Jacobowitz  <drow@mvista.com>
1142*150b7e42Smiod
1143*150b7e42Smiod	* cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
1144*150b7e42Smiod	takes two parameters.
1145*150b7e42Smiod	* cp-demint.c (cplus_demangle_fill_component): Likewise.
1146*150b7e42Smiod
1147*150b7e42Smiod2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
1148*150b7e42Smiod
1149*150b7e42Smiod	* cp-demangle.c: Include "cp-demangle.h".  If IN_GLIBCPP_V3 is
1150*150b7e42Smiod	defined, rename some functions which are to become static via
1151*150b7e42Smiod	#define.
1152*150b7e42Smiod	(CP_STATIC_IF_GLIBCPP_V3): Define.
1153*150b7e42Smiod	(struct d_operator_info): Move definition to cp-demangle.h, and
1154*150b7e42Smiod	rename to demangle_operator_info.  Change all uses.
1155*150b7e42Smiod	(enum d_builtin_type_print): Move definition to cp-demangle.h.
1156*150b7e42Smiod	(struct d_builtin_type_info): Move definition to cp-demangle.h,
1157*150b7e42Smiod	and rename to demangle_builtin_type_info.  Change all uses.
1158*150b7e42Smiod	(enum d_comp_type): Move definition to include/demangle.h, and
1159*150b7e42Smiod	rename to demangle_component_type, and change all enums to start
1160*150b7e42Smiod	with DEMANGLE_COMPONENT_ instead of D_.  Change all uses.
1161*150b7e42Smiod	(struct d_comp): Move definition to include/demangle.h, and rename
1162*150b7e42Smiod	to demangle_component.  Change all uses.
1163*150b7e42Smiod	(struct d_info): Move definition to cp-demangle.h.
1164*150b7e42Smiod	(cplus_demangle_fill_name): New function.
1165*150b7e42Smiod	(cplus_demangle_fill_extended_operator): New function.
1166*150b7e42Smiod	(cplus_demangle_fill_ctor): New function.
1167*150b7e42Smiod	(cplus_demangle_fill_dtor): New function.
1168*150b7e42Smiod	(d_make_empty): Remove type parameter.  Change all callers.
1169*150b7e42Smiod	(d_make_name): Use cplus_demangle_fill_name.
1170*150b7e42Smiod	(d_make_extended_operator): Use
1171*150b7e42Smiod	cplus_demangle_fill_extended_operator.
1172*150b7e42Smiod	(d_make_ctor): Use cplus_demangle_fill_ctor.
1173*150b7e42Smiod	(d_make_dtor): Use cplus_demangle_fill_dtor.
1174*150b7e42Smiod	(cplus_demangle_mangled_name): Rename from d_mangled_name.  Make
1175*150b7e42Smiod	non-static by default.  Change all callers.
1176*150b7e42Smiod	(cplus_demangle_operators): Rename from d_operators.  Change all
1177*150b7e42Smiod	uses.  Make non-static by default.  Add sentinel at end of array.
1178*150b7e42Smiod	(d_operator_name): Adjust initialization of high for new sentinel
1179*150b7e42Smiod	in cplus_demangle_operators.
1180*150b7e42Smiod	(cplus_demangle_builtin_types): Rename from d_builtin_types.
1181*150b7e42Smiod	Change all uses.  Make non-static by default.  Change initializer
1182*150b7e42Smiod	to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
1183*150b7e42Smiod	(cplus_demangle_type): Rename from d_type.  Make non-static by
1184*150b7e42Smiod	default.  Change all callers.
1185*150b7e42Smiod	(cplus_demangle_init_info): Rename from d_init_info.  Make
1186*150b7e42Smiod	non-static by default.  Change all callers.
1187*150b7e42Smiod	* cp-demangle.h: New file.
1188*150b7e42Smiod	* cp-demint.c: New file.
1189*150b7e42Smiod	* Makefile.in: Rebuild dependencies.
1190*150b7e42Smiod	(CFILES): Add cp-demint.c.
1191*150b7e42Smiod	(REQUIRED_OFILES): Add cp-demint.o.
1192*150b7e42Smiod
1193*150b7e42Smiod2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>
1194*150b7e42Smiod
1195*150b7e42Smiod	* configure.in:  Rename file to ...
1196*150b7e42Smiod	* configure.ac:  ... this.
1197*150b7e42Smiod	* Makefile.in: Update a comment for above change.
1198*150b7e42Smiod	* README: Likewise.
1199*150b7e42Smiod	* config.in: Regenerate.
1200*150b7e42Smiod
1201*150b7e42Smiod2004-01-02  Ian Lance Taylor  <ian@wasabisystems.com>
1202*150b7e42Smiod
1203*150b7e42Smiod	* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
1204*150b7e42Smiod	CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
1205*150b7e42Smiod	* cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
1206*150b7e42Smiod	demangling template parameters.
1207*150b7e42Smiod	* testsuite/test-demangle.c (fail): New static function.
1208*150b7e42Smiod	(main): Support new options in input file: --no-params,
1209*150b7e42Smiod	--is-v3-ctor, and --is-v3-dtor.
1210*150b7e42Smiod	* testsuite/demangle-expected: Add --no-params to most tests, and
1211*150b7e42Smiod	add the correct result when parameters are not demangled.  Add
1212*150b7e42Smiod	some simple tests for V3 constructor/destructor recognition.
1213*150b7e42Smiod
1214*150b7e42Smiod2003-12-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1215*150b7e42Smiod
1216*150b7e42Smiod	* cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
1217*150b7e42Smiod
1218*150b7e42Smiod2003-12-22  Daniel Jacobowitz  <drow@mvista.com>
1219*150b7e42Smiod
1220*150b7e42Smiod	PR debug/13272
1221*150b7e42Smiod	* Makefile.in (lbasename.o): Depend on filenames.h.
1222*150b7e42Smiod	* lbasename.c: Include "filenames.h" instead of defining
1223*150b7e42Smiod	its macros locally.
1224*150b7e42Smiod
1225*150b7e42Smiod2003-12-22  Ian Lance Taylor  <ian@wasabisystems.com>
1226*150b7e42Smiod
1227*150b7e42Smiod	* cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
1228*150b7e42Smiod	dynamic arrays.
1229*150b7e42Smiod	(struct d_operator_info): Add len field.
1230*150b7e42Smiod	(struct d_builtin_type_info): Add len and java_len fields.
1231*150b7e42Smiod	(struct d_standard_sub_info): Add simple_len, full_len, and
1232*150b7e42Smiod	set_last_name_len fields.
1233*150b7e42Smiod	(struct d_comp): Add len field to s_string.
1234*150b7e42Smiod	(struct d_info): Add send, did_subs, and expansion fields.
1235*150b7e42Smiod	(d_append_string_constant): Define.
1236*150b7e42Smiod	(d_append_string): Remove.  Change all users to use
1237*150b7e42Smiod	d_append_string_constant or d_append_buffer instead.
1238*150b7e42Smiod	(d_make_sub): Add len parameter.  Change all callers.
1239*150b7e42Smiod	(d_name): Increase expansion when substituting std::.
1240*150b7e42Smiod	(d_unqualified_name): Increase expansion for an operator.
1241*150b7e42Smiod	(d_number): Don't use multiplication for negative numbers.
1242*150b7e42Smiod	(d_identifier): Make sure there are enough characters in the
1243*150b7e42Smiod	string for the specified length.  Adjust expansion for an
1244*150b7e42Smiod	anonymous namespace.
1245*150b7e42Smiod	(d_operators): Initialize len field.
1246*150b7e42Smiod	(d_special_name, d_ctor_dtor_name): Increase expansion.
1247*150b7e42Smiod	(d_builtin_types): Initialize len and java_len fields.
1248*150b7e42Smiod	(d_type): Increase expansion for a builtin type.
1249*150b7e42Smiod	(d_cv_qualifiers): Increase expansion for each qualifier.
1250*150b7e42Smiod	(d_bare_function_type): Decrease expansion when removing single
1251*150b7e42Smiod	void parameter.
1252*150b7e42Smiod	(d_template_param): Increment did_subs.
1253*150b7e42Smiod	(d_expression): Increase expansion for an operator.
1254*150b7e42Smiod	(d_expr_primary): Decrease expansion for a type we will print
1255*150b7e42Smiod	specially.
1256*150b7e42Smiod	(standard_subs): Initialize new fields.
1257*150b7e42Smiod	(d_substitution): Increment did_subs when doing a normal
1258*150b7e42Smiod	substitution.  Increase expansion for a special substitution.
1259*150b7e42Smiod	(d_print): Add estimate parameter.  Change all callers.
1260*150b7e42Smiod	(d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
1261*150b7e42Smiod	(d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
1262*150b7e42Smiod	(d_print_java_identifier): Rename from d_print_identifier.  Handle
1263*150b7e42Smiod	only Java case.  Change caller.
1264*150b7e42Smiod	(d_init_info): Change return type to void.  Change all callers.
1265*150b7e42Smiod	Initialize send, did_subs, and expansion fields.  Do not
1266*150b7e42Smiod	initialize comps and subs fields.
1267*150b7e42Smiod	(d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
1268*150b7e42Smiod	arrays on stack.  Make an estimate of the length of the demangled
1269*150b7e42Smiod	name.  Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
1270*150b7e42Smiod	(is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
1271*150b7e42Smiod	subs arrays on stack.
1272*150b7e42Smiod
1273*150b7e42Smiod2003-12-20  Ian Lance Taylor  <ian@wasabisystems.com>
1274*150b7e42Smiod
1275*150b7e42Smiod	* cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
1276*150b7e42Smiod	after the identifier.
1277*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
1278*150b7e42Smiod
1279*150b7e42Smiod2003-12-19  Ian Lance Taylor  <ian@wasabisystems.com>
1280*150b7e42Smiod
1281*150b7e42Smiod	Fix for PR c++/13447:
1282*150b7e42Smiod	* cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
1283*150b7e42Smiod	(d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
1284*150b7e42Smiod	(is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
1285*150b7e42Smiod	D_COMP_QUAL_NAME.
1286*150b7e42Smiod	(is_ctor_or_dtor): Likewise.
1287*150b7e42Smiod	(d_local_name): Use D_COMP_LOCAL_NAME rather than
1288*150b7e42Smiod	D_COMP_QUAL_NAME.
1289*150b7e42Smiod	(d_print_comp) [D_COMP_LOCAL_NAME]: New.
1290*150b7e42Smiod	(d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
1291*150b7e42Smiod	D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
1292*150b7e42Smiod	(d_print_mod_list): Handle D_COMP_LOCAL_NAME.
1293*150b7e42Smiod	* testsuite/demangle-expected: Add two test cases.
1294*150b7e42Smiod
1295*150b7e42Smiod	* cp-demangle.c (d_print_function_type): Clear the global modifier
1296*150b7e42Smiod	list when printing the modifiers, not just when printing the
1297*150b7e42Smiod	function parameters.
1298*150b7e42Smiod	* testsuite/demangle-expected: Add two test cases.
1299*150b7e42Smiod
1300*150b7e42Smiod2003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
1301*150b7e42Smiod
1302*150b7e42Smiod	* cp-demangle.c (d_print_function_type): Print the function
1303*150b7e42Smiod	parameters with no modifiers.
1304*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
1305*150b7e42Smiod
1306*150b7e42Smiod	* cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
1307*150b7e42Smiod	expect that we've read the entire string.
1308*150b7e42Smiod	(is_ctor_or_dtor): Don't expect that we've read the entire
1309*150b7e42Smiod	string--reverse patch of 2003-11-29.
1310*150b7e42Smiod
1311*150b7e42Smiod2003-12-15  Brendan Kehoe  <brendan@zen.org>
1312*150b7e42Smiod
1313*150b7e42Smiod	* libiberty/Makefile.in (floatformat.o): Add dependency on
1314*150b7e42Smiod	config.h to accompany change of 2003-12-03.
1315*150b7e42Smiod
1316*150b7e42Smiod2003-12-15  Ian Lance Taylor  <ian@wasabisystems.com>
1317*150b7e42Smiod
1318*150b7e42Smiod	Fix handling of constructor/destructor of standard substitution:
1319*150b7e42Smiod	* cp-demangle.c (struct d_standard_sub_info): Define.
1320*150b7e42Smiod	(d_substitution): Add prefix argument.  Change all callers.
1321*150b7e42Smiod	Rework handling of standard substitutions to print full name when
1322*150b7e42Smiod	qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
1323*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
1324*150b7e42Smiod
1325*150b7e42Smiod	Fix handling of negative literal constants:
1326*150b7e42Smiod	* cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
1327*150b7e42Smiod	(d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
1328*150b7e42Smiod	(d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
1329*150b7e42Smiod	(d_print_comp): Handle D_COMP_LITERAL_NEG.
1330*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
1331*150b7e42Smiod
1332*150b7e42Smiod2003-12-04  Ian Lance Taylor  <ian@wasabisystems.com>
1333*150b7e42Smiod
1334*150b7e42Smiod	* cp-demangle.c (IS_UPPER, IS_LOWER): Define.
1335*150b7e42Smiod	(d_last_char): Define new macro.
1336*150b7e42Smiod	(d_make_name): Reject an empty name.
1337*150b7e42Smiod	(d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
1338*150b7e42Smiod	(d_substitution, d_print_identifier): Likewise.
1339*150b7e42Smiod	(d_print_comp) [D_COMP_OPERATOR]: Likewise.
1340*150b7e42Smiod	(d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
1341*150b7e42Smiod	(d_print_mod) Use new d_last_char macro.
1342*150b7e42Smiod	(d_print_cast): Use new d_last_char macro.
1343*150b7e42Smiod	(is_ctor_or_dtor): Don't leak memory.
1344*150b7e42Smiod
1345*150b7e42Smiod	Fix handling of member function modifiers:
1346*150b7e42Smiod	* cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
1347*150b7e42Smiod	D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
1348*150b7e42Smiod	(d_dump): Dump new d_comp_type values.
1349*150b7e42Smiod	(d_make_comp): Accept new d_comp_type values.
1350*150b7e42Smiod	(has_return_type): Only accept _THIS variants of qualifiers.
1351*150b7e42Smiod	(d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
1352*150b7e42Smiod	qualifiers.
1353*150b7e42Smiod	(d_cv_qualifiers): Add member_fn parameter.  Change all callers.
1354*150b7e42Smiod	(d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
1355*150b7e42Smiod	qualifiers and printing them at the end, add _THIS qualifiers to
1356*150b7e42Smiod	the modifier list.
1357*150b7e42Smiod	(d_print_comp) [D_COMP_*_THIS]: New cases.
1358*150b7e42Smiod	(d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
1359*150b7e42Smiod	qualifiers.
1360*150b7e42Smiod	(d_print_mod_list): Add suffix parameter.  Change all callers.
1361*150b7e42Smiod	Keep walking the list even if the current modifier has been
1362*150b7e42Smiod	printed.
1363*150b7e42Smiod	(d_print_mod): Handle new _THIS qualifiers.
1364*150b7e42Smiod	(d_print_function_type): Handle new _THIS qualifiers when deciding
1365*150b7e42Smiod	whether to print a parenthesis.  Put a space before the
1366*150b7e42Smiod	parenthesis in some cases.  Call d_print_mod_list again at the
1367*150b7e42Smiod	end, passing suffix as 1.
1368*150b7e42Smiod	(is_ctor_or_dtor): Look for new _THIS qualifiers.
1369*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
1370*150b7e42Smiod
1371*150b7e42Smiod	Fix for PR gcc/13304:
1372*150b7e42Smiod	* cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
1373*150b7e42Smiod	before the '<' is itself a '<', insert a space.
1374*150b7e42Smiod	(d_print_cast): Likewise.
1375*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
1376*150b7e42Smiod
1377*150b7e42Smiod	Fix for PR gcc/13244:
1378*150b7e42Smiod	* cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
1379*150b7e42Smiod	which uses the '>' operator in an extra layer of parens.
1380*150b7e42Smiod	* testsuite/demangle-expected: Add test case.
1381*150b7e42Smiod
1382*150b7e42Smiod2003-12-03  Ian Lance Taylor  <ian@wasabisystems.com>
1383*150b7e42Smiod
1384*150b7e42Smiod	* floatformat.c: Include "config.h" and <string.h> if available.
1385*150b7e42Smiod	(INFINITY, NAN): Define if not defined by <math.h>.
1386*150b7e42Smiod	(floatformat_to_double): Handle NaN, infinity, and denormalized
1387*150b7e42Smiod	numbers.
1388*150b7e42Smiod	(floatformat_from_double): Likewise.
1389*150b7e42Smiod	(ieee_test): In debugging code, use little endian rather than big
1390*150b7e42Smiod	endian.  Correct tests to handle NaN and to check correct sign of
1391*150b7e42Smiod	zero.  Omit m68k extended test.
1392*150b7e42Smiod	(main): Add more debugging cases.
1393*150b7e42Smiod
1394*150b7e42Smiod2003-11-29  Ian Lance Taylor  <ian@wasabisystems.com>
1395*150b7e42Smiod
1396*150b7e42Smiod	* cp-demangle.c (d_demangle): Only return success if we consumed
1397*150b7e42Smiod	the entire demangled string.
1398*150b7e42Smiod	(is_ctor_or_dtor): Likewise.
1399*150b7e42Smiod
1400*150b7e42Smiod	* testsuite/demangle-expected: Revert one part of 2003-06-26 patch
1401*150b7e42Smiod	to restore expected result of EDG test case to original expected
1402*150b7e42Smiod	result.
1403*150b7e42Smiod
1404*150b7e42Smiod2003-11-26  Ian Lance Taylor  <ian@wasabisystems.com>
1405*150b7e42Smiod
1406*150b7e42Smiod	* cp-demangle.c (struct d_print_mod): Add templates field.
1407*150b7e42Smiod	(d_make_builtin_type): Check for NULL type.
1408*150b7e42Smiod	(d_make_extended_operator): Check for NULL name.
1409*150b7e42Smiod	(d_make_ctor, d_make_dtor): Likewise.
1410*150b7e42Smiod	(d_mangled_name): Add top_level parameter.  Change all callers.
1411*150b7e42Smiod	(d_encoding): If DMGL_PARAMS is not set, strip off initial
1412*150b7e42Smiod	CV-qualifiers.
1413*150b7e42Smiod	(d_type): Check some return values we rely on.
1414*150b7e42Smiod	(d_bare_function_type, d_array_type): Likewise.
1415*150b7e42Smiod	(d_pointer_to_member_type, d_template_args): Likewise.
1416*150b7e42Smiod	(d_add_substitution): Fail if argument is NULL.
1417*150b7e42Smiod	(d_print_resize): Check whether buf is NULL.
1418*150b7e42Smiod	(d_print_comp): Save current templates list with each modifier.
1419*150b7e42Smiod	Don't pass the modifier list down when printing a template.
1420*150b7e42Smiod	(d_print_cast): Don't pass the modifier list down when printing a
1421*150b7e42Smiod	template.
1422*150b7e42Smiod	(d_print_mod_list): Temporarily set templates list while printing
1423*150b7e42Smiod	a modifier.
1424*150b7e42Smiod	(d_print_mod): Check that buf is not NULL before using it.
1425*150b7e42Smiod	(d_print_function_type): Print parens if there is no modifier.
1426*150b7e42Smiod	(d_init_info): Permit as many substitutions as there are
1427*150b7e42Smiod	characters in the mangled name.
1428*150b7e42Smiod	* testsuite/demangle-expected: Add two new test cases.
1429*150b7e42Smiod
1430*150b7e42Smiod2003-11-25  Ian Lance Taylor  <ian@wasabisystems.com>
1431*150b7e42Smiod
1432*150b7e42Smiod	* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
1433*150b7e42Smiod	d_demangle.
1434*150b7e42Smiod
1435*150b7e42Smiod2003-11-22  Ian Lance Taylor  <ian@wasabisystems.com>
1436*150b7e42Smiod
1437*150b7e42Smiod	* cp-demangle.c (d_encoding): Add top_level parameter.  Change all
1438*150b7e42Smiod	callers.
1439*150b7e42Smiod	(print_usage): Display new -p option.
1440*150b7e42Smiod	(long_options): Add --no-params.
1441*150b7e42Smiod	(main): Accept and handle -p.
1442*150b7e42Smiod
1443*150b7e42Smiod2003-11-21  Ian Lance Taylor  <ian@wasabisystems.com>
1444*150b7e42Smiod
1445*150b7e42Smiod	* cp-demangle.c (has_return_type): Skip qualifiers when checking
1446*150b7e42Smiod	whether we have a template.
1447*150b7e42Smiod	* testsuite/demangle-expected: Add four new tests.
1448*150b7e42Smiod
1449*150b7e42Smiod2003-11-20  Ian Lance Taylor  <ian@wasabisystems.com>
1450*150b7e42Smiod
1451*150b7e42Smiod	* testsuite/demangle-expected: Minor changes to match output of
1452*150b7e42Smiod	new demangler: adjust whitespace in four tests, and change order
1453*150b7e42Smiod	of qualifiers in one test.
1454*150b7e42Smiod
1455*150b7e42Smiod	* cp-demangle.c: Complete rewrite.
1456*150b7e42Smiod
1457*150b7e42Smiod2003-11-19  Mark Mitchell  <mark@codesourcery.com>
1458*150b7e42Smiod
1459*150b7e42Smiod	* cp-demangle.c (demangle_type): Correct thinko in substitution
1460*150b7e42Smiod	processing.
1461*150b7e42Smiod
1462*150b7e42Smiod2003-11-18  Ian Lance Taylor  <ian@wasabisystems.com>
1463*150b7e42Smiod
1464*150b7e42Smiod	* cp-demangle.c (demangle_operator_name): Remove space before
1465*150b7e42Smiod	"sizeof".
1466*150b7e42Smiod	(demangle_type_ptr): Put qualifiers in the right place.  Handle
1467*150b7e42Smiod	qualifiers in pointer to member specially.
1468*150b7e42Smiod	(demangle_type): Handle qualifiers for pointer or reference
1469*150b7e42Smiod	specially.  Handle function type.
1470*150b7e42Smiod	(demangle_local_name): Save and restore caret around demangling of
1471*150b7e42Smiod	initial encoding.
1472*150b7e42Smiod
1473*150b7e42Smiod	* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
1474*150b7e42Smiod	cplus_demangle.
1475*150b7e42Smiod
1476*150b7e42Smiod	* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
1477*150b7e42Smiod
1478*150b7e42Smiod2003-10-31  Andreas Jaeger  <aj@suse.de>
1479*150b7e42Smiod
1480*150b7e42Smiod	* floatformat.c (floatformat_always_valid): Add unused attribute.
1481*150b7e42Smiod
1482*150b7e42Smiod2003-10-30  Josef Zlomek  <zlomekj@suse.cz>
1483*150b7e42Smiod
1484*150b7e42Smiod	Jan Hubicka <jh@suse.cz>
1485*150b7e42Smiod	* vasprintf.c (int_vasprintf): Pass va_list by value.
1486*150b7e42Smiod	Use va_copy for copying va_list.
1487*150b7e42Smiod	(vasprintf): Pass va_list by value.
1488*150b7e42Smiod
1489*150b7e42Smiod2003-10-30  Josef Zlomek  <zlomekj@suse.cz>
1490*150b7e42Smiod
1491*150b7e42Smiod	* hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
1492*150b7e42Smiod	instead of increasing n_elements when inserting to deleted slot.
1493*150b7e42Smiod
1494*150b7e42Smiod2003-10-20  J. Brobecker  <brobecker@gnat.com>
1495*150b7e42Smiod
1496*150b7e42Smiod	* cplus-dem.c (demangle_template): Register a new Btype only
1497*150b7e42Smiod	when needed.
1498*150b7e42Smiod	* testsuite/demangle-expected: Add a new test.
1499*150b7e42Smiod
1500*150b7e42Smiod2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1501*150b7e42Smiod
1502*150b7e42Smiod	* testsuite/demangle-expected: Update the expected output of
1503*150b7e42Smiod	_GLOBAL__I__Z2fnv.
1504*150b7e42Smiod
1505*150b7e42Smiod2003-10-02  Daniel Jacobowitz  <drow@mvista.com>
1506*150b7e42Smiod
1507*150b7e42Smiod	* strerror.c: Revert last change.  Declare static sys_nerr
1508*150b7e42Smiod	and sys_errlist using different names.
1509*150b7e42Smiod
1510*150b7e42Smiod2003-10-01  Daniel Jacobowitz  <drow@mvista.com>
1511*150b7e42Smiod
1512*150b7e42Smiod	* strerror.c: Don't provide or reference sys_errlist if
1513*150b7e42Smiod	strerror is available.
1514*150b7e42Smiod
1515*150b7e42Smiod2003-10-01  H.J. Lu  <hongjiu.lu@intel.com>
1516*150b7e42Smiod
1517*150b7e42Smiod	* configure.in: Check if $MAKEINFO is missing.
1518*150b7e42Smiod	* configure: Regenerated.
1519*150b7e42Smiod
1520*150b7e42Smiod2003-09-24  Daniel Jacobowitz  <drow@mvista.com>
1521*150b7e42Smiod
1522*150b7e42Smiod	* configure.in: Use AC_PROG_CPP_WERROR.
1523*150b7e42Smiod	* configure: Regenerated.
1524*150b7e42Smiod
1525*150b7e42Smiod2003-09-22  Andrew Cagney  <cagney@redhat.com>
1526*150b7e42Smiod
1527*150b7e42Smiod	* floatformat.c (floatformat_i387_ext_is_valid): New function.
1528*150b7e42Smiod	(floatformat_always_valid): New function.
1529*150b7e42Smiod	(floatformat_i387_ext): Initialize new "is_valid" field to
1530*150b7e42Smiod	"floatformat_i387_ext_is_valid".
1531*150b7e42Smiod	(floatformat_ieee_single_little): Initialize "is_valid" field to
1532*150b7e42Smiod	floatformat_always_valid.
1533*150b7e42Smiod	(floatformat_ieee_double_big): Ditto.
1534*150b7e42Smiod	(floatformat_ieee_double_little): Ditto.
1535*150b7e42Smiod	(floatformat_ieee_double_little): Ditto.
1536*150b7e42Smiod	(floatformat_ieee_double_littlebyte_bigword): Ditto.
1537*150b7e42Smiod	(floatformat_i960_ext): Ditto.
1538*150b7e42Smiod	(floatformat_m88110_ext): Ditto.
1539*150b7e42Smiod	(floatformat_m88110_harris_ext): Ditto.
1540*150b7e42Smiod	(floatformat_arm_ext_big): Ditto.
1541*150b7e42Smiod	(floatformat_arm_ext_littlebyte_bigword): Ditto.
1542*150b7e42Smiod	(floatformat_ia64_spill_big): Ditto.
1543*150b7e42Smiod	(floatformat_ia64_spill_little): Ditto.
1544*150b7e42Smiod	(floatformat_ia64_quad_big): Ditto.
1545*150b7e42Smiod	(floatformat_ia64_quad_little): Ditto.
1546*150b7e42Smiod	(floatformat_ia64_quad_little): Ditto.
1547*150b7e42Smiod	(floatformat_is_valid): Call "is_valid".
1548*150b7e42Smiod
1549*150b7e42Smiod2003-09-15  Andrew Cagney  <cagney@redhat.com>
1550*150b7e42Smiod
1551*150b7e42Smiod	* floatformat.c (get_field): Make "data" constant.
1552*150b7e42Smiod	(floatformat_is_valid, floatformat_to_double): Make "from"
1553*150b7e42Smiod	constant, fix casts.
1554*150b7e42Smiod	(floatformat_from_double): Make "from" constant.
1555*150b7e42Smiod
1556*150b7e42Smiod2003-09-15  Daniel Jacobowitz  <drow@mvista.com>
1557*150b7e42Smiod
1558*150b7e42Smiod	* floatformat.c (floatformat_is_valid): New function.
1559*150b7e42Smiod	(get_field, put_field): Correct comments.
1560*150b7e42Smiod
1561*150b7e42Smiod2003-09-06  Josef Zlomek  <zlomekj@suse.cz>
1562*150b7e42Smiod
1563*150b7e42Smiod	* fibheap.c (fibheap_replace_key_data): Change type of OKEY to
1564*150b7e42Smiod	FIBHEAPKEY_T.
1565*150b7e42Smiod
1566*150b7e42Smiod2003-09-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1567*150b7e42Smiod
1568*150b7e42Smiod	PR bootstrap/12100
1569*150b7e42Smiod	* aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
1570*150b7e42Smiod	* configure: Rebuilt.
1571*150b7e42Smiod
1572*150b7e42Smiod2003-08-27  Daniel Jacobowitz  <drow@mvista.com>
1573*150b7e42Smiod
1574*150b7e42Smiod	* aclocal.m4: Include acx.m4 and no-executables.m4.
1575*150b7e42Smiod	(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
1576*150b7e42Smiod	(LIB_AC_PROG_CC): Remove.
1577*150b7e42Smiod	* configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
1578*150b7e42Smiod	Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
1579*150b7e42Smiod	LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
1580*150b7e42Smiod	performing link tests.
1581*150b7e42Smiod	* configure: Regenerated.
1582*150b7e42Smiod
1583*150b7e42Smiod2003-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>
1584*150b7e42Smiod
1585*150b7e42Smiod	* cp-demangle.c: Clarify what package(s) this is part of.
1586*150b7e42Smiod
1587*150b7e42Smiod2003-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
1588*150b7e42Smiod
1589*150b7e42Smiod	* pex-win32.c (pexecute): Mark parameters this_pname and
1590*150b7e42Smiod	temp_base as unused. Remove unused variables retries,
1591*150b7e42Smiod	sleep_interval. Initialize org_stdin, org_stdout.
1592*150b7e42Smiod	(pwait): Mark parameter flags as unused.
1593*150b7e42Smiod
1594*150b7e42Smiod2003-07-02  Danny Smith  <dannysmith@users.sourceforge.net>
1595*150b7e42Smiod
1596*150b7e42Smiod	* pex-win32.c (fix_argv): Ensure that the executable pathname
1597*150b7e42Smiod	uses Win32 backslashes.
1598*150b7e42Smiod	(pexecute): Cast away constness when assigning *errmsg_arg.
1599*150b7e42Smiod
1600*150b7e42Smiod2003-06-26  H.J. Lu <hongjiu.lu@intel.com>
1601*150b7e42Smiod
1602*150b7e42Smiod	* testsuite/demangle-expected: Add more GNU V3 testcases.
1603*150b7e42Smiod
1604*150b7e42Smiod2003-06-22  Zack Weinberg  <zack@codesourcery.com>
1605*150b7e42Smiod
1606*150b7e42Smiod	* safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
1607*150b7e42Smiod	not HC_ASCII and HC_EBCDIC.
1608*150b7e42Smiod	Add documentation in form expected by gather-docs.
1609*150b7e42Smiod	* hex.c: Use HOST_CHARSET, not hand-coded check of character set.
1610*150b7e42Smiod	* Makefile.in, functions.texi: Regenerate.
1611*150b7e42Smiod
1612*150b7e42Smiod2003-06-21  Zack Weinberg  <zack@codesourcery.com>
1613*150b7e42Smiod
1614*150b7e42Smiod	* safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
1615*150b7e42Smiod	for charset determination.
1616*150b7e42Smiod
1617*150b7e42Smiod2003-06-19  Dara Hazeghi  <dhazeghi@yahoo.com>
1618*150b7e42Smiod
1619*150b7e42Smiod	* configure.in: Add check for malloc.h needed by
1620*150b7e42Smiod	m68k for function free().
1621*150b7e42Smiod	* configure: Regenerated.
1622*150b7e42Smiod	* config.in: Add HAVE_MALLOC_H.
1623*150b7e42Smiod	* hashtab.c: include malloc.h were available for
1624*150b7e42Smiod	free().
1625*150b7e42Smiod
1626*150b7e42Smiod2003-06-09  Albert Chin-A-Young  <china@thewrittenword.com>
1627*150b7e42Smiod
1628*150b7e42Smiod	PR bootstrap/10974
1629*150b7e42Smiod	* physmem.c: Update comment.
1630*150b7e42Smiod	* configure.in: Modify test for _system_configuration for older
1631*150b7e42Smiod	AIX systems.
1632*150b7e42Smiod
1633*150b7e42Smiod	* config.in, configure: Regenerated.
1634*150b7e42Smiod
1635*150b7e42Smiod2003-06-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1636*150b7e42Smiod
1637*150b7e42Smiod	PR other/10810
1638*150b7e42Smiod	* test-demangle.c (getline): Fix fence-post error.
1639*150b7e42Smiod
1640*150b7e42Smiod2003-06-03  Nick Clifton  <nickc@redhat.com>
1641*150b7e42Smiod
1642*150b7e42Smiod	* asprintf.c: Change comment to note that -1 is returned upon
1643*150b7e42Smiod	error.
1644*150b7e42Smiod	* vasprintf.c: Likewise.
1645*150b7e42Smiod	(vasprintf): Return -1 upon error.
1646*150b7e42Smiod	* functions.texi: Document changes to asprintf and vasprintf.
1647*150b7e42Smiod
1648*150b7e42Smiod2003-05-19  Kelley Cook  <kelleycook@wideopenwest.com>
1649*150b7e42Smiod
1650*150b7e42Smiod	* config.table: Accept i[345867]86 variant.
1651*150b7e42Smiod
1652*150b7e42Smiod2003-05-15  Jim Blandy  <jimb@redhat.com>
1653*150b7e42Smiod
1654*150b7e42Smiod	* hex.c (_hex_value): Make this unsigned.
1655*150b7e42Smiod	(hex_value): Update documentation for new return type.  hex_value
1656*150b7e42Smiod	now expands to an unsigned int expression, to avoid unexpected
1657*150b7e42Smiod	sign extension when we store it in a bfd_vma, which is larger than
1658*150b7e42Smiod	int on some platforms.
1659*150b7e42Smiod	* functions.texi: Regenerated.
1660*150b7e42Smiod
1661*150b7e42Smiod2003-05-07  Josef Zlomek  <zlomekj@suse.cz>
1662*150b7e42Smiod
1663*150b7e42Smiod	* splay-tree.c (splay_tree_predecessor): Fix comment.
1664*150b7e42Smiod	(splay_tree_successor): Fix comment.
1665*150b7e42Smiod
1666*150b7e42Smiod2003-05-07  Jason Merrill  <jason@redhat.com>
1667*150b7e42Smiod
1668*150b7e42Smiod	* hashtab.c (iterative_hash): New fn.
1669*150b7e42Smiod	* configure.in: Add AC_C_BIGENDIAN_CROSS.
1670*150b7e42Smiod	* aclocal.m4: Include accross.m4.
1671*150b7e42Smiod	* configure, config.in: Regenerate.
1672*150b7e42Smiod
1673*150b7e42Smiod2003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1674*150b7e42Smiod
1675*150b7e42Smiod	* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
1676*150b7e42Smiod	* configure: Regenerate.
1677*150b7e42Smiod
1678*150b7e42Smiod2003-05-03  Carlo Wood  <carlo@alinoe.com>
1679*150b7e42Smiod
1680*150b7e42Smiod	* cp-demangle.c: Fix typo in "char_traints" string-literal.
168125e200daSespie
1682707f648cSespie2003-04-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
168337c53322Sespie
1684707f648cSespie	* vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
1685707f648cSespie	(main): Test that we don't write too much data.
168637c53322Sespie
1687707f648cSespie2003-04-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
168837c53322Sespie
1689707f648cSespie	* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
1690707f648cSespie	vsnprintf.
1691707f648cSespie	* snprintf.c, vsnprintf.c: New files.
1692707f648cSespie	* Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
1693707f648cSespie	(CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
1694707f648cSespie	Regenerate dependencies.
169537c53322Sespie
1696707f648cSespie	* functions.texi, configure, config.in: Regenerated.
169737c53322Sespie
169837c53322Sespie2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
169937c53322Sespie
1700707f648cSespie	* mempcpy.c, stpcpy.c, stpncpy.c: New files.
1701707f648cSespie	* configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
1702707f648cSespie	and stpncpy.
1703707f648cSespie	* Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
1704707f648cSespie	(CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
1705707f648cSespie	Regenerate dependencies.
1706707f648cSespie
1707707f648cSespie	* functions.texi, configure, config.in: Regenerated.
1708707f648cSespie
1709707f648cSespie2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1710707f648cSespie
1711707f648cSespie	* argv.c: Fix comments.
1712707f648cSespie	* calloc.c: Don't unnecessarily include "libiberty.h".
1713707f648cSespie	(bzero): Add prototype.
1714707f648cSespie	* floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
1715707f648cSespie	* getcwd.c (getcwd): Use standard definition to avoid conflicts
1716707f648cSespie	with system headers.
1717707f648cSespie	* hashtab.c (htab_traverse): Delete unused variables.
1718707f648cSespie	* rename.c: Include "ansidecl.h".
1719707f648cSespie	(rename): Use standard definition to avoid conflicts with system
1720707f648cSespie	headers.
1721707f648cSespie	* strsignal.c: Rely on ANSI_PROTOTYPES.
1722707f648cSespie	* strstr.c: Check GNUC >= 2, not GNUC == 2.
1723707f648cSespie	* vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
1724707f648cSespie	* vprintf.c: Include "ansidecl.h" earlier, rely on
1725707f648cSespie	ANSI_PROTOTYPES.
172637c53322Sespie	* vsprintf.c: Include "ansidecl.h" earlier, rely on
172737c53322Sespie	ANSI_PROTOTYPES and possibly include <stdarg.h>.
172837c53322Sespie
1729707f648cSespie	* Makefile.in: Regenerate dependencies.
173037c53322Sespie
1731707f648cSespie2003-04-15  DJ Delorie  <dj@redhat.com>
173237c53322Sespie
1733707f648cSespie	* maint-tool (deps): Scan for headers in $srcdir also.
173437c53322Sespie
173537c53322Sespie2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
173637c53322Sespie
173737c53322Sespie	PR target/10338
173837c53322Sespie	PR bootstrap/10198
173937c53322Sespie	PR bootstrap/10140
174037c53322Sespie	* getopt.c (exchange, _getopt_initialize): Use mempcpy not
174137c53322Sespie	__mempcpy.
174237c53322Sespie	* regex.c (regerror): Likewise.
174337c53322Sespie
1744707f648cSespie2003-04-14  Roger Sayle  <roger@eyesopen.com>
1745707f648cSespie
1746707f648cSespie	* argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
1747707f648cSespie	* memchr.c: Likewise.
1748707f648cSespie	* strcasecmp.c: Likewise.
1749707f648cSespie	* strncasecmp.c: Likewise.
1750707f648cSespie	* strncmp.c: Likewise.
1751707f648cSespie	* xatexit.c: Likewise.
1752707f648cSespie	* xmalloc.c: Likewise.
1753707f648cSespie
1754707f648cSespie	* copysign.c: Use traditional function declaration instead of DEFUN.
1755707f648cSespie	* sigsetmask.c: Likewise.
1756707f648cSespie
1757707f648cSespie	* memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
1758707f648cSespie	* memset.c: Likewise.
1759707f648cSespie
1760707f648cSespie	* memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
1761707f648cSespie	* memmove.c: Likewise.
1762707f648cSespie
1763707f648cSespie2003-04-14  Roger Sayle  <roger@eyesopen.com>
1764707f648cSespie
1765707f648cSespie	* strdup.c (strdup): Tweak implementation to use memcpy.
1766707f648cSespie
176737c53322Sespie2003-04-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
176837c53322Sespie
176937c53322Sespie	* configure.in (HAVE_UINTPTR_T): Always define.
177037c53322Sespie	* configure: Regenerated.
177137c53322Sespie
177237c53322Sespie2003-03-23  Alexandre Oliva  <aoliva@redhat.com>
177337c53322Sespie
177437c53322Sespie	* Makefile.in (MULTIOSDIR): New macro.  Use $(CC) $(LIBCFLAGS)
177537c53322Sespie	instead of $$CC alone.
177637c53322Sespie	(install_to_tooldir): Use it.
177737c53322Sespie
1778707f648cSespie2003-17-03  Jan Hubicka  <jh@suse.cz>
1779707f648cSespie
1780707f648cSespie	* hashtab.c (htab_traverse_noresize): Break out from ...
1781707f648cSespie	* hashtab.c (htab_traverse): ... here.
1782707f648cSespie
1783707f648cSespie2003-12-03  Jan Hubicka  <jh@suse.cz>
1784707f648cSespie
1785707f648cSespie	* hashtab.c (htab_expand): Fix warning.
1786707f648cSespie
1787707f648cSespie	* hashtab.c (htab_expand): Compute the size of hashtable based
1788707f648cSespie	on the number of elements actually used.
1789707f648cSespie	(htab_traverse):  Call htab_expand when table is too empty.
1790707f648cSespie
1791707f648cSespie2003-03-11  Carlo Wood  <carlo@gnu.org>
1792707f648cSespie
1793707f648cSespie	* cplus-dem.c (demangle_integral_value): Correction to reflect
1794707f648cSespie	patch of 2002-01-10 in order to also make negative multi-digits
1795707f648cSespie	without leading underscore work.
1796707f648cSespie
179737c53322Sespie2003-03-03  Mark Mitchell  <mark@codesourcery.com>
179837c53322Sespie
179937c53322Sespie	* cplus-dem.c: Add license exception to copyright notice.
180037c53322Sespie
180137c53322Sespie2003-02-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
180237c53322Sespie
180337c53322Sespie	* physmem.c: Formatting changes from upstream.
180437c53322Sespie
180537c53322Sespie2003-02-24  Danny Smith  <dannysmith@users.source.forge.net>
180637c53322Sespie
180737c53322Sespie	* physmem.c (physmem_total): Add _WIN32 support.
180837c53322Sespie	(physmem_available): Likewise.
180937c53322Sespie
181037c53322Sespie2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
181137c53322Sespie
181237c53322Sespie	* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
181337c53322Sespie	GSI_PHYSMEM.
181437c53322Sespie	(physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
181537c53322Sespie
181637c53322Sespie2003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
181737c53322Sespie
181837c53322Sespie	* configure.in: Check for sys/systemcfg.h and
181937c53322Sespie	_system_configuration.
182037c53322Sespie	* physmem.c: Add support for AIX.  Tweek formatting as per
182137c53322Sespie	upstream coreutils beta.
182237c53322Sespie
182337c53322Sespie2003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
182437c53322Sespie	    Richard Earnshaw  <rearnsha@arm.com>
182537c53322Sespie	    Geoffrey Keating  <geoffk@apple.com>
182637c53322Sespie
182737c53322Sespie	* configure.in: Check for sys/sysctl.h and sysctl.
182837c53322Sespie	* physmem.c: Add support for *bsd and darwin.
182937c53322Sespie	* Makefile.in: Generate depedency for physmem.o.
183037c53322Sespie
183137c53322Sespie2003-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
183237c53322Sespie
183337c53322Sespie	* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
183437c53322Sespie	Tru64 UNIX.
183537c53322Sespie	(physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
183637c53322Sespie	Tru64 UNIX.
183737c53322Sespie
183837c53322Sespie	* configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
183937c53322Sespie	machine/hal_sysinfo.h, sys/table.h.
184037c53322Sespie	(checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
184137c53322Sespie	* configure, config.in: Regenerate.
184237c53322Sespie
184337c53322Sespie2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
184437c53322Sespie
184537c53322Sespie	* configure.in: Check for sys/sysmp.h and sysmp.
184637c53322Sespie	* physmem.c: Pull upstream copy, add support for irix6.
184737c53322Sespie
184837c53322Sespie	* config.in, configure: Regenerated.
184937c53322Sespie
185037c53322Sespie2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
185137c53322Sespie
185237c53322Sespie	* physmem.c (physmem_total, physmem_available): De-ANSI-fy.
185337c53322Sespie	* configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
185437c53322Sespie	pstat_getdynamic.
185537c53322Sespie
185637c53322Sespie2003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
185737c53322Sespie
185837c53322Sespie	* Makefile.in (CFILES): Add physmem.c.
185937c53322Sespie	(REQUIRED_OFILES): Add physmem.o.
186037c53322Sespie	* configure.in: Check for sys/pstat.h.
186137c53322Sespie	(checkfuncs): Add pstat_getstatic and pstat_getdynamic.
186237c53322Sespie	* physmem.c: New file, copied from textutils.
186337c53322Sespie
186437c53322Sespie	* config.in, configure: Regenerated.
186537c53322Sespie
1866707f648cSespie2003-02-20  Daniel Jacobowitz  <drow@mvista.com>
1867707f648cSespie
1868707f648cSespie	* Makefile.in (CFILES): Add lrealpath.c.
1869707f648cSespie	(REQUIRED_OFILES): Add lrealpath.o.
1870707f648cSespie	(lrealpath.o): Add rule.
1871707f648cSespie	* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
1872707f648cSespie	* configure.in: Add realpath and canonicalize_file_name to
1873707f648cSespie	checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
1874707f648cSespie	for canonicalize_file_name.
1875707f648cSespie	* lrealpath.c: New file.
1876707f648cSespie	* make-relative-prefix.c: Update documentation.
1877707f648cSespie	(make_relative_prefix): Simplify.  Use lbasename and lrealpath.
1878707f648cSespie	* config.in: Regenerated.
1879707f648cSespie	* configure: Regenerated.
1880707f648cSespie	* functions.texi: Regenerated.
1881707f648cSespie
1882707f648cSespie2003-02-20  jmc  <jmc@prioris.mini.pw.edu.pl>
1883707f648cSespie
1884707f648cSespie	* cplus_dem.c: Fix typo: intializes -> initializes.
1885707f648cSespie
188637c53322Sespie2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
188737c53322Sespie
188837c53322Sespie	* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
188937c53322Sespie	config.status.
189037c53322Sespie	* configure: Rebuilt.
189137c53322Sespie
1892707f648cSespie2003-02-13  Daniel Jacobowitz  <drow@mvista.com>
1893707f648cSespie
1894707f648cSespie	Fix PR c++/7612.
1895707f648cSespie	* cplus-dem.c (demangle_signature): Call string_delete.
1896707f648cSespie	Remove extra string_init.
1897707f648cSespie	(demangle_arm_hp_template): Call string_delete instead of
1898707f648cSespie	string_clear.  Add missing string_delete call.
1899707f648cSespie	(demangle_qualified): Add missing string_delete call.
1900707f648cSespie	(do_type): Remove unused variable btype.  Add missing string_delete
1901707f648cSespie	call.  Call string_delete instead of string_clear.
1902707f648cSespie	(demangle_fund_type): Move variable btype inside of the switch
1903707f648cSespie	statement.  Add missing string_delete call.
1904707f648cSespie	(do_arg): Call string_delete instead of string_clear.  Remove extra
1905707f648cSespie	string_init.
1906707f648cSespie	(demangle_nested_args): Free work->previous_argument.
1907707f648cSespie
190837c53322Sespie2003-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
190937c53322Sespie
191037c53322Sespie	* acconfig.h: New file.  Add uintptr_t.
191137c53322Sespie	* config.in: Regenerated.
191237c53322Sespie
191337c53322Sespie2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
191437c53322Sespie
191537c53322Sespie	* libiberty.texi: Update to GFDL 1.2.
191637c53322Sespie
1917707f648cSespie2003-01-30  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
191837c53322Sespie
191937c53322Sespie	* Makefile.in (libiberty_topdir): New subst.
192037c53322Sespie	(mkinstalldirs): Redefine in terms of the above.
192137c53322Sespie	* configure.in: AC_SUBST it.
192237c53322Sespie	* configure: Regenerate.
192337c53322Sespie
192437c53322Sespie2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
192537c53322Sespie
192637c53322Sespie	* Makefile.in (all-subdir, check-subdir, installcheck-subdir)
192737c53322Sespie	(info-subdir, install-info-subdir, clean-info-subdir)
192837c53322Sespie	(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
192937c53322Sespie	(clean-subdir, distclean-subdir, maintainer-clean-subdir):
193037c53322Sespie	Pass $(FLAGS_TO_PASS).
193137c53322Sespie
193237c53322Sespie2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
193337c53322Sespie
193437c53322Sespie	* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
193537c53322Sespie	/`$$CC -print-multi-os-directory`.
193637c53322Sespie
1937707f648cSespie2003-01-26  Daniel Jacobowitz  <drow@mvista.com>
193837c53322Sespie
1939707f648cSespie	* hashtab.c (htab_create_alloc_ex): New function.
1940707f648cSespie	(hatab_set_functions_ex): New function.
1941707f648cSespie	(htab_delete, htab_expand): Support alternate allocation functions.
1942707f648cSespie
1943707f648cSespie2003-01-24  Christopher Faylor  <cgf@redhat.com>
1944707f648cSespie
1945707f648cSespie	* configure.in: Remove special pex-cygwin consideration.
1946707f648cSespie	* configure: Regenerate.
1947707f648cSespie	* pex-cygwin.c: Remove.
1948707f648cSespie	* Makefile.in: Remove pex-cygwin.[co] lines.
1949707f648cSespie
1950707f648cSespie2003-01-24  Zack Weinberg  <zack@codesourcery.com>
1951707f648cSespie
1952707f648cSespie	* Makefile.in (CFILES): Add pex-*.c.
1953707f648cSespie	(REQUIRED_OFILES): Change pexecute.o to @pexecute@
1954707f648cSespie	(CONFIGURED_OFILES): Add pex-*.o.
1955707f648cSespie	(TEXIFILES): Add pexecute.txh.
1956707f648cSespie	(pexecute.o): Delete rule.
1957707f648cSespie	(pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
1958707f648cSespie	pex-unix.o, pex-win32.o): New rules.
1959707f648cSespie	* configure.in: Change AC_INIT argument to xmalloc.c.
1960707f648cSespie	Compute appropriate pexecute implementation and substitute it
1961707f648cSespie	as @pexecute@.
1962707f648cSespie
1963707f648cSespie	* pexecute.c: Split up into...
1964707f648cSespie	* pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
1965707f648cSespie	pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
1966707f648cSespie	new files.
1967707f648cSespie
1968707f648cSespie	* functions.texi: Regenerate.
1969707f648cSespie	* configure: Regenerate.
197037c53322Sespie
197137c53322Sespie2003-01-20  Josef Zlomek  <zlomekj@suse.cz>
197237c53322Sespie
197337c53322Sespie	* hashtab.c (htab_expand): Fix allocation of new entries.
197437c53322Sespie
1975707f648cSespie2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
1976707f648cSespie
1977707f648cSespie	* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1978707f648cSespie
1979707f648cSespie	* Makefile.in (install_to_libdir, install_to_tooldir): Add a
1980707f648cSespie	mkinstalldirs command.
1981707f648cSespie
198237c53322Sespie2002-12-04  Danny Smith  <dannysmith@users.sourceforge.net>
198337c53322Sespie
198437c53322Sespie	* make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
198537c53322Sespie	Define for hosts with HOST_EXECUTABLE_SUFFIX.
198637c53322Sespie
198737c53322Sespie2002-11-24  Nick Clifton  <nickc@redhat.com>
198837c53322Sespie
198937c53322Sespie	* make-relative-prefix.c (make_relative_prefix): Ensure return
199037c53322Sespie	string is empty before using strcat to construct it.
199137c53322Sespie
199237c53322Sespie2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
199337c53322Sespie
199437c53322Sespie	* Makefile.in: Add make-relative-prefix.c.
199537c53322Sespie	* make-relative-prefix.c: New file.
199637c53322Sespie	* functions.texi: Rebuilt.
199737c53322Sespie
199837c53322Sespie2002-11-16  Jakub Jelinek  <jakub@redhat.com>
199937c53322Sespie
200037c53322Sespie	* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
200137c53322Sespie	used with arguments in traditional C' warnings.
200237c53322Sespie
200337c53322Sespie2002-10-16  Jakub Jelinek  <jakub@redhat.com>
200437c53322Sespie
200537c53322Sespie	* config.table: Use mh-s390pic for s390x too.
200637c53322Sespie
200737c53322Sespie2002-10-06  Andreas Jaeger  <aj@suse.de>
200837c53322Sespie
200937c53322Sespie	* libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
201037c53322Sespie	variable and of strict-aliasing warning.
201137c53322Sespie	(grow_vect): Use char as first parameter.
201237c53322Sespie
201337c53322Sespie2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
201437c53322Sespie
201537c53322Sespie	* Makefile.in (all): Fix multilib parallel build.
201637c53322Sespie
201737c53322Sespie2002-09-19  John David Anglin  <dave@hiuly1.hia.nrc.ca>
201837c53322Sespie
201937c53322Sespie	* cp-demangle.c (demangling_new): Cast 0 to enum.
202037c53322Sespie	(demangle_char): Cast return of strdup to char *.
202137c53322Sespie	(is_gnu_v3_mangled_ctor): Cast 0 to enum.
202237c53322Sespie	(is_gnu_v3_mangled_dtor): Likewise.
202337c53322Sespie	* cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
202437c53322Sespie	(work_stuff_copy_to_from): Cast return of xmalloc to char **.
202537c53322Sespie	* fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
202637c53322Sespie	* md5.c (md5_process_bytes): Cast results back to const void *.
202737c53322Sespie	(md5_process_block): Add cast to const md5_uint32 *.
202837c53322Sespie	* regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
202937c53322Sespie	* safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
203037c53322Sespie	unsigned short.
203137c53322Sespie	* splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
203237c53322Sespie	to void *.
203337c53322Sespie	* vasprintf.c (int_vasprintf): Cast return of malloc to char *.
203437c53322Sespie
203537c53322Sespie2002-09-19  Nick Clifton  <nickc@redhat.com>
203637c53322Sespie
203737c53322Sespie	* README: Update email addresses for bugs and patches.
203837c53322Sespie
203937c53322Sespie2002-09-10  Mike Stump  <mrs@apple.com>
204037c53322Sespie
204137c53322Sespie	* splay-tree.c (splay_tree_successor): Fix comments.
204237c53322Sespie
204337c53322Sespie2002-09-11  Zack Weinberg  <zack@codesourcery.com>
204437c53322Sespie
204537c53322Sespie	* cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
204637c53322Sespie	* testsuite/Makefile.in: Adjust for test-demangle.
204737c53322Sespie	* testsuite/regress-demangle: Deleted.
204837c53322Sespie	* testsuite/test-demangle.c: New file.
204937c53322Sespie	* testsuite/demangle-expected: Change \$ to $ throughout, now that
205037c53322Sespie	this file is not being read by a shell script.
205137c53322Sespie
205237c53322Sespie2002-09-05  Roger Sayle  <roger@eyesopen.com>
205337c53322Sespie
205437c53322Sespie	* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
205537c53322Sespie
205637c53322Sespie2002-08-07  DJ Delorie  <dj@redhat.com>
205737c53322Sespie
205837c53322Sespie	* regex.c (re_error_msgid): Just use a simple array of strings.
205937c53322Sespie	(re_compile_pattern): Compensate.
206037c53322Sespie	(re_comp): Likewise.
206137c53322Sespie	(re_comp): Likewise.
206237c53322Sespie	(regerror): Likewise.
206337c53322Sespie
206437c53322Sespie2002-07-29  Neil Booth  <neil@daikokuya.co.uk>
206537c53322Sespie
206637c53322Sespie	* cplus-dem.c (PREPEND_BLANK): Remove.
206737c53322Sespie
206837c53322Sespie2002-07-10  Jason Merrill  <jason@redhat.com>
206937c53322Sespie
207037c53322Sespie	* cp-demangle.c (demangle_identifier): Support extended Unicode
207137c53322Sespie	characters.
207237c53322Sespie
207337c53322Sespie2002-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
207437c53322Sespie
207537c53322Sespie	* cp-demangle.c (demangle_v3_with_details): Wrap in
207637c53322Sespie	!defined IN_GLIBCPP_V3.
207737c53322Sespie
207837c53322Sespie2002-07-01  Mark Mitchell  <mark@codesourcery.com>
207937c53322Sespie
208037c53322Sespie	* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
208137c53322Sespie	Set it for the "st" operator.
208237c53322Sespie	(demangle_expression): Handle expressions with types as arguments.
208337c53322Sespie
208437c53322Sespie2002-06-30  Douglas Rupp  <rupp@gnat.com>
208537c53322Sespie
208637c53322Sespie	* configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
208737c53322Sespie	* Makefile.in (OUTPUT_OPTION): Use.
208837c53322Sespie
208937c53322Sespie2002-06-22  Peter Breitenlohner <peb@mppmu.mpg.de>
209037c53322Sespie
209137c53322Sespie	* Makefile.in (install_to_libdir): Add $(DESTDIR).
209237c53322Sespie	(install_to_tooldir): Likewise.
209337c53322Sespie
209437c53322Sespie2002-06-17  Douglas Rupp  <rupp@gnat.com>
209537c53322Sespie
209637c53322Sespie	* lbasename.c: Add 2002 to copyright.
209737c53322Sespie	(IS_DIR_SEPARATOR): Remove VMS junk.
209837c53322Sespie
209937c53322Sespie2002-06-05  Geoffrey Keating  <geoffk@redhat.com>
210037c53322Sespie
210137c53322Sespie	* hashtab.c (htab_create): New stub function for backward
210237c53322Sespie	compatibility.
210337c53322Sespie	(htab_try_create): Likewise.
210437c53322Sespie
210537c53322Sespie2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
210637c53322Sespie
210737c53322Sespie	* hashtab.c (htab_create): Delete.
210837c53322Sespie	(htab_try_create): Delete.
210937c53322Sespie	(htab_create_alloc): New.
211037c53322Sespie	(htab_delete): Support user-specified memory allocation.
211137c53322Sespie	(htab_expand): Likewise.
211237c53322Sespie
211337c53322Sespie2002-05-22  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
211437c53322Sespie
211537c53322Sespie	* configure.in: Fix typo in the code checking for sys_errlist.
211637c53322Sespie	* configure: Regenerated.
211737c53322Sespie
211837c53322Sespie2002-05-13  Andreas Schwab  <schwab@suse.de>
211937c53322Sespie
212037c53322Sespie	* config.table: Use mh-x86pic also for x86-64.
212137c53322Sespie
212237c53322Sespie2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
212337c53322Sespie
212437c53322Sespie	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
212537c53322Sespie	script entry, and set LD to it when configuring multilibs.
212637c53322Sespie	* configure: Rebuilt.
212737c53322Sespie
212837c53322Sespie2002-05-07  Mark Mitchell  <mark@codesourcery.com>
212937c53322Sespie
213037c53322Sespie	* configure.in (AC_TYPE_PID_T): Use it.
213137c53322Sespie	* configure: Regenerated.
213237c53322Sespie	* getruntime.c: Include <sys/types.h>.
213337c53322Sespie	* waitpid.c: Likewise.  Use pid_t, not int, as the type of "pid".
213437c53322Sespie
213537c53322Sespie2002-04-09  Richard Henderson  <rth@redhat.com>
213637c53322Sespie
213737c53322Sespie	* hashtab.c (higher_prime_number): Use 7 as minimum.
213837c53322Sespie	(find_empty_slot_for_expand): Don't compute hash2 unless needed.
213937c53322Sespie	(htab_find_slot_with_hash): Likewise.
214037c53322Sespie
214137c53322Sespie2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
214237c53322Sespie
214337c53322Sespie	* cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
214437c53322Sespie	(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
214537c53322Sespie	not compile if IN_GLIBCPP_V3 defined.
214637c53322Sespie	* dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.
214737c53322Sespie
214837c53322Sespie2002-03-30  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
214937c53322Sespie
215037c53322Sespie	* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
215137c53322Sespie	if it is NULL.
215237c53322Sespie
215337c53322Sespie2002-03-27  DJ Delorie  <dj@redhat.com>
215437c53322Sespie
215537c53322Sespie	* hex.c: Add documentation.
215637c53322Sespie	(_hex_value): Provide non-ASCII empty table.
215737c53322Sespie	(hex_init): Initialize the non-ASCII table.
215837c53322Sespie	* functions.texi: Regenerate.
215937c53322Sespie
216037c53322Sespie2002-03-27  Mark Mitchell  <mark@codesourcery.com>
216137c53322Sespie
216237c53322Sespie	* dyn-string.c: Add libgcc exception to copyright notice.
216337c53322Sespie
216437c53322Sespie2002-03-26  H.J. Lu  (hjl@gnu.org)
216537c53322Sespie
216637c53322Sespie	* config.table: Support --with-build-subdir.
216737c53322Sespie	* configure.in: Likewise.
216837c53322Sespie	* configure: Rebuild.
216937c53322Sespie
217037c53322Sespie2002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>
217137c53322Sespie
217237c53322Sespie	* strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
217337c53322Sespie	seen.
217437c53322Sespie
217537c53322Sespie2002-03-12  Mark Mitchell  <mark@codesourcery.com>
217637c53322Sespie
217737c53322Sespie	* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
217837c53322Sespie	notice.
217937c53322Sespie
218037c53322Sespie2002-03-11  Douglas B Rupp  <rupp@gnat.com>
218137c53322Sespie
218237c53322Sespie	* xatexit.c [VMS]: Include stdlib.h and unixlib.h.
218337c53322Sespie
218437c53322Sespie2002-03-06  Jim Blandy  <jimb@redhat.com>
218537c53322Sespie
218637c53322Sespie	* splay-tree.c (splay_tree_xmalloc_allocate,
218737c53322Sespie	splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
218837c53322Sespie	prototyped definitions.  Mark `data' arguments as unused.
218937c53322Sespie
219037c53322Sespie2002-03-06  Andrew Cagney  <ac131313@redhat.com>
219137c53322Sespie
219237c53322Sespie	* floatformat.c (floatformat_arm_ext_big): Delete definition.
219337c53322Sespie
219437c53322Sespie2002-03-04  Phil Edwards  <pme@gcc.gnu.org>
219537c53322Sespie
219637c53322Sespie	* configure.in:  Add --enable-install-libiberty option.
219737c53322Sespie	* Makefile.in (INSTALLED_HEADERS):  New variable.
219837c53322Sespie	(install_to_libdir):  Possibly also copy headers.
219937c53322Sespie	* configure:  Regenerated.
220037c53322Sespie
220137c53322Sespie2002-03-04  Neil Booth  <neil@daikokuya.demon.co.uk>
220237c53322Sespie
220337c53322Sespie	* xmalloc.c (xmalloc_fail): Clarify error message further.
220437c53322Sespie
220537c53322Sespie2002-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
220637c53322Sespie
220737c53322Sespie	* xmalloc.c (xmalloc_fail): Clarify error message.
220837c53322Sespie
220937c53322Sespie2002-02-22  Jim Blandy  <jimb@redhat.com>
221037c53322Sespie
221137c53322Sespie	* splay-tree.c (splay_tree_xmalloc_allocate,
221237c53322Sespie	splay_tree_xmalloc_deallocate): New functions.
221337c53322Sespie	(splay_tree_new): Call splay_tree_new_with_allocator, passing the
221437c53322Sespie	above functions and a dummy data pointer.
221537c53322Sespie	(splay_tree_new_with_allocator): New function.
221637c53322Sespie	(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
221737c53322Sespie	splay_tree_remove): Use the splay tree's allocation and
221837c53322Sespie	deallocation functions.
221937c53322Sespie
222037c53322Sespie2002-02-19  Scott Snyder  <snyder@fnal.gov>
222137c53322Sespie
222237c53322Sespie	* testsuite/demangle-expected: Add test case for infinite loop in
222337c53322Sespie	demangler.
222437c53322Sespie	* cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
222537c53322Sespie	if do_type() doesn't make any progress --- prevents an infinite
222637c53322Sespie	loop.
222737c53322Sespie
222837c53322Sespie2002-02-18  Carlo Wood  <carlo@gnu.org>
222937c53322Sespie
223037c53322Sespie	PR c++/5390
223137c53322Sespie	* cplus-dem.c (demangle_integral_value): Accept multi-digit
223237c53322Sespie	numbers that do not start with an underscore; This is needed
223337c53322Sespie	for integer template parameters. This doesn't break anything
223437c53322Sespie	because multi-digit numbers are never followed by a digit.
223537c53322Sespie	* testsuite/demangle-expected: Corrected all mangled test
223637c53322Sespie	cases with multi-digit template parameters: g++ 2.95.x does
223737c53322Sespie	not generate underscores around these parameters.
223837c53322Sespie
223937c53322Sespie2002-02-05  Jason Merrill  <jason@redhat.com>
224037c53322Sespie
224137c53322Sespie	* cplus-dem.c (flags): Add DMGL_VERBOSE
224237c53322Sespie	(cplus_demangle_v3_p): Remove.
224337c53322Sespie	(demangle_it): Add DMGL_TYPES to passed flags.
224437c53322Sespie	* cp-demangle.c (cplus_demangle_v3_all): Remove.
224537c53322Sespie	(cplus_demangle_v3_type): Remove.
224637c53322Sespie	(cplus_demangle_v3): Add options parm.
224737c53322Sespie
224837c53322Sespie2002-02-02  H.J. Lu  (hjl@gnu.org)
224937c53322Sespie
225037c53322Sespie	* cp-demangle.c (cp_demangle_type): Do not protect with
225137c53322Sespie	IN_LIBGCC2.
225237c53322Sespie	(cplus_demangle_v3_all): New.
225337c53322Sespie	(cplus_demangle_v3): Call cplus_demangle_v3_all.
225437c53322Sespie	(cplus_demangle_v3_type): Call cplus_demangle_v3_all.
225537c53322Sespie
225637c53322Sespie	* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
225737c53322Sespie	Initialized to cplus_demangle_v3.
225837c53322Sespie	(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
225937c53322Sespie	of cplus_demangle_v3.
226037c53322Sespie	(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
226137c53322Sespie	command line symbol.
226237c53322Sespie
226337c53322Sespie	* testsuite/regress-demangle: Pass the mangled name at the
226437c53322Sespie	command line.
226537c53322Sespie
226637c53322Sespie2002-02-01  H.J. Lu  <hjl@gnu.org>
226737c53322Sespie
226837c53322Sespie	* cp-demangle.c (cp_demangle_type): Call demangling_new with
226937c53322Sespie	DMGL_GNU_V3.
227037c53322Sespie
227137c53322Sespie2002-01-31  Phil Edwards  <pme@gcc.gnu.org>
227237c53322Sespie
227337c53322Sespie	* cp-demangle.c:  Revert yesterday's change.
227437c53322Sespie
227537c53322Sespie2002-01-31  Adam Megacz  <adam@xwt.org>
227637c53322Sespie
227737c53322Sespie	* gcc/libiberty/configure.in: Treat mingw the same as cywin
227837c53322Sespie	wrt HAVE_SYS_ERRLIST.
227937c53322Sespie
228037c53322Sespie2002-01-30  Phil Edwards  <pme@gcc.gnu.org>
228137c53322Sespie
228237c53322Sespie	* cp-demangle.c (cp_demangle_type):  Do not protect with IN_LIBGCC2.
228337c53322Sespie	(cplus_demangle_v3):  Mimic __cxa_demangle and fall back on
228437c53322Sespie	cp_demangle_type.
228537c53322Sespie	* testsuite/demangle-expected:  New gnu-v3 test.
228637c53322Sespie
228737c53322Sespie2002-01-22  Momchil Velikov  <velco@fadata.bg>
228837c53322Sespie
228937c53322Sespie	* configure.in (variable detection): Use arrays of unspecified
229037c53322Sespie	size instead of plain integers.
229137c53322Sespie
229237c53322Sespie2002-01-18  DJ Delorie  <dj@redhat.com>
229337c53322Sespie
229437c53322Sespie	* Makefile.in (TESTLIB): New.  This library is for future
229537c53322Sespie	testsuites.
229637c53322Sespie	(CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
229737c53322Sespie	break down by letter.
229837c53322Sespie	(REQUIRED_OFILES): List long-to-compile files first.
229937c53322Sespie	(maint-deps): New, target for updating dependencies.
230037c53322Sespie	(dependencies): Update.
230137c53322Sespie	* maint-tool: Add dependency-generating option.
230237c53322Sespie	* configure.in: Check for _doprnt even if we're not providing it.
230337c53322Sespie	* configure: Regenerate.
230437c53322Sespie
230537c53322Sespie	* _doprnt.c: Modifications to allow compiling on any platform.
230637c53322Sespie	* copysign.c: Likewise.
230737c53322Sespie	* putenv.c: Likewise.
230837c53322Sespie	* setenv.c: Likewise.
230937c53322Sespie	* vsprintf.c: Likewise.
231037c53322Sespie
231137c53322Sespie2002-01-15  Douglas B Rupp  <rupp@gnat.com>
231237c53322Sespie
231337c53322Sespie	* mkstemps.c (mkstemps): On VMS, open temp file with option
231437c53322Sespie	that causes it to be deleted when closed.
231537c53322Sespie
231637c53322Sespie2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
231737c53322Sespie
231837c53322Sespie	* cp-demangle.c (long_options): Const-ify.
231937c53322Sespie	* cplus-dem.c (long_options): Likewise.
232037c53322Sespie
232137c53322Sespie	* cplus-dem.c (mystrstr): Delete.  All callers changed to use
232237c53322Sespie	strstr instead.
232337c53322Sespie
232437c53322Sespie2001-12-31  Ira Ruben	<ira@apple.com>
232537c53322Sespie
232637c53322Sespie	* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
232737c53322Sespie	* configure: Regenerated.
232837c53322Sespie
232937c53322Sespie2001-12-24  Douglas B. Rupp  <rupp@gnat.com>
233037c53322Sespie
233137c53322Sespie	* configure.in (uintptr_t): Use AC_CHECK_TYPE.
233237c53322Sespie	* configure: Regenerated.
233337c53322Sespie
233437c53322Sespie2001-12-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
233537c53322Sespie
233637c53322Sespie	PR other/2719
233737c53322Sespie	* cplus-dem.c (consume_count): Treat negative count as an error.
233837c53322Sespie	* testsuite/demangle-expected: Added testcase.
233937c53322Sespie
234037c53322SespieTue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
234137c53322Sespie
234237c53322Sespie	* configure.in: Hardcode that vfork works on VMS host.
234337c53322Sespie	* configure: Regenerated.
234437c53322Sespie
234537c53322Sespie2001-12-06  Richard Henderson  <rth@redhat.com>
234637c53322Sespie
234737c53322Sespie	* cplus-dem.c (libiberty_demanglers): Add no_demangling case.
234837c53322Sespie	(cplus_demangle): Support no_demangling.
234937c53322Sespie
235037c53322Sespie2001-11-27  Zack Weinberg  <zack@codesourcery.com>
235137c53322Sespie
235237c53322Sespie	* _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
235337c53322Sespie	in libiberty context.  Fix typo in leading comment.
235437c53322Sespie	* configure.in: Fix various AC_DEFINEs so autoheader works.
235537c53322Sespie	If any of vprintf, vsprintf, vfprintf is missing from libc,
235637c53322Sespie	then AC_REPLACE_FUNCS(_doprnt).
235737c53322Sespie
235837c53322Sespie2001-11-26  DJ Delorie  <dj@redhat.com>
235937c53322Sespie	    Daniel Jacobowitz  <drow@mvista.com>
236037c53322Sespie
236137c53322Sespie	* Makefile.in (stamp-h): Depend on Makefile for proper
236237c53322Sespie	serialization.
236337c53322Sespie	(*-subdir): Depend on config.h for proper serialization.
236437c53322Sespie
236537c53322Sespie2001-11-26  DJ Delorie  <dj@redhat.com>
236637c53322Sespie
236737c53322Sespie	* configure.in: Check for alloca.h (for regex.c and putenv.c).
236837c53322Sespie	* configure: Regenerate.
236937c53322Sespie	* config.h: Add HAVE_ALLOCA_H.
237037c53322Sespie
237137c53322Sespie2001-11-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
237237c53322Sespie
237337c53322Sespie	* regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
237437c53322Sespie	defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
237537c53322Sespie	is available.
237637c53322Sespie
237737c53322SespieThu Nov 15 11:06:25 2001  Jeffrey A Law  (law@cygnus.com)
237837c53322Sespie
237937c53322Sespie	* config.in (HAVE_UINTPTR_T): Provide autoconf stub.
238037c53322Sespie	* configure.in (HAVE_UINTPTR_T): Test for system defining
238137c53322Sespie	uintptr_t and define HAVE_UINTPTR_T appropriately.
238237c53322Sespie	* regex.c (uintptr_t): Do not provide a definition if the
238337c53322Sespie	system provided one.
238437c53322Sespie
238537c53322Sespie	* regex.c (PREFIX): Provide an alternate definition for
238637c53322Sespie	non-ANSI/ISO compilers.
238737c53322Sespie	(ARG_PREFIX): Likewise.
238837c53322Sespie
238937c53322Sespie2001-11-12  Jim Meyering  <meyering@lucent.com>
239037c53322Sespie
239137c53322Sespie	* obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
239237c53322Sespie	this code would end up calling gettext even in packages built
239337c53322Sespie	with --disable-nls.
239437c53322Sespie	* getopt.c (_): Likewise.
239537c53322Sespie	* regex.c (_): Likewise.
239637c53322Sespie
239737c53322Sespie2001-11-03  Alan Modra  <amodra@bigpond.net.au>
239837c53322Sespie
239937c53322Sespie	* configure.in: Cope with missing makeinfo.
240037c53322Sespie	* configure: Regenerate.
240137c53322Sespie
240237c53322Sespie2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
240337c53322Sespie
240437c53322Sespie	* hex.c (hex_init): Provide empty stub.
240537c53322Sespie
240637c53322Sespie	* hex.c (hex_init): Delete.
240737c53322Sespie	(_hex_value): Const-ify and initialize at compile-time.
240837c53322Sespie
240937c53322Sespie2001-10-19  H.J. Lu <hjl@gnu.org>
241037c53322Sespie
241137c53322Sespie	* Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
241237c53322Sespie	necessary.
241337c53322Sespie
241437c53322Sespie2001-10-17  DJ Delorie  <dj@redhat.com>
241537c53322Sespie
241637c53322Sespie	* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
241737c53322Sespie	ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
241837c53322Sespie	mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
241937c53322Sespie	Improve manual formatting.
242037c53322Sespie	* functions.texi: Regenerate.
242137c53322Sespie
242237c53322Sespie2001-10-15  DJ Delorie  <dj@redhat.com>
242337c53322Sespie
242437c53322Sespie	* Makefile.in (TEXIFILES): Add fnmatch.txh.
242537c53322Sespie	(maint-undoc): New.
242637c53322Sespie	maint-tool: Add "undoc" tool.
242737c53322Sespie	* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
242837c53322Sespie	fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
242937c53322Sespie	make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
243037c53322Sespie	strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
243137c53322Sespie	documentation.
243237c53322Sespie	* fnmatch.txh: New.
243337c53322Sespie	* functions.texi: Regenerate.
243437c53322Sespie
243537c53322Sespie2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
243637c53322Sespie
243737c53322Sespie	* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
243837c53322Sespie	* strtod.c: Use "ISO C" instead of "ANSI C".
243937c53322Sespie	* functions.texi: Regenerate.
244037c53322Sespie
244137c53322Sespie2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
244237c53322Sespie
244337c53322Sespie	* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
244437c53322Sespie	libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
244537c53322Sespie	strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
244637c53322Sespie	xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
244737c53322Sespie	spelling.  Give names to function arguments in documentation.  Use
244837c53322Sespie	(void) prototypes in documentation.
244937c53322Sespie	* functions.texi: Regenerate.
245037c53322Sespie
245137c53322Sespie2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
245237c53322Sespie
245337c53322Sespie	* argv.c (buildargv, tests, main): Const-ify.
245437c53322Sespie	* cp-demangle.c (operator_code): Likewise.
245537c53322Sespie	* cplus-dem.c (optable, libiberty_demanglers,
245637c53322Sespie	cplus_demangle_set_style, cplus_demangle_name_to_style,
245737c53322Sespie	print_demangler_list): Likewise.
245837c53322Sespie	* hashtab.c (higher_prime_number): Likewise.
245937c53322Sespie	* strcasecmp.c (charmap): Likewise.
246037c53322Sespie	* strerror.c (error_info, strerror, main): Likewise.
246137c53322Sespie	* strncasecmp.c (charmap): Likewise.
246237c53322Sespie	* strsignal.c (signal_info): Likewise.
246337c53322Sespie
246437c53322Sespie2001-09-29  DJ Delorie  <dj@redhat.com>
246537c53322Sespie
246637c53322Sespie	* configure: Regenerate.
246737c53322Sespie
246837c53322Sespie2001-09-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
246937c53322Sespie
247037c53322Sespie	* concat.c: Include stdlib.h.
247137c53322Sespie
247237c53322Sespie2001-09-27  Eli Zaretskii  <eliz@is.elta.co.il>
247337c53322Sespie
247437c53322Sespie	* libiberty.texi: (Top level): Add syncodeindex pg.  Add
247537c53322Sespie	@dircategory and @direntry directives.  Add @finalout.
247637c53322Sespie	(many nodes): Lose the next,prev,up pointers on the @nide line.
247737c53322Sespie	(Using, Supplemental Functions, Replacement Functions): Fix
247837c53322Sespie	markup.
247937c53322Sespie	(Functions): Move around, to allow makeinfo to build the manual
248037c53322Sespie	without next,prev,up pointers in thye node lines.
248137c53322Sespie	(Licenses): Fix typos.
248237c53322Sespie
248337c53322Sespie	* index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
248437c53322Sespie	strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
248537c53322Sespie	* functions.texi: Regenerate.
248637c53322Sespie
248737c53322Sespie	* copying-lib.texi: Lose the next,prev,up pointers on the @node
248837c53322Sespie	line.
248937c53322Sespie
249037c53322Sespie2001-09-27  DJ Delorie  <dj@redhat.com>
249137c53322Sespie
249237c53322Sespie	* configure.in: Don't use in-tree texinfo, because libiberty must
249337c53322Sespie	be built before it.  Check for makeinfo version 4 or higher.
249437c53322Sespie	* functions.texi: Regenerate.
249537c53322Sespie
249637c53322Sespie2001-09-20  DJ Delorie  <dj@redhat.com>
249737c53322Sespie	    Phil Edwards  <pedwards@disaster.jaj.com>
249837c53322Sespie
249937c53322Sespie	* configure.in (MAKEINFO, PERL): Detect these.
250037c53322Sespie	(--enable-maintainer-mode): Add.
250137c53322Sespie	* configure: Regenerate.
250237c53322Sespie	* Makefile.in (MAKEINFO, PERL): Define.
250337c53322Sespie	(libiberty.info, libiberty.dvi, libiberty.html): New.
250437c53322Sespie	(CFILES): Add bsearch.c.
250537c53322Sespie	(CONFIGURED_OFILES): New, list of objects configure might add.
250637c53322Sespie	(maint-missing, maint-buildall): New, for maintainers only.
250737c53322Sespie	(clean, mostlyclean): Add info/dvi/html files.
250837c53322Sespie	* libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
250937c53322Sespie	* gather-docs: New, for maintainers.
251037c53322Sespie	* maint-tool: New, for maintainers.
251137c53322Sespie	* alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
251237c53322Sespie	bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
251337c53322Sespie	getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
251437c53322Sespie	memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
251537c53322Sespie	sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
251637c53322Sespie	strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
251737c53322Sespie	tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
251837c53322Sespie	xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
251937c53322Sespie	documentation.
252037c53322Sespie
252137c53322Sespie2001-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
252237c53322Sespie
252337c53322Sespie	* concat.c (reconcat): Fix for traditional C.
252437c53322Sespie
252537c53322Sespie2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
252637c53322Sespie
252737c53322Sespie	* concat.c (reconcat): New function.
252837c53322Sespie
252937c53322Sespie2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
253037c53322Sespie
253137c53322Sespie	* concat.c (vconcat_length, vconcat_copy, concat_length,
253237c53322Sespie	concat_copy, concat_copy2): New functions.
253337c53322Sespie	(concat): Use vconcat_length/vconcat_copy.
253437c53322Sespie
253537c53322Sespie	* alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
253637c53322Sespie	Define.
253737c53322Sespie
253837c53322Sespie2001-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
253937c53322Sespie
254037c53322Sespie	* asprintf.c: Don't define USE_STDARG.  Use VPARAMS, VA_OPEN,
254137c53322Sespie	VA_FIXEDARG & VA_CLOSE.
254237c53322Sespie
254337c53322Sespie	* vasprintf.c: Check HAVE_STRING_H when including string.h.
254437c53322Sespie	(checkit): Delete redundant prototype.  Add ATTRIBUTE_PRINTF_1.
254537c53322Sespie	Use VA_OPEN, VA_FIXEDARG & VA_CLOSE.  Free allocated string.
254637c53322Sespie
254737c53322Sespie2001-08-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
254837c53322Sespie
254937c53322Sespie	* concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
255037c53322Sespie
255137c53322Sespie2001-08-23  Ulrich Drepper  <drepper@redhat.com>
255237c53322Sespie
255337c53322Sespie	* regex.c (truncate_wchar): Use wcrtomb not wctomb.
255437c53322Sespie
255537c53322Sespie2001-08-23  Ulrich Drepper  <drepper@redhat.com>
255637c53322Sespie
255737c53322Sespie	* posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
255837c53322Sespie	instead of mbrtowc.
255937c53322Sespie	[_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
256037c53322Sespie	wcslen, and __wcscoll instead of wcscoll.
256137c53322Sespie
256237c53322Sespie2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
256337c53322Sespie
256437c53322Sespie	* fibheap.c (fibheap_init, fibnode_init): Remove.
256537c53322Sespie	(fibheap_new, fibnode_new): Use xcalloc to allocate and
256637c53322Sespie	initialize memory.
256737c53322Sespie	(fibheap_insert): Remove check for node allocation failure.
256837c53322Sespie
256937c53322Sespie2001-08-21  Richard Henderson  <rth@redhat.com>
257037c53322Sespie
257137c53322Sespie	* Makefile.in (fibheap.o): Depend on config.h.
257237c53322Sespie	* fibheap.c: Tidy formatting.  Use config.h.` Rearrange some
257337c53322Sespie	functions for inlining.
257437c53322Sespie
257537c53322SespieTue Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>
257637c53322Sespie
257737c53322Sespie	* configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
257837c53322Sespie	hosting on cygwin.
257937c53322Sespie	* configure: Regenerate.
258037c53322Sespie
258137c53322Sespie2001-08-20  Andrew Cagney  <ac131313@redhat.com>
258237c53322Sespie
258337c53322Sespie	* floatformat.c (floatformat_m88110_ext): Remove #ifdef
258437c53322Sespie	HARRIS_FLOAT_FORMAT.
258537c53322Sespie	(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
258637c53322Sespie	(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
258737c53322Sespie	(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
258837c53322Sespie	(floatformat_m88110_harris_ext): New float formats.
258937c53322Sespie
259037c53322Sespie2001-08-20  Daniel Berlin  <dan@cgsoftware.com>
259137c53322Sespie
259237c53322Sespie	* fibheap.c: New file. Fibonacci heap.
259337c53322Sespie
259437c53322Sespie	* Makefile.in (CFILES): Add fibheap.c.
259537c53322Sespie	(REQUIRED_OFILES): Add fibheap.o.
259637c53322Sespie	(fibheap.o): Add dependencies for fibheap.o.
259737c53322Sespie
259837c53322Sespie2001-08-17  Christopher Faylor <cgf@cygnus.com>
259937c53322Sespie
260037c53322Sespie	* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
260137c53322Sespie	* configure: Regenerate.
260237c53322Sespie
260337c53322Sespie2001-08-16  Richard Henderson  <rth@redhat.com>
260437c53322Sespie
260537c53322Sespie	* hashtab.c (htab_hash_string): New.
260637c53322Sespie
260737c53322Sespie2001-08-13  Andrew Cagney  <ac131313@redhat.com>
260837c53322Sespie
260937c53322Sespie	* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
261037c53322Sespie	name.
261137c53322Sespie
261237c53322Sespie2001-08-12  Isamu Hasegawa  <isamu@yamato.ibm.com>
261337c53322Sespie
261437c53322Sespie	* regex.c (wcs_regex_compile): Use appropriate string
261537c53322Sespie	to compare with collating element.
261637c53322Sespie	Fix the padding for the alignment.
261737c53322Sespie
261837c53322Sespie2001-08-10  Andrew Cagney  <ac131313@redhat.com>
261937c53322Sespie
262037c53322Sespie	* lbasename.c (lbasename): Change function definition to return a
262137c53322Sespie	const char pointer.
262237c53322Sespie
262337c53322Sespie2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
262437c53322Sespie
262537c53322Sespie	* cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
262637c53322Sespie	for".
262737c53322Sespie
262837c53322Sespie2001-08-03  Richard Henderson  <rth@redhat.com>
262937c53322Sespie
263037c53322Sespie	* Makefile.in (concat.o): Depend on config.h.
263137c53322Sespie
263237c53322Sespie2001-07-30  Andreas Jaeger  <aj@suse.de>
263337c53322Sespie
263437c53322Sespie	* concat.c: Include "config.h".
263537c53322Sespie
263637c53322Sespie2001-07-30  Andreas Jaeger  <aj@suse.de>
263737c53322Sespie
263837c53322Sespie	* regex.c: Declare wcs functions only if compiling with
263937c53322Sespie	MBS_SUPPORT.
264037c53322Sespie	Don't use #elif for traditional C.
264137c53322Sespie
264237c53322Sespie2001-07-23  Ulrich Drepper  <drepper@redhat.com>
264337c53322Sespie
264437c53322Sespie	* regex.c: Revamp memory allocation for WCHAR functions to
264537c53322Sespie	not use too much stack.
264637c53322Sespie
264737c53322Sespie2001-07-30  Andreas Jaeger  <aj@suse.de>
264837c53322Sespie
264937c53322Sespie	* regex.c: Declare wcs functions only if compiling with
265037c53322Sespie	MBS_SUPPORT.
265137c53322Sespie	Don't use #elif for traditional C.
265237c53322Sespie
265337c53322Sespie2001-07-25  Daniel Jacobowitz  <drow@mvista.com>
265437c53322Sespie
265537c53322Sespie	* Makefile.in (regex.o): Add dependency on config.h.
265637c53322Sespie
265737c53322Sespie2001-07-18  Andreas Schwab  <schwab@suse.de>
265837c53322Sespie
265937c53322Sespie	* regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
266037c53322Sespie	underscore character.
266137c53322Sespie
266237c53322Sespie2001-07-18  Ulrich Drepper  <drepper@redhat.com>
266337c53322Sespie
266437c53322Sespie	* regex.c: Limit string length printed in debug messages to 100
266537c53322Sespie	chars.
266637c53322Sespie
266737c53322Sespie2001-07-18  Andreas Jaeger  <aj@suse.de>
266837c53322Sespie
266937c53322Sespie	* regex.c: Place under LGPL version 2.1.
267037c53322Sespie
267137c53322Sespie2001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
267237c53322Sespie
267337c53322Sespie	* Makefile.in: Add support for regex code.
267437c53322Sespie	* regex.c: New file.
267537c53322Sespie
267637c53322Sespie2001-07-05  Mark Klein  <mklein@dis.com>
267737c53322Sespie
267837c53322Sespie	* Makefile.in: Add ffs.c dependency.
267937c53322Sespie	* configure.in: Add ffs.c.
268037c53322Sespie	* ffs.c: New file.
268137c53322Sespie
268237c53322Sespie2001-06-18  Richard Henderson  <rth@redhat.com>
268337c53322Sespie
268437c53322Sespie	* concat.c: Include <sys/types.h>.
268537c53322Sespie
268637c53322Sespie2001-06-11  Loren J. Rittle  <ljrittle@acm.org>
268737c53322Sespie
268837c53322Sespie	bootstrap/3106
268937c53322Sespie	* strerror.c (sys_nerr): Hide the OS header version.
269037c53322Sespie	* strsignal.c (sys_nsig): Likewise.
269137c53322Sespie
269237c53322Sespie2001-06-10  Richard Henderson  <rth@redhat.com>
269337c53322Sespie
269437c53322Sespie	* concat.c: Include string.h.  Fix int vs size_t usage.
269537c53322Sespie	Simplify the iteration loops.  Use memcpy.
269637c53322Sespie
269737c53322Sespie2001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
269837c53322Sespie
269937c53322Sespie	* partition.c: Fix misspelling of `implementation'.
270037c53322Sespie
270137c53322Sespie2001-05-09  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
270237c53322Sespie
270337c53322Sespie	* md5.c (md5_init_ctx): Declare constants as unsigned.
270437c53322Sespie	(md5_process_block): Likewise.
270537c53322Sespie
270637c53322Sespie2001-05-07  Zack Weinberg  <zackw@stanford.edu>
270737c53322Sespie
270837c53322Sespie	* cp-demangle.c (demangle_v3_with_details,
270937c53322Sespie	is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
271037c53322Sespie	function definition.
271137c53322Sespie	* ternary.c: Use K+R style function definitions.  Use PTR, not
271237c53322Sespie	void *.  Make arguments constant where possible.
271337c53322Sespie
271437c53322Sespie2001-05-07  Mark Mitchell  <mark@codesourcery.com>
271537c53322Sespie
271637c53322Sespie	* splay-tree.h (splay_tree_max): New function.
271737c53322Sespie	(splay_tree_min): Likewise.
271837c53322Sespie
271937c53322Sespie2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
272037c53322Sespie
272137c53322Sespie	* ternary.c: New file - Ternary search tree implementation.
272237c53322Sespie
272337c53322Sespie	* Makefile.in: Add ternary.o, and ternary.c dependencies.
272437c53322Sespie
272537c53322Sespie2001-04-03  Zack Weinberg  <zackw@stanford.edu>
272637c53322Sespie
272737c53322Sespie	* make-temp-file.c (try): Inline.
272837c53322Sespie
272937c53322Sespie2001-02-28  Richard Henderson  <rth@redhat.com>
273037c53322Sespie
273137c53322Sespie	* Makefile.in (make-temp-file.o): Depend on config.h.
273237c53322Sespie
273337c53322Sespie2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
273437c53322Sespie
273537c53322Sespie	* memchr.c (memchr): Adjust condition to avoid infinite loop.
273637c53322Sespie
273737c53322Sespie2001-03-23  Jakub Jelinek  <jakub@redhat.com>
273837c53322Sespie
273937c53322Sespie	* cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
274037c53322Sespie	`_' not followed by a digit is invalid.
274137c53322Sespie
274237c53322Sespie2001-03-22  Jim Blandy  <jimb@redhat.com>
274337c53322Sespie
274437c53322Sespie	* cp-demangle.c (string_list_delete): Use dyn_string_delete
274537c53322Sespie	instead of free, to free the contents as well as the string
274637c53322Sespie	structure.
274737c53322Sespie
274837c53322Sespie2001-03-21  Zack Weinberg  <zackw@stanford.edu>
274937c53322Sespie
275037c53322Sespie	* make-temp-file.c: Always default DIR_SEPARATOR to '/'.
275137c53322Sespie	Don't default P_tmpdir to anything.  Try /var/tmp before
275237c53322Sespie	/usr/tmp.
275337c53322Sespie
275437c53322Sespie2001-03-20  Zack Weinberg  <zackw@stanford.edu>
275537c53322Sespie
275637c53322Sespie	* choose-temp.c: Split off make_temp_file, and the code
275737c53322Sespie	duplicated between it and choose_temp_base, into...
275837c53322Sespie	* make-temp-file.c: ... here; new file.
275937c53322Sespie
276037c53322Sespie	* Makefile.in (CFILES): Add make-temp-file.c.
276137c53322Sespie	(REQUIRED_OFILES): Add make-temp-file.o.
276237c53322Sespie
276337c53322Sespie2001-03-20  Jim Blandy  <jimb@redhat.com>
276437c53322Sespie
276537c53322Sespie	* cp-demangle.c (struct demangling_def): New fields:
276637c53322Sespie	is_constructor and is_destructor.
276737c53322Sespie	(demangling_new): Initialize them.
276837c53322Sespie	(demangle_ctor_dtor_name): Set them, if we detect a constructor
276937c53322Sespie	or destructor.
277037c53322Sespie	(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
277137c53322Sespie	is_gnu_v3_mangled_dtor): New functions.
277237c53322Sespie
277337c53322Sespie2001-03-20  Jason Merrill  <jason@redhat.com>
277437c53322Sespie
277537c53322Sespie	* cplus-dem.c (main): Skip initial $.
277637c53322Sespie
277737c53322Sespie2001-03-15  Michael Meissner  <meissner@redhat.com>
277837c53322Sespie
277937c53322Sespie	* hashtab.c (higher_prime_number): Silence warning that 4294967291
278037c53322Sespie	might be a signed integer under pre-ISO C systems.
278137c53322Sespie
278237c53322Sespie2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
278337c53322Sespie	    John David Anglin  <dave@hiauly1.hia.nrc.ca>
278437c53322Sespie
278537c53322Sespie	* libiberty/lbasename.c: New file.
278637c53322Sespie	* libiberty/Makefile.in: Update for lbasename.
278737c53322Sespie
278837c53322Sespie2001-03-06  Zack Weinberg  <zackw@stanford.edu>
278937c53322Sespie
279037c53322Sespie	* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
279137c53322Sespie	* configure.in: Replace all alloca logic with a simple use of
279237c53322Sespie	the above new macro.
279337c53322Sespie	* config.table: Kill *-*-beos* entry.
279437c53322Sespie	* config/mh-beos: Delete.
279537c53322Sespie	* configure, config.in: Regenerate.
279637c53322Sespie
279737c53322Sespie	* Makefile.in (ALLOCA, HFILES): Kill.
279837c53322Sespie	(REQUIRED_OFILES): Add alloca.o.
279937c53322Sespie	(alloca.o): Depend on libiberty.h.
280037c53322Sespie	(argv.o): Don't depend on alloca-conf.h.
280137c53322Sespie	* alloca-conf.h: Delete.
280237c53322Sespie	* alloca.c: Include libiberty.h.  Kill all #ifdef emacs
280337c53322Sespie	blocks.  Provide the C alloca unconditionally.  Use PTR where
280437c53322Sespie	appropriate.  Make i00afunc static.
280537c53322Sespie	* argv.c: Don't include alloca-conf.h.
280637c53322Sespie
280737c53322Sespie2001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
280837c53322Sespie
280937c53322Sespie	* cplus-dem.c (main): Cast enum style to int.
281037c53322Sespie
281137c53322Sespie2001-02-16  Loren J. Rittle  <ljrittle@acm.org>
281237c53322Sespie
281337c53322Sespie	* cplus-dem.c (main): Initialize style.
281437c53322Sespie
281537c53322Sespie2001-02-02  Phil Edwards  <pme@sources.redhat.com>
281637c53322Sespie
281737c53322Sespie	* COPYING.LIB:  Update to LGPL 2.1 from the FSF.
281837c53322Sespie
281937c53322Sespie2001-01-31  Bryce McKinlay  <bryce@albatross.co.nz>
282037c53322Sespie
282137c53322Sespie	Add support for Java demangling under the v3 ABI:
282237c53322Sespie	* cp-demangle.c (NAMESPACE_SEPARATOR): New define.
282337c53322Sespie	(struct demangling_def): Add `style' field.
282437c53322Sespie	(demangling_new): New parameter `style'. Set it in demangling_t.
282537c53322Sespie	(demangle_prefix): Use NAMESPACE_SEPARATOR.
282637c53322Sespie	(demangle_type_ptr): Don't emit pointer symbol if doing Java output.
282737c53322Sespie	(cp_demangle): New parameter `style'. Pass it to demangling_new().
282837c53322Sespie	(main): Call cp_demangle with extra parameter.
282937c53322Sespie	(java_demangle_v3): New function.
283037c53322Sespie	(java_builtin_type_names): New. Table of primitive type names used
283137c53322Sespie	for Java demangling.
283237c53322Sespie	(demangle_builtin_type): Look up in java_builtin_type_names if doing
283337c53322Sespie	Java output.
283437c53322Sespie	* cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
283537c53322Sespie	demangling.
283637c53322Sespie	(long_options): Remove obsolete `java' option.
283737c53322Sespie	(main): Remove explicit handling of `java' option. Instead, pass style
283837c53322Sespie	parameter in cplus_demangle flags as gdb does.
283937c53322Sespie	* testsuite/demangle.expected: Add some Java test cases.
284037c53322Sespie
284137c53322Sespie2000-12-29  DJ Delorie  <dj@redhat.com>
284237c53322Sespie
284337c53322Sespie	* fnmatch.c: Make the note about the origins of this file more
284437c53322Sespie	accurate, at least until we can sync with glibc.
284537c53322Sespie	* getopt.c: Ditto.
284637c53322Sespie	* getopt1.c: Ditto.
284737c53322Sespie	* md5.c: Ditto.
284837c53322Sespie	* obstack.c: Ditto.
284937c53322Sespie
285037c53322Sespie2000-12-26  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
285137c53322Sespie
285237c53322Sespie	* bsearch.c: New file.
285337c53322Sespie	* configure.in (funcs): Add bsearch.
285437c53322Sespie	(AC_CHECK_FUNCS): Likewise.
285537c53322Sespie	* configure, config.in: Regenerate.
285637c53322Sespie
285737c53322Sespie2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
285837c53322Sespie
285937c53322Sespie	* safe-ctype.c: #include "ansidecl.h".
286037c53322Sespie	* strtod.c: Likewise.
286137c53322Sespie
286237c53322Sespie2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
286337c53322Sespie
286437c53322Sespie	* strtoul.c: Include safe-ctype.h, not ctype.h.
286537c53322Sespie
286637c53322Sespie2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
286737c53322Sespie
286837c53322Sespie	* safe-ctype.c: New file.
286937c53322Sespie	* Makefile.in (CFILES): Add safe-ctype.c.
287037c53322Sespie	(REQUIRED_OFILES): Add safe-ctype.o.
287137c53322Sespie
287237c53322Sespie	* argv.c: Define ISBLANK and use it, not isspace.
287337c53322Sespie	* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
287437c53322Sespie	strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
287537c53322Sespie	uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
287637c53322Sespie	before calling TOLOWER(c)/TOUPPER(c).
287737c53322Sespie
287837c53322Sespie2000-12-07  Mike Stump  <mrs@wrs.com>
287937c53322Sespie
288037c53322Sespie	* Makefile.in (distclean): When cleaning, remove testsuite.
288137c53322Sespie
288237c53322Sespie2000-12-05  Jason Merrill  <jason@redhat.com>
288337c53322Sespie
288437c53322Sespie	* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
288537c53322Sespie	name before allocating the dyn_string.
288637c53322Sespie
288737c53322Sespie2000-12-04  Jason Merrill  <jason@redhat.com>
288837c53322Sespie
288937c53322Sespie	* cp-demangle.c: s/new_abi/v3/.
289037c53322Sespie	* cplus-dem.c: Likewise.
289137c53322Sespie	(current_demangling_style): Now auto_demangling.
289237c53322Sespie	(cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
289337c53322Sespie	(main): Use standard symbol chars for auto_demangling.
289437c53322Sespie
289537c53322Sespie2000-11-26  Mark Mitchell  <mark@codesourcery.com>
289637c53322Sespie
289737c53322Sespie	* hashtab.c (higher_prime_number): Use a table, rather than a
289837c53322Sespie	seive, to find the next prime.
289937c53322Sespie
290037c53322Sespie2000-11-22  H.J. Lu  <hjl@gnu.org>
290137c53322Sespie
290237c53322Sespie	* cplus-dem.c (main): Handle gnat_demangling.
290337c53322Sespie
290437c53322Sespie2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
290537c53322Sespie
290637c53322Sespie	* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
290737c53322Sespie	(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
290837c53322Sespie	* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
290937c53322Sespie	argument form of AC_DEFINE in dummy definitions block.  Use
291037c53322Sespie	AC_DEFINE_NOAUTOHEADER for real definitions of things defined
291137c53322Sespie	in dummy block.  Preload cache variables instead of bypassing
291237c53322Sespie	tests, where possible.
291337c53322Sespie	* acconfig.h: Removed.
291437c53322Sespie
291537c53322Sespie	* xmalloc.c (xmalloc_failed): New function, does error
291637c53322Sespie	reporting on failed allocation.
291737c53322Sespie	(xmalloc, xcalloc, xrealloc): Use it.
291837c53322Sespie
291937c53322Sespie2000-11-21  Hans-Peter Nilsson  <hp@bitrange.com>
292037c53322Sespie
292137c53322Sespie	* cplus-dem.c (cplus_demangle): Fix formatting.
292237c53322Sespie	(grow_vect): Ditto.
292337c53322Sespie	(ada_demangle): Ditto.
292437c53322Sespie	(internal_cplus_demangle): Ditto.
292537c53322Sespie	(mop_up): Ditto.
292637c53322Sespie
292737c53322Sespie2000-11-21  H.J. Lu  <hjl@gnu.org>
292837c53322Sespie
292937c53322Sespie	* cplus-dem.c (main): Handle java_demangling.
293037c53322Sespie
293137c53322Sespie2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
293237c53322Sespie
293337c53322Sespie	* cplus-dem.c (grow_vect): Prototype.
293437c53322Sespie	(ada_demangle): Cast the arg of ctype macros to unsigned char.
293537c53322Sespie
293637c53322Sespie2000-11-15  Hans-Peter Nilsson  <hp@bitrange.com>
293737c53322Sespie
293837c53322Sespie	* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
293937c53322Sespie	parameter `option'.
294037c53322Sespie
294137c53322Sespie2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
294237c53322Sespie
294337c53322Sespie	* cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
294437c53322Sespie	be used in GCC.
294537c53322Sespie
294637c53322Sespie2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
294737c53322Sespie
294837c53322Sespie	* cplus-dem.c: Add gnat demangler.  Add java to demangle style
294937c53322Sespie	list.
295037c53322Sespie
295137c53322Sespie2000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
295237c53322Sespie
295337c53322Sespie	* hashtab.c (htab_expand): Change to return int.  Use calloc or
295437c53322Sespie	xcalloc depending on htab->return_allocation_failure.  Return zero
295537c53322Sespie	if calloc fails.
295637c53322Sespie	(htab_create): Update comment to cover memory allocation.
295737c53322Sespie	(htab_try_create): New.
295837c53322Sespie	(htab_find_slot_with_hash): Return NULL if htab_expand fails.
295937c53322Sespie	Update comment to cover this.
296037c53322Sespie
296137c53322Sespie2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
296237c53322Sespie
296337c53322Sespie	* hashtab.c: Change void * to PTR where necessary.
296437c53322Sespie	(htab_create, htab_expand): Correct formatting of comment before
296537c53322Sespie	function.
296637c53322Sespie
296737c53322Sespie2000-10-22  Alex Samuel  <samuel@codesourcery.com>
296837c53322Sespie
296937c53322Sespie	* cp-demangle.c (string_list_def): Add caret_position and comments.
297037c53322Sespie	(result_caret_pos): New macro.
297137c53322Sespie	(result_append_string): Rename to...
297237c53322Sespie	(result_add_string): ... this, and insert at caret position.
297337c53322Sespie	Rename throughout.
297437c53322Sespie	(result_append): Rename to...
297537c53322Sespie	(result_add): ... this, and insert at caret position.  Rename
297637c53322Sespie	throughout.
297737c53322Sespie	(result_append_char): Rename to...
297837c53322Sespie	(result_add_char): ... this, and insert at caret position.  Rename
297937c53322Sespie	throughout.
298037c53322Sespie	(result_append_space): Remove.
298137c53322Sespie	(string_list_new): Initialize caret position.
298237c53322Sespie	(result_add_separated_char): Use caret position.
298337c53322Sespie	(result_get_caret): New funtion.
298437c53322Sespie	(result_set_caret): Likewise.
298537c53322Sespie	(result_shift_caret): Likewise.
298637c53322Sespie	(result_previous_char_is_space): Likewise.
298737c53322Sespie	(substitution_start): Use caret position.
298837c53322Sespie	(substitution_add): Likewise.
298937c53322Sespie	(demangling_new): Initialize caret position.
299037c53322Sespie	(demangle_encoding): Use caret position.
299137c53322Sespie	(demanglin_nested_name): Put CV qualifiers after name.
299237c53322Sespie	(demangle_type_ptr): Use switch statement.  Handle pointers to
299337c53322Sespie	arrays.  Don't use result_append_space.  Use caret position.
299437c53322Sespie	(demangle_type): Emit CV qualifiers after underlying type.  Adjust
299537c53322Sespie	call to demangle_array_type.
299637c53322Sespie	(demangle_array_type): Add parameter to handle pointers to arrays.
299737c53322Sespie
299837c53322Sespie2000-10-01  Mark Mitchell  <mark@codesourcery.com>
299937c53322Sespie
300037c53322Sespie	* splay-tree.c (splay_tree_insert): Fix formatting.
300137c53322Sespie
300237c53322Sespie2000-09-16  Mark Mitchell  <mark@codesourcery.com>
300337c53322Sespie
300437c53322Sespie	* splay-tree.c (splay_tree_predecessor): Fix typo in comment.
300537c53322Sespie
300637c53322Sespie2000-09-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
300737c53322Sespie
300837c53322Sespie	* splay-tree.c: #include <stdio.h>.
300937c53322Sespie
301037c53322Sespie2000-09-14  Hans-Peter Nilsson  <hp@axis.com>
301137c53322Sespie
301237c53322Sespie	* testsuite/demangle-expected: Add two tests for anonymous
301337c53322Sespie	namespaces.
301437c53322Sespie	* cplus-dem.c (gnu_special): Handle anonymous namespaces.
301537c53322Sespie
301637c53322Sespie2000-09-10  Mark Mitchell  <mark@codesourcery.com>
301737c53322Sespie
301837c53322Sespie	* splay-tree.c (splay_tree_predecessor): New function.
301937c53322Sespie	(splay_tree_successor): Likewise.
302037c53322Sespie
302137c53322Sespie2000-09-10  Hans-Peter Nilsson  <hp@axis.com>
302237c53322Sespie
302337c53322Sespie	* testsuite/demangle-expected: Add four tests for type_info
302437c53322Sespie	mangling.
302537c53322Sespie	* cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
302637c53322Sespie	for a non-template non-qualified type_info function or node.
302737c53322Sespie
302837c53322Sespie2000-09-08  Alex Samuel  <samuel@codesourcery.com>
302937c53322Sespie
303037c53322Sespie	* cp-demangle.c: Fix copyright banner.
303137c53322Sespie
303237c53322Sespie2000-09-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
303337c53322Sespie
303437c53322Sespie	* md5.c: #include "ansidecl.h".
303537c53322Sespie
303637c53322Sespie2000-09-06  Alex Samuel  <samuel@codesourcery.com>
303737c53322Sespie
303837c53322Sespie	* cp-demangle.c (status_allocation_failed): Rearrange whitespace.
303937c53322Sespie	(demangle_type): Handle substitution candidates correctly in the
304037c53322Sespie	face of special substitutions.
304137c53322Sespie
304237c53322Sespie2000-09-05  Alex Samuel  <samuel@codesourcery.com>
304337c53322Sespie
304437c53322Sespie	* cp-demangle.c (demangle_encoding): Rename variable.
304537c53322Sespie	(demangle_name): Rename parameter.  Handle return type
304637c53322Sespie	suppression.
304737c53322Sespie	(demangle_nested_name): Rename parameter.
304837c53322Sespie	(demangle_prefix): Likewise.  Change return type suppression.
304937c53322Sespie	(demangle_unqualified_name): Add parameter.  Flag constructors and
305037c53322Sespie	conversion operators.
305137c53322Sespie	(demangle_special_name): Fix comment.
305237c53322Sespie	(demangle_type): Rename variable.
305337c53322Sespie	(demangle_bare_function_type): Check for missing return type and
305437c53322Sespie	parameter.
305537c53322Sespie	(demangle_class_enum_type): Rename parameter.
305637c53322Sespie	(demangle_discriminator): Fix misspelling in comment.
305737c53322Sespie
305837c53322Sespie2000-08-31  DJ Delorie  <dj@redhat.com>
305937c53322Sespie
306037c53322Sespie	* configure.in (Cygwin): special case cygwin only when we're
306137c53322Sespie	building cygwin, not when we're hosting cygwin.
306237c53322Sespie
306337c53322Sespie2000-09-04  Alex Samuel  <samuel@codesourcery.com>
306437c53322Sespie
306537c53322Sespie	* cp-demangle.c (demangle_template_arg): Eat an `E' after an
306637c53322Sespie	<expression>.
306737c53322Sespie
306837c53322Sespie2000-09-04  Alex Samuel  <samuel@codesourcery.com>
306937c53322Sespie
307037c53322Sespie	* cp-demangle.c (demangle_type_ptr): Increment position past
307137c53322Sespie	pointer and reference characters.
307237c53322Sespie
307337c53322Sespie2000-09-04  Alex Samuel  <samuel@codesourcery.com>
307437c53322Sespie
307537c53322Sespie	* cp-demangle.c (demangle_nv_offset): New function.
307637c53322Sespie	(demangle_v_offset): Likewise.
307737c53322Sespie	(demangle_call_offset): Likewise.
307837c53322Sespie	(demangle_special_name): Update thunk demangling to comply with
307937c53322Sespie	ABI changes.
308037c53322Sespie
308137c53322Sespie2000-09-03  Alex Samuel  <samuel@codesourcery.com>
308237c53322Sespie
308337c53322Sespie	* cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
308437c53322Sespie	(substitution_def): Remove template_parm_number.
308537c53322Sespie	(NOT_TEMPLATE_PARM): Remove.
308637c53322Sespie	(result_insert_string): New macro.
308737c53322Sespie	(result_insert): Likewise.
308837c53322Sespie	(result_insert_char): Likewise.
308937c53322Sespie	(substitution_add): Remove last parameter.  Don't store template
309037c53322Sespie	parm number.
309137c53322Sespie	(BFT_NO_RETURN_TYPE): Define as NULL.
309237c53322Sespie	(demangle_encoding): Adjust call to demangle_bare_function_type.
309337c53322Sespie	(demangle_name): Adjust substitution.  Adjust call to
309437c53322Sespie	substitution_add.
309537c53322Sespie	(demangle_prefix): Adjust call to substitution_add.
309637c53322Sespie	(demangle_identifier): Handle anonymous namespaces.
309737c53322Sespie	(demangle_operator_name): Change demangling of vendor-extended
309837c53322Sespie	operator to match ABI changes.
309937c53322Sespie	(demangle_type_ptr): Change parameters.  Make recursive.  Handle
310037c53322Sespie	substitutions here.
310137c53322Sespie	(demangle_type): Adjust calls to demangle_template_param,
310237c53322Sespie	substitution_add, and demangle_type_ptr.  Fix substitution of
310337c53322Sespie	templated types.
310437c53322Sespie	(demangle_function_type): Change parameter to a pointer.
310537c53322Sespie	(demangle_bare_function_type): Likewise.  Adjust insertion point.
310637c53322Sespie	(demangle_template_param): Remove last parameter.
310737c53322Sespie	(demangle_expr_primary): Remove unused variable.  Adjust call to
310837c53322Sespie	demangle_template_param.
310937c53322Sespie	(is_mangled_char): Accept `$' and `.'.
311037c53322Sespie	* cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
311137c53322Sespie	* dyn-string.c (dyn_string_insert_char): New function.
311237c53322Sespie
311337c53322Sespie2000-08-31  Hans-Peter Nilsson  <hp@axis.com>
311437c53322Sespie
311537c53322Sespie	* testsuite/demangle-expected: Add nine tests for
311637c53322Sespie	underscore-after-number followed by five tests for name-signature
311737c53322Sespie	delimiter.
311837c53322Sespie
311937c53322Sespie2000-08-28  Richard Henderson  <rth@cygnus.com>
312037c53322Sespie
312137c53322Sespie	* Makefile.in (md5.o): Depend on config.h.
312237c53322Sespie
312337c53322Sespie2000-08-28  Jason Merrill  <jason@redhat.com>
312437c53322Sespie
312537c53322Sespie	* Makefile.in (REQUIRED_OFILES): Add md5.o.
312637c53322Sespie	(CFILES): Add md5.c.
312737c53322Sespie	* md5.c: New file.
312837c53322Sespie
312937c53322Sespie2000-08-27  Alex Samuel  <samuel@codesourcery.com>
313037c53322Sespie
313137c53322Sespie	* cp-demangle.c (demangle_name): Initialize template_p in local
313237c53322Sespie	name case.  Don't re-add substitutions as candidates.
313337c53322Sespie	(demangle_nested_name): Use <unqualified-name>.
313437c53322Sespie	(demangle_prefix): Likewise.  Don't add template names as
313537c53322Sespie	substitution candidates twice, or re-add a substitution or the
313637c53322Sespie	last prefix component.
313737c53322Sespie	(demangle_local_name): Adjust output format.
313837c53322Sespie
313937c53322Sespie2000-08-25  Alex Samuel  <samuel@codesourcery.com>
314037c53322Sespie
314137c53322Sespie	* cp-demangle.c (result_add_separated_char): Change parameter to
314237c53322Sespie	int.
314337c53322Sespie	(substitution_add): Don't check for duplicates.  Check if
314437c53322Sespie	previously allocated size is zero.
314537c53322Sespie	(demangle_name): Remove duplicate check for std substitution.
314637c53322Sespie	Clear template flag appropriately.
314737c53322Sespie	(demangle_prefix): Remove argument to demangle_substitution.
314837c53322Sespie	Don't check that template flag is already set.
314937c53322Sespie	(demangle_operator_name): Add pt operator.
315037c53322Sespie	(demangle_type): Don't treat r as built-in type.  Remove argument
315137c53322Sespie	to demangle_substitution.  Fix substitution candidate mechanics.
315237c53322Sespie	Handle <template-template-parm>s.  Improve comments.
315337c53322Sespie	(demangle_template_param): Don't handle template arg lists here.
315437c53322Sespie	(demangle_substitution): Remove parameter.
315537c53322Sespie	(print_usage): Remove extra fprintf option.
315637c53322Sespie
315737c53322Sespie2000-08-24  Greg McGary  <greg@mcgary.org>
315837c53322Sespie
315937c53322Sespie	* libiberty/random.c (end_ptr): Revert previous change.
316037c53322Sespie
316137c53322Sespie2000-08-24  Greg McGary  <greg@mcgary.org>
316237c53322Sespie
316337c53322Sespie	* libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
316437c53322Sespie	demangle_expression, demangle_function_name): Use ARRAY_SIZE.
316537c53322Sespie	* libiberty/random.c (end_ptr): Likewise.
316637c53322Sespie
316737c53322Sespie2000-08-23  Alex Samuel  <samuel@codesourcery.com>
316837c53322Sespie
316937c53322Sespie	* cp-demangle.c (result_close_template_list): Remove function.
317037c53322Sespie	(result_add_separated_char): New function.
317137c53322Sespie	(result_open_template_list): New macro.
317237c53322Sespie	(result_close_template_list): Likewise.
317337c53322Sespie	(demangle_prefix): Don't set template_p if the
317437c53322Sespie	prefix ends with a ctor name.
317537c53322Sespie	(demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
317637c53322Sespie	(demangle_type): Check for template args after substitution.
317737c53322Sespie	(demangle_template_args): Use result_open_template_list.
317837c53322Sespie
317937c53322Sespie2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
318037c53322Sespie
318137c53322Sespie	* pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.
318237c53322Sespie
318337c53322Sespie2000-07-26  Dave Pitts  <dpitts@cozx.com>
318437c53322Sespie
318537c53322Sespie	* config/mh-openedition.h: Added -DLE370 definition.
318637c53322Sespie
318737c53322Sespie2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
318837c53322Sespie
318937c53322Sespie	* pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
319037c53322Sespie	__DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
319137c53322Sespie	Cast program to 'char *' in errmsg_arg assignment.
319237c53322Sespie	(PWAIT_ERROR): Define.
319337c53322Sespie	(pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
319437c53322Sespie	to DJGPP's WIF* macros.
319537c53322Sespie
319637c53322Sespie2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
319737c53322Sespie	    Jeff Law <law@cygnus.com>
319837c53322Sespie
319937c53322Sespie	* getcwd.c: Include string.h, stdlib.h for prototypes
320037c53322Sespie
320137c53322Sespie	* Makefile.in (rename.o, waitpid.o): Depend on config.h
320237c53322Sespie	* rename.c: Include config.h, unistd.h
320337c53322Sespie	* waitpid.c: Include config.h, sys/wait.h
320437c53322Sespie
320537c53322Sespie2000-07-24  Hans-Peter Nilsson  <hp@axis.com>
320637c53322Sespie
320737c53322Sespie	* cplus-dem.c (work_stuff_copy_to_from): New.
320837c53322Sespie	(delete_non_B_K_work_stuff): New.
320937c53322Sespie	(delete_work_stuff): New.
321037c53322Sespie	(mop_up): Break out work_stuff partly destruction to
321137c53322Sespie	delete_non_B_K_work_stuff.
321237c53322Sespie	(iterate_demangle_function): New.
321337c53322Sespie	(demangle_prefix): Call iterate_demangle_function instead of
321437c53322Sespie	demangle_function_name.  Leave handling of name-signature
321537c53322Sespie	__-delimiters to iterate_demangle_function.
321637c53322Sespie	(demangle_integral_value): Strip an optional
321737c53322Sespie	following underscore cautiously.  Handle negative numbers.
321837c53322Sespie
321937c53322Sespie2000-07-24  Daniel Berlin <dberlin@redhat.com>
322037c53322Sespie
322137c53322Sespie	* cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
322237c53322Sespie	if (AUTO_DEMANGLING || GNU_DEMANGLING)
322337c53322Sespie
322437c53322Sespie2000-07-21  Alex Samuel  <samuel@codesourcery.com>
322537c53322Sespie
322637c53322Sespie	* cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
322737c53322Sespie	allocating ctor mangling.
322837c53322Sespie	(demangle_array_type): Handle empty and non-constant array length.
322937c53322Sespie
323037c53322Sespie2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
323137c53322Sespie	    Jeff Law <law@cygnus.com>
323237c53322Sespie
323337c53322Sespie	* configure.in (AC_CHECK_HEADERS): Add time.h.
323437c53322Sespie	(AC_HEADER_TIME): Add check.
323537c53322Sespie	* configure, config.in: Regenerate.
323637c53322Sespie	* getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
323737c53322Sespie
323837c53322Sespie	* configure.in (AC_CHECK_HEADERS): Add limits.h.
323937c53322Sespie	* configure, config.in: Regenerate.
324037c53322Sespie	* sort.c: Portably #include <limits.h> and/or <sys/param.h>.
324137c53322Sespie	* strtol.c, strtoul.c: #include "config.h". Portably #include
324237c53322Sespie	<limits.h> and/or <sys/param.h>.
324337c53322Sespie	* Makefile.in (strtol.o, strtoul.o): Update dependencies.
324437c53322Sespie
324537c53322Sespie	* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
324637c53322Sespie	* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
324737c53322Sespie	* configure, config.in: Regenerate.
324837c53322Sespie	* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
324937c53322Sespie
325037c53322Sespie	* cp-demangle.c, mkstemps.c: #include <sys/types.h>.
325137c53322Sespie
325237c53322Sespie2000-07-21  Mike Stump  <mrs@wrs.com>
325337c53322Sespie
325437c53322Sespie	* Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
325537c53322Sespie	* (vasprintf.o): Add dependency for config.h in vasprintf.c.
325637c53322Sespie
325737c53322Sespie2000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
325837c53322Sespie
325937c53322Sespie	* cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
326037c53322Sespie
326137c53322Sespie	* setenv.c (setenv): Initialize variable `ep'.
326237c53322Sespie
326337c53322Sespie	* sigsetmask.c (abort): Prototype.
326437c53322Sespie
326537c53322Sespie	* vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
326637c53322Sespie	__STDC__ for stdarg.h include.
326737c53322Sespie	(int_vasprintf): Prototype.
326837c53322Sespie	(checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
326937c53322Sespie	definition.  Cast `global_total_width' in comparison.
327037c53322Sespie	(main): Prototype.  Return a value.
327137c53322Sespie
327237c53322Sespie	* vfork.c (fork): Prototype.
327337c53322Sespie
327437c53322Sespie	* xexit.c: Include config.h.
327537c53322Sespie
327637c53322Sespie2000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
327737c53322Sespie
327837c53322Sespie	* cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
327937c53322Sespie	and print it with %u.
328037c53322Sespie
328137c53322Sespie2000-07-17  Hans-Peter Nilsson  <hp@axis.com>
328237c53322Sespie
328337c53322Sespie	* testsuite/regress-demangle (failed test): Show result and
328437c53322Sespie	expected output.
328537c53322Sespie
328637c53322Sespie2000-07-07  Andrew Haley  <aph@cygnus.com>
328737c53322Sespie
328837c53322Sespie	* cplus-dem.c (main): fflush() after emitting last char before
328937c53322Sespie	waiting for input.
329037c53322Sespie
329137c53322Sespie2000-06-28  Alex Samuel  <samuel@codesourcery.com>
329237c53322Sespie
329337c53322Sespie	* cp-demangle.c (demangle_encoding): Accept no substitutions.
329437c53322Sespie	(demangle_name): Handle <substitution> followed by
329537c53322Sespie	<unqualified-template-name>.
329637c53322Sespie	(demangle_type): Follow special substitutions with
329737c53322Sespie	<class-enum-type>
329837c53322Sespie	(demangle_subtitution): Set template_p for special substitutions.
329937c53322Sespie	(main): Fix typos.
330037c53322Sespie
330137c53322Sespie2000-06-27  Alex Samuel  <samuel@codesourcery.com>
330237c53322Sespie
330337c53322Sespie	* cp-demangle.c (demangle_special_name): Swap base and derived
330437c53322Sespie	class when demangling construction vtables.
330537c53322Sespie
330637c53322Sespie2000-06-21  Alex Samuel  <samuel@codesourcery.com>
330737c53322Sespie
330837c53322Sespie	* cp-demangle.c: Don't include ctype.h.
330937c53322Sespie	(IS_DIGIT): New macro.
331037c53322Sespie	(IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
331137c53322Sespie	instead of isdigit and isalpanum.
331237c53322Sespie	(demangling_def): Make name and next const pointers.
331337c53322Sespie	(STATUS_ALLOCATION_FAILED): New status code.
331437c53322Sespie	(dyn_string_append_space): Handle failure in
331537c53322Sespie	dyn_string_append_char.
331637c53322Sespie	(int_to_dyn_string): Likewise.  Change return value to status_t.
331737c53322Sespie	(string_list_new): Handle failure of dyn_string_init.
331837c53322Sespie	(result_close_template_list): Change return type to status_t.
331937c53322Sespie	Handle failure in dyn_string_append.
332037c53322Sespie	(result_push): Change return value to status_t.  Handle failure in
332137c53322Sespie	string_list_new.  Handle failure of result_push throughout.
332237c53322Sespie	(substitution_add): Change return value to status_t.  Handle
332337c53322Sespie	dyn_string failures.  Handle failure of substitution_add
332437c53322Sespie	throughout.
332537c53322Sespie	(template_arg_list_new): Return NULL on allocation failure.
332637c53322Sespie	(result_append_string): Return STATUS_ALLOCATION_FAILED on error.
332737c53322Sespie	Handle error result throughout.
332837c53322Sespie	(result_append): Likewise.
332937c53322Sespie	(result_append_char): Likewise.
333037c53322Sespie	(result_append_space): Likewise.
333137c53322Sespie	(demangling_new): Make argument a const pointer.  Handle
333237c53322Sespie	allocation failures.
333337c53322Sespie	(demangle_template_args): Handle failure in template_arg_list_new
333437c53322Sespie	and result_close_template_list.
333537c53322Sespie	(demangle_discriminator): Return if int_to_dyn_string fails.
333637c53322Sespie	(cp_demangle): Likewise.
333737c53322Sespie	(cp_demangle_type): New function.
333837c53322Sespie	(cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
333937c53322Sespie	memory allocation failure.
334037c53322Sespie	(main): Likewise.
334137c53322Sespie	* dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
334237c53322Sespie	IN_LIBGCC2.
334337c53322Sespie	(dyn_string_init): Change return value to int.  Handle
334437c53322Sespie	RETURN_ON_ALLOCATION_FAILURE case.
334537c53322Sespie	(dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
334637c53322Sespie	(dyn_string_release): Delete the dyn_string.
334737c53322Sespie	(dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
334837c53322Sespie	(dyn_string_copy): Change return type to int.
334937c53322Sespie	(dyn_string_copy_cstr): Likewise.
335037c53322Sespie	(dyn_string_prepend): Likewise.
335137c53322Sespie	(dyn_string_prepend_cstr): Likewise.
335237c53322Sespie	(dyn_string_insert): Likewise.
335337c53322Sespie	(dyn_string_insert_cstr): Likewise.
335437c53322Sespie	(dyn_string_append): Likewise.
335537c53322Sespie	(dyn_string_append_cstr): Likewise.
335637c53322Sespie	(dyn_string_append_char): Likewise.
335737c53322Sespie	(dyn_string_substring): Likewise.
335837c53322Sespie
335937c53322Sespie2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
336037c53322Sespie
336137c53322Sespie	* cp-demangle.c (demangle_operator_name): Add spaces before
336237c53322Sespie	names beginning with a letter: delete, delete[], new, new[],
336337c53322Sespie	sizeof.
336437c53322Sespie	(demangle_special_name): Handle TF <type> and TJ <type>.
336537c53322Sespie
336637c53322SespieThu Jun  8 18:52:24 2000  Philippe De Muyter  <phdm@macqel.be>
336737c53322Sespie
336837c53322Sespie	* cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
336937c53322Sespie
337037c53322SespieThu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
337137c53322Sespie
337237c53322Sespie	* cp-demangle.c (stdio.h): File included unconditionaly.
337337c53322Sespie	(template_arg_list_new): Parameter list is PARAMS ((void)), not ().
337437c53322Sespie	* dyn-string.c (stdio.h): File included.
337537c53322Sespie	* partition.c (partition_print): No `&' needed to take the address of
337637c53322Sespie	a function.
337737c53322Sespie
337837c53322Sespie2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
337937c53322Sespie
338037c53322Sespie	* configure.in (ac_libiberty_warn_cflags): Add -pedantic.
338137c53322Sespie
338237c53322Sespie	* choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
338337c53322Sespie
338437c53322Sespie	* cp-demangle.c (demangle_char): Change parameter from char to int.
338537c53322Sespie	(demangle_expression, demangle_expr_primary): Remove extra
338637c53322Sespie	semi-colon in prototype.
338737c53322Sespie
338837c53322Sespie	* dyn-string.c (dyn_string_append_char): Change parameter from
338937c53322Sespie	char to int.
339037c53322Sespie
339137c53322Sespie	* memcmp.c (memcmp): Constify.
339237c53322Sespie
339337c53322Sespie	* mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
339437c53322Sespie	__extension__.
339537c53322Sespie
339637c53322Sespie	* partition.c (elem_compare): Prototype.  Don't cast away
339737c53322Sespie	const-ness.
339837c53322Sespie
339937c53322Sespie	* setenv.c (setenv): Use braces to avoid ambiguous `else'.
340037c53322Sespie
340137c53322Sespie2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
340237c53322Sespie
340337c53322Sespie	* Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
340437c53322Sespie
340537c53322Sespie	* cp-demangle.c: Include demangle.h.
340637c53322Sespie	(template_arg_list_new): DeANSIfy.
340737c53322Sespie	(cp_demangle): Make static and add prototype.
340837c53322Sespie	(operator_code, operators): Constify.
340937c53322Sespie	(demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
341037c53322Sespie
341137c53322Sespie2000-06-05  Alex Samuel  <samuel@codesourcery.com>
341237c53322Sespie
341337c53322Sespie	* cp-demangle.c (demangle_prefix): Cast argument to isdigit to
341437c53322Sespie	unsigned char.
341537c53322Sespie	(demangle_unqualified_name): Likewise.
341637c53322Sespie	(demangle_number_literally): Likewise.
341737c53322Sespie	(demangle_type): Likewise.
341837c53322Sespie	(demangle_substitution): Likewise.
341937c53322Sespie	(is_mangled_char): Likewise, for isalnum.
342037c53322Sespie
342137c53322Sespie2000-06-04  Alex Samuel  <samuel@codesourcery.com>
342237c53322Sespie
342337c53322Sespie	* Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
342437c53322Sespie	(REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
342537c53322Sespie	(cp-demangle.o): New dependency.
342637c53322Sespie	(dyn-string.o): Likewise.
342737c53322Sespie
342837c53322Sespie	* dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.
342937c53322Sespie
343037c53322Sespie	* cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
343137c53322Sespie	demangler.
343237c53322Sespie	(cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
343337c53322Sespie	demangling mode.
343437c53322Sespie	(gnu_new_abi_symbol_characters): New function.
343537c53322Sespie	(main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
343637c53322Sespie	file.
343737c53322Sespie	* cp-demangle.c: New file.
343837c53322Sespie
343937c53322SespieTue May 30 16:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
344037c53322Sespie
344137c53322Sespie	* floatformat.c: Add name to each floatformat field.
344237c53322Sespie
344337c53322SespieTue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
344437c53322Sespie
344537c53322Sespie	* Makefile.in (objalloc.o): Depend on config.h
344637c53322Sespie
344737c53322Sespie2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
344837c53322Sespie
344937c53322Sespie	* hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
345037c53322Sespie	if HAVE_STRING_H.
345137c53322Sespie	* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
345237c53322Sespie	* objalloc.c: Include config.h.  Include stdlib.h and don't
345337c53322Sespie	declare malloc or free if HAVE_STDLIB_H.
345437c53322Sespie	* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
345537c53322Sespie	else declare malloc without prototype.  Include string.h if
345637c53322Sespie	HAVE_STRING_H, else declare memset without prototype.  Don't
345737c53322Sespie	include stddef.h.
345837c53322Sespie
345937c53322Sespie2000-05-23  Mike Stump  <mrs@wrs.com>
346037c53322Sespie
346137c53322Sespie	* Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
346237c53322Sespie	-j3.
346337c53322Sespie
346437c53322Sespie2000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
346537c53322Sespie
346637c53322Sespie	* xmalloc.c: Include config.h for HAVE_SBRK definition.
346737c53322Sespie
346837c53322Sespie2000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
346937c53322Sespie
347037c53322Sespie	* hashtab.c (hash_pointer): Delete low-order bits which are
347137c53322Sespie	probably zero, also eliminate a warning on alpha.
347237c53322Sespie
347337c53322Sespie2000-05-15  David Edelsohn  <edelsohn@gnu.org>
347437c53322Sespie
347537c53322Sespie	* Makefile.in: Change "pic" to depend on $(PICFLAG), not
347637c53322Sespie	on $(enable_shared).
347737c53322Sespie
347837c53322Sespie2000-05-10  Jakub Jelinek  <jakub@redhat.com>
347937c53322Sespie
348037c53322Sespie	* config.table: Use mh-sparcpic for sparc*-*-*.
348137c53322Sespie
348237c53322Sespie2000-05-08  Nick Clifton  <nickc@cygnus.com>
348337c53322Sespie
348437c53322Sespie	* Makefile.in (CFILES): Add strncmp.c.
348537c53322Sespie	(NEEDED): Add strncmp.
348637c53322Sespie
348737c53322Sespie2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
348837c53322Sespie
348937c53322Sespie	* cplus-dem.c (cplus_demangle_opname, demangle_function_name):
349037c53322Sespie	Cast the arguments to `islower' to `unsigned char'.
349137c53322Sespie	(print_demangler_list): Prototype.
349237c53322Sespie
349337c53322SespieThu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
349437c53322Sespie
349537c53322Sespie	* sort.c (UCHAR_MAX): Provide fallback definition.
349637c53322Sespie
349737c53322Sespie2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
349837c53322Sespie
349937c53322Sespie	* Makefile.in (maintainer-clean-subdir): Fix handling of empty
350037c53322Sespie	SUBDIRS.
350137c53322Sespie
350237c53322Sespie2000-04-28  Kenneth Block  <block@zk3.dec.com>
350337c53322Sespie	    Jason Merrill  <jason@casey.cygnus.com>
350437c53322Sespie
350537c53322Sespie	* cplus-dem.c (libiberty_demanglers): New table for demangle styles.
350637c53322Sespie	(cplus_demangle_set_style): New function for setting style.
350737c53322Sespie	(cplus_demangle_name_to_style): New function to translate name.
350837c53322Sespie
350937c53322Sespie2000-04-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
351037c53322Sespie
351137c53322Sespie	* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
351237c53322Sespie
351337c53322Sespie	* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
351437c53322Sespie	(libiberty_AC_FUNC_STRNCMP): Invoke.
351537c53322Sespie
351637c53322Sespie	* strncmp.c: New file.
351737c53322Sespie
351837c53322SespieThu Apr 27 16:58:43 MET DST 2000  Jan Hubicka  <jh@suse.cz>
351937c53322Sespie
352037c53322Sespie	* hashtab.c (htab_expand): Add prototype.
352137c53322Sespie	(find_empty_slot_for_expand): Likewise.
352237c53322Sespie
352337c53322Sespie2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
352437c53322Sespie
352537c53322Sespie	* hashtab.c (hash_pointer, eq_pointer): Make definition static to
352637c53322Sespie	match prototype.
352737c53322Sespie	(htab_expand): Cast the return value of xcalloc.
352837c53322Sespie
352937c53322Sespie2000-04-24  Mark Mitchell  <mark@codesourcery.com>
353037c53322Sespie
353137c53322Sespie	* hashtab.c (hash_pointer): New function.
353237c53322Sespie	(eq_pointer): Likewise.
353337c53322Sespie	(htab_hash_pointer): New variable.
353437c53322Sespie	(htab_eq_pointer): Likewise.
353537c53322Sespie
353637c53322Sespie2000-04-23  Mark Mitchell  <mark@codesourcery.com>
353737c53322Sespie
353837c53322Sespie	* sort.c (sort_pointers): Fix endianness bugs.
353937c53322Sespie
354037c53322Sespie	* sort.c: New file.
354137c53322Sespie	* Makefile.in (CFILES): Add sort.c
354237c53322Sespie	(REQUIRED_OFILES): Add sort.o.
354337c53322Sespie	(sort.o): New target.
354437c53322Sespie
354537c53322Sespie2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
354637c53322Sespie
354737c53322Sespie	* Makefile.in (*-subdir): Revamp slightly to avoid losing on
354837c53322Sespie	4.3BSD systems.
354937c53322Sespie
355037c53322SespieTue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
355137c53322Sespie
355237c53322Sespie	* hashtab.c: Various minor cleanups.
355337c53322Sespie	(htab_find_slot_with_hash): INSERT is now enum insert_option.
355437c53322Sespie	(htab_find_slot): Likewise.
355537c53322Sespie
355637c53322Sespie2000-04-16  Dave Pitts  <dpitts@cozx.com>
355737c53322Sespie
355837c53322Sespie	* cplus-dem.c (cplus_demangle_opname): Changed to use islower.
355937c53322Sespie
356037c53322Sespie2000-04-05  Richard Henderson  <rth@cygnus.com>
356137c53322Sespie
356237c53322Sespie	* splay-tree.c (splay_tree_remove): New.
356337c53322Sespie
356437c53322Sespie2000-03-30  Mark Mitchell  <mark@codesourcery.com>
356537c53322Sespie
356637c53322Sespie	* hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
356737c53322Sespie	codes.
356837c53322Sespie	(htab_find_with_hash): Likewise.
356937c53322Sespie	(htab_find_slot_with_hash): Likewise.
357037c53322Sespie
357137c53322Sespie2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
357237c53322Sespie
357337c53322Sespie	* hashtab.c (htab_find_with_hash): Avoid calculating hash2
357437c53322Sespie	unless it will be used.  Rearrange loop for better
357537c53322Sespie	optimization.
357637c53322Sespie	(higher_prime_number): Add static prototype.
357737c53322Sespie
357800bf4279SespieThu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
357900bf4279Sespie
358000bf4279Sespie	* Makefile.in (partition.o): Depend on config.h
358100bf4279Sespie
358200bf4279Sespie2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
358300bf4279Sespie
358400bf4279Sespie	* hashtab.c (find_empty_slot_for_expand): New function.
358500bf4279Sespie	(htab_expand): Use it instead of htab_find_slot.
358600bf4279Sespie	(htab_find_with_hash): Renamed from htab_find; now accepts extra
358700bf4279Sespie	argument HASH.
358800bf4279Sespie	(htab_find_slot_with_hash): Likewise for htab_find_slot.
358900bf4279Sespie	(htab_find): New wrapper function.
359000bf4279Sespie	(htab_find_slot): Likewise.
359100bf4279Sespie	(htab_traverse): Pass slot, not entry, to called function.
359200bf4279Sespie
359300bf4279Sespie2000-03-09  Alex Samuel  <samuel@codesourcery.com>
359400bf4279Sespie
359500bf4279Sespie	* Makefile.in (CFILES): Add partition.c.
359600bf4279Sespie	(REQUIRED_OFILES): Add partition.o.
359700bf4279Sespie	(partition.o): New rule.
359800bf4279Sespie	* partition.c: New file.
359900bf4279Sespie
360000bf4279Sespie2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
360100bf4279Sespie
360200bf4279Sespie	* hashtab.c (htab_create): Set del_f.
360300bf4279Sespie	(htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
360400bf4279Sespie	Use it.
360500bf4279Sespie
360600bf4279Sespie2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
360700bf4279Sespie
360800bf4279Sespie	* hashtab.c: Remove debugging variables (all_searches,
360900bf4279Sespie	all_collisions, all_expansions). Delete
361000bf4279Sespie	all_hash_table_collisions.
361100bf4279Sespie	(create_hash_table, delete_hash_table, empty_hash_table,
361200bf4279Sespie	find_hash_table_entry, remove_element_from_hash_table_entry,
361300bf4279Sespie	clear_hash_table_slot, traverse_hash_table, hash_table_size,
361400bf4279Sespie	hash_table_elements_number, hash_table_collisions): Rename to:
361500bf4279Sespie	htab_create, htab_delete, htab_empty, htab_find_slot,
361600bf4279Sespie	htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
361700bf4279Sespie	htab_elements, htab_collisions.
361800bf4279Sespie	(htab_find): New function, handles common case where you don't
361900bf4279Sespie	plan to add or delete an entry.
362000bf4279Sespie	(htab_expand): Don't create a whole new table, just a new
362100bf4279Sespie	entry vector.
362200bf4279Sespie	(htab_find_slot): Simplify logic.
362300bf4279Sespie
362400bf4279Sespie1999-08-03  Ian Lance Taylor  <ian@zembu.com>
362500bf4279Sespie
362600bf4279Sespie	* floatformat.c: Add casts to avoid signed/unsigned warnings.
362700bf4279Sespie	* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
362800bf4279Sespie
362900bf4279Sespie	* Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
363000bf4279Sespie	$(TARGETLIB)n so it works on MSDOS.
363100bf4279Sespie	(install_to_tooldir): Likewise.
363200bf4279Sespie
363300bf4279Sespie1999-07-21  Ian Lance Taylor  <ian@zembu.com>
363400bf4279Sespie
363500bf4279Sespie	From Mark Elbrecht:
363600bf4279Sespie	* makefile.dos: Remove; obsolete.
363700bf4279Sespie	* configure.bat: Remove; obsolete.
363800bf4279Sespie
363900bf4279Sespie1999-07-11  Ian Lance Taylor  <ian@zembu.com>
364000bf4279Sespie
364100bf4279Sespie	* splay-tree.c (splay_tree_insert): Add initialization to avoid
364200bf4279Sespie	warning.
364300bf4279Sespie
364400bf4279Sespie2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
364500bf4279Sespie
364600bf4279Sespie	* pexecute.c: Conditionally include string.h.
364700bf4279Sespie	(fix_argv): Handle embedded whitespace in args for Mingw32.
364800bf4279Sespie
364900bf4279Sespie2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
365000bf4279Sespie
365100bf4279Sespie	* configure.in (ac_libiberty_warn_cflags): Turn on warnings if
365200bf4279Sespie	we're using gcc.
365300bf4279Sespie
365400bf4279Sespie	* Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
365500bf4279Sespie
365600bf4279Sespie1999-12-27  Geoff Keating  <geoffk@cygnus.com>
365700bf4279Sespie
365800bf4279Sespie	* vasprintf.c (int_vasprintf): Don't re-read the format character
365900bf4279Sespie	as this mishandles strings like '%%s'.
366000bf4279Sespie
366100bf4279Sespie1999-12-05  Mark Mitchell  <mark@codesourcery.com>
366200bf4279Sespie
366300bf4279Sespie	* splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
366400bf4279Sespie	rather than struct splay_tree_node.
366500bf4279Sespie	(splay_tree_insert): Use struct splay_tree_s rather than struct
366600bf4279Sespie	splay_tree.
366700bf4279Sespie
366800bf4279SespieSun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
366900bf4279Sespie
367000bf4279Sespie	* hashtab.c (sys/types.h): File included.
367100bf4279Sespie
367200bf4279Sespie1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
367300bf4279Sespie
367400bf4279Sespie	* strtoul.c, strtol.c, random.c: Remove advertising clause from
367500bf4279Sespie	BSD license, pursuant with
367600bf4279Sespie
367700bf4279Sespie	  ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
367800bf4279Sespie
367900bf4279SespieWed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
368000bf4279Sespie
368100bf4279Sespie	* hashtab.c: Include stdio.h.
368200bf4279Sespie
368300bf4279SespieMon Nov  8 09:23:41 1999  Jeffrey A Law  (law@cygnus.com)
368400bf4279Sespie
368500bf4279Sespie	* hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
368600bf4279Sespie
368700bf4279SespieTue Nov  2 03:23:13 1999  Philippe De Muyter  <phdm@macqel.be>
368800bf4279Sespie
368900bf4279Sespie	* xstrdup (sys/types.h): Include this file.
369000bf4279Sespie
369100bf4279Sespie1999-10-28  Nathan Sidwell  <nathan@acm.org>
369200bf4279Sespie
369300bf4279Sespie	* Makefile.in (SUBDIRS): New macro.
369400bf4279Sespie	(mostlyclean, clean, distclean, maintainer-clean): Adjust to
369500bf4279Sespie	avoid multiple subdirectory cleaning.
369600bf4279Sespie	(*-subdir): Use SUBDIRS.
369700bf4279Sespie
369800bf4279Sespie1999-10-25  Jim Kingdon  <http://developer.redhat.com/>
369900bf4279Sespie
370000bf4279Sespie	* cplus-dem.c: Move declarations of standard_symbol_characters and
370100bf4279Sespie	hp_symbol_characters inside #ifdef MAIN to avoid compiler
370200bf4279Sespie	warnings.
370300bf4279Sespie
370400bf4279Sespie1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
370500bf4279Sespie
370600bf4279Sespie	* hashtab.c (find_hash_table_entry): When returning a
370700bf4279Sespie	DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
370800bf4279Sespie	(clear_hash_table_slot): New function which deletes an entry
370900bf4279Sespie	by its position in the table, not its value.
371000bf4279Sespie	(traverse_hash_table): New function which calls a hook
371100bf4279Sespie	function for every live entry in the table.
371200bf4279Sespie
371300bf4279Sespie1999-10-19  Mark Mitchell  <mark@codesourcery.com>
371400bf4279Sespie
371500bf4279Sespie	* cplus-dem.c (INTBUF_SIZE): New macro.
371600bf4279Sespie	(string_append_template_idx): New function.
371700bf4279Sespie	(demangle_expression): Likewise.
371800bf4279Sespie	(demangle_integral_value): Use it.
371900bf4279Sespie	(demangle_real_value): New function, split out from ...
372000bf4279Sespie	(demangle_template_value_parm): ... here.  Use
372100bf4279Sespie	string_append_template_idx.  Use demangle_real_value.
372200bf4279Sespie	(demangle_template): Use string_append_template_idx.
372300bf4279Sespie	(demangle_qualified): Use consume_count_with_underscores.
372400bf4279Sespie	(get_count): Tweak formatting.
372500bf4279Sespie	(do_type): Use string_append_template_idx.
372600bf4279Sespie
372700bf4279Sespie1999-10-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
372800bf4279Sespie
372900bf4279Sespie	* calloc.c: Add a public domain notice.
373000bf4279Sespie
373100bf4279SespieMon Oct 18 02:30:47 1999  Philippe De Muyter  <phdm@macqel.be>
373200bf4279Sespie
373300bf4279Sespie	* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
373400bf4279Sespie
373500bf4279SespieFri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
373600bf4279Sespie
373700bf4279Sespie	* Makefile.in (CFILES): Add hashtab.c
373800bf4279Sespie	(REQUIRED_OFILES): Add hashtab.o
373900bf4279Sespie	(hashtab.o): Add dependencies.
374000bf4279Sespie	* hashtab.c: New file
374100bf4279Sespie
374200bf4279SespieWed Oct 13 01:16:47 1999  Mumit Khan  <khan@xraylith.wisc.edu>
374300bf4279Sespie
374400bf4279Sespie	* basename.c (DIR_SEPARATOR): New macro.
374500bf4279Sespie	(DIR_SEPARATOR_2): Likewise.
374600bf4279Sespie	(HAVE_DOS_BASED_FILESYSTEM): Likewise.
374700bf4279Sespie	(IS_DIR_SEPARATOR): Likewise.
374800bf4279Sespie	(main): Handle MSDOS style pathname.
374900bf4279Sespie
375000bf4279Sespie1999-10-11  Mark Mitchell  <mark@codesourcery.com>
375100bf4279Sespie
375200bf4279Sespie	* cplus-dem.c (do_type): Handle pointer to member types whose
375300bf4279Sespie	enclosing classes have namespace scope.
375400bf4279Sespie
375500bf4279SespieSun Oct 10 01:23:50 1999  Marc Espie <espie@cvs.openbsd.org>
375600bf4279Sespie
375700bf4279Sespie	* config.table:  Provide a backup shell for executing move-if-change.
375800bf4279Sespie
375900bf4279Sespie1999-10-02  Mark Mitchell  <mark@codesourcery.com>
376000bf4279Sespie
376100bf4279Sespie	* xmalloc.c (xmalloc): Fix spelling error.
376200bf4279Sespie	(xcalloc, xrealloc): Likewise.
376300bf4279Sespie
376400bf4279Sespie1999-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
376500bf4279Sespie
376600bf4279Sespie	* cplus-dem.c (fancy_abort, demangle_integral_value,
376700bf4279Sespie	demangle_arm_hp_template, recursively_demangle,
376800bf4279Sespie	standard_symbol_characters, hp_symbol_characters, main): Add prototype.
376900bf4279Sespie	(program_name, program_version, fatal): Constify a char*.
377000bf4279Sespie	(usage, fatal): Mark with ATTRIBUTE_NORETURN.
377100bf4279Sespie	(main): Call return, not exit.
377200bf4279Sespie
377300bf4279Sespie1999-09-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
377400bf4279Sespie
377500bf4279Sespie	* choose-temp.c: Remove obsolete comment about gcc.
377600bf4279Sespie	(make_temp_file): Constify a char*.
377700bf4279Sespie
377800bf4279SespieWed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
377900bf4279Sespie
378000bf4279Sespie	* xmemdup.c: Include sys/types.h.
378100bf4279Sespie
378200bf4279Sespie1999-09-07  Jeff Garzik  <jgarzik@pobox.com>
378300bf4279Sespie
378400bf4279Sespie	* xmemdup.c: New xmemdup function.
378500bf4279Sespie	* Makefile.in, makefile.vms, vmsbuild.com:  Use xmemdup.[co].
378600bf4279Sespie
378700bf4279SespieTue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
378800bf4279Sespie
378900bf4279Sespie	* config.table: Add openedition target.
379000bf4279Sespie	* config/mh-openedition: New file.
379100bf4279Sespie
379200bf4279SespieThu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
379300bf4279Sespie
379400bf4279Sespie	* pexecute.c (pexecute):  Fill in temp_base when needed.
379500bf4279Sespie
379600bf4279Sespie1999-08-31  Richard Henderson  <rth@cygnus.com>
379700bf4279Sespie
379800bf4279Sespie	* getpwd.c: Check HAVE_GETCWD before defining it away.
379900bf4279Sespie
380000bf4279Sespie1999-08-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
380100bf4279Sespie
380200bf4279Sespie	* Makefile.in (CFILES): Add calloc.c and getpwd.c.
380300bf4279Sespie	(REQUIRED_OFILES): Add getpwd.o.
380400bf4279Sespie	(getpwd.o): Add target.
380500bf4279Sespie
380600bf4279Sespie	* configure.in (AC_PREREQ): Bump to 2.13.
380700bf4279Sespie	(AC_CHECK_HEADERS): Add check for <sys/stat.h>.
380800bf4279Sespie
380900bf4279Sespie	* getpwd.c: New file, moved here from gcc.
381000bf4279Sespie
381100bf4279Sespie1999-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
381200bf4279Sespie
381300bf4279Sespie	* cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
381400bf4279Sespie	comparing against a signed quantity.
381500bf4279Sespie	(arm_special): Likewise.
381600bf4279Sespie	(demangle_fund_type): Likewise.
381700bf4279Sespie	(do_hpacc_template_const_value): Mark parameter `work' with
381800bf4279Sespie	ATTRIBUTE_UNUSED.
381900bf4279Sespie	(main): Constify variable `valid_symbols'.
382000bf4279Sespie
382100bf4279SespieTue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
382200bf4279Sespie
382300bf4279Sespie	* strtoul.c (strtoul): Add parentheses around && within ||.
382400bf4279Sespie
382500bf4279SespieFri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
382600bf4279Sespie
382700bf4279Sespie	* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
382800bf4279Sespie	libdir, libsubdir and tooldir.
382900bf4279Sespie
383000bf4279Sespie1999-08-01  Mark Mitchell  <mark@codesourcery.com>
383100bf4279Sespie
383200bf4279Sespie	* splay-tree.c (splay_tree_insert): Return the new node.
383300bf4279Sespie
383400bf4279Sespie1999-07-14  Richard Henderson  <rth@cygnus.com>
383500bf4279Sespie
383600bf4279Sespie	* argv.c: Include stdlib.h and string.h instead of
383700bf4279Sespie	prototyping directly.
383800bf4279Sespie	* choose-temp.c: Conditionally include string.h.
383900bf4279Sespie
384000bf4279Sespie1999-07-12  Jason Merrill  <jason@yorick.cygnus.com>
384100bf4279Sespie
384200bf4279Sespie	* Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
384300bf4279Sespie
384400bf4279Sespie1999-07-11  Ian Lance Taylor  <ian@zembu.com>
384500bf4279Sespie
384600bf4279Sespie	* splay-tree.c (splay_tree_insert): Add initialization to avoid
384700bf4279Sespie	warning.
384800bf4279Sespie
384900bf4279Sespie1999-07-07  Jason Merrill  <jason@yorick.cygnus.com>
385000bf4279Sespie
385100bf4279Sespie	* Makefile.in (needed-list): Only include stuff we actually need
385200bf4279Sespie	for libstdc++.
385300bf4279Sespie
385400bf4279Sespie1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
385500bf4279Sespie
385600bf4279Sespie	* configure.in (checkfuncs): Add gettimeofday.
385700bf4279Sespie	* config.in, configure: Regenerated.
385800bf4279Sespie
385900bf4279SespieMon Jun 21 05:56:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
386000bf4279Sespie
386100bf4279Sespie	* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
386200bf4279Sespie	the test fails.
386300bf4279Sespie	* configure: Regenerate.
386400bf4279Sespie
386500bf4279Sespie1999-06-10  Mike Stump  <mrs@wrs.com>
386600bf4279Sespie
386700bf4279Sespie	* Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
386800bf4279Sespie	parallel builds.
386900bf4279Sespie
387000bf4279Sespie1999-05-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
387100bf4279Sespie
387200bf4279Sespie	* putenv.c: Include ansidecl.h to define `const'.
387300bf4279Sespie	* setenv.c: Likewise.
387400bf4279Sespie
387500bf4279SespieWed May 26 03:58:20 1999  "Melissa O'Neill" <oneill@cs.sfu.ca>
387600bf4279Sespie
387700bf4279Sespie	* Makefile.in (CFILES): Add putenv.c and setenv.c.
387800bf4279Sespie	* configure.in (funcs): Add putenv and setenv.
387900bf4279Sespie	(AC_CHECK_FUNCS): Check for putenv and setenv.
388000bf4279Sespie	* configure: Rebuilt.
388100bf4279Sespie	* putenv.c setenv.c: New files.
388200bf4279Sespie
388300bf4279Sespie	* getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
388400bf4279Sespie	bytes of space using malloc.
388500bf4279Sespie
388600bf4279SespieMon May 17 01:42:34 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
388700bf4279Sespie
388800bf4279Sespie	* cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
388900bf4279Sespie	the *mangled pointer beyond the end of the string.  Clean up code to
389000bf4279Sespie	match prevailing coding style.
389100bf4279Sespie
389200bf4279Sespie1999-05-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
389300bf4279Sespie
389400bf4279Sespie	* tmpnam.c (L_tmpnam): Fix typo.
389500bf4279Sespie
389600bf4279SespieThu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
389700bf4279Sespie
389800bf4279Sespie	* cplus-dem.c (standard_symbol_characters): Renamed from
389900bf4279Sespie	standard_symbol_alphabet.  No longer modify TABLE.
390000bf4279Sespie	(hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
390100bf4279Sespie	modify TABLE.
390200bf4279Sespie	(main): Corresponding changes.  Use strchr to determine if a
390300bf4279Sespie	character is valid.
390400bf4279Sespie
390500bf4279Sespie1999-05-11  Jim Blandy  <jimb@zwingli.cygnus.com>
390600bf4279Sespie
390700bf4279Sespie	* cplus-dem.c (main): Use table lookup to distinguish identifier
390800bf4279Sespie	characters from non-identifier characters.
390900bf4279Sespie	(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
391000bf4279Sespie
391100bf4279SespieThu May  6 20:34:42 1999  Fred Fish  <fnf@be.com>
391200bf4279Sespie
391300bf4279Sespie	* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
391400bf4279Sespie	* getruntime.c: Only attempt to include sys/resource.h and
391500bf4279Sespie	use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
391600bf4279Sespie	are defined.
391700bf4279Sespie
391800bf4279SespieMon Apr 26 01:36:06 1999  Donn Terry (donn@interix.com)
391900bf4279Sespie
392000bf4279Sespie	* configure.in (alloca detection): Handle alloca directly for interix.
392100bf4279Sespie	* configure: Rebuilt.
392200bf4279Sespie
392300bf4279SespieSun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
392400bf4279Sespie
392500bf4279Sespie	* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
392600bf4279Sespie
392700bf4279Sespie1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
392800bf4279Sespie
392900bf4279Sespie	Fix from Dale Hawkins:
393000bf4279Sespie	* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
393100bf4279Sespie	reallocated properly if we use it again.
393200bf4279Sespie
393300bf4279Sespie	* cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
393400bf4279Sespie	stricter about syntax.  Always null-terminate string.
393500bf4279Sespie
393600bf4279SespieThu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>
393700bf4279Sespie
393800bf4279Sespie	* configure.in (checkfuncs): Check for sbrk.
393900bf4279Sespie	* config.in: Rebuilt.
394000bf4279Sespie	* configure: Likewise.
394100bf4279Sespie	* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
394200bf4279Sespie
394300bf4279Sespie1999-04-12  Jim Blandy  <jimb@zwingli.cygnus.com>
394400bf4279Sespie
394500bf4279Sespie	Fix from Marcus Daniels:
394600bf4279Sespie	* cplus-dem.c (demangle_fund_type): Don't run off the end of the
394700bf4279Sespie	identifier looking for another underscore.
394800bf4279Sespie
394900bf4279SespieSun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
395000bf4279Sespie
395100bf4279Sespie	* pexecute.c: Change all references to __UWIN__ to _UWIN.
395200bf4279Sespie	* xmalloc.c: Likewise.
395300bf4279Sespie	(xcalloc): UWIN has sbrk.
395400bf4279Sespie	(xrealloc): Fix guard macro.
395500bf4279Sespie
395600bf4279Sespie1999-04-11  Richard Henderson  <rth@cygnus.com>
395700bf4279Sespie
395800bf4279Sespie	* alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
395900bf4279Sespie	or <alloca.h>.
396000bf4279Sespie	* clock.c (GNU_HZ): New definition.
396100bf4279Sespie	(clock): Use it.
396200bf4279Sespie	* getruntime.c: Likewise.
396300bf4279Sespie
396400bf4279Sespie	* config.table: Use mh-beos.
396500bf4279Sespie	* config/mh-beos: New file.
396600bf4279Sespie
396700bf4279Sespie1999-04-11  Mark Mitchell  <mark@codesourcery.com>
396800bf4279Sespie
396900bf4279Sespie	* cplus-dem.c (demangle_template_value_parm): Handle
397000bf4279Sespie	pointers-to-members.
397100bf4279Sespie	(do_type): Handle template parameters as qualifiers.
397200bf4279Sespie
397300bf4279Sespie1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
397400bf4279Sespie
397500bf4279Sespie	* cplus-dem.c: Attempt to handle overflows in counts with some
397600bf4279Sespie	semblance of grace.
397700bf4279Sespie	(consume_count): Detect overflows.  Return -1 to indicate errors,
397800bf4279Sespie	instead of zero.
397900bf4279Sespie	(demangle_template_value_parm, demangle_template): Handle change
398000bf4279Sespie	to consume_count's return convention.
398100bf4279Sespie
398200bf4279Sespie1999-04-05  Tom Tromey  <tromey@cygnus.com>
398300bf4279Sespie
398400bf4279Sespie	* testsuite/regress-demangle: New file.
398500bf4279Sespie	* testsuite/demangle-expected: New file.
398600bf4279Sespie
398700bf4279Sespie	* Makefile.in (all, check, installcheck, info, install-info,
398800bf4279Sespie	clean-info, dvi, install, etags, tags, mostlyclean, clean,
398900bf4279Sespie	distclean, maintainer-clean, realclean): Depend on corresponding
399000bf4279Sespie	`-subdir' target.
399100bf4279Sespie	(all-subdir check-subdir installcheck-subdir info-subdir
399200bf4279Sespie	install-info-subdir clean-info-subdir dvi-subdir
399300bf4279Sespie	install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
399400bf4279Sespie	distclean-subdir maintainer-clean-subdir): New target.
399500bf4279Sespie	* testsuite/Makefile.in: New file.
399600bf4279Sespie	* configure: Rebuilt.
399700bf4279Sespie	* configure.in: Create testsuite/Makefile.
399800bf4279Sespie
399900bf4279Sespie1999-04-02  Mark Mitchell  <mark@codesourcery.com>
400000bf4279Sespie
400100bf4279Sespie	* splay-tree.h (splay_tree_compare_pointers): Define.
400200bf4279Sespie
400300bf4279Sespie1999-03-30  Mark Mitchell  <mark@codesourcery.com>
400400bf4279Sespie
400500bf4279Sespie	* splay-tree.c (splay_tree_compare_ints): Define.
400600bf4279Sespie
400700bf4279Sespie1999-03-30  Tom Tromey  <tromey@cygnus.com>
400800bf4279Sespie
400900bf4279Sespie	* cplus-dem.c (consume_count): If `count' wraps, return 0 and
401000bf4279Sespie	don't advance input pointer.
401100bf4279Sespie	(demangle_class_name): If consume_count didn't find a count, do
401200bf4279Sespie	nothing.  Don't bother with `strlen' sanity check; consume_count
401300bf4279Sespie	does it for us.
401400bf4279Sespie
401500bf4279Sespie1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
401600bf4279Sespie
401700bf4279Sespie	From Art Haas  <ahaas@neosoft.com>:
401800bf4279Sespie	* cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
401900bf4279Sespie	when doing arm or hp style.
402000bf4279Sespie	(demangle_nested_args): Decr forgetting_types field when done.
402100bf4279Sespie
402200bf4279SespieThu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
402300bf4279Sespie
402400bf4279Sespie	* pexecute.c (__CYGWIN32__): Rename to
402500bf4279Sespie	(__CYGWIN__): this.
402600bf4279Sespie	* xmalloc.c: Likewise.
402700bf4279Sespie
402800bf4279Sespie	Changes to support i386-pc-uwin.
402900bf4279Sespie	* configure.in (*-*-uwin*): Workaround for vfork bug.
403000bf4279Sespie	* configure: Regenerate.
403100bf4279Sespie	* pexecute.c (pexecute): Be like standard Unix.
403200bf4279Sespie	(pwait): Likewise.
403300bf4279Sespie	* xmalloc.c (first_break): Define.
403400bf4279Sespie	(xmalloc_set_program_name): Use.
403500bf4279Sespie	(xmalloc): Use.
403600bf4279Sespie
403700bf4279SespieThu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
403800bf4279Sespie
403900bf4279Sespie	* config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
404000bf4279Sespie
404100bf4279SespieSun Feb 28 22:30:44 1999  Geoffrey Noer  <noer@cygnus.com>
404200bf4279Sespie
404300bf4279Sespie	* config.table: Check cygwin*, not cygwin32*.
404400bf4279Sespie
404500bf4279SespieTue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
404600bf4279Sespie
404700bf4279Sespie	* Makefile.in: Change mkstemp -> mkstemps.
404800bf4279Sespie
404900bf4279SespieTue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
405000bf4279Sespie
405100bf4279Sespie	* Makefile.in (REQUIRED_OFILES): remove mkstemp.o
405200bf4279Sespie	* configure.in (funcs): Check for and conditionally add mkstemps to
405300bf4279Sespie	the list of functions libiberty will provide.
405400bf4279Sespie	* configure: Rebuilt.
405500bf4279Sespie
405600bf4279SespieWed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
405700bf4279Sespie
405800bf4279Sespie	* clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
405900bf4279Sespie	platforms that don't have HZ.
406000bf4279Sespie	* getruntime.c (HZ): Likewise.
406100bf4279Sespie
406200bf4279SespieSat Jan 30 13:28:04 1999  Richard Henderson  <rth@cygnus.com>
406300bf4279Sespie
406400bf4279Sespie	* Makefile.in (xstrdup.o): Depend on config.h.
406500bf4279Sespie
406600bf4279SespieWed Jan 13 07:26:44 1999  H.J. Lu  (hjl@gnu.org)
406700bf4279Sespie
406800bf4279Sespie	* cplus-dem.c (mop_up): Set work->previous_argument to NULL after
406900bf4279Sespie	freeing it.
407000bf4279Sespie
407100bf4279SespieWed Jan 13 14:16:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
407200bf4279Sespie
407300bf4279Sespie	* xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
407400bf4279Sespie
407500bf4279SespieTue Jan  5 15:58:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
407600bf4279Sespie
407700bf4279Sespie	* Makefile.in (CFILES): fix typo, splay-tree.c instead of
407800bf4279Sespie	splay-tree.o.
407900bf4279Sespie
408000bf4279Sespie1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
408100bf4279Sespie
408200bf4279Sespie	* configure.in: Require autoconf 2.12.1 or higher.
408300bf4279Sespie
408400bf4279Sespie1998-12-30  Michael Meissner  <meissner@cygnus.com>
408500bf4279Sespie
408600bf4279Sespie	* random.c (NULL): Don't redefine NULL if it is already defined.
408700bf4279Sespie
408800bf4279SespieTue Dec 22 09:43:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
408900bf4279Sespie
409000bf4279Sespie	* argv.c (buildargv): Cast the result of alloca in assignment.
409100bf4279Sespie
409200bf4279Sespie	* choose-temp.c: Include stdlib.h.
409300bf4279Sespie
409400bf4279Sespie	* cplus-dem.c (demangle_arm_pt): Remove unused prototype.
409500bf4279Sespie	(snarf_numeric_literal): Constify first parameter.
409600bf4279Sespie	(code_for_qualifier): Avoid a gcc extension, make the parameter an
409700bf4279Sespie	int, not a char.
409800bf4279Sespie	(demangle_qualifier): Likewise.
409900bf4279Sespie	(demangle_signature): Cast the argument of a ctype function to
410000bf4279Sespie	unsigned char.
410100bf4279Sespie	(arm_pt): Add parens around assignment used as truth value.
410200bf4279Sespie	(demangle_arm_hp_template): Constify variable `args'.
410300bf4279Sespie	(do_hpacc_template_const_value): Cast the argument of a ctype
410400bf4279Sespie	function to unsigned char.
410500bf4279Sespie	(do_hpacc_template_literal): Remove unused variable `i'.
410600bf4279Sespie	(snarf_numeric_literal): Constify parameter `args'.
410700bf4279Sespie	Cast the argument of a ctype function to unsigned char.
410800bf4279Sespie
410900bf4279Sespie	* floatformat.c (floatformat_to_double): Add explicit braces to
411000bf4279Sespie	avoid ambiguous `else'.
411100bf4279Sespie
411200bf4279Sespie	* fnmatch.c (fnmatch): Change type of variables `c', `c1',
411300bf4279Sespie	`cstart' and `cend' to unsigned char.  Cast the argument of macro
411400bf4279Sespie	`FOLD', which uses ctype functions, to unsigned char.
411500bf4279Sespie
411600bf4279Sespie	* objalloc.c (free): Add prototype.
411700bf4279Sespie
411800bf4279SespieSun Dec 20 16:03:46 1998  Hans-Peter Nilsson  <hp@axis.se>
411900bf4279Sespie
412000bf4279Sespie	* Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
412100bf4279Sespie
412200bf4279SespieFri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
412300bf4279Sespie
412400bf4279Sespie	* cplus-dem.c (demangle_arm_pt): remove declaration -- function
412500bf4279Sespie	doesn't exist.
412600bf4279Sespie	(do_hpacc_template_literal): remove unused variable `i'.
412700bf4279Sespie
412800bf4279SespieFri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
412900bf4279Sespie
413000bf4279Sespie	* cplus-dem.c (demangle_fund_type): Process CV and u codes before
413100bf4279Sespie	bumping the pointer we read from. Also prepend these codes,
413200bf4279Sespie	as we do in other places.
413300bf4279Sespie
413400bf4279Sespie1998-12-18  Nick Clifton  <nickc@cygnus.com>
413500bf4279Sespie
413600bf4279Sespie	* cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
413700bf4279Sespie	'const char *' in order to match its usage when calling siblings.
413800bf4279Sespie	(snarf_numeric_literal): Make first arg 'const char **' in order
413900bf4279Sespie	to match usage.
414000bf4279Sespie
414100bf4279SespieMon Dec 14 09:55:50 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
414200bf4279Sespie
414300bf4279Sespie	* choose-temp.c: Don't check IN_GCC anymore.
414400bf4279Sespie
414500bf4279Sespie	* floatformat.c (floatformat_from_double): Use `const', not `CONST'.
414600bf4279Sespie	* memchr.c (memchr): Likewise.
414700bf4279Sespie	* memcpy.c (memcpy): Likewise.
414800bf4279Sespie	* memmove.c (memmove): Likewise.
414900bf4279Sespie
415000bf4279Sespie	* mkstemp.c: Don't check IN_GCC anymore.
415100bf4279Sespie	* pexecute.c: Likewise.
415200bf4279Sespie	* splay-tree.c: Likewise.
415300bf4279Sespie
415400bf4279Sespie	* strchr.c (strchr): Use `const', not `CONST'.
415500bf4279Sespie	* strrchr.c (strrchr): Likewise.
415600bf4279Sespie	* strtol.c (strtol): Likewise.
415700bf4279Sespie	* strtoul.c (strtoul): Likewise.
415800bf4279Sespie
415900bf4279SespieFri Dec  4 13:51:04 1998  David Taylor   <taylor@texas.cygnus.com>
416000bf4279Sespie			  Elena Zannoni  <ezannoni@cygnus.com>
416100bf4279Sespie			  Stan Shebs     <shebs@cygnus.com>
416200bf4279Sespie			  Edith Epstein  <eepstein@cygnus.com>
416300bf4279Sespie			  Andres MacLeod <amacleod@cygnus.com>
416400bf4279Sespie			  Satish Pai	 <pai@apollo.hp.com>
416500bf4279Sespie
416600bf4279Sespie	* HP aCC demangling support.
416700bf4279Sespie	* cplus-dem.c
416800bf4279Sespie	(main): Remove default to HP style demangling, set to EDG
416900bf4279Sespie	demangling correctly when -edg specified; set the demangling style
417000bf4279Sespie	when user specifies 'edg'. Set strip_underscore to
417100bf4279Sespie	prepends_underscore, if not HPUXHPPA.  Set
417200bf4279Sespie	current_demangling_style to hp_demangling if HPUXHPPA.  Set
417300bf4279Sespie	current demangling style correctly if the switch is hp.  Read
417400bf4279Sespie	label correctly also in the HP style case.
417500bf4279Sespie	(work_stuff): add temp_start field; add field for volatile member
417600bf4279Sespie	function.
417700bf4279Sespie	(arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
417800bf4279Sespie	style for this case is the same as ARM.
417900bf4279Sespie	(demangle_args): handle EDG_DEMANGLING style; support HP style.
418000bf4279Sespie	(demangle_arm_hp_template): new function. (It was
418100bf4279Sespie	demangle_arm_pt.); check and set value of temp_start field in
418200bf4279Sespie	multiple places. Also, when ceching for end of template args,
418300bf4279Sespie	check to see if at end of static member of template class.
418400bf4279Sespie	(demangle_class): new local variable : save_class_name_end Don't
418500bf4279Sespie	include template args in string defining class.
418600bf4279Sespie	(demangle_class_name): use demangel_arm_hp_template.
418700bf4279Sespie	(demangle_function_name): handle case where demangling style is
418800bf4279Sespie	HP_DEMANGLING and currently point at an 'X' in the mangled name.
418900bf4279Sespie	Handle EDG_DEMANGLING style.  Handle constructor and destructor
419000bf4279Sespie	ops for HP style.
419100bf4279Sespie	(demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
419200bf4279Sespie	styles.  global destructor and constructor for HP style are same
419300bf4279Sespie	as for ARM style. Same for local variables.
419400bf4279Sespie	(demangle_qualified): handle EDG_DEMANGLING style.
419500bf4279Sespie	(demangle_signature): add case for volatile member function.  For
419600bf4279Sespie	cases '1' - '9' : initialize the temp_start field to -1 and handle
419700bf4279Sespie	the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
419800bf4279Sespie	and AUTO_DEMANGLING styles.  If expecting a function and managed
419900bf4279Sespie	to demangle the funct args, then handle the LUCID_DEMANGLING,
420000bf4279Sespie	ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
420100bf4279Sespie	class name after "Lnnn_ in HP style case. HP style too needs to
420200bf4279Sespie	forget types.  _nnn is OK for HP style, so don't report failure.
420300bf4279Sespie	(do_hpacc_template_const_value): new function. Handle template's
420400bf4279Sespie	value param for HP/aCC.
420500bf4279Sespie	(do_hpacc_template_literal): new function.  Handle a template's
420600bf4279Sespie	literal parameter for HP aCC.
420700bf4279Sespie	(recursively_demangle): new function
420800bf4279Sespie	(snarf_numeric_literal): new function.
420900bf4279Sespie	(usage): add 'edg' to the list of demangling styles; add hp switch
421000bf4279Sespie	to message.
421100bf4279Sespie
421200bf4279SespieSat Nov 28 17:25:22 1998  Christopher Faylor <cgf@cygnus.com>
421300bf4279Sespie
421400bf4279Sespie	* pexecute.c: Remove obsolete ifdefed cygwin code.
421500bf4279Sespie
421600bf4279SespieFri Nov 27 13:26:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
421700bf4279Sespie
421800bf4279Sespie	* choose-temp.c: Always include libiberty.h.  Avoid redundancies.
421900bf4279Sespie	* cplus-dem.c: Likewise.  Conform to libiberty.h.
422000bf4279Sespie	* pexecute.c: Likewise.
422100bf4279Sespie	* splay-tree.c: Likewise.
422200bf4279Sespie
422300bf4279Sespie1998-11-25  Mike Stump  <mrs@wrs.com>
422400bf4279Sespie
422500bf4279Sespie	* Makefile.in (splay-tree.o): Add config.h dependency.
422600bf4279Sespie
422700bf4279SespieMon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
422800bf4279Sespie
422900bf4279Sespie	*  configure.in: Use AC_PREREQ(2.12.1).
423000bf4279Sespie
423100bf4279Sespie1998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
423200bf4279Sespie
423300bf4279Sespie	* cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
423400bf4279Sespie
423500bf4279SespieThu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
423600bf4279Sespie
423700bf4279Sespie	* mpw.c (mpw_access): Add missing parens.
423800bf4279Sespie
423900bf4279SespieThu Nov 19 12:59:21 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
424000bf4279Sespie
424100bf4279Sespie	* configure.in: Call AC_HEADER_SYS_WAIT.
424200bf4279Sespie
424300bf4279Sespie	* pexecute.c: Include sys/wait.h when !IN_GCC.
424400bf4279Sespie
424500bf4279SespieThu Nov 19 14:38:20 1998  Geoffrey Noer  <noer@cygnus.com>
424600bf4279Sespie
424700bf4279Sespie	* pexecute.c: revert back to checking old Cygwin
424800bf4279Sespie	preprocessor symbol until some time has passed.
424900bf4279Sespie
425000bf4279SespieWed Nov 18 08:52:26 1998  Christopher Faylor <cgf@cygnus.com>
425100bf4279Sespie
425200bf4279Sespie	* pexecute.c: Reorganize WIN32 case to accomodate Cygwin
425300bf4279Sespie	since it will now support similar constructs.
425400bf4279Sespie
425500bf4279SespieFri Nov 13 19:18:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
425600bf4279Sespie
425700bf4279Sespie	* configure.in: Check for calloc.
425800bf4279Sespie
425900bf4279Sespie	* calloc.c: New	file.
426000bf4279Sespie
426100bf4279Sespie	* xmalloc.c (xcalloc): New function.
426200bf4279Sespie
426300bf4279SespieFri Nov 13 08:51:46 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
426400bf4279Sespie
426500bf4279Sespie	*cplus-dem.c (demangle_prefix): Use the last "__"
426600bf4279Sespie	in the mangled name when looking for the signature. This allows
426700bf4279Sespie	template names to begin with "__".
426800bf4279Sespie
426900bf4279Sespie1998-11-08  Mark Mitchell  <mark@markmitchell.com>
427000bf4279Sespie
427100bf4279Sespie	* cplus-dem.c (type_kind_t): Add tk_reference.
427200bf4279Sespie	(demangle_template_value_parm): Handle it.
427300bf4279Sespie	(do_type): Use it for references, instead of tk_pointer.
427400bf4279Sespie
427500bf4279Sespie	* cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
427600bf4279Sespie	not internal_cplus_demangle.
427700bf4279Sespie
427800bf4279SespieSat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
427900bf4279Sespie
428000bf4279Sespie	* choose-temp.c: Don't include gansidecl.h.
428100bf4279Sespie	* mkstemp.c: Likewise.
428200bf4279Sespie	* pexecute.c: Likewise.
428300bf4279Sespie
428400bf4279SespieMon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
428500bf4279Sespie
428600bf4279Sespie	* configure.in: detect cygwin* instead of cygwin32*
428700bf4279Sespie	* configure: regenerate
428800bf4279Sespie
428900bf4279SespieMon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
429000bf4279Sespie
429100bf4279Sespie	* pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
429200bf4279Sespie	whether to include config.h.  Possibly include unistd.h in the
429300bf4279Sespie	!IN_GCC case.  Define VFORK_STRING as a printable function call
429400bf4279Sespie	for error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
429500bf4279Sespie	defined, include vfork.h.  If VMS is defined, define vfork()
429600bf4279Sespie	appropriately.  Remove vfork check on USG, we're using autoconf.
429700bf4279Sespie	(pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
429800bf4279Sespie	locally what string to use.
429900bf4279Sespie
430000bf4279Sespie1998-10-26  Mark Mitchell  <mark@markmitchell.com>
430100bf4279Sespie
430200bf4279Sespie	* splay-tree.c: Tweak include directives to make sure declarations of
430300bf4279Sespie	xmalloc and free are available.
430400bf4279Sespie
430500bf4279Sespie1998-10-25  Mark Mitchell  <mark@markmitchell.com>
430600bf4279Sespie
430700bf4279Sespie	* cplus-dem.c (gnu_special): Fix handling of virtual tables in
430800bf4279Sespie	anonymous namespaces.
430900bf4279Sespie
431000bf4279Sespie1998-10-23  Mark Mitchell  <mark@markmitchell.com>
431100bf4279Sespie
431200bf4279Sespie	* cplus-dem.c (work_stuff): Replace const_type and volatile_type
431300bf4279Sespie	with type_quals.
431400bf4279Sespie	(TYPE_UNQUALIFIED): New macro.
431500bf4279Sespie	(TYPE_QUAL_CONST): Likewise.
431600bf4279Sespie	(TYPE_QUAL_VOLATILE): Likewise.
431700bf4279Sespie	(TYPE_QUAL_RESTRICT): Likewise.
431800bf4279Sespie	(code_for_qualifier): New function.
431900bf4279Sespie	(qualifier_string): Likewise.
432000bf4279Sespie	(demangle_qualifier): Likewise.
432100bf4279Sespie	(internal_cplus_demangle): Use them.
432200bf4279Sespie	(demangle_signature): Likewise.
432300bf4279Sespie	(demangle_template_value_parm): Likewise.
432400bf4279Sespie	(do_type): Likewise.
432500bf4279Sespie	(demangle_fund_type)): Likewise.
432600bf4279Sespie
432700bf4279SespieThu Oct 22 19:58:43 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
432800bf4279Sespie
432900bf4279Sespie	* splay-tree.c (splay_tree_foreach_helper): Make definition static
433000bf4279Sespie	to match prototype.
433100bf4279Sespie
433200bf4279Sespie1998-10-21  Mark Mitchell  <mark@markmitchell.com>
433300bf4279Sespie
433400bf4279Sespie	* splay-tree.c: New file.
433500bf4279Sespie	* Makefile.in (CFILES): Add it.
433600bf4279Sespie	(REQUIRED_OFILES): Likewise.
433700bf4279Sespie	(splay-tree.o): Add dependencies.
433800bf4279Sespie
433900bf4279SespieTue Oct 20 12:29:02 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
434000bf4279Sespie
434100bf4279Sespie	* cplus-dem.c (demangle_qualified): Fix off-by-one when checking
434200bf4279Sespie	range of 'K' index.
434300bf4279Sespie
434400bf4279SespieThu Oct 15 18:51:12 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
434500bf4279Sespie
434600bf4279Sespie	* choose-temp.c: Prototype mkstemps() when IN_GCC.
434700bf4279Sespie
434800bf4279Sespie	* cplus-dem.c (consume_count): Cast argument of ctype macro to
434900bf4279Sespie	`unsigned char'.
435000bf4279Sespie	(cplus_demangle_opname): Cast the result of `strlen' to (int) when
435100bf4279Sespie	comparing against one.
435200bf4279Sespie	(cplus_mangle_opname): Likewise.
435300bf4279Sespie	(demangle_integral_value): Cast argument of ctype macro to
435400bf4279Sespie	`unsigned char'.
435500bf4279Sespie	(demangle_template_value_parm): Likewise.
435600bf4279Sespie	(demangle_template): Initialize variable `bindex'.  Cast the
435700bf4279Sespie	result of `strlen' to (int) when comparing against one.  Remove
435800bf4279Sespie	unused variable `start_of_value_parm'.
435900bf4279Sespie	(demangle_class_name): Cast the result of `strlen' to (int) when
436000bf4279Sespie	comparing against one.
436100bf4279Sespie	(demangle_prefix): Cast argument of ctype macro to `unsigned char'.
436200bf4279Sespie	(gnu_special): Likewise.  Cast the result of `strlen' to (int)
436300bf4279Sespie	when comparing against one.
436400bf4279Sespie	(demangle_qualified): Cast argument of ctype macro to `unsigned char'.
436500bf4279Sespie	(get_count): Likewise.
436600bf4279Sespie	(do_type): Likewise.  Cast the result of `strlen' to (int) when
436700bf4279Sespie	comparing against one.
436800bf4279Sespie	(demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
436900bf4279Sespie	(demangle_function_name): Cast the result of `strlen' to (int)
437000bf4279Sespie	when comparing against one.
437100bf4279Sespie
437200bf4279Sespie	* mkstemp.c (mkstemps): Cast variable `len' to (int) when
437300bf4279Sespie	comparing against one.
437400bf4279Sespie
437500bf4279SespieTue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
437600bf4279Sespie
437700bf4279Sespie	* mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
437800bf4279Sespie	* configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
437900bf4279Sespie	* config.in, configure: Rebuilt.
438000bf4279Sespie
438100bf4279Sespie	* getopt.c: Check HAVE_STRINGS_H before including strings.h.
438200bf4279Sespie	* configure.in (AC_CHECK_HEADERS): Check for strings.h too.
438300bf4279Sespie	* config.in, configure: Rebuilt.
438400bf4279Sespie
438500bf4279SespieMon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
438600bf4279Sespie
438700bf4279Sespie	* configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
438800bf4279Sespie
438900bf4279SespieSun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
439000bf4279Sespie
439100bf4279Sespie	* Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
439200bf4279Sespie
439300bf4279SespieThu Oct  8 23:42:08 1998  Jeffrey A Law  (law@cygnus.com)
439400bf4279Sespie
439500bf4279Sespie	* Merge egcs & devo libiberty.
439600bf4279Sespie
439700bf4279Sespie1998-09-08  Martin von L�wis  <loewis@informatik.hu-berlin.de>
439800bf4279Sespie
439900bf4279Sespie	* cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
440000bf4279Sespie
440100bf4279SespieMon Sep  7 23:29:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
440200bf4279Sespie
440300bf4279Sespie	* mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
440400bf4279Sespie	inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
440500bf4279Sespie	IN_GCC.
440600bf4279Sespie
440700bf4279Sespie	* vasprintf.c: Include stdarg.h/varargs.h first.
440800bf4279Sespie
440900bf4279Sespie	* vprintf.c: Likewise.
441000bf4279Sespie
441100bf4279SespieSat Sep  5 03:24:49 1998  Jeffrey A Law  (law@cygnus.com)
441200bf4279Sespie
441300bf4279Sespie	* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
441400bf4279Sespie	is the canonical copy.  Define ISSPACE if !IN_GCC.
441500bf4279Sespie	* alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
441600bf4279Sespie	* getopt1.c, obstack.c: Similarly.
441700bf4279Sespie	* Makefile.in: Build mkstemp.o
441800bf4279Sespie
441900bf4279SespieTue Sep  1 23:12:47 1998  Christopher Faylor <cgf@cygnus.com>
442000bf4279Sespie
442100bf4279Sespie	* configure.in: Include asprintf in list of functions known not
442200bf4279Sespie	to be in newlib.
442300bf4279Sespie	* configure: Rebuild.
442400bf4279Sespie
442500bf4279SespieWed Aug 19 14:05:01 1998  Mumit Khan  <khan@xraylith.wisc.edu>
442600bf4279Sespie
442700bf4279Sespie	* cplus-dem.c (work_stuff): Add dllimported.
442800bf4279Sespie	(demangled_prefix): Mark symbols imported from PE DLL.
442900bf4279Sespie	(internal_cplus_demangled): Handle.
443000bf4279Sespie
443100bf4279Sespie1998-08-17  Jason Merrill  <jason@yorick.cygnus.com>
443200bf4279Sespie
443300bf4279Sespie	* cplus-dem.c (do_type): Fix simple array handling.  If we fail,
443400bf4279Sespie	stay failed.
443500bf4279Sespie
443600bf4279SespieMon Aug 17 10:40:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
443700bf4279Sespie
443800bf4279Sespie	* cplus-dem.c: Include config.h if it exists.  Also, only
443900bf4279Sespie	prototype malloc/realloc if we can't get stdlib.h.
444000bf4279Sespie
444100bf4279SespieSat Aug 15 16:15:01 1998  Ian Lance Taylor  <ian@cygnus.com>
444200bf4279Sespie
444300bf4279Sespie	* configure.in: Switch back to checking --with-target-subdir when
444400bf4279Sespie	deciding whether to check for newlib, undoing part of July 15
444500bf4279Sespie	change.
444600bf4279Sespie	* configure: Rebuild.
444700bf4279Sespie
444800bf4279SespieThu Aug 13 16:47:38 1998  Mark Mitchell  <mark@markmitchell.com>
444900bf4279Sespie
445000bf4279Sespie	* cplus-dem.c (type_kind_t): New type.
445100bf4279Sespie	(demangle_template_value_parm): Add type_kind_t parameter.  Rely
445200bf4279Sespie	on this paramter, rather than demangling the type again.
445300bf4279Sespie	(demangle_integral_value): Pass tk_integral.
445400bf4279Sespie	(demangle_template_: Pass the value returned from do_type.
445500bf4279Sespie	(do_type): Return a type_kind_t.  Pass tk_integral to
445600bf4279Sespie	demangle_template_value_parm for array bounds.
445700bf4279Sespie	(demangle_fund_type): Likewise.
445800bf4279Sespie
445900bf4279Sespie	Also incorporate from GCC version:
446000bf4279Sespie
446100bf4279Sespie	Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
446200bf4279Sespie
446300bf4279Sespie	* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
446400bf4279Sespie
446500bf4279SespieThu Aug 13 16:47:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
446600bf4279Sespie
446700bf4279Sespie	* cplus-dem.c (demangle_nested_args): Make function definition
446800bf4279Sespie	static to match the prototype.
446900bf4279Sespie
447000bf4279SespieTue Jul 28 11:33:09 1998  Mark Mitchell  <mark@markmitchell.com>
447100bf4279Sespie
447200bf4279Sespie	* cplus-dem.c (type_kind_t): New type.
447300bf4279Sespie	(demangle_template_value_parm): Add type_kind_t parameter.  Rely
447400bf4279Sespie	on this paramter, rather than demangling the type again.
447500bf4279Sespie	(demangle_integral_value): Pass tk_integral.
447600bf4279Sespie	(demangle_template_: Pass the value returned from do_type.
447700bf4279Sespie	(do_type): Return a type_kind_t.  Pass tk_integral to
447800bf4279Sespie	demangle_template_value_parm for array bounds.
447900bf4279Sespie	(demangle_fund_type): Likewise.
448000bf4279Sespie
448100bf4279Sespie	Also incorporate from GCC version:
448200bf4279Sespie
448300bf4279Sespie	Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
448400bf4279Sespie
448500bf4279Sespie	* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
448600bf4279Sespie
448700bf4279SespieMon Jul 27 12:16:08 1998  Ian Lance Taylor  <ian@cygnus.com>
448800bf4279Sespie
448900bf4279Sespie	* Makefile.in (ALLOCA): New variable.
449000bf4279Sespie	($(TARGETLIB)): Add $(ALLOCA) to library.
449100bf4279Sespie	(needed-list): Add $(ALLOCA).
449200bf4279Sespie	($(ALLOCA)): Depend upon stamp-picdir.
449300bf4279Sespie
449400bf4279SespieSun Jul 19 08:23:17 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
449500bf4279Sespie
449600bf4279Sespie	* cplus-dem.c (demangle_nested_args): Make function definition
449700bf4279Sespie	static to match the prototype.
449800bf4279Sespie
449900bf4279SespieWed Jul 15 00:12:58 1998  Ian Lance Taylor  <ian@cygnus.com>
450000bf4279Sespie
450100bf4279Sespie	* configure.in: Check --with-cross-host rather than
450200bf4279Sespie	--with-target-subdir when deciding whether build uses a cross
450300bf4279Sespie	compiler, and when deciding where to install the library.
450400bf4279Sespie	* configure: Rebuild.
450500bf4279Sespie
450600bf4279SespieSun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
450700bf4279Sespie
450800bf4279Sespie	* cplus-dem.c (demangle_nested_args): Return a value.
450900bf4279Sespie
451000bf4279SespieSat Jul 11 16:19:48 1998  Mark Mitchell  <mark@markmitchell.com>
451100bf4279Sespie
451200bf4279Sespie	* cplus-dem.c (string): Move definition before work_stuff.
451300bf4279Sespie	(work_stuff): Add volatile_type, forgetting_types,
451400bf4279Sespie	previous_argument, and nrepeats fields.
451500bf4279Sespie	(SCOPE_STRING): New macro.
451600bf4279Sespie	(demangle_template): Add `remember' parameter.  Add comment.
451700bf4279Sespie	Register the `B' code type here, if remembering.  Tidy.  Fix crash
451800bf4279Sespie	on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
451900bf4279Sespie	(demangle_nested_args): New function.
452000bf4279Sespie	(internal_cplus_demangle): Handle volatile-qualified member
452100bf4279Sespie	functions.
452200bf4279Sespie	(mop_up): Delete the previous_argument string if present.
452300bf4279Sespie	(demangle_signature): Tidy.  Handle volatile-qualified member
452400bf4279Sespie	functions.  Handle back-references using the `B' code.  Use extra
452500bf4279Sespie	parameter to demangle_template and SCOPE_STRING where appropriate.
452600bf4279Sespie	(demangle_template_value_parm): Fix thinko; 'B' is not an integral
452700bf4279Sespie	code.
452800bf4279Sespie	(demangle_class): Use SCOPE_STRING.
452900bf4279Sespie	(gnu_special): Pass additional argument to demangle_template.
453000bf4279Sespie	Use SCOPE_STRING.
453100bf4279Sespie	(demangle_qualified): Save qualified types for later
453200bf4279Sespie	back-references.  Handle constructors and destructors for template
453300bf4279Sespie	types correctly.
453400bf4279Sespie	(do_type): Tidy.  Use SCOPE_STRING.  Pass extra argument to
453500bf4279Sespie	demangle_template.  Use demangled_nested_args.  Don't remember
453600bf4279Sespie	qualified types here; that's now done in demangle_qualified.
453700bf4279Sespie	Similarly for templates.
453800bf4279Sespie	(do_arg): Improve commment.  Handle 'n' repeat code.
453900bf4279Sespie	(remember_type): Check forgetting_types.
454000bf4279Sespie	(demangle_args): Deal with 'n' repeat codes.  Tidy.
454100bf4279Sespie
454200bf4279SespieThu Jul  2 16:26:24 1998  Ian Lance Taylor  <ian@cygnus.com>
454300bf4279Sespie
454400bf4279Sespie	* config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
454500bf4279Sespie	*-*-freebsd2.2.*.  From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
454600bf4279Sespie
454700bf4279SespieMon Jun 15 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
454800bf4279Sespie
454900bf4279Sespie	* configure.in (setobjs): Correct quoting error in cygwin32 case.
455000bf4279Sespie	From Chris Faylor <cgf@cygnus.com>.
455100bf4279Sespie
455200bf4279SespieMon Jun  1 13:47:55 1998  Jason Molenda  (crash@bugshack.cygnus.com)
455300bf4279Sespie
455400bf4279Sespie	* obstack.c: Update to latest FSF version.
455500bf4279Sespie
455600bf4279SespieMon Jun  1 14:17:36 1998  Mike Stump  <mrs@wrs.com>
455700bf4279Sespie
455800bf4279Sespie	* Makefile.in: Add a dependency on stamp-picdir for the
455900bf4279Sespie	objects, so that we can do a parallel build.
456000bf4279Sespie
456100bf4279SespieSat May 30 22:17:13 1998  Mumit Khan  <khan@xraylith.wisc.edu>
456200bf4279Sespie
456300bf4279Sespie	* configure.in (checkfuncs): Add missing "'".
456400bf4279Sespie
456500bf4279SespieFri May 29 12:40:41 1998  Jason Molenda  (crash@bugshack.cygnus.com)
456600bf4279Sespie
456700bf4279Sespie	* obstack.c (_obstack_memory_used):  Elide this function if we're
456800bf4279Sespie	on a system with GNU libc.
456900bf4279Sespie
457000bf4279SespieTue May 26 18:28:43 1998  Ian Lance Taylor  <ian@cygnus.com>
457100bf4279Sespie
457200bf4279Sespie	* Makefile.in (distclean): Remove config.log.
457300bf4279Sespie
457400bf4279SespieTue May 26 15:01:52 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
457500bf4279Sespie
457600bf4279Sespie	* Makefile.in (distclean): Don't remove alloca-conf.h.
457700bf4279Sespie
457800bf4279SespieFri May 22 01:38:07 1998  Hans-Peter Nilsson  <hp@axis.se>
457900bf4279Sespie
458000bf4279Sespie	* cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
458100bf4279Sespie
458200bf4279Sespie1998-05-21  Mark Mitchell  <mmitchell@usa.net>
458300bf4279Sespie
458400bf4279Sespie	* cplus-dem.c (do_type): Handle volatile qualification.
458500bf4279Sespie
458600bf4279Sespie1998-05-21  Manfred Hollstein  <manfred@s-direktnet.de>
458700bf4279Sespie
458800bf4279Sespie	* configure.in: Check for unistd.h as well.
458900bf4279Sespie	* configure: Rebuild.
459000bf4279Sespie	* config.in: Rebuild.
459100bf4279Sespie	* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
459200bf4279Sespie	is defined in unistd.h. Reformat conditional block for easier reading.
459300bf4279Sespie
459400bf4279Sespie	* config.table (shared): Default to no if ${enable_shared}
459500bf4279Sespie	is unset or empty; this logic is used by the toplevel
459600bf4279Sespie	configure scripts, too.
459700bf4279Sespie
459800bf4279SespieSat May 16 14:01:26 1998  Jeffrey A Law  (law@cygnus.com)
459900bf4279Sespie
460000bf4279Sespie	* config.table: Add line to set enable_shared in the Makefile
460100bf4279Sespie	as needed.
460200bf4279Sespie
460300bf4279SespieWed May 13 14:24:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
460400bf4279Sespie
460500bf4279Sespie	* cplus-dem.c (squangle_mop_up): Change return type to void.
460600bf4279Sespie	(internal_cplus_demangle): Remove unused parameter `options'.
460700bf4279Sespie	All callers changed.
460800bf4279Sespie	(cplus_demangle_opname): Remove function wide variable `int i' and
460900bf4279Sespie	replace with `size_t i' at each location where it is used.
461000bf4279Sespie	(cplus_mangle_opname): change type of `i' from int to size_t.
461100bf4279Sespie
461200bf4279SespieWed May 13 13:39:38 1998  Ian Lance Taylor  <ian@cygnus.com>
461300bf4279Sespie
461400bf4279Sespie	* alloca-conf.h: Include config.h.  Check HAVE_ALLOCA_H rather
461500bf4279Sespie	than sparc or sun.
461600bf4279Sespie	* Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
461700bf4279Sespie
461800bf4279SespieFri May  8 00:23:51 1998  Ian Lance Taylor  <ian@cygnus.com>
461900bf4279Sespie
462000bf4279Sespie	* configure.in: Set libiberty_topdir correctly when srcdir is
462100bf4279Sespie	"." and with_target_subdir is not set.
462200bf4279Sespie	* configure: Rebuild.
462300bf4279Sespie
462400bf4279SespieThu May  7 13:01:44 1998  Ian Lance Taylor  <ian@cygnus.com>
462500bf4279Sespie
462600bf4279Sespie	* configure.in: Add *-*-mingw32* case.
462700bf4279Sespie	* configure: Rebuild.
462800bf4279Sespie
462900bf4279SespieWed May  6 11:33:51 1998  Ian Lance Taylor  <ian@cygnus.com>
463000bf4279Sespie
463100bf4279Sespie	* config.table: Never use a PIC file for *-*-cygwin32*.
463200bf4279Sespie
463300bf4279Sespie	* Makefile.in (config.status): Depend upon config.table.
463400bf4279Sespie
463500bf4279Sespie	* configure.in: On a cygwin32 host, always compile random, and
463600bf4279Sespie	don't test for sys_siglist, strsignal, or psignal.
463700bf4279Sespie	* configure: Rebuild.
463800bf4279Sespie
463900bf4279Sespie	* clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
464000bf4279Sespie	* getcwd.c: Likewise.
464100bf4279Sespie	* getpagesize.c: Likewise.
464200bf4279Sespie	* getruntime.c: Likewise.
464300bf4279Sespie
464400bf4279SespieTue May  5 18:08:32 1998  Ian Lance Taylor  <ian@cygnus.com>
464500bf4279Sespie
464600bf4279Sespie	Use autoconf tests rather than the old dummy.c test:
464700bf4279Sespie	* configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
464800bf4279Sespie	--with-newlib.  Add AC_CONFIG_HEADER.  Use AC_REPLACE_FUNCS for
464900bf4279Sespie	most functions.  Add special cases to handle newlib and VxWorks.
465000bf4279Sespie	Remove target_makefile_frag.  Create stamp-h in AC_OUTPUT if
465100bf4279Sespie	CONFIG_HEADERS is set.  Only call config-ml.in in AC_OUTPUT if
465200bf4279Sespie	CONFIG_FILES is set; set ac_file before calling it.
465300bf4279Sespie	* config.table (arm-*-riscix*, *-*-cygwin32): Remove.
465400bf4279Sespie	(*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
465500bf4279Sespie	(*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
465600bf4279Sespie	(i[3456]-*-mingw32*): Remove.
465700bf4279Sespie	* Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
465800bf4279Sespie	(LIBOBJS): New variable.
465900bf4279Sespie	(HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
466000bf4279Sespie	(all): Depend upon needed-list.  Don't check RULE1.
466100bf4279Sespie	(@target_makefile_frag@): Remove.
466200bf4279Sespie	(COMPILE.c): Include @DEFS@.
466300bf4279Sespie	(HFILES): Add alloca-conf.h.
466400bf4279Sespie	(REQUIRED_OFILES): Remove basename.o.
466500bf4279Sespie	($(TARGETLIB)): New target.
466600bf4279Sespie	(stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
466700bf4279Sespie	(lconfig.h, needed2.awk, dummy.o, errors): Remove.
466800bf4279Sespie	(needed-list, config.h): Rewrite.
466900bf4279Sespie	(RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
467000bf4279Sespie	(.always.): Remove.
467100bf4279Sespie	(Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
467200bf4279Sespie	(stamp-h): New target.
467300bf4279Sespie	(atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
467400bf4279Sespie	(basename.o): Don't depend upon config.h.
467500bf4279Sespie	(getruntime.o): Depend upon config.h.
467600bf4279Sespie	* atexit.c: Include config.h.  Check HAVE_ON_EXIT rather than
467700bf4279Sespie	NEED_on_exit.
467800bf4279Sespie	* basename.c: Don't include config.h.  Don't check NEED_basename.
467900bf4279Sespie	* clock.c: Include config.h.
468000bf4279Sespie	* getcwd.c: Likewise.
468100bf4279Sespie	* getpagesize.c: Likewise.
468200bf4279Sespie	* getruntime.c: Likewise.  Fix checks which set HAVE_GETRUSAGE and
468300bf4279Sespie	HAVE_TIMES.
468400bf4279Sespie	* strerror.c: Change uses of NEED_sys_errlist to
468500bf4279Sespie	HAVE_SYS_ERRLIST.  Likewise for NEED_strerror and HAVE_STRERROR.
468600bf4279Sespie	* strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
468700bf4279Sespie	and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
468800bf4279Sespie	HAVE_PSIGNAL.
468900bf4279Sespie	* acconfig.h: New file.
469000bf4279Sespie	* dummy.c: Remove.
469100bf4279Sespie	* functions.def: Remove.
469200bf4279Sespie	* config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
469300bf4279Sespie	* config/mh-windows (HDEFINES): Remove.
469400bf4279Sespie	* config/mh-cygwin32: Remove.
469500bf4279Sespie	* config/mh-go32: Remove.
469600bf4279Sespie	* config/mh-irix4: Remove.
469700bf4279Sespie	* config/mh-riscix: Remove.
469800bf4279Sespie	* config/mh-sysv4: Remove.
469900bf4279Sespie	* config/mt-mingw32: Remove.
470000bf4279Sespie	* config/mt-vxworks5: Remove.
470100bf4279Sespie	* config.in: New file, generated using autoheader.
470200bf4279Sespie	* configure: Rebuild.
470300bf4279Sespie
470400bf4279SespieMon May  4 13:00:28 1998  Ian Lance Taylor  <ian@cygnus.com>
470500bf4279Sespie
470600bf4279Sespie	* configure.in: Rewrite to use autoconf.
470700bf4279Sespie	* configure: Generate using autoconf.
470800bf4279Sespie	* config/mh-a68bsd: Remove.
470900bf4279Sespie	* config/mh-apollo68: Remove.
471000bf4279Sespie	* config/mh-hpbsd: Remove.
471100bf4279Sespie	* config/mh-ncr3000: Remove.
471200bf4279Sespie	* config/mh-sysv: Remove.
471300bf4279Sespie	* config/mh-aix (RANLIB, INSTALL): Don't define.
471400bf4279Sespie	* config/mh-cxux7 (RANLIB, INSTALL): Don't define.
471500bf4279Sespie	* config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
471600bf4279Sespie	* config/mh-sysv4 (RANLIB, INSTALL): Don't define.
471700bf4279Sespie	* config.table: Change config_shell to CONFIG_SHELL, and use
471800bf4279Sespie	libiberty_topdir to find move-if-change.
471900bf4279Sespie	(m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
472000bf4279Sespie	(i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
472100bf4279Sespie	(*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
472200bf4279Sespie	* Makefile.in (srcdir): Set to @srcdir@.
472300bf4279Sespie	(VPATH): Likewise.
472400bf4279Sespie	(prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
472500bf4279Sespie	(SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
472600bf4279Sespie	(CC, CFLAGS, RANLIB)): Likewise.
472700bf4279Sespie	(datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
472800bf4279Sespie	(target_makefile_frag, host_makefile_frag): Add substitutions.
472900bf4279Sespie	(INSTALL_DEST): Set to @INSTALL_DEST@.
473000bf4279Sespie	(Makefile): Depend upon config.status.  Don't depend upon
473100bf4279Sespie	$(host_makefile_frag) or $(target_makefile_frag).
473200bf4279Sespie	(config.status): New target.
473300bf4279Sespie
473400bf4279SespieSun May  3 17:58:49 1998  Ian Lance Taylor  <ian@cygnus.com>
473500bf4279Sespie
473600bf4279Sespie	* config/mt-sunos4: Remove.  Should be handled by --with-headers
473700bf4279Sespie	and --with-libraries options at top level.
473800bf4279Sespie	* config.table: Never use mt-sunos4.
473900bf4279Sespie
474000bf4279Sespie	* alloca-conf.h: New file, combining alloca-norm.h and
474100bf4279Sespie	alloca-botch.h.
474200bf4279Sespie	* alloca-norm.h: Remove.
474300bf4279Sespie	* alloca-botch.h: Remove.
474400bf4279Sespie	* configure.in: Set shell variables files and links to empty.
474500bf4279Sespie	* config.table: Don't set shell variable files.
474600bf4279Sespie	* configure.bat: Don't create alloca-conf.h.
474700bf4279Sespie	* makefile.vms: Likewise.
474800bf4279Sespie	* mpw-config.in: Likewise.
474900bf4279Sespie	* vmsbuild.com: Likewise.
475000bf4279Sespie
475100bf4279SespieFri May  1 11:41:42 1998  Ian Lance Taylor  <ian@cygnus.com>
475200bf4279Sespie
475300bf4279Sespie	* Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
475400bf4279Sespie	target depending upon config.h.
475500bf4279Sespie	(alloca.o): Add target depending upon config.h
475600bf4279Sespie	(basename.o, choose-temp.o, fnmatch.o): Likewise.
475700bf4279Sespie	(getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
475800bf4279Sespie	(strsignal.o, xstrerror.o): Likewise.
475900bf4279Sespie
476000bf4279SespieFri May  1 04:26:25 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
476100bf4279Sespie
476200bf4279Sespie	* cplus-dem.c (cplus_demangle_opname):  Initialize work.
476300bf4279Sespie
476400bf4279SespieMon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
476500bf4279Sespie
476600bf4279Sespie	* cplus-dem.c (demangle_qualified): Replace missing else.
476700bf4279Sespie
476800bf4279SespieSun Apr 26 15:38:50 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
476900bf4279Sespie
477000bf4279Sespie	* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
477100bf4279Sespie	length in the name of a virtual table.
477200bf4279Sespie
477300bf4279SespieWed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
477400bf4279Sespie
477500bf4279Sespie	* cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
477600bf4279Sespie	(cplus_demangle_opname): Call mop_up_squangle.
477700bf4279Sespie	(cplus_demangle): Initialize squangle info, then call
477800bf4279Sespie	internal_cplus_demangle. (Most code moved there as well)
477900bf4279Sespie	(internal_cplus_demangle): New function, performs most of what use
478000bf4279Sespie	to be done in cplus_demangle, but is only called with this file.
478100bf4279Sespie	(squangle_mop_up): New function to clean up B and K code data.
478200bf4279Sespie	(mop_up): set pointers to NULL after freeing.
478300bf4279Sespie	(demangle_signature, demangle_template, demangle_class): Add
478400bf4279Sespie	switch elements to handle K and B codes.
478500bf4279Sespie	(demangle_prefix, gnu_special, demangle_qualified): Add
478600bf4279Sespie	code to handle K and B codes.
478700bf4279Sespie	(do_type, demangle_fund_type): Handle B and K codes.
478800bf4279Sespie	(remember_Ktype): New function to store K info.
478900bf4279Sespie	(register_Btype, remember_Btype): New functions for B codes.
479000bf4279Sespie	(forget_B_and_K_types): New function to destroy B and K info.
479100bf4279Sespie
479200bf4279SespieFri Apr 10 01:49:10 1998  Jeffrey A Law  (law@cygnus.com)
479300bf4279Sespie
479400bf4279Sespie	* COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
479500bf4279Sespie
479600bf4279SespieThu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@s-direktnet.de>
479700bf4279Sespie
479800bf4279Sespie	* config.table: Make locating frag files failsafe even for the
479900bf4279Sespie	special case if configuring and building in srcdir.
480000bf4279Sespie
480100bf4279SespieMon Feb 23 14:33:15 1998  Ian Lance Taylor  <ian@cygnus.com>
480200bf4279Sespie
480300bf4279Sespie	* choose-temp.c: Fix handling of sys/file.h to work in libiberty.
480400bf4279Sespie
480500bf4279SespieSun Feb 22 18:03:23 1998  Jeffrey A Law  (law@cygnus.com)
480600bf4279Sespie
480700bf4279Sespie	* choose-temp.c: Sync with copy in gcc.
480800bf4279Sespie
480900bf4279SespieThu Feb 12 16:29:49 1998  Ian Lance Taylor  <ian@cygnus.com>
481000bf4279Sespie
481100bf4279Sespie	* getopt.c: Update to latest FSF version.
481200bf4279Sespie	* getopt1.c: Likewise.
481300bf4279Sespie
481400bf4279SespieTue Feb 10 16:58:33 1998  Stan Shebs  <shebs@andros.cygnus.com>
481500bf4279Sespie
481600bf4279Sespie	* cplus-dem.c (gnu_special): Don't get confused by .<digits>
481700bf4279Sespie	strings that are not actually lengths.
481800bf4279Sespie
481900bf4279SespieFri Feb  6 01:35:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
482000bf4279Sespie
482100bf4279Sespie	* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
482200bf4279Sespie	(.c.o): Check value of enable_shared, not PICFLAG.
482300bf4279Sespie	(stamp-picdir): Dito.
482400bf4279Sespie
482500bf4279SespieThu Feb  5 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
482600bf4279Sespie
482700bf4279Sespie	* config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
482800bf4279Sespie	since it gets built automatically
482900bf4279Sespie
483000bf4279SespieSun Feb  1 02:52:32 1998  Mike Stump  <mrs@wrs.com>
483100bf4279Sespie
483200bf4279Sespie	* config.table (vxworks configs): Default to VxWorks 5.x, as that is
483300bf4279Sespie	the currently shipping OS.
483400bf4279Sespie
483500bf4279SespieTue Jan 27 16:08:20 1998  Pat Rankin  <rankin@eql.caltech.edu>
483600bf4279Sespie
483700bf4279Sespie	* vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
483800bf4279Sespie	Add fnmatch.o and objalloc.o; remove vasprintf.o.
483900bf4279Sespie	[config.h]: Define NEED_strsignal.
484000bf4279Sespie
484100bf4279SespieMon Jan 19 12:20:01 1998  Ian Lance Taylor  <ian@cygnus.com>
484200bf4279Sespie
484300bf4279Sespie	* functions.def: Correct argument types for strerror and
484400bf4279Sespie	strsignal.  Reported by Alex Gutman <agutman@emc.com>.
484500bf4279Sespie
484600bf4279SespieSun Jan 18 15:57:28 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
484700bf4279Sespie
484800bf4279Sespie	* vasprintf.c (int_vasprintf): Increase buffer size for float/double
484900bf4279Sespie	values.
485000bf4279Sespie
485100bf4279SespieSat Jan 17 22:28:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
485200bf4279Sespie			  J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
485300bf4279Sespie
485400bf4279Sespie	Add mingw32 support.
485500bf4279Sespie	* pexecute.c (pexecute): New function for mingw32. Supports pipes.
485600bf4279Sespie	(pwait): New function for mingw32.
485700bf4279Sespie
485800bf4279Sespie	* config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
485900bf4279Sespie	* config/mt-mingw32: New file.
486000bf4279Sespie	* xmalloc.c (first_break): Not used for mingw32.
486100bf4279Sespie	(xmalloc_set_program_name): Don't use sbrk on mingw32.
486200bf4279Sespie	(xmalloc): Likewise.
486300bf4279Sespie	(xrealloc): Likewise.
486400bf4279Sespie
486500bf4279SespieSat Jan 17 22:28:05 1998  Jeffrey A Law  (law@cygnus.com)
486600bf4279Sespie
486700bf4279Sespie	* choose-temp.c: Sync with gcc version.
486800bf4279Sespie
486900bf4279SespieTue Jan 13 18:34:39 1998  Jim Wilson  <wilson@cygnus.com>
487000bf4279Sespie
487100bf4279Sespie	* Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
487200bf4279Sespie	to all filenames in libdir and tooldir.
487300bf4279Sespie	(distclean): Do MULTICLEAN before deleting Makefile.
487400bf4279Sespie	(stamp-needed, stamp-config): Add MULTISRCTOP to
487500bf4279Sespie	pathname for move-if-change.
487600bf4279Sespie
487700bf4279SespieThu Dec  4 17:25:19 1997  Jeffrey A Law  (law@cygnus.com)
487800bf4279Sespie
487900bf4279Sespie	* strsignal.c (sys_nsig): Try NSIG and _NSIG.
488000bf4279Sespie
488100bf4279SespieWed Nov 19 13:37:06 1997  Michael Meissner  <meissner@cygnus.com>
488200bf4279Sespie
488300bf4279Sespie	* alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
488400bf4279Sespie	was already defined previously.
488500bf4279Sespie
488600bf4279SespieMon Nov 10 12:48:03 1997  Philippe De Muyter  <phdm@macqel.be>
488700bf4279Sespie
488800bf4279Sespie	* Makefile.in (INSTALL): Use ../install-sh, not install.
488900bf4279Sespie
489000bf4279SespieTue Oct 28 23:41:15 1997  Judy Goldberg  <jodyg@idt.net>
489100bf4279Sespie
489200bf4279Sespie	* Makefile.in (CFILES): Add pexecute.c.
489300bf4279Sespie
489400bf4279SespieWed Oct 15 19:13:48 1997  Ian Lance Taylor  <ian@cygnus.com>
489500bf4279Sespie
489600bf4279Sespie	* asprintf.c: Consistently use either stdarg or varargs.
489700bf4279Sespie
489800bf4279SespieTue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
489900bf4279Sespie
490000bf4279Sespie	* cplus-dem.c (demangle_signature): Don't look for return types on
490100bf4279Sespie	constructors.  Handle member template constructors.
490200bf4279Sespie
490300bf4279SespieFri Oct  3 17:53:30 1997  Ian Lance Taylor  <ian@cygnus.com>
490400bf4279Sespie
490500bf4279Sespie	* README: Fix configuration instructions.
490600bf4279Sespie
490700bf4279SespieMon Sep 29 12:28:41 1997  Ian Lance Taylor  <ian@cygnus.com>
490800bf4279Sespie
490900bf4279Sespie	* pexecute.c: Update to current version from /gd/gnu/lib:
491000bf4279Sespie
491100bf4279Sespie	Mon Sep 29 12:27:59 1997  Ian Lance Taylor  <ian@cygnus.com>
491200bf4279Sespie
491300bf4279Sespie	* pexecute.c: Use spawn if __CYGWIN32__.
491400bf4279Sespie
491500bf4279Sespie	1997-08-08  Paul Eggert  <eggert@twinsun.com>
491600bf4279Sespie
491700bf4279Sespie	* pexecute.c: Include "config.h" first, as per autoconf manual.
491800bf4279Sespie
491900bf4279Sespie	Fri Jun 27 15:20:29 1997  Scott Christley <scottc@net-community.com>
492000bf4279Sespie
492100bf4279Sespie	* pexecute.c (fix_argv): New function.
492200bf4279Sespie	(pexecute): Win32 but not Cygwin32 needs its arguments fixed.
492300bf4279Sespie	Add underscore to cwait function call.
492400bf4279Sespie
492500bf4279SespieSun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
492600bf4279Sespie
492700bf4279Sespie	* cplus-dem.c (demangle_template): Add new parameter.  Handle new
492800bf4279Sespie	template-function mangling.
492900bf4279Sespie	(consume_count_with_underscores): New function.
493000bf4279Sespie	(demangle_signature): Handle new name-mangling scheme.
493100bf4279Sespie
493200bf4279SespieWed Sep 24 00:31:59 1997  Felix Lee  <flee@yin.cygnus.com>
493300bf4279Sespie
493400bf4279Sespie	* asprintf.c: stdarg.h when ALMOST_STDC
493500bf4279Sespie	* config/mh-windows (EXTRA_OFILES): add asprintf.o and
493600bf4279Sespie	strncasecmp.o.
493700bf4279Sespie
493800bf4279SespieThu Aug 28 14:27:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
493900bf4279Sespie
494000bf4279Sespie	* vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
494100bf4279Sespie
494200bf4279Sespie	* config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
494300bf4279Sespie
494400bf4279Sespie	* config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
494500bf4279Sespie
494600bf4279SespieWed Sep 10 12:43:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
494700bf4279Sespie
494800bf4279Sespie	* cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
494900bf4279Sespie
495000bf4279SespieFri Sep  5 16:34:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
495100bf4279Sespie
495200bf4279Sespie	* asprintf.c (asprintf): New file.
495300bf4279Sespie	* Makefile.in (CFILES): Add asprintf.c
495400bf4279Sespie	* functions.def: Ditto.
495500bf4279Sespie
495600bf4279SespieThu Aug 28 18:53:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
495700bf4279Sespie
495800bf4279Sespie	* argv.c (dupargv): New function, duplicate an argument vector.
495900bf4279Sespie
496000bf4279SespieTue Aug 19 20:28:45 1997  Geoffrey Noer  <noer@cygnus.com>
496100bf4279Sespie
496200bf4279Sespie	* config/mh-cygwin32: also build random.o
496300bf4279Sespie
496400bf4279SespieTue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
496500bf4279Sespie
496600bf4279Sespie	* cplus-dem.c: Add 'extern' to prepends_underscore.
496700bf4279Sespie
496800bf4279SespieWed Jul 30 11:42:19 1997  Per Bothner  <bothner@cygnus.com>
496900bf4279Sespie
497000bf4279Sespie	* cplus-dem.c: Various changes to produce Java output when passed
497100bf4279Sespie	DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
497200bf4279Sespie	(main): Support --java and -j flags to set DMGL_JAVA.
497300bf4279Sespie
497400bf4279SespieTue Jul 22 19:05:23 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
497500bf4279Sespie
497600bf4279Sespie	* config/mh-go32 (CC, AR, RANLIB): Don't define.
497700bf4279Sespie
497800bf4279SespieTue Jul 22 17:49:54 1997  Ian Lance Taylor  <ian@cygnus.com>
497900bf4279Sespie
498000bf4279Sespie	* Makefile.in (REQUIRED_OFILES): Add pexecute.o.
498100bf4279Sespie	(pexecute.o): New target.
498200bf4279Sespie
498300bf4279Sespie	* Makefile.in (stamp-needed): New target, replacing needed-list.
498400bf4279Sespie	(needed-list): Just depend upon stamp-needed.
498500bf4279Sespie	(stamp-config): New target, replacing config.h.
498600bf4279Sespie	(config.h): Just depend upon stamp-config.
498700bf4279Sespie	(mostlyclean): Remove stamp-*.
498800bf4279Sespie
498900bf4279SespieThu Jun 12 11:00:18 1997  Angela Marie Thomas (angela@cygnus.com)
499000bf4279Sespie
499100bf4279Sespie	* Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
499200bf4279Sespie	INSTALL_DATA for multilibbed installs
499300bf4279Sespie
499400bf4279SespieTue Jun  3 13:21:05 1997  Doug Evans  <dje@canuck.cygnus.com>
499500bf4279Sespie
499600bf4279Sespie	Tue Dec 10 09:44:57 1996  Paul Eggert  <eggert@twinsun.com>
499700bf4279Sespie
499800bf4279Sespie	* choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
499900bf4279Sespie
500000bf4279Sespie	* choose-temp.c (try): Insist that temp dir be searchable.
500100bf4279Sespie
500200bf4279Sespie	Wed Oct 23 17:36:39 1996  Doug Rupp  (rupp@gnat.com)
500300bf4279Sespie
500400bf4279Sespie	* choose-temp.c (choose_temp_base): On VMS, use proper syntax
500500bf4279Sespie	for current directory.
500600bf4279Sespie
500700bf4279Sespie	Sat Feb 15 19:03:48 1997  Geoffrey Noer  (noer@cygnus.com)
500800bf4279Sespie
500900bf4279Sespie	* pexecute.c: Remove special cases for cygwin32.
501000bf4279Sespie	(pwait): Remove local definition of `pid'.
501100bf4279Sespie
501200bf4279Sespie	Tue Nov 12 18:26:15 1996  Doug Rupp  (rupp@gnat.com)
501300bf4279Sespie
501400bf4279Sespie	* pexecute.c (vfork): Supply new definition for VMS.
501500bf4279Sespie	(pwait): Use waitpid instead of wait for VMS.
501600bf4279Sespie
501700bf4279SespieTue May 20 14:02:20 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
501800bf4279Sespie
501900bf4279Sespie	* cplus-dem.c (do_type): Handle `J'.
502000bf4279Sespie	(demangle_fund_type): Print "complex" for it.
502100bf4279Sespie
502200bf4279SespieWed Apr 30 12:15:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
502300bf4279Sespie
502400bf4279Sespie	* configure.in: Don't turn on multilib here.
502500bf4279Sespie
502600bf4279SespieMon Apr 28 19:04:31 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
502700bf4279Sespie
502800bf4279Sespie	* obstack.c: move _obstack_memory_used outside of ifdef.  Cannot be
502900bf4279Sespie	elided; needed by gdb and not present in libc.
503000bf4279Sespie
503100bf4279SespieThu Apr 24 19:33:47 1997  Ian Lance Taylor  <ian@cygnus.com>
503200bf4279Sespie
503300bf4279Sespie	* Makefile.in (clean): Remove tmpmulti.out.
503400bf4279Sespie
503500bf4279SespieTue Apr 22 10:25:15 1997  Fred Fish  <fnf@cygnus.com>
503600bf4279Sespie
503700bf4279Sespie	* floatformat.c (floatformat_ieee_double_littlebyte_bigword):
503800bf4279Sespie	Add new floatformat, mainly for ARM doubles.
503900bf4279Sespie
504000bf4279SespieMon Apr 14 12:11:16 1997  Ian Lance Taylor  <ian@cygnus.com>
504100bf4279Sespie
504200bf4279Sespie	* config.table: Use ${config_shell} with ${moveifchange}.  From
504300bf4279Sespie	Thomas Graichen <graichen@rzpd.de>.
504400bf4279Sespie
504500bf4279SespieFri Apr  4 03:09:24 1997  Ulrich Drepper  <drepper@cygnus.com>
504600bf4279Sespie
504700bf4279Sespie	* configure.in: Enable multilibing by default.
504800bf4279Sespie	Update multilib template to read config-ml.in.
504900bf4279Sespie
505000bf4279SespieTue Apr  1 16:26:39 1997  Klaus Kaempf  <kkaempf@progis.de>
505100bf4279Sespie
505200bf4279Sespie	* makefile.vms: Add objalloc.
505300bf4279Sespie
505400bf4279SespieMon Mar 31 23:57:51 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
505500bf4279Sespie
505600bf4279Sespie	* cplus-dem.c (demangle_it): Add prototype declaration.
505700bf4279Sespie	(usage, fatal): Likewise.
505800bf4279Sespie
505900bf4279Sespie	* xexit.c (_xexit_cleanup): Add prototype.
506000bf4279Sespie
506100bf4279Sespie	* strerror.c (init_error_tables): Declare.
506200bf4279Sespie
506300bf4279SespieFri Mar 28 11:43:20 1997  H.J. Lu  <hjl@lucon.org>
506400bf4279Sespie
506500bf4279Sespie	* functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
506600bf4279Sespie	* strsignal.c: Only define strsignal if NEED_strsignal.
506700bf4279Sespie	* Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
506800bf4279Sespie	* configure.in: Add NEED_strsignal to xconfig.h.  Add vasprintf.o
506900bf4279Sespie	to xneeded-list.
507000bf4279Sespie	* config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
507100bf4279Sespie	(EXTRA_OFILES): Define to vasprintf.o.
507200bf4279Sespie	* config/mh-windows (HDEFINES): Add -DNEED_strsignal.
507300bf4279Sespie	(EXTRA_OFILES): Add vasprintf.o.
507400bf4279Sespie	* config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
507500bf4279Sespie	(vxneeded-list): Add vasprintf.o.
507600bf4279Sespie
507700bf4279SespieThu Mar 20 17:02:09 1997  Ian Lance Taylor  <ian@cygnus.com>
507800bf4279Sespie
507900bf4279Sespie	* objalloc.c: Include <stdio.h>.
508000bf4279Sespie
508100bf4279SespieMon Mar 17 19:23:11 1997  Ian Lance Taylor  <ian@cygnus.com>
508200bf4279Sespie
508300bf4279Sespie	* objalloc.c: New file.
508400bf4279Sespie	* Makefile.in (CFILES): Add objalloc.c
508500bf4279Sespie	(REQUIRED_OFILES): Add objalloc.o.
508600bf4279Sespie	(objalloc.o): New target.
508700bf4279Sespie
508800bf4279SespieSat Mar 15 18:49:41 1997  Ian Lance Taylor  <ian@cygnus.com>
508900bf4279Sespie
509000bf4279Sespie	* obstack.c: Update to current FSF version.
509100bf4279Sespie
509200bf4279SespieFri Mar 14 14:18:47 1997  Ian Lance Taylor  <ian@cygnus.com>
509300bf4279Sespie
509400bf4279Sespie	* cplus-dem.c: Add prototypes for all static functions.
509500bf4279Sespie	(mystrstr): Make static.  Make arguments and result const.
509600bf4279Sespie	(cplus_match): Remove; not used.
509700bf4279Sespie
509800bf4279SespieTue Mar 11 14:20:31 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
509900bf4279Sespie
510000bf4279Sespie	* cplus-dem.c (gnu_special): Call demangled_fund_type for other
510100bf4279Sespie	__t* symbols.
510200bf4279Sespie
510300bf4279SespieTue Mar 11 15:41:21 1997  H.J. Lu  <hjl@lucon.org>
510400bf4279Sespie
510500bf4279Sespie	* spaces.c: Declare malloc and free properly.
510600bf4279Sespie	* strsignal.c (init_signal_tables): Add prototype.
510700bf4279Sespie	* xatexit.c (_xexit_cleanup): Add parameter declarations.
510800bf4279Sespie
510900bf4279SespieWed Feb 19 15:43:24 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
511000bf4279Sespie
511100bf4279Sespie	* Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
511200bf4279Sespie	also required because of xmalloc.o.
511300bf4279Sespie
511400bf4279SespieFri Feb 14 13:43:38 1997  Ian Lance Taylor  <ian@cygnus.com>
511500bf4279Sespie
511600bf4279Sespie	* strsignal.c: Unconditionally redefine sys_siglist around the
511700bf4279Sespie	inclusion of the system header files.
511800bf4279Sespie
511900bf4279SespieThu Feb 13 22:01:04 1997  Klaus Kaempf  <kkaempf@progis.de>
512000bf4279Sespie
512100bf4279Sespie	* makefile.vms: Remove 8 bit characters.  Update to latest
512200bf4279Sespie	gcc release.
512300bf4279Sespie
512400bf4279SespieTue Feb  4 11:52:19 1997  Ian Lance Taylor  <ian@cygnus.com>
512500bf4279Sespie
512600bf4279Sespie	* strsignal.c: Use NEED_sys_siglist instead of
512700bf4279Sespie	LOSING_SYS_SIGLIST.
512800bf4279Sespie	* config.table: Don't use mh-lynxos.
512900bf4279Sespie	* config/mh-lynxos: Remove.
513000bf4279Sespie
513100bf4279SespieThu Jan 16 14:51:03 1997  Bob Manson  <manson@charmed.cygnus.com>
513200bf4279Sespie
513300bf4279Sespie	* cplus-dem.c: Fix indenting; make identical to the copy
513400bf4279Sespie	in GCC.
513500bf4279Sespie	(do_type, case 'M'): Check for a template as well as a class.
513600bf4279Sespie
513700bf4279SespieThu Dec 19 13:51:33 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
513800bf4279Sespie
513900bf4279Sespie	* config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
514000bf4279Sespie	vxworks 5.[0-3] all have sigsetmask in them; the one provided by
514100bf4279Sespie	libiberty is incorrect, as well.
514200bf4279Sespie
514300bf4279SespieMon Dec  2 15:03:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
514400bf4279Sespie
514500bf4279Sespie	* alloca.c (alloca): When compiled with an ANSI/ISO compiler,
514600bf4279Sespie	alloca takes a size_t argument, not just unsigned.
514700bf4279Sespie
514800bf4279SespieMon Nov 18 15:42:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
514900bf4279Sespie
515000bf4279Sespie	* cplus-dem.c: Note that this file also lives in GCC.
515100bf4279Sespie
515200bf4279SespieMon Nov 18 15:19:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
515300bf4279Sespie
515400bf4279Sespie	* alloca.c: Remove include of libiberty.h for hpux.
515500bf4279Sespie	* argv.c:  Replace defs from libiberty.h.
515600bf4279Sespie	* spaces.c: Put back externs from removed from libiberty.h.
515700bf4279Sespie	* vasprintf.c: Remove include of libiberty.h for hpux.
515800bf4279Sespie
515900bf4279SespieMon Nov 18 14:08:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
516000bf4279Sespie
516100bf4279Sespie	* cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
516200bf4279Sespie
516300bf4279SespieWed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
516400bf4279Sespie
516500bf4279Sespie	* cplus-dem.c: Revert last two commits due to conflicts with
516600bf4279Sespie	hpux system headers.
516700bf4279Sespie
516800bf4279SespieWed Nov 13 08:22:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
516900bf4279Sespie
517000bf4279Sespie	* alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
517100bf4279Sespie	Revert last commit due to conflicts with hpux system headers.
517200bf4279Sespie
517300bf4279SespieWed Nov 13 10:36:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
517400bf4279Sespie
517500bf4279Sespie	* cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
517600bf4279Sespie	libiberty.h when compiled with a standard compiler.
517700bf4279Sespie
517800bf4279SespieTue Nov 12 16:31:00 1996  Dawn Perchik  <dawn@critters.cygnus.com>
517900bf4279Sespie
518000bf4279Sespie	* alloca.c: Include libiberty.h for definition of xmalloc.
518100bf4279Sespie	Don't redefine NULL.
518200bf4279Sespie	* argv.c: Move prototypes to libiberty.h.
518300bf4279Sespie	* cplus-dem.c: Include libiberty.h for definition of xmalloc.
518400bf4279Sespie	Don't redefine NULL.
518500bf4279Sespie	Use casts to eliminate compiler warnings.
518600bf4279Sespie	* spaces.c: Remove prototypes for malloc and free which are
518700bf4279Sespie	already in libibrty.h.
518800bf4279Sespie	* strcasecmp.c: Use casts to eliminate compiler warnings.
518900bf4279Sespie	* vasprintf.c: Include libiberty.h for definition of malloc.
519000bf4279Sespie	Don't redefine NULL.
519100bf4279Sespie	* vprintf.c: Include stdarg.h if __STDC__.
519200bf4279Sespie
519300bf4279SespieFri Oct 11 15:42:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
519400bf4279Sespie
519500bf4279Sespie	* config/mh-windows:  Add strcasecmp.o to EXTRA_OFILES.
519600bf4279Sespie
519700bf4279SespieFri Oct 11 11:16:31 1996  Stan Shebs  <shebs@andros.cygnus.com>
519800bf4279Sespie
519900bf4279Sespie	* mpw.c (mpwify_filename): Rewrite to simplify, and to handle
520000bf4279Sespie	upward components correctly.
520100bf4279Sespie
520200bf4279SespieTue Oct  8 08:55:34 1996  Stu Grossman  (grossman@critters.cygnus.com)
520300bf4279Sespie
520400bf4279Sespie	* config.table, config/mh-windows:  Add support for building under
520500bf4279Sespie	MSVC (the Microsoft build environment).
520600bf4279Sespie
520700bf4279SespieMon Oct  7 10:50:27 1996  Ian Lance Taylor  <ian@cygnus.com>
520800bf4279Sespie
520900bf4279Sespie	* fnmatch.c: Undef const if not __STDC__.
521000bf4279Sespie
521100bf4279SespieThu Oct  3 13:46:39 1996  Ian Lance Taylor  <ian@cygnus.com>
521200bf4279Sespie
521300bf4279Sespie	* fnmatch.c: New file.
521400bf4279Sespie	* Makefile.in (CFILES): Add fnmatch.c.
521500bf4279Sespie	(REQUIRED_OFILES): Add fnmatch.o.
521600bf4279Sespie	(fnmatch.o): New target.
521700bf4279Sespie
521800bf4279SespieWed Sep 18 14:49:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
521900bf4279Sespie
522000bf4279Sespie	* cplus-dem.c (demangle_template): Fix handling of address args.
522100bf4279Sespie	(gnu_special): Handle type_info stuff.
522200bf4279Sespie
522300bf4279SespieFri Sep 13 17:52:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
522400bf4279Sespie
522500bf4279Sespie	* mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
522600bf4279Sespie	(mpwify_filename): Handle "::/" case.
522700bf4279Sespie
522800bf4279SespieThu Sep 12 13:30:40 1996  Geoffrey Noer  <noer@cygnus.com>
522900bf4279Sespie
523000bf4279Sespie	* config/mh-cygwin32: new file (need -DNEED_basename and
523100bf4279Sespie		-DNEED_sys_siglist for native NT rebuilding)
523200bf4279Sespie	* config.table (*-*-cygwin32): new entry
523300bf4279Sespie	* choose-temp.c: bring in sync with gcc (revert Aug 17 change)
523400bf4279Sespie
523500bf4279SespieThu Aug 29 16:48:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
523600bf4279Sespie
523700bf4279Sespie	* config.table (i[345]86-*-*): Recognize i686 for pentium pro.
523800bf4279Sespie
523900bf4279SespieTue Aug 27 13:47:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
524000bf4279Sespie
524100bf4279Sespie	* pexecute.c (pexecute) [MPW]: Remove old bogus code that
524200bf4279Sespie	messed with arguments that included a '/', add escape chars
524300bf4279Sespie	to double quotes, remove const decl from arg that Mac
524400bf4279Sespie	compilers don't seem to like.
524500bf4279Sespie
524600bf4279SespieSat Aug 17 04:44:27 1996  Geoffrey Noer  <noer@cygnus.com>
524700bf4279Sespie
524800bf4279Sespie	* pexecute.c: Update test for win32 (&& ! cygwin32).
524900bf4279Sespie	* choose-temp.c: fix WIN32 preprocessor defines
525000bf4279Sespie
525100bf4279SespieThu Aug 15 12:26:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
525200bf4279Sespie
525300bf4279Sespie	* mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
525400bf4279Sespie	to editing of default makefile rule.
525500bf4279Sespie
525600bf4279SespieSun Aug 11 21:03:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
525700bf4279Sespie
525800bf4279Sespie	* alloca-norm.h:  Include <malloc.h> if _WIN32.
525900bf4279Sespie	* argv.c:  Include non-prototyped decls for malloc and string
526000bf4279Sespie	functions if ! _WIN32 or if __GNUC__.
526100bf4279Sespie
526200bf4279SespieThu Aug  8 12:42:40 1996  Klaus Kaempf  <kkaempf@progis.de>
526300bf4279Sespie
526400bf4279Sespie	* config.h-vms: New file.
526500bf4279Sespie	* makefile.vms: Use it.
526600bf4279Sespie
526700bf4279SespieWed Aug  7 17:16:12 1996  Stu Grossman  (grossman@critters.cygnus.com)
526800bf4279Sespie
526900bf4279Sespie	* getopt.c (_getopt_internal):  If argc is 0, just return (before
527000bf4279Sespie	we reference *argv and segfault).
527100bf4279Sespie
527200bf4279SespieMon Aug  5 01:29:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
527300bf4279Sespie
527400bf4279Sespie	* Makefile.in (distclean): Add multilib.out.
527500bf4279Sespie
527600bf4279SespieThu Jul 18 17:40:55 1996  Ian Lance Taylor  <ian@cygnus.com>
527700bf4279Sespie
527800bf4279Sespie	* alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
527900bf4279Sespie	defined (sun).  From Andrew Gierth <ANDREWG@microlise.co.uk>.
528000bf4279Sespie
528100bf4279SespieMon Jul  1 13:40:44 1996  Ken Raeburn  <raeburn@cygnus.com>
528200bf4279Sespie
528300bf4279Sespie	Tue May 28 15:29:03 1996  Pat Rankin  <rankin@eql.caltech.edu>
528400bf4279Sespie
528500bf4279Sespie	* vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
528600bf4279Sespie
528700bf4279Sespie	Thu Jan 25 18:20:04 1996  Pat Rankin  <rankin@eql.caltech.edu>
528800bf4279Sespie
528900bf4279Sespie	* vmsbuild.com: Changes to handle DEFFUNC(on_exit).
529000bf4279Sespie	(do_ofiles): Allow nonexistent source file in pass 3.
529100bf4279Sespie	(chk_deffunc): New routine.
529200bf4279Sespie
529300bf4279SespieTue Jun 25 19:24:43 1996  Doug Evans  <dje@canuck.cygnus.com>
529400bf4279Sespie
529500bf4279Sespie	* pexecute.c (PEXECUTE_VERBOSE): Define.
529600bf4279Sespie	(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
529700bf4279Sespie
529800bf4279SespieTue Jun 25 23:11:48 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
529900bf4279Sespie
530000bf4279Sespie	* Makefile.in (docdir): Removed.
530100bf4279Sespie
530200bf4279SespieTue Jun 25 23:01:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
530300bf4279Sespie
530400bf4279Sespie	* Makefile.in (oldincludedir): Removed.
530500bf4279Sespie
530600bf4279SespieTue Jun 25 22:50:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
530700bf4279Sespie
530800bf4279Sespie	* Makefile.in (datadir): Set to $(prefix)/share.
530900bf4279Sespie
531000bf4279SespieThu Jun 20 21:17:52 1996  Ian Lance Taylor  <ian@cygnus.com>
531100bf4279Sespie
531200bf4279Sespie	* cplus-dem.c (demangle_arm_pt): Reindent.  Avoid endless loop by
531300bf4279Sespie	checking for errors from do_type.
531400bf4279Sespie
531500bf4279SespieTue Jun 18 14:36:19 1996  Klaus Kaempf  <kkaempf@progis.de>
531600bf4279Sespie
531700bf4279Sespie	* makefile.vms: New file.
531800bf4279Sespie	* xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
531900bf4279Sespie	than declaring malloc, realloc, and sbrk.
532000bf4279Sespie
532100bf4279SespieMon Jun 10 13:17:17 1996  Doug Evans  <dje@canuck.cygnus.com>
532200bf4279Sespie
532300bf4279Sespie	* pexecute.c: New file.
532400bf4279Sespie
532500bf4279SespieWed Jun  5 16:57:45 1996  Richard Henderson  <rth@tamu.edu>
532600bf4279Sespie
532700bf4279Sespie	* xmalloc.c: Declare sbrk.
532800bf4279Sespie
532900bf4279SespieSat May  4 05:08:45 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
533000bf4279Sespie
533100bf4279Sespie	* alloca-norm.h:  Add SPARCworks cc compatible __builtin_alloca
533200bf4279Sespie	declaration.
533300bf4279Sespie
533400bf4279SespieMon Apr 22 18:41:49 1996  Ian Lance Taylor  <ian@cygnus.com>
533500bf4279Sespie
533600bf4279Sespie	* xstrerror.c: Include <stdio.h>.
533700bf4279Sespie
533800bf4279SespieSun Apr 21 11:55:12 1996  Doug Evans  <dje@canuck.cygnus.com>
533900bf4279Sespie
534000bf4279Sespie	* Makefile.in (CFILES): Add atexit.c.
534100bf4279Sespie
534200bf4279SespieSun Apr 21 09:50:09 1996  Stephen L Moshier  (moshier@world.std.com)
534300bf4279Sespie
534400bf4279Sespie	* choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
534500bf4279Sespie
534600bf4279SespieWed Apr 17 11:17:55 1996  Doug Evans  <dje@canuck.cygnus.com>
534700bf4279Sespie
534800bf4279Sespie	* choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
534900bf4279Sespie	#include <stdio.h>
535000bf4279Sespie	* config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
535100bf4279Sespie
535200bf4279SespieTue Apr 16 11:27:16 1996  Jeffrey A Law  (law@cygnus.com)
535300bf4279Sespie
535400bf4279Sespie	* Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
535500bf4279Sespie	Reverts Feb 8, 1995 change.
535600bf4279Sespie
535700bf4279SespieMon Apr 15 12:53:26 1996  Doug Evans  <dje@canuck.cygnus.com>
535800bf4279Sespie
535900bf4279Sespie	* choose-temp.c: New file.
536000bf4279Sespie	* Makefile.in (CFILES): Add choose-temp.c.
536100bf4279Sespie	(REQUIRED_OFILES): Add choose-temp.o.
536200bf4279Sespie
536300bf4279SespieSat Apr 13 14:19:30 1996  Stu Grossman  (grossman@critters.cygnus.com)
536400bf4279Sespie
536500bf4279Sespie	* floatformat.c (floatformat_to_double):  Don't bias exponent when
536600bf4279Sespie	handling zero's, denorms or NaNs.
536700bf4279Sespie
536800bf4279SespieThu Apr 11 13:36:56 1996  Stu Grossman  (grossman@critters.cygnus.com)
536900bf4279Sespie
537000bf4279Sespie	* floatformat.c (floatformat_to_double):  Fix bugs with handling
537100bf4279Sespie	numbers with fractions < 32 bits.
537200bf4279Sespie
537300bf4279SespieMon Apr  8 14:48:34 1996  Ian Lance Taylor  <ian@cygnus.com>
537400bf4279Sespie
537500bf4279Sespie	* config.table: Permit --enable-shared to specify a list of
537600bf4279Sespie	directories.
537700bf4279Sespie
537800bf4279SespieTue Mar 19 22:02:07 1996  Jason Merrill  <jason@yorick.cygnus.com>
537900bf4279Sespie
538000bf4279Sespie	* cplus-dem.c (demangle_template): Fix for non-mangled pointer
538100bf4279Sespie	arguments.
538200bf4279Sespie
538300bf4279SespieFri Mar  8 17:24:18 1996  Ian Lance Taylor  <ian@cygnus.com>
538400bf4279Sespie
538500bf4279Sespie	* configure.in: If srcdir is `.' and with_target_subdir is not
538600bf4279Sespie	`.', then set MULTISRCTOP before calling config-ml.in.
538700bf4279Sespie
538800bf4279SespieThu Mar  7 13:37:10 1996  Stan Shebs  <shebs@andros.cygnus.com>
538900bf4279Sespie
539000bf4279Sespie	* mpw.c (mpw_open): Add debugging output option.
539100bf4279Sespie
539200bf4279SespieWed Mar  6 17:36:03 1996  Jason Merrill  <jason@yorick.cygnus.com>
539300bf4279Sespie
539400bf4279Sespie	* cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
539500bf4279Sespie
539600bf4279SespieTue Feb 27 12:00:50 1996  Raymond Jou  <rjou@mexican.cygnus.com>
539700bf4279Sespie
539800bf4279Sespie	* mpw.c (mpwify_filename): Change 6 to 5 in
539900bf4279Sespie	strncmp (unixname, "/tmp/", 5).
540000bf4279Sespie
540100bf4279SespieTue Feb 20 10:55:53 1996  Ian Lance Taylor  <ian@cygnus.com>
540200bf4279Sespie
540300bf4279Sespie	* cplus-dem.c (demangle_template): Initialize is_bool.  Correctly
540400bf4279Sespie	handle 0 as a pointer value parameter.
540500bf4279Sespie
540600bf4279SespieMon Feb  5 16:41:44 1996  Ian Lance Taylor  <ian@cygnus.com>
540700bf4279Sespie
540800bf4279Sespie	* Makefile.in (all): Depend upon required-list.
540900bf4279Sespie	(required-list): New target.
541000bf4279Sespie	(clean): Remove required-list.
541100bf4279Sespie
541200bf4279SespieWed Jan 31 10:19:41 1996  Steve Chamberlain  <sac@slash.cygnus.com>
541300bf4279Sespie
541400bf4279Sespie	* win32.c: Deleted.
541500bf4279Sespie	* config.table (i386-*-win32): Deleted.
541600bf4279Sespie	* config/mh-i386win32: Deleted.
541700bf4279Sespie
541800bf4279SespieThu Jan 18 11:34:17 1996  Ian Lance Taylor  <ian@cygnus.com>
541900bf4279Sespie
542000bf4279Sespie	* cplus-dem.c (cplus_demangle_opname): Change opname parameter to
542100bf4279Sespie	const char *.
542200bf4279Sespie	(cplus_mangle_opname): Change return type and opname parameter to
542300bf4279Sespie	const char *.  Don't cast return value.
542400bf4279Sespie
542500bf4279SespieTue Jan 16 12:13:11 1996  Stan Shebs  <shebs@andros.cygnus.com>
542600bf4279Sespie
542700bf4279Sespie	* mpw.c: Include Timer.h, in order to get m68k Microseconds trap
542800bf4279Sespie	definition.
542900bf4279Sespie
543000bf4279SespieWed Jan  3 13:15:04 1996  Fred Fish  <fnf@cygnus.com>
543100bf4279Sespie
543200bf4279Sespie	* obstack.c: Update copyright to 1996.
543300bf4279Sespie	(_obstack_memory_used): Define new function.  Called via
543400bf4279Sespie	obstack_memory_used macro.
543500bf4279Sespie
543600bf4279SespieThu Dec 28 11:39:40 1995  Ian Lance Taylor  <ian@cygnus.com>
543700bf4279Sespie
543800bf4279Sespie	* xstrdup.c: New file.
543900bf4279Sespie	* Makefile.in (CFILES): Add xstrdup.c.
544000bf4279Sespie	(REQUIRED_OFILES): Add xstrdup.o.
544100bf4279Sespie	(xstrdup.o): New target.
544200bf4279Sespie
544300bf4279SespieMon Dec 11 18:18:52 1995  Mike Stump  <mrs@cygnus.com>
544400bf4279Sespie
544500bf4279Sespie	* atexit.c: New stub to provide atexit on systems that have
544600bf4279Sespie	on_exit, like SunOS 4.1.x systems.
544700bf4279Sespie	* functions.def (on_exit, atexit): Ditto.
544800bf4279Sespie
544900bf4279SespieMon Dec 11 15:42:14 1995  Stan Shebs  <shebs@andros.cygnus.com>
545000bf4279Sespie
545100bf4279Sespie	* mpw.c (mpw_abort): Remove decl.
545200bf4279Sespie	(mpw_access): Move debugging printf.
545300bf4279Sespie
545400bf4279SespieSat Dec  2 01:25:23 1995  Ian Lance Taylor  <ian@cygnus.com>
545500bf4279Sespie
545600bf4279Sespie	* config.table: Consistently use ${host} rather than ${xhost} or
545700bf4279Sespie	${target}.
545800bf4279Sespie	* configure.in: Don't bother to set ${xhost} before calling
545900bf4279Sespie	config.table.
546000bf4279Sespie
546100bf4279SespieTue Nov 28 14:16:57 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
546200bf4279Sespie
546300bf4279Sespie	* Makefile.in (.c.o): Use test instead of the left bracket, to
546400bf4279Sespie	avoid problems with some versions of make.
546500bf4279Sespie
546600bf4279SespieTue Nov 28 11:45:17 1995  Stan Shebs  <shebs@andros.cygnus.com>
546700bf4279Sespie
546800bf4279Sespie	* mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
546900bf4279Sespie
547000bf4279SespieTue Nov 21 11:26:34 1995  Fred Fish  <fnf@rtl.cygnus.com>
547100bf4279Sespie
547200bf4279Sespie	* config/mh-hpux: Remove.  It was only used to define EXTRA_OFILES,
547300bf4279Sespie	which was set to just alloca.o, which is now automatically marked
547400bf4279Sespie	as needed by the autoconfiguration process.
547500bf4279Sespie
547600bf4279SespieTue Nov 21 14:15:06 1995  Ian Lance Taylor  <ian@cygnus.com>
547700bf4279Sespie
547800bf4279Sespie	* config.table: Check ${with_cross_host} rather than comparing
547900bf4279Sespie	${host} and ${target}.
548000bf4279Sespie
548100bf4279SespieThu Nov 16 14:34:42 1995  Ian Lance Taylor  <ian@cygnus.com>
548200bf4279Sespie
548300bf4279Sespie	* configure.in: If with_target_subdir is empty, set xhost to
548400bf4279Sespie	${host} rather than ${target} before calling config.table.
548500bf4279Sespie
548600bf4279SespieTue Nov 14 01:38:30 1995  Doug Evans  <dje@canuck.cygnus.com>
548700bf4279Sespie
548800bf4279Sespie	* Makefile.in (MULTITOP): Deleted.
548900bf4279Sespie	(MULTISRCTOP, MULTIBUILDTOP): New.
549000bf4279Sespie	(FLAGS_TO_PASS): Delete INCDIR.
549100bf4279Sespie	(INCDIR): Add $(MULTISRCTOP).
549200bf4279Sespie	(install_to_libdir): Add $(MULTISUBDIR).  Call $(MULTIDO).
549300bf4279Sespie	* configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
549400bf4279Sespie	instead of cfg-ml-pos.in.
549500bf4279Sespie	(cross-compile check): Change to test for with_target_subdir.
549600bf4279Sespie	(EXTRA_LINKS): Delete.
549700bf4279Sespie
549800bf4279SespieSun Nov 12 12:13:04 1995  Stan Shebs  <shebs@andros.cygnus.com>
549900bf4279Sespie
550000bf4279Sespie	* mpw-make.sed: Add getpagesize.c.o to needed-list.
550100bf4279Sespie	* mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
550200bf4279Sespie	functions that are supplied by Metrowerks libraries.
550300bf4279Sespie	(fstat): Clean up descriptor->pointer conversion code.
550400bf4279Sespie	(InstallConsole, etc): Empty definitions, for when linking
550500bf4279Sespie	with SIOUX.
550600bf4279Sespie
550700bf4279SespieSun Nov  5 19:25:27 1995  Per Bothner  <bothner@kalessin.cygnus.com>
550800bf4279Sespie
550900bf4279Sespie	* Makefile.in (FLAGS_TO_PASS):  Also pass PICFLAGS.
551000bf4279Sespie	(.c.o):  Stylistic change.
551100bf4279Sespie
551200bf4279SespieThu Nov  2 12:06:29 1995  Ian Lance Taylor  <ian@cygnus.com>
551300bf4279Sespie
551400bf4279Sespie	* strtol.c, strtoul.c: Don't include <stdlib.h>.  From
551500bf4279Sespie	phdm@info.ucl.ac.be (Philippe De Muyter).
551600bf4279Sespie
551700bf4279SespieWed Nov  1 11:59:36 1995  Ian Lance Taylor  <ian@cygnus.com>
551800bf4279Sespie
551900bf4279Sespie	* configure.in: Correct sed call.
552000bf4279Sespie
552100bf4279SespieMon Oct 30 13:03:45 1995  Per Bothner  <bothner@kalessin.cygnus.com>
552200bf4279Sespie
552300bf4279Sespie	* configure.in:  Clean up / simplify for native.
552400bf4279Sespie
552500bf4279Sespie	* configure.in:  Merge in stuff from ../xiberty/configure.in.
552600bf4279Sespie	* Makefile.in (CC):  Add definition (so it can be overrridden
552700bf4279Sespie	by ../configure).
552800bf4279Sespie
552900bf4279SespieTue Oct 24 17:57:27 1995  Stan Shebs  <shebs@andros.cygnus.com>
553000bf4279Sespie
553100bf4279Sespie	* mpw-make.sed: Leave strerror.c.o in standard list of functions.
553200bf4279Sespie	* mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
553300bf4279Sespie	(link): Remove useless definition with error return.
553400bf4279Sespie	(last_microseconds, warn_if_spin_delay, record_for_spin_delay):
553500bf4279Sespie	Use UnsignedWide type for microsecond counts.
553600bf4279Sespie
553700bf4279SespieThu Oct 19 10:52:07 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
553800bf4279Sespie
553900bf4279Sespie	* memcmp.c (memcmp): Argument types are const void *, not void
554000bf4279Sespie	*const.
554100bf4279Sespie
554200bf4279Sespie	* strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
554300bf4279Sespie	sys/types.h.
554400bf4279Sespie	* strcasecmp.c (strcasecmp): Ditto.
554500bf4279Sespie
554600bf4279SespieTue Oct 10 11:03:24 1995  Fred Fish  <fnf@cygnus.com>
554700bf4279Sespie
554800bf4279Sespie	* Makefile.in (BISON):  Remove macro.
554900bf4279Sespie
555000bf4279SespieTue Sep 26 15:06:46 1995  Stan Shebs  <shebs@andros.cygnus.com>
555100bf4279Sespie
555200bf4279Sespie	* Makefile.in (HFILES): Add default empty definition.
555300bf4279Sespie	* mpw-config.in (config.h): Only update if changed.
555400bf4279Sespie	* mpw-make.in: Remove.
555500bf4279Sespie	* mpw-make.sed: New file, edits Makefile.in into MPW makefile.
555600bf4279Sespie	* mpw.c: Remove semi-clone of strerror code.
555700bf4279Sespie	(sys_nerr, sys_errlist): Define here.
555800bf4279Sespie	(Microseconds): Only define as A-line trap if m68k Mac.
555900bf4279Sespie
556000bf4279SespieWed Sep 20 12:53:32 1995  Ian Lance Taylor  <ian@cygnus.com>
556100bf4279Sespie
556200bf4279Sespie	* Makefile.in (maintainer-clean): New synonym for distclean.
556300bf4279Sespie
556400bf4279SespieMon Aug 28 19:47:52 1995  Per Bothner  <bothner@kalessin.cygnus.com>
556500bf4279Sespie
556600bf4279Sespie	* config.table:  For host, generalize rs6000-ibm-aix*
556700bf4279Sespie	to *-ibm-aix* so we also include powerpc.
556800bf4279Sespie
556900bf4279SespieTue Aug 22 03:18:05 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
557000bf4279Sespie
557100bf4279Sespie	Fri Jun 16 18:35:40 1995  Pat Rankin  (rankin@eql.caltech.edu)
557200bf4279Sespie
557300bf4279Sespie	* xstrerror.c: New file.
557400bf4279Sespie	* Makefile.in, vmsbuild.com: Compile it.
557500bf4279Sespie
557600bf4279SespieMon Jul 31 12:16:32 1995  steve chamberlain  <sac@slash.cygnus.com>
557700bf4279Sespie
557800bf4279Sespie	* config.table (i386-*-win32): New.
557900bf4279Sespie
558000bf4279SespieFri Jul 21 11:35:52 1995  Doug Evans  <dje@canuck.cygnus.com>
558100bf4279Sespie
558200bf4279Sespie	* Makefile.in (MULTITOP): New variable.
558300bf4279Sespie	(MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
558400bf4279Sespie	(all): Add multilib support.
558500bf4279Sespie	(install_to_tooldir, *clean): Likewise.
558600bf4279Sespie
558700bf4279SespieMon Jul 10 11:47:27 1995  Ken Raeburn  <raeburn@cygnus.com>
558800bf4279Sespie
558900bf4279Sespie	* makefile.dos (OBJS): Add hex.o.  From DJ Delorie.
559000bf4279Sespie
559100bf4279SespieFri Jun 30 17:28:59 1995  Pat Rankin  (rankin@eql.caltech.edu)
559200bf4279Sespie
559300bf4279Sespie	* vmsbuild.com:  create "new-lib.olb", build libiberty under that
559400bf4279Sespie	name, and then make it become "liberty.olb" when done, so that an
559500bf4279Sespie	incomplete build attempt never leaves behind something which looks
559600bf4279Sespie	like a complete library.
559700bf4279Sespie
559800bf4279SespieThu Jun 29 00:22:02 1995  Steve Chamberlain  <sac@slash.cygnus.com>
559900bf4279Sespie
560000bf4279Sespie	* config/mh-i386pe: New file for PE hosts.
560100bf4279Sespie	* config.table: Understand PE hosts.
560200bf4279Sespie
560300bf4279SespieWed Jun 28 19:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
560400bf4279Sespie
560500bf4279Sespie	* cplus-dem.c: Update from gcc.
560600bf4279Sespie
560700bf4279Sespie	* argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
560800bf4279Sespie	<stddef.h>.
560900bf4279Sespie	* alloca-norm.h: If __STDC__, declare alloca with its parameter.
561000bf4279Sespie
561100bf4279SespieThu Jun 22 18:57:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
561200bf4279Sespie
561300bf4279Sespie	* mpw-make.in (ALL_CFLAGS): Define NEED_basename.
561400bf4279Sespie	* mpw.c: Only test DebugPI once whenever printing debug info.
561500bf4279Sespie	(mpwify_filename): If filename is /tmp/foo, change it into :_foo,
561600bf4279Sespie	also fix to not write on input filename buffer.
561700bf4279Sespie	(mpw_access): Use stat() instead of open(), works for directories
561800bf4279Sespie	as well as files.
561900bf4279Sespie
562000bf4279SespieMon Jun 19 00:33:22 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
562100bf4279Sespie
562200bf4279Sespie	* Makefile.in: Massage broken shells that require 'else true'.
562300bf4279Sespie
562400bf4279SespieSat Jun 17 23:21:58 1995  Fred Fish  <fnf@cygnus.com>
562500bf4279Sespie
562600bf4279Sespie	* alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
562700bf4279Sespie	Declare __builtin_alloca in the sparc case, as argv.c did.
562800bf4279Sespie	* argv.c: Replace inline version of alloca-norm.h at start of file with
562900bf4279Sespie	a #include of alloca-conf.h.  Precede it with an include of ansidecl.h
563000bf4279Sespie	because alloca-norm.h needs to declare alloca as "PTR".
563100bf4279Sespie
563200bf4279SespieMon Jun 12 14:24:26 1995  Steve Chamberlain  <sac@slash.cygnus.com>
563300bf4279Sespie
563400bf4279Sespie	* win32.c: New file.
563500bf4279Sespie
563600bf4279SespieFri Jun  9 15:16:14 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
563700bf4279Sespie
563800bf4279Sespie	* dummy.c: #include "alloca-conf.h".
563900bf4279Sespie
564000bf4279SespieWed Jun  7 11:46:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
564100bf4279Sespie
564200bf4279Sespie	* Makefile.in (mostlyclean): Remove stamp-picdir.
564300bf4279Sespie	(clean): Don't.
564400bf4279Sespie
564500bf4279SespieMon Jun  5 18:46:06 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
564600bf4279Sespie
564700bf4279Sespie	* config.table (frags): Use toplevel pic frags.
564800bf4279Sespie
564900bf4279Sespie	* Makefile.in (PICFLAG): New macro.
565000bf4279Sespie	(all): Depend on stamp-picdir.
565100bf4279Sespie	(needed-list): Ditto.
565200bf4279Sespie	(.c.o): Also build pic object.
565300bf4279Sespie	(stamp-picdir): New rule.
565400bf4279Sespie	(mostlyclean): Remove pic.
565500bf4279Sespie	(clean): Remove stamp-picdir.
565600bf4279Sespie
565700bf4279SespieFri Mar 24 16:55:48 1995  Pat Rankin  (rankin@eql.caltech.edu)
565800bf4279Sespie
565900bf4279Sespie	* vmsbuild.com (config.h): Add `#define NEED_basename'.
566000bf4279Sespie
566100bf4279SespieTue May 23 10:12:46 1995  Per Bothner  <bothner@kalessin.cygnus.com>
566200bf4279Sespie
566300bf4279Sespie	* clock.c, getopt.c, strtod.c, vsprintf.c:  Change from using LGPL
566400bf4279Sespie	to libio-style copyright.
566500bf4279Sespie	* getpagesize.c:  Remove FSF copyright.
566600bf4279Sespie
566700bf4279SespieSat May 20 12:30:23 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
566800bf4279Sespie
566900bf4279Sespie	Added improved VMS support from Pat Rankin:
567000bf4279Sespie
567100bf4279Sespie	Fri Mar 17 18:40:36 1995  Pat Rankin  (rankin@eql.caltech.edu)
567200bf4279Sespie
567300bf4279Sespie	* vmsbuild.com:  new file.
567400bf4279Sespie
567500bf4279Sespie	* getpagesize.c (getpagesize):  implement for VMS;
567600bf4279Sespie	* strerror.c (strerror, strerrno, strtoerrno):  add rudimentary
567700bf4279Sespie	support for EVMSERR.
567800bf4279Sespie
567900bf4279SespieThu May 18 17:01:42 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
568000bf4279Sespie
568100bf4279Sespie	Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
568200bf4279Sespie
568300bf4279Sespie	* floatformat.c (floatformat_arm_ext): Define.
568400bf4279Sespie
568500bf4279SespieTue May 16 13:30:59 1995  Per Bothner  <bothner@kalessin.cygnus.com>
568600bf4279Sespie
568700bf4279Sespie	* basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
568800bf4279Sespie	strerror.c, strsignal.c:  Remove FSF copyright.
568900bf4279Sespie	* sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
569000bf4279Sespie
569100bf4279SespieMon May 15 19:53:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
569200bf4279Sespie
569300bf4279Sespie	* bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
569400bf4279Sespie	strrchr.c, strstr.c, vfork.c:  Remove FSF Copyright, because this
569500bf4279Sespie	might contaminate libstdc++ with the LGPL.  (OK'd by RMS 11 Oct 94.)
569600bf4279Sespie	* strchr.c, strrchr.c:  Add cast to suppress const warning.
569700bf4279Sespie
569800bf4279SespieThu May  4 14:36:42 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
569900bf4279Sespie
570000bf4279Sespie	* cplus-dem.c: Use const instead of CONST.  Don't include
570100bf4279Sespie	ansidecl.h directly.
570200bf4279Sespie
570300bf4279SespieWed Apr 19 01:30:27 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
570400bf4279Sespie
570500bf4279Sespie	* cplus-dem.c: Don't include libiberty.h.  Do declare xmalloc and
570600bf4279Sespie	xrealloc.
570700bf4279Sespie	(-DMAIN): Don't rely on an externally-defined version number;
570800bf4279Sespie	instead, require the version number to be defined as a
570900bf4279Sespie	preprocessor macro.  Handle the RS/6000 leading dot.  Define
571000bf4279Sespie	xmalloc, xrealloc and fatal.  Don't strip a leading underscore
571100bf4279Sespie	if we couldn't demangle the word.
571200bf4279Sespie
571300bf4279SespieTue Apr  4 13:03:51 1995  Stan Shebs  <shebs@andros.cygnus.com>
571400bf4279Sespie
571500bf4279Sespie	(Old mpw.c change descriptions retained for informational value.)
571600bf4279Sespie	* mpw.c (warning_threshold): Default to .4 sec.
571700bf4279Sespie	(overflow_count, current_progress): New globals.
571800bf4279Sespie	(warn_if_spin_delay): Include current progress type,
571900bf4279Sespie	such as program name, in message.
572000bf4279Sespie	(mpw_start_progress): Set current_progress variable from arg.
572100bf4279Sespie	(mpw_end_progress): Report spin delays by power-of-two-size
572200bf4279Sespie	buckets instead of constant-size buckets.
572300bf4279Sespie
572400bf4279Sespie	* mpw.c: Clean up formatting, types, returns, etc.
572500bf4279Sespie	(ENOSYS): Define.
572600bf4279Sespie	(mpw_fread, mpw_fwrite): Define.
572700bf4279Sespie	(sleep): Define correctly.
572800bf4279Sespie
572900bf4279Sespie	* mpw.c: New code to implement cursor spinning support.
573000bf4279Sespie	(umask): New function.
573100bf4279Sespie	(mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
573200bf4279Sespie
573300bf4279Sespie	* mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
573400bf4279Sespie	basenames for MPW and MPW/Unix filenames.
573500bf4279Sespie	(mpw_special_init): New function, calls Macsbug if desired.
573600bf4279Sespie
573700bf4279Sespie	* mpw.c: Add GPL notice.
573800bf4279Sespie	(mpwify_filename): Add more transformations.
573900bf4279Sespie	(mpw_fopen): Call mpwify_filename on file names.
574000bf4279Sespie	(rename): Remove.
574100bf4279Sespie	(chdir, getcwd): Add simple definitions.
574200bf4279Sespie
574300bf4279Sespie	* mpw.c: Random cleanups, remove unused code bits.
574400bf4279Sespie	Added copy of strerror.c for gcc's use.
574500bf4279Sespie	(stat, fstat, _stat): New versions based on Guido van Rossum code.
574600bf4279Sespie
574700bf4279Sespie	* mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
574800bf4279Sespie
574900bf4279Sespie	* mpw.c (stat): Remove hack definition, get from sys/stat.h.
575000bf4279Sespie	(fork, vfork, etc): Print error messages if called.
575100bf4279Sespie	(getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
575200bf4279Sespie	rename, chown): Define.
575300bf4279Sespie
575400bf4279Sespie	* mpw-config.in: New file, MPW version of configure.in.
575500bf4279Sespie	* mpw-make.in: New file, MPW version of Makefile.in.
575600bf4279Sespie	* mpw.c: New file, MPW compatibility routines.
575700bf4279Sespie
575800bf4279SespieFri Mar 24 14:10:30 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
575900bf4279Sespie
576000bf4279Sespie	* basename.c: Include config.h before checking for NEED_basename.
576100bf4279Sespie
576200bf4279SespieThu Mar 23 19:09:54 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
576300bf4279Sespie
576400bf4279Sespie	* functions.def: Add DEFFUNC for basename.
576500bf4279Sespie
576600bf4279Sespie	* basename.c: Only define basename if NEED_basename.
576700bf4279Sespie
576800bf4279SespieThu Mar 16 13:36:05 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
576900bf4279Sespie
577000bf4279Sespie	* config.table: Fix --enable-shared logic for native builds.
577100bf4279Sespie
577200bf4279SespieMon Mar 13 11:05:11 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
577300bf4279Sespie
577400bf4279Sespie	* cplus-dem.c (demangle_template): Demangle bool literals properly.
577500bf4279Sespie
577600bf4279SespieMon Mar  6 23:57:28 1995  Stu Grossman  (grossman@cygnus.com)
577700bf4279Sespie
577800bf4279Sespie	* strtol.c strtoul.c:  Replace these with less buggy versions from
577900bf4279Sespie	NetBSD.  (strtoul in particular couldn't handle base 16.)
578000bf4279Sespie
578100bf4279SespieWed Mar  1 15:59:01 1995  Ian Lance Taylor  <ian@cygnus.com>
578200bf4279Sespie
578300bf4279Sespie	* config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
578400bf4279Sespie
578500bf4279Sespie	* clock.c: If NO_SYS_PARAM_H is defined, don't include
578600bf4279Sespie	<sys/param.h>.
578700bf4279Sespie	* getcwd.c, getpagesize.c, getruntime.c: Likewise.
578800bf4279Sespie
578900bf4279SespieFri Feb 17 15:40:55 1995  Ian Lance Taylor  <ian@cygnus.com>
579000bf4279Sespie
579100bf4279Sespie	* getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
579200bf4279Sespie	a number; ANSI appears to permit any expression, including a
579300bf4279Sespie	function call.
579400bf4279Sespie
579500bf4279Sespie	* config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
579600bf4279Sespie	xiberty.
579700bf4279Sespie	* config/mt-vxworks5: New file.
579800bf4279Sespie
579900bf4279SespieThu Feb  9 14:19:45 1995  Ian Lance Taylor  <ian@cygnus.com>
580000bf4279Sespie
580100bf4279Sespie	* basename.c (basename): Change argument to be const.
580200bf4279Sespie
580300bf4279SespieWed Feb  8 18:06:52 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
580400bf4279Sespie
580500bf4279Sespie	* Makefile.in (lneeded-list): Don't worry about xmalloc.
580600bf4279Sespie
580700bf4279SespieSun Jan 15 00:40:36 1995  Jeff Law  (law@snake.cs.utah.edu)
580800bf4279Sespie
580900bf4279Sespie	* Makefile.in (distclean): Delete xhost-mkfrag.
581000bf4279Sespie
581100bf4279SespieThu Jan 12 16:54:18 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
581200bf4279Sespie
581300bf4279Sespie	* Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
581400bf4279Sespie
581500bf4279SespieWed Jan 11 22:39:56 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
581600bf4279Sespie
581700bf4279Sespie	* hex.c: New file.
581800bf4279Sespie	* Makefile.in (REQUIRED_OFILES, CFILES): List it.
581900bf4279Sespie	(hex.o): Add dependencies.
582000bf4279Sespie
582100bf4279Sespie	* cplus-dem.c (demangle_prefix): For GNU style constructor and
582200bf4279Sespie	destructor names, try demangling the remainder of the string.
582300bf4279Sespie
582400bf4279SespieWed Dec 28 00:49:15 1994  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
582500bf4279Sespie
582600bf4279Sespie	* vasprintf.c (int_vasprintf): New static function.
582700bf4279Sespie	(vasprintf): Use int_vasprintf.  Removes assumption that va_list
582800bf4279Sespie	is assignment compatible.
582900bf4279Sespie
583000bf4279SespieSat Nov  5 19:29:12 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
583100bf4279Sespie
583200bf4279Sespie	* Makefile.in (LIBCFLAGS): New variable.
583300bf4279Sespie	(FLAGS_TO_PASS): Pass it.
583400bf4279Sespie	(.c.o): Use it.
583500bf4279Sespie
583600bf4279SespieThu Nov  3 19:09:47 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
583700bf4279Sespie
583800bf4279Sespie	* getopt.c, getopt1.c: Do compile these functions under Linux,
583900bf4279Sespie	since many native versions are based on glibc but are buggy.
584000bf4279Sespie
584100bf4279SespieMon Oct 24 15:16:46 1994  Per Bothner  <bothner@kalessin.cygnus.com>
584200bf4279Sespie
584300bf4279Sespie	* vasprintf.c:  Make 'format' arg be const, to avoid a mismatch
584400bf4279Sespie	with prototype in GNU libc.  Support stdarg.h as well as varargs.h.
584500bf4279Sespie
584600bf4279SespieTue Oct 11 17:48:27 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
584700bf4279Sespie
584800bf4279Sespie	* Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
584900bf4279Sespie	* functions.def: Remove vasprintf.
585000bf4279Sespie
585100bf4279SespieWed Sep 14 17:04:55 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
585200bf4279Sespie
585300bf4279Sespie	* xmalloc.c (first_break): New static variable.
585400bf4279Sespie	(xmalloc_set_program_name): Record sbrk (0) in first_break.
585500bf4279Sespie	(xmalloc): If memory allocation fails, try to report how much
585600bf4279Sespie	memory was allocated by the program up to this point.
585700bf4279Sespie	(xrealloc): Likewise.
585800bf4279Sespie
585900bf4279SespieSun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
586000bf4279Sespie
586100bf4279Sespie	* Makefile.in (ERRORS_CC): New variable, defaulted to $(CC).  Use it
586200bf4279Sespie	when linking dummy.
586300bf4279Sespie	* config.table: Add host RISCiX Makefile frag.
586400bf4279Sespie	* config/mh-riscix: New file.
586500bf4279Sespie
586600bf4279SespieThu Aug 25 17:29:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
586700bf4279Sespie
586800bf4279Sespie	* Makefile.in (FLAGS_TO_PASS): Define.
586900bf4279Sespie	($(RULE1)): Use $(FLAGS_TO_PASS).
587000bf4279Sespie
587100bf4279SespieWed Aug 24 17:08:47 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
587200bf4279Sespie
587300bf4279Sespie	* vasprintf.c: Include <string.h>.
587400bf4279Sespie	(vasprintf): Add casts to void for va_arg to avoid gcc warnings.
587500bf4279Sespie	* xatexit.c: Declare malloc.
587600bf4279Sespie
587700bf4279SespieFri Aug 19 15:29:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
587800bf4279Sespie
587900bf4279Sespie	* cplus-dem.c (demangle_args): Fix a bug in previous patch (the
588000bf4279Sespie	one below).
588100bf4279Sespie
588200bf4279SespieThu Aug 18 14:37:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
588300bf4279Sespie
588400bf4279Sespie	* cplus-dem.c (demangle args): Handle ARM repeat encoding where
588500bf4279Sespie	the type index is greater than 9.
588600bf4279Sespie
588700bf4279SespieWed Aug 17 16:13:49 1994  Kung Hsu  (kung@mexican.cygnus.com)
588800bf4279Sespie
588900bf4279Sespie	* cplus-dem.c (demangle_qualified): accept optional '_' between
589000bf4279Sespie	qualified name. This is baecause the template name may end with
589100bf4279Sespie	numeric and can mixed up with the length of next qualified name.
589200bf4279Sespie
589300bf4279SespieWed Aug  3 05:52:14 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
589400bf4279Sespie
589500bf4279Sespie	* config/mt-sunos4: Use our standard location for cross-includes
589600bf4279Sespie	and cross-libs when the target is also a "host" environment (ie no
589700bf4279Sespie	newlib; includes and such don't belong to us).  This is specific
589800bf4279Sespie	to the Cygnus Support environment.
589900bf4279Sespie
590000bf4279SespieTue Aug  2 15:25:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
590100bf4279Sespie
590200bf4279Sespie	* cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
590300bf4279Sespie	xxx<ch=81>.
590400bf4279Sespie
590500bf4279SespieMon Aug  1 17:02:48 1994  Kung Hsu  (kung@mexican.cygnus.com)
590600bf4279Sespie
590700bf4279Sespie	* cplus-dem.c (main): flush stdout to make pipe work.
590800bf4279Sespie
590900bf4279SespieSat Jul 16 12:56:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
591000bf4279Sespie
591100bf4279Sespie	* config.table (*-*-cxux7*):  Recognize.
591200bf4279Sespie	* floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
591300bf4279Sespie	Harris-specific float format.
591400bf4279Sespie	* config/mh-cxux7: New file.
591500bf4279Sespie
591600bf4279SespieWed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
591700bf4279Sespie
591800bf4279Sespie	* cplus-dem.c (demangle_template):  Make sure that the result of
591900bf4279Sespie	consume_count doesn't index beyond the end of the string.
592000bf4279Sespie
592100bf4279SespieMon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
592200bf4279Sespie
592300bf4279Sespie	* cplus-dem.c (gnu_special):  Handle vtable mangling of gcc-2.4.5 and
592400bf4279Sespie	earlier. Improve test for new vtable mangling. Change output back
592500bf4279Sespie	to `virtual table'.
592600bf4279Sespie
592700bf4279SespieMon Jun 20 11:37:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
592800bf4279Sespie
592900bf4279Sespie	* obstack.c: Always compile this code, even if using the GNU
593000bf4279Sespie	library.  Avoids problems with relatively recent binary
593100bf4279Sespie	incompatibility.
593200bf4279Sespie
593300bf4279SespieThu Jun 16 17:54:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
593400bf4279Sespie
593500bf4279Sespie	* cplus-dem.c: Include libiberty.h.
593600bf4279Sespie	(xmalloc, xrealloc, free): Don't declare.
593700bf4279Sespie	(strstr): Don't declare parameters.
593800bf4279Sespie	(xmalloc, xrealloc): Don't define.
593900bf4279Sespie	(long_options): Add no-strip-underscores.
594000bf4279Sespie	(main): Call xmalloc_set_program_name.  Pass n in short options to
594100bf4279Sespie	getopt_long.  Handle option 'n' to not strip underscores.
594200bf4279Sespie	(usage): Mention -n and --no-strip-underscores.
594300bf4279Sespie
594400bf4279SespieSun Jun 12 01:37:09 1994  Jason Merrill  (jason@deneb.cygnus.com)
594500bf4279Sespie
594600bf4279Sespie	* cplus-dem.c (demangle_template): Separate consecutive >'s with a
594700bf4279Sespie	space.
594800bf4279Sespie	(gnu_special): Demangle template and qualified names in a vtable name.
594900bf4279Sespie
595000bf4279SespieFri May 27 12:27:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
595100bf4279Sespie
595200bf4279Sespie	From gas-2.3 and binutils-2.4 net releases:
595300bf4279Sespie
595400bf4279Sespie	Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
595500bf4279Sespie
595600bf4279Sespie	* makefile.dos: [new] Makefile for dos/go32
595700bf4279Sespie	* configure.bat: update for latest files
595800bf4279Sespie	* msdos.c: remove some functions now in libc.a
595900bf4279Sespie
596000bf4279SespieFri May 20 18:53:32 1994  Per Bothner  (bothner@kalessin.cygnus.com)
596100bf4279Sespie
596200bf4279Sespie	* cplus-dem.c (gnu_special):  Recognize thunks, as well as
596300bf4279Sespie	the new naming style for vtables (when -fvtable-thunks).
596400bf4279Sespie
596500bf4279SespieWed May 18 13:34:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
596600bf4279Sespie
596700bf4279Sespie	* Makefile.in (XTRAFLAGS): Don't define.
596800bf4279Sespie	(.c.o, dummy.o): Don't use XTRAFLAGS.
596900bf4279Sespie	($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
597000bf4279Sespie
597100bf4279SespieFri May 13 16:02:12 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
597200bf4279Sespie
597300bf4279Sespie	* vasprintf.c: New file.
597400bf4279Sespie	* Makefile.in, functions.def: Add it.
597500bf4279Sespie
597600bf4279SespieFri May 13 16:20:28 1994  Jason Merrill  (jason@deneb.cygnus.com)
597700bf4279Sespie
597800bf4279Sespie	* cplus-dem.c (demangle_fund_type): Grok bool.
597900bf4279Sespie
598000bf4279SespieFri May  6 14:44:21 1994  Steve Chamberlain  (sac@cygnus.com)
598100bf4279Sespie
598200bf4279Sespie	* config.table: Add go32
598300bf4279Sespie	* config/mh-go32: New template.
598400bf4279Sespie
598500bf4279SespieFri May  6 11:01:59 1994  D. V. Henkel-Wallace  (gumby@rtl.cygnus.com)
598600bf4279Sespie
598700bf4279Sespie	* config.table, config/mt-sunos4: config for when sun4 is cross target.
598800bf4279Sespie
598900bf4279SespieMon Apr 11 00:54:33 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
599000bf4279Sespie
599100bf4279Sespie	* getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
599200bf4279Sespie	Declare strlen to return int.  Don't include stddef.h.
599300bf4279Sespie
599400bf4279SespieFri Apr  1 00:38:17 1994  Jim Wilson  (wilson@mole.gnu.ai.mit.edu)
599500bf4279Sespie
599600bf4279Sespie	* getopt.c: Delete use of IN_GCC to control whether
599700bf4279Sespie	stddef.h or gstddef.h is included.
599800bf4279Sespie
599900bf4279SespieThu Apr 14 14:00:56 1994  Kung Hsu  (kung@mexican.cygnus.com)
600000bf4279Sespie
600100bf4279Sespie	* cplus-dem.c (demangle_signature): Fix a bug in template function
600200bf4279Sespie	type numbering.
600300bf4279Sespie
600400bf4279SespieWed Apr 13 17:23:03 1994  Kung Hsu  (kung@mexican.cygnus.com)
600500bf4279Sespie
600600bf4279Sespie	* cplus-dem.c (demangle_signature): Fix template function with arm
600700bf4279Sespie	style argument type number, Tn.
600800bf4279Sespie
600900bf4279SespieWed Apr 13 17:11:15 1994  Jason Merrill  (jason@deneb.cygnus.com)
601000bf4279Sespie
601100bf4279Sespie	* cplus-dem.c (optable): Add new[] and delete[].
601200bf4279Sespie
601300bf4279SespieFri Apr  8 11:21:42 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
601400bf4279Sespie
601500bf4279Sespie	* argv.c (buildargv): Don't produce empty argument just because
601600bf4279Sespie	there is trailing whitespace.
601700bf4279Sespie
601800bf4279SespieWed Apr  6 11:42:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
601900bf4279Sespie
602000bf4279Sespie	* cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
602100bf4279Sespie	Handle 'p' same as 'P'.
602200bf4279Sespie	* cplus-dem.c (do_type): Handle 'p' same as 'P'.
602300bf4279Sespie
602400bf4279SespieSat Mar 26 12:00:13 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
602500bf4279Sespie
602600bf4279Sespie	* floatformat.c (get_field, put_field):  Fix off by one error in
602700bf4279Sespie	little endian case.
602800bf4279Sespie
602900bf4279SespieThu Mar 24 10:40:19 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
603000bf4279Sespie
603100bf4279Sespie	* floatformat.c (floatformat_from_double): Pass unsigned char *,
603200bf4279Sespie	not char *, to put_field.
603300bf4279Sespie
603400bf4279SespieFri Mar 18 12:34:33 1994  Per Bothner  (bothner@kalessin.cygnus.com)
603500bf4279Sespie
603600bf4279Sespie	* memmove.c:  Re-wrote;  placed in public domain.
603700bf4279Sespie
603800bf4279SespieWed Mar 16 10:33:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
603900bf4279Sespie
604000bf4279Sespie	* cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
604100bf4279Sespie	__Q* as a constructor.
604200bf4279Sespie
604300bf4279SespieMon Mar 14 12:26:02 1994  Ian Lance Taylor  (ian@cygnus.com)
604400bf4279Sespie
604500bf4279Sespie	* ieee-float.c: Removed; no longer used.
604600bf4279Sespie	* Makefile.in: Changed accordingly.
604700bf4279Sespie
604800bf4279SespieMon Mar  7 12:28:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
604900bf4279Sespie
605000bf4279Sespie	* floatformat.c (get_field): Removed unused local variable i.
605100bf4279Sespie	(put_field): Removed unused local variable i.
605200bf4279Sespie
605300bf4279SespieSun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
605400bf4279Sespie
605500bf4279Sespie	* floatformat.c: New file, intended to replace ieee-float.c.
605600bf4279Sespie	* Makefile.in: Change accordingly.
605700bf4279Sespie
605800bf4279SespieThu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
605900bf4279Sespie
606000bf4279Sespie	* getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
606100bf4279Sespie	 (_getopt_initialize): New function, broken out of _getopt_internal.
606200bf4279Sespie	 (_getopt_internal):
606300bf4279Sespie	 If long_only and the ARGV-element has the form "-f", where f is
606400bf4279Sespie	 a valid short option, don't consider it an abbreviated form of
606500bf4279Sespie	 a long option that starts with f.  Otherwise there would be no
606600bf4279Sespie	 way to give the -f short option.
606700bf4279Sespie
606800bf4279SespieThu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
606900bf4279Sespie
607000bf4279Sespie	* getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
607100bf4279Sespie	Test just __STDC__, not emacs.
607200bf4279Sespie
607300bf4279SespieWed Feb  9 00:14:00 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
607400bf4279Sespie
607500bf4279Sespie	* getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
607600bf4279Sespie	[emacs] [not __STDC__]: Don't include stddef.h.  Don't declare strlen.
607700bf4279Sespie
607800bf4279SespieFri Dec 24 19:43:00 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
607900bf4279Sespie
608000bf4279Sespie	* getopt.c (_NO_PROTO): Define before config.h is included.
608100bf4279Sespie
608200bf4279SespieMon Sep 20 15:59:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
608300bf4279Sespie
608400bf4279Sespie	* getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
608500bf4279Sespie	<config.h> only under these, else "config.h".
608600bf4279Sespie
608700bf4279SespieThu Aug 12 18:16:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
608800bf4279Sespie
608900bf4279Sespie	* getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
609000bf4279Sespie	<config.h> instead of "config.h".
609100bf4279Sespie
609200bf4279SespieSun Feb 20 17:17:01 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
609300bf4279Sespie
609400bf4279Sespie	* concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
609500bf4279Sespie	whether to use prototypes or not.
609600bf4279Sespie	* strerror.c (const): Never undefine; let ansidecl.h handle it.
609700bf4279Sespie	* strsignal.c (const): Likewise.
609800bf4279Sespie
609900bf4279SespieThu Feb 17 13:27:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
610000bf4279Sespie
610100bf4279Sespie	* xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
610200bf4279Sespie	Merging common and initialized variables need not be supported by
610300bf4279Sespie	ANSI C compilers.
610400bf4279Sespie	(xatexit): Initialize _xexit_cleanup if not already set.
610500bf4279Sespie	* xexit.c: Comment fix.
610600bf4279Sespie
610700bf4279SespieWed Feb 16 01:15:36 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
610800bf4279Sespie
610900bf4279Sespie	* xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
611000bf4279Sespie	(xrealloc): If oldmem is NULL, allocate with malloc, rather than
611100bf4279Sespie	assuming that realloc works correctly.
611200bf4279Sespie
611300bf4279SespieTue Feb 15 09:26:16 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
611400bf4279Sespie
611500bf4279Sespie	* concat.c, ieee-float.c:  Replace inclusion of <string.h>
611600bf4279Sespie	with explicit function declarations, as recommended by Ian Taylor.
611700bf4279Sespie
611800bf4279SespieSat Feb 12 10:31:11 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
611900bf4279Sespie
612000bf4279Sespie	* xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
612100bf4279Sespie	(malloc, realloc): Declare.
612200bf4279Sespie
612300bf4279SespieThu Feb 10 17:08:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
612400bf4279Sespie
612500bf4279Sespie	* argv.c, basename.c: Include ansidecl.h and libiberty.h.
612600bf4279Sespie	* concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
612700bf4279Sespie	* strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
612800bf4279Sespie	* xmalloc.c: Likewise.
612900bf4279Sespie	* concat.c: Don't declare xmalloc.  If __STDC__, use <stdarg.h>
613000bf4279Sespie	macros, not <varargs.h> macros.
613100bf4279Sespie	* spaces.c (spaces): Make return type const.  Don't crash if
613200bf4279Sespie	malloc returns NULL.
613300bf4279Sespie	* strerror.c (struct error_info): Make name and msg fields const.
613400bf4279Sespie	(error_names): Make const.
613500bf4279Sespie	(strerrno): Make const.
613600bf4279Sespie	(strtoerrno): Make argument const.
613700bf4279Sespie	* strsignal.c (struct signal_info): Make name and msg fields
613800bf4279Sespie	const.
613900bf4279Sespie	(signal_names, sys_siglist): Make const.
614000bf4279Sespie	(strsignal, strsigno): Make const.
614100bf4279Sespie	(strtosigno): Make argument const.
614200bf4279Sespie	* xatexit.c: Declare parameter types.
614300bf4279Sespie	* xmalloc.c (name): Make const.
614400bf4279Sespie	(xmalloc_set_program_name): Make argument const.
614500bf4279Sespie	* Makefile.in (INCDIR): Define.
614600bf4279Sespie	(.c.o): Use $(INCDIR).
614700bf4279Sespie	(dummy.o): Likewise.
614800bf4279Sespie	(argv.o, basename.o): New targets; depend on libiberty.h.
614900bf4279Sespie	(concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
615000bf4279Sespie	(strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
615100bf4279Sespie	(xmalloc.o): Likewise.
615200bf4279Sespie	(cplus-dem.o): New target; depend on demangle.h.
615300bf4279Sespie	(getopt.o, getopt1.o): New targets; depend on getopt.h.
615400bf4279Sespie	(ieee-float.o): New target; depend on ieee-float.h.
615500bf4279Sespie	(obstack.o): New target; depend on obstack.h.
615600bf4279Sespie
615700bf4279SespieTue Feb  8 05:29:08 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
615800bf4279Sespie
615900bf4279Sespie	Handle obstack_chunk_alloc returning NULL.  This allows
616000bf4279Sespie	obstacks to be used by libraries, without forcing them
616100bf4279Sespie	to call exit or longjmp.
616200bf4279Sespie	* obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
616300bf4279Sespie	If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
616400bf4279Sespie	(_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
616500bf4279Sespie
616600bf4279SespieTue Feb  8 00:32:28 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
616700bf4279Sespie
616800bf4279Sespie	* concat.c, ieee-float.c:  Include <string.h>.
616900bf4279Sespie
617000bf4279SespieSun Feb  6 21:28:46 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
617100bf4279Sespie
617200bf4279Sespie	* xmalloc.c (xmalloc_set_program_name): New function.
617300bf4279Sespie	(xmalloc, xrealloc): Include the name in the error message, if set.
617400bf4279Sespie
617500bf4279Sespie	* Replace atexit.c with xatexit.c.
617600bf4279Sespie	* Makefile.in (CFILES), functions.def: Change references.
617700bf4279Sespie
617800bf4279SespieSat Feb  5 14:02:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
617900bf4279Sespie
618000bf4279Sespie	* getruntime.c (get_run_time): Use getrusage or times if
618100bf4279Sespie	HAVE_GETRUSAGE or HAVE_TIMES are defined.
618200bf4279Sespie
618300bf4279SespieFri Feb  4 15:49:38 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
618400bf4279Sespie
618500bf4279Sespie	* atexit.c: New file.
618600bf4279Sespie	* Makefile.in (CFILES), functions.def: Add it.
618700bf4279Sespie	* xexit.c: New file.
618800bf4279Sespie	* Makefile.in (CFILES, REQUIRED_OFILES): Add it.
618900bf4279Sespie	* xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
619000bf4279Sespie	Change request for 0 bytes into request for 1 byte.
619100bf4279Sespie
619200bf4279SespieWed Feb  2 11:36:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
619300bf4279Sespie
619400bf4279Sespie	* xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
619500bf4279Sespie	unsigned long, to avoid warnings.
619600bf4279Sespie
619700bf4279SespieFri Jan 28 17:49:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
619800bf4279Sespie
619900bf4279Sespie	* dummy.c: Don't include time.h ever; always define clock_t as
620000bf4279Sespie	"unsigned long".  Until gcc/fixincludes ensures that clock_t
620100bf4279Sespie	exists, __STDC__ isn't a sufficient test.  And if clock() doesn't
620200bf4279Sespie	exist, clock_t probably doesn't either.
620300bf4279Sespie
620400bf4279SespieMon Jan 24 11:52:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
620500bf4279Sespie
620600bf4279Sespie	* clock.c, getruntime.c: New files.
620700bf4279Sespie	* Makefile.in: Add to file lists.
620800bf4279Sespie	* functions.def (clock): Add to list.
620900bf4279Sespie	* dummy.c (time.h): Add if __STDC__.
621000bf4279Sespie	(clock_t): #define as "unsigned long" if not __STDC__.
621100bf4279Sespie
621200bf4279SespieTue Jan 11 11:27:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
621300bf4279Sespie
621400bf4279Sespie	* strtod.c: Declare atof.  From edler@jan.ultra.nyu.edu (Jan
621500bf4279Sespie	Edler).
621600bf4279Sespie
621700bf4279SespieTue Dec 28 14:17:30 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
621800bf4279Sespie
621900bf4279Sespie	* Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
622000bf4279Sespie	linking.
622100bf4279Sespie
622200bf4279SespieFri Dec 17 12:26:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
622300bf4279Sespie
622400bf4279Sespie	* cplus-dem.c (demangle_arm_pt): New function.  Common code
622500bf4279Sespie	for ARM template demangling.
622600bf4279Sespie	* cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
622700bf4279Sespie	* cplus-dem.c (demangle_prefix): Likewise.
622800bf4279Sespie
622900bf4279SespieTue Nov 30 15:47:48 1993  Jason Merrill  (jason@deneb.cygnus.com)
623000bf4279Sespie
623100bf4279Sespie	* cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
623200bf4279Sespie
623300bf4279SespieSat Nov 27 11:05:50 1993  Fred Fish  (fnf@cygnus.com)
623400bf4279Sespie
623500bf4279Sespie	Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
623600bf4279Sespie	* strerror.c, strsignal.c:  As a small space optimization, don't
623700bf4279Sespie	include messages when they aren't actually used.
623800bf4279Sespie
623900bf4279Sespie	Merge changes from takefive.co.at!joe (Josef Leherbauer)
624000bf4279Sespie	* cplus-dem.c (demangle_prefix, demangle_function_name,
624100bf4279Sespie	cplus_demangle_opname):  Fixes for systems where cplus_marker
624200bf4279Sespie	is something other than '$'.
624300bf4279Sespie
624400bf4279SespieFri Nov 26 13:51:11 1993  Per Bothner  (bothner@kalessin.cygnus.com)
624500bf4279Sespie
624600bf4279Sespie	* waitpid.c:  Simple-minded approcimation to waitpid
624700bf4279Sespie	using vanilla wait.
624800bf4279Sespie	* functions.def, Makefile.in:  Update accordingly,
624900bf4279Sespie
625000bf4279SespieThu Nov 18 18:01:15 1993  Kung Hsu  (kung@cirdan.cygnus.com)
625100bf4279Sespie
625200bf4279Sespie	* cplus-dem.c(demangle_template): fix bug template instantiation
625300bf4279Sespie	with value of user defined type.
625400bf4279Sespie
625500bf4279SespieWed Nov 17 18:30:21 1993  Kung Hsu  (kung@cirdan.cygnus.com)
625600bf4279Sespie
625700bf4279Sespie	* cplus-dem.c(cplus_demangle_opname): add the subject new function
625800bf4279Sespie	to support unified search of operator in class.
625900bf4279Sespie
626000bf4279SespieWed Nov 10 09:47:22 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
626100bf4279Sespie
626200bf4279Sespie	gcc -Wall lint:
626300bf4279Sespie	* strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
626400bf4279Sespie	"digit = *s" as condition in while loop.
626500bf4279Sespie
626600bf4279SespieTue Nov  9 15:52:22 1993  Mark Eichin  (eichin@cygnus.com)
626700bf4279Sespie
626800bf4279Sespie	* Makefile.in: pass SHELL to recursive make
626900bf4279Sespie
627000bf4279SespieThu Nov  4 12:09:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)
627100bf4279Sespie
627200bf4279Sespie	* vfprintf.c, vprintf.c, vsprintf.c:  Make format arg
627300bf4279Sespie	be (const char*), for ANSI (and gcc w/fixproto) consistency.
627400bf4279Sespie
627500bf4279SespieThu Nov  4 08:29:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
627600bf4279Sespie
627700bf4279Sespie	* config.table: Make *-*-hiux* use mh-hpux.
627800bf4279Sespie
627900bf4279SespieFri Oct 22 07:53:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
628000bf4279Sespie
628100bf4279Sespie	* config.table: Add * to end of all OS names.
628200bf4279Sespie
628300bf4279SespieTue Oct 19 17:12:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
628400bf4279Sespie
628500bf4279Sespie	* Makefile.in (lneeded-list): ensure that object file names are
628600bf4279Sespie	  not duplicated, as multiple instances of the same object file in
628700bf4279Sespie	  a library causes problems on some machines
628800bf4279Sespie
628900bf4279SespieMon Oct 18 21:59:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
629000bf4279Sespie
629100bf4279Sespie	* strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
629200bf4279Sespie
629300bf4279SespieFri Oct 15 22:17:11 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
629400bf4279Sespie
629500bf4279Sespie	* strncasecmp.c: new file, implements strncasecmp
629600bf4279Sespie	* strcasecmp.c: new file, implement strcasecmp
629700bf4279Sespie
629800bf4279Sespie	* Makefile.in (CFILES): list these two new source files
629900bf4279Sespie
630000bf4279Sespie	* functions.def: add strcasecmp and strncasecmp entries
630100bf4279Sespie
630200bf4279SespieFri Oct 15 14:53:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
630300bf4279Sespie
630400bf4279Sespie	* strtoul.c (strtoul), strtol.c (strtol): Handle overflow
630500bf4279Sespie	according to ANSI C.
630600bf4279Sespie
630700bf4279SespieThu Oct 14 16:34:19 1993  Kung Hsu  (kung@cirdan.cygnus.com)
630800bf4279Sespie
630900bf4279Sespie	* cplus-dem.c: add support of ARM global constructor/destructor,
631000bf4279Sespie	and 'G' for passing record or union in parameter.
631100bf4279Sespie
631200bf4279SespieWed Oct 13 13:36:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
631300bf4279Sespie
631400bf4279Sespie	* Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
631500bf4279Sespie	should not be in functions.def.
631600bf4279Sespie
631700bf4279SespieWed Oct 13 13:13:38 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
631800bf4279Sespie
631900bf4279Sespie	* functions.def: Removed xmalloc.  Stuff in REQUIRED_OFILES should
632000bf4279Sespie	not be in functions.def.
632100bf4279Sespie
632200bf4279SespieMon Oct  4 18:26:39 1993  Kung Hsu  (kung@cirdan.cygnus.com)
632300bf4279Sespie
632400bf4279Sespie	* cplus-dem.c: change globl constructor/destructor to proper name
632500bf4279Sespie
632600bf4279SespieTue Sep 28 18:11:07 1993  Kung Hsu  (kung@cirdan.cygnus.com)
632700bf4279Sespie
632800bf4279Sespie	* cplus-dem.c: fix bug in constructor/destructor
632900bf4279Sespie
633000bf4279SespieTue Sep 28 16:20:49 1993  Kung Hsu  (kung@cirdan.cygnus.com)
633100bf4279Sespie
633200bf4279Sespie	* cplus-dem.c: support both old and new _vt$... vtbl mangled names
633300bf4279Sespie
633400bf4279SespieFri Sep 24 19:07:16 1993  Jason Merrill  (jason@deneb.cygnus.com)
633500bf4279Sespie
633600bf4279Sespie	* cplus-dem.c: Fix demangle_template prototype
633700bf4279Sespie
633800bf4279SespieFri Sep 24 17:32:55 1993  Kung Hsu  (kung@cirdan.cygnus.com)
633900bf4279Sespie
634000bf4279Sespie	* cplus-dem.c: fix template demangling
634100bf4279Sespie	* cplus-dem.c: fix const type demangling
634200bf4279Sespie	* cplus-dem.c: fix constructor/destructor, virtual table,
634300bf4279Sespie	qualifier, global constructor/destructor demangling
634400bf4279Sespie
634500bf4279SespieWed Sep  1 23:13:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
634600bf4279Sespie
634700bf4279Sespie	* strsignal.c, strerror.c: Use fully-bracketed initializer to
634800bf4279Sespie	keep gcc -Wall happy.
634900bf4279Sespie
635000bf4279SespieFri Aug 27 10:30:09 1993  Jason Merrill  (jason@deneb.cygnus.com)
635100bf4279Sespie
635200bf4279Sespie	* cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
635300bf4279Sespie	patch.
635400bf4279Sespie
635500bf4279SespieFri Aug 27 11:24:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
635600bf4279Sespie
635700bf4279Sespie	Patch from Paul Flinders:
635800bf4279Sespie	* cplus-dem.c (do_type): Deal with arrays.
635900bf4279Sespie
636000bf4279SespieTue Aug 24 14:23:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
636100bf4279Sespie
636200bf4279Sespie	* cplus-dem.c (demangle_qualified: Deal with GNU format for more
636300bf4279Sespie	than 9 classes.
636400bf4279Sespie
636500bf4279SespieWed Aug 18 19:50:29 1993  Jason Merrill  (jason@deneb.cygnus.com)
636600bf4279Sespie
636700bf4279Sespie	* Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
636800bf4279Sespie	not initialized" warnings under HP/UX
636900bf4279Sespie
637000bf4279SespieSun Aug 15 20:42:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
637100bf4279Sespie
637200bf4279Sespie	* strerror.c: Move include of stdio.h after sys_errlist #define.
637300bf4279Sespie	Also remove NULL definition (stdio.h always defines NULL, so it
637400bf4279Sespie	never did anything but clutter up the code).
637500bf4279Sespie
637600bf4279SespieSat Aug 14 14:21:49 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
637700bf4279Sespie
637800bf4279Sespie	* Makefile.in, functions.def: handle xmalloc.c
637900bf4279Sespie
638000bf4279Sespie	* xmalloc.c: provide xmalloc and xrealloc functions
638100bf4279Sespie
638200bf4279SespieThu Aug 12 17:38:57 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
638300bf4279Sespie
638400bf4279Sespie	* cplus-dem.c: Fix a comment.
638500bf4279Sespie
638600bf4279SespieSat Aug  7 13:56:35 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
638700bf4279Sespie
638800bf4279Sespie	* getopt1.c: Declare const the way getopt.c does.
638900bf4279Sespie
639000bf4279SespieFri Aug  6 17:03:13 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
639100bf4279Sespie
639200bf4279Sespie	* obstack.c, alloca.c: Update from FSF.
639300bf4279Sespie	* getopt.c, getopt1.c: Update to current FSF version, which
639400bf4279Sespie	doesn't use alloca.
639500bf4279Sespie
639600bf4279SespieTue Jul 27 14:03:57 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
639700bf4279Sespie
639800bf4279Sespie	* Makefile.in (demangle): Add the target with a message saying
639900bf4279Sespie	where demangle went.
640000bf4279Sespie
640100bf4279SespieMon Jul 26 15:49:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
640200bf4279Sespie
640300bf4279Sespie	* Makefile.in: Remove obsolete `demangle' target.
640400bf4279Sespie
640500bf4279SespieThu Jul 22 08:31:01 1993  Fred Fish  (fnf@deneb.cygnus.com)
640600bf4279Sespie
640700bf4279Sespie	* cplus-dem.c (arm_special):  Apply patch from arg@lucid.com to
640800bf4279Sespie	avoid infinite loop on vtbl symbols with disambiguating "junk"
640900bf4279Sespie	tacked on the end.
641000bf4279Sespie
641100bf4279SespieMon Jul 19 14:10:37 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
641200bf4279Sespie
641300bf4279Sespie	* strsignal.c: work around some systems losing definitions of
641400bf4279Sespie	sys_siglist
641500bf4279Sespie
641600bf4279Sespie	* config/mh-lynxos: this system has a losing definition of
641700bf4279Sespie	sys_siglist
641800bf4279Sespie
641900bf4279Sespie	* config.table: use mh-lynxos for *-*-lynxos
642000bf4279Sespie
642100bf4279SespieMon Jul 19 17:08:52 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
642200bf4279Sespie
642300bf4279Sespie	* config.table: Add support for HPPA BSD hosts.
642400bf4279Sespie
642500bf4279Sespie	* config/mh-hpbsd: New file.
642600bf4279Sespie
642700bf4279SespieMon Jul 12 18:00:40 1993  K. Richard Pixley  (rich@cygnus.com)
642800bf4279Sespie
642900bf4279Sespie	* Makefile.in (TAGS): make work when srcdir != objdir.
643000bf4279Sespie
643100bf4279SespieSun Jun 27 15:35:31 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
643200bf4279Sespie
643300bf4279Sespie	* cplus-dem.c (main): Add long options, including --help and
643400bf4279Sespie	--version.
643500bf4279Sespie	(usage): New function from code in main.
643600bf4279Sespie
643700bf4279SespieTue Jun 22 11:37:38 1993  Per Bothner  (bothner@deneb.cygnus.com)
643800bf4279Sespie
643900bf4279Sespie	* config.table:  New shell scipt, sourced by both ./configure,in
644000bf4279Sespie	and ../xiberty/configure.in, to avoid maintainance lossages.
644100bf4279Sespie	* configure.in and ../xiberty/configure.in:  Use config.table.
644200bf4279Sespie
644300bf4279Sespie	* configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
644400bf4279Sespie	* configure.in: Map *-*-irix* (except irix4) to mh-sysv.
644500bf4279Sespie	* ../xiberty/configure.in:  Update from ./configure.in.
644600bf4279Sespie
644700bf4279SespieTue Jun 15 17:05:31 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
644800bf4279Sespie
644900bf4279Sespie	* Makefile.in: remove parentdir support
645000bf4279Sespie
645100bf4279SespieWed May 26 12:59:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
645200bf4279Sespie
645300bf4279Sespie	* cplus-dem.c (xrealloc):  Match definition with prototype.
645400bf4279Sespie
645500bf4279SespieTue May 25 14:27:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
645600bf4279Sespie
645700bf4279Sespie	* cplus-dem.c (demangle_prefix):  Demangle cfront
645800bf4279Sespie	local variables as an extension to ARM demangling.
645900bf4279Sespie
646000bf4279SespieFri May 21 09:53:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
646100bf4279Sespie
646200bf4279Sespie	* ieee-float.c: Don't require pointers to double to be aligned.
646300bf4279Sespie
646400bf4279SespieTue May 18 17:12:10 1993  Fred Fish  (fnf@cygnus.com)
646500bf4279Sespie
646600bf4279Sespie	(merge changes from dlong@cse.ucsc.edu)
646700bf4279Sespie	* cplus-dem.c (consume_count):  Simplify.
646800bf4279Sespie	* cplus-dem.c (arm_pt, demangle_class_name):  New functions.
646900bf4279Sespie	* cplus-dem.c (various):  Calls to arm_pt, demangle_class_name.
647000bf4279Sespie
647100bf4279Sespie	* cplus-dem.c (xmalloc, xrealloc, strstr):  Make extern decls into
647200bf4279Sespie	full prototypes.
647300bf4279Sespie	* cplus-dem.c (free):  Add prototype.
647400bf4279Sespie	* cplus-dem.c (optable):  Fully bracketize initializer.
647500bf4279Sespie
647600bf4279SespieFri May 14 17:13:05 1993  Per Bothner  (bothner@cygnus.com)
647700bf4279Sespie
647800bf4279Sespie	* cplus-dem.c:  Whether initial underscores are stripped
647900bf4279Sespie	depends on the external variable prepends_underscore
648000bf4279Sespie	(which is generated by the binutils Makefile).
648100bf4279Sespie
648200bf4279SespieFri May 14 07:32:20 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
648300bf4279Sespie
648400bf4279Sespie	* cplus-dem.c (mop_up, arm_special): Remove some unused variables.
648500bf4279Sespie
648600bf4279SespieTue May  4 20:31:59 1993  Fred Fish  (fnf@cygnus.com)
648700bf4279Sespie
648800bf4279Sespie	* cplus-dem.c (consume_count):  Return zero if arg does not
648900bf4279Sespie	start with digit, and don't consume any input.
649000bf4279Sespie
649100bf4279SespieTue May  4 08:10:28 1993  Jim Kingdon  (kingdon@cygnus.com)
649200bf4279Sespie
649300bf4279Sespie	* Makefile.in (demangle): Use ${srcdir} not $^.
649400bf4279Sespie
649500bf4279Sespie	* strtod.c: New file, needed at least for BSD 4.3.
649600bf4279Sespie
649700bf4279SespieSun May  2 11:30:42 1993  Fred Fish  (fnf@cygnus.com)
649800bf4279Sespie
649900bf4279Sespie	* strsignal.c (sys_siglist):  For ANSI compilations, type is
650000bf4279Sespie	"const char *const".  Also remove conditionalization on __STDC__
650100bf4279Sespie	since const is defined away for non-ANSI.
650200bf4279Sespie
650300bf4279SespieWed Apr 28 19:29:55 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
650400bf4279Sespie
650500bf4279Sespie	* configure.in: Recognize *-*-hpux.
650600bf4279Sespie	* config/mh-hpux: New file.
650700bf4279Sespie
650800bf4279SespieTue Apr 27 15:22:19 1993  Per Bothner  (bothner@cygnus.com)
650900bf4279Sespie
651000bf4279Sespie	* tmpnam.c:  Added ANSI tmpnam() function.
651100bf4279Sespie	* functions.def, Makefile.in:  Update accordingly.
651200bf4279Sespie
651300bf4279SespieTue Apr 27 13:38:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
651400bf4279Sespie
651500bf4279Sespie	* cplus-dem.c (demangle_function_name): Get the demangling of
651600bf4279Sespie	stop__1A right.
651700bf4279Sespie
651800bf4279SespieFri Apr 16 23:48:24 1993  Jim Kingdon  (kingdon at calvin)
651900bf4279Sespie
652000bf4279Sespie	* cplus-dem.c: Declare strstr return type.
652100bf4279Sespie
652200bf4279SespieFri Mar 26 12:01:26 1993  Jim Kingdon  (kingdon@cygnus.com)
652300bf4279Sespie
652400bf4279Sespie	* strsignal.c: Add some AIX signals.
652500bf4279Sespie
652600bf4279SespieThu Mar 25 15:17:23 1993  Ian Lance Taylor  (ian@cygnus.com)
652700bf4279Sespie
652800bf4279Sespie	* Makefile.in (MAKEOVERRIDES): Define to be empty.
652900bf4279Sespie
653000bf4279SespieWed Mar 24 01:59:25 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
653100bf4279Sespie
653200bf4279Sespie	* Makefile.in: add installcheck & dvi targets
653300bf4279Sespie
653400bf4279SespieThu Mar 18 14:05:44 1993  Per Bothner  (bothner@rtl.cygnus.com)
653500bf4279Sespie
653600bf4279Sespie	* ieee-float.c:  New file, moved from ../gdb (since it is
653700bf4279Sespie	needed by ../opcode/m68k-dis.c).
653800bf4279Sespie
653900bf4279SespieTue Mar  2 17:47:31 1993  Fred Fish  (fnf@cygnus.com)
654000bf4279Sespie
654100bf4279Sespie	* cplus-dem.c:  Replace all references to cfront with ARM.
654200bf4279Sespie
654300bf4279SespieFri Feb 26 00:17:07 1993  Per Bothner  (bothner@rtl.cygnus.com)
654400bf4279Sespie
654500bf4279Sespie	* cplus-dem.c:  Fix main program (when compiled with -DMAIN)
654600bf4279Sespie	to be more useful as a filter.
654700bf4279Sespie
654800bf4279SespieSat Feb 20 21:41:39 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
654900bf4279Sespie
655000bf4279Sespie	* Makefile.in (install_to_libdir, install_to_tooldir): Go into the
655100bf4279Sespie	destination directory before running $(RANLIB), in case that
655200bf4279Sespie	program tries to create a file in the current directory as part of
655300bf4279Sespie	its work.
655400bf4279Sespie
655500bf4279SespieThu Feb 18 23:00:19 1993  John Gilmore  (gnu@cygnus.com)
655600bf4279Sespie
655700bf4279Sespie	* strsignal.c (sys_siglist):  Remove yet another *%^&%&$# "const"
655800bf4279Sespie	because BSD 4.4 lacks one.  Isn't this fun?
655900bf4279Sespie
656000bf4279SespieThu Feb 18 11:24:25 1993  Fred Fish  (fnf@cygnus.com)
656100bf4279Sespie
656200bf4279Sespie	* cplus-dem.c (demangle_signature):  Set func_done after
656300bf4279Sespie	demangling a template.
656400bf4279Sespie	* cplus-dem.c (demangle_template):  Fix several small bugs
656500bf4279Sespie	in demangling GNU style templates.
656600bf4279Sespie	* cplus-dem.c (demangle_prefix):  Fix for templates in GNU
656700bf4279Sespie	style constructors.
656800bf4279Sespie	* cplus-dem.c (gnu_special):  Fix for templates in GNU style
656900bf4279Sespie	static data members.
657000bf4279Sespie
657100bf4279SespieTue Feb 16 17:28:35 1993  Fred Fish  (fnf@cygnus.com)
657200bf4279Sespie
657300bf4279Sespie	* cplus-dem.c (demangle_signature):  Modify to include type
657400bf4279Sespie	modifiers like static and const in remembered types.
657500bf4279Sespie
657600bf4279SespieThu Feb 11 22:20:47 1993  Fred Fish  (fnf@cygnus.com)
657700bf4279Sespie
657800bf4279Sespie	* cplus-dem.c (demangled_qualified):  Add new parameter that tells
657900bf4279Sespie	whether to prepend or append the qualifiers.
658000bf4279Sespie	* cplus-dem.c (string_prepends):  Used now, remove #if 0.
658100bf4279Sespie	* cplus-dem.c (demangle_signature):  Call demangle_qualified
658200bf4279Sespie	with prepending.
6583*150b7e42Smiod	* cplus-dem.c (gnu_special):  Recognize static data members that
658400bf4279Sespie	use qualified names.
658500bf4279Sespie	* cplus-dem.c (demangle_qualified):  Accumulate qualifiers in a
658600bf4279Sespie	temporary buffer and the prepend or append them to the result,
658700bf4279Sespie	as specified by the new "append" flag.
658800bf4279Sespie	* cplus-dem.c (do_type):  Call demangled_qualified with
658900bf4279Sespie	appending.
659000bf4279Sespie
659100bf4279SespieMon Dec 28 10:47:19 1992  Ken Raeburn  (raeburn@cygnus.com)
659200bf4279Sespie
659300bf4279Sespie	* strsignal.c (signal_table): Now const.
659400bf4279Sespie	(init_signal_tables): Variable eip now points to const.
659500bf4279Sespie
659600bf4279Sespie	* strerror.c (error_table): Now const.
659700bf4279Sespie	(init_error_tables): Variable eip now points to const.
659800bf4279Sespie
659900bf4279SespieTue Dec 15 15:36:50 1992  Per Bothner  (bothner@cygnus.com)
660000bf4279Sespie
660100bf4279Sespie	* memchr.c (memchr):  New (ANSI standard) function.
660200bf4279Sespie	* Makefile.in, functions.def:  Added memchr.
660300bf4279Sespie	* Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
660400bf4279Sespie
660500bf4279SespieWed Dec  2 22:49:10 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
660600bf4279Sespie
660700bf4279Sespie	* getopt.c: remove use of USG around <alloca.h>, which never meant
660800bf4279Sespie	anything anyway
660900bf4279Sespie
661000bf4279Sespie	* config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
661100bf4279Sespie	of USG and USGr4
661200bf4279Sespie
661300bf4279SespieThu Nov 19 03:09:33 1992  Brendan Kehoe  (brendan@lisa.cygnus.com)
661400bf4279Sespie
661500bf4279Sespie	* cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
661600bf4279Sespie	it's now a type according to the ANSI X3J16 working paper; output
661700bf4279Sespie	"wchar_t" for it.
661800bf4279Sespie	(demangle_template): Accept `w' as an integral type.
661900bf4279Sespie	(xmalloc, xrealloc): Use `char *', not `PTR'.  Cast calls to their
662000bf4279Sespie	counterparts malloc and realloc to `char *'.
662100bf4279Sespie	(main): Exit with a 0 status.
662200bf4279Sespie	* Makefile.in (demangle): Don't expect the user to define
662300bf4279Sespie	DEMANGLE, instead force to be cplus-dem.c.  Look in $(srcdir)/../include
662400bf4279Sespie	for demangle.h.  Pass it any HDEFINES or XTRAFLAGS.
662500bf4279Sespie
662600bf4279SespieWed Nov 18 18:56:20 1992  John Gilmore  (gnu@cygnus.com)
662700bf4279Sespie
662800bf4279Sespie	* Makefile.in (AR_FLAGS):  Avoid verbosity.
662900bf4279Sespie	* config/mh-sysv4:  Remove AR_FLAGS override, use INSTALL=cp,
663000bf4279Sespie	replace USGr4 with HAVE_SYSCONF.
663100bf4279Sespie	* config/mh-solaris:  Remove; mh-sysv4 works now.
663200bf4279Sespie	* getpagesize.c:  Replace USGr4 with HAVE_SYSCONF.
663300bf4279Sespie	* configure.in:  Simplify host matching table, remove separate
663400bf4279Sespie	solaris config file.
663500bf4279Sespie
663600bf4279SespieSun Nov 15 09:35:16 1992  Fred Fish  (fnf@cygnus.com)
663700bf4279Sespie
663800bf4279Sespie	* configure.in (i[34]86-*-solaris2*):  Add, use mh-sysv4.
663900bf4279Sespie
664000bf4279SespieTue Nov  3 21:27:03 1992  Brendan Kehoe  (brendan@cygnus.com)
664100bf4279Sespie
664200bf4279Sespie	* cplus-dem.c (xmalloc, xrealloc): Add decls.
664300bf4279Sespie	(remember_type): Don't cast xmalloc.
664400bf4279Sespie	(string_need): Likewise; don't cast xrealloc either.
664500bf4279Sespie
664600bf4279SespieFri Oct 23 08:52:01 1992  Ian Lance Taylor  (ian@cygnus.com)
664700bf4279Sespie
664800bf4279Sespie	* Makefile.in, functions.defs, rename.c: added simple
664900bf4279Sespie	implementation of rename, since some binutils programs use it.
665000bf4279Sespie
665100bf4279SespieThu Oct 15 15:18:22 1992  Per Bothner  (bothner@cygnus.com)
665200bf4279Sespie
665300bf4279Sespie	* strsignal.c:  Add appropriate 'const' to sys_siglist
665400bf4279Sespie	extern declaration (if __STDC__).  (Needed for Linux.)
665500bf4279Sespie	* strsignal.c (strsignal): Add cast to remove const-ness.
665600bf4279Sespie
665700bf4279SespieFri Oct  9 03:22:55 1992  John Gilmore  (gnu@cygnus.com)
665800bf4279Sespie
665900bf4279Sespie	* Makefile.in (needed.awk, needed2.awk):  Remove erroneous \'s
666000bf4279Sespie	before "'s, diagnosed by BSD 4.4 awk.
666100bf4279Sespie
666200bf4279SespieThu Oct  8 15:25:12 1992  Ian Lance Taylor  (ian@cygnus.com)
666300bf4279Sespie
666400bf4279Sespie	* Makefile.in: create config.h and needed-list through $(CONFIG_H)
666500bf4279Sespie	and $(NEEDED_LIST), to give some hooks for xiberty.
666600bf4279Sespie
666700bf4279SespieThu Oct  1 23:31:42 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
666800bf4279Sespie
666900bf4279Sespie	* configure.in: use cpu-vendor-triple instead of nested cases
667000bf4279Sespie
667100bf4279SespieWed Sep 30 11:26:59 1992  Per Bothner  (bothner@rtl.cygnus.com)
667200bf4279Sespie
667300bf4279Sespie	* Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
667400bf4279Sespie	concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
667500bf4279Sespie	getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
667600bf4279Sespie	obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
667700bf4279Sespie	strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
667800bf4279Sespie	Convert from using GPL to LGPL.
667900bf4279Sespie
668000bf4279SespieSat Sep 26 04:01:30 1992  John Gilmore  (gnu@cygnus.com)
668100bf4279Sespie
668200bf4279Sespie	* Makefile.in (errors):  Leave dummy.o and dummy around so that
668300bf4279Sespie	we can see how the needed list was generated (it's sometimes wrong).
668400bf4279Sespie	(mostlyclean):  Remove them.
668500bf4279Sespie
668600bf4279SespieMon Sep 21 14:50:42 1992  Ian Lance Taylor  (ian@cygnus.com)
668700bf4279Sespie
668800bf4279Sespie	* getcwd.c: supply a default if MAXPATHLEN is not defined.
668900bf4279Sespie
669000bf4279Sespie	* config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
669100bf4279Sespie
669200bf4279SespieWed Sep  9 12:41:48 1992  Ian Lance Taylor  (ian@cygnus.com)
669300bf4279Sespie
669400bf4279Sespie	* Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
669500bf4279Sespie	when cross-compiling.
669600bf4279Sespie
669700bf4279SespieThu Sep  3 13:29:39 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
669800bf4279Sespie
669900bf4279Sespie	* cplus-dem.c: (demangle_prefix): reduction in strength of strstr
670000bf4279Sespie	  as a time optimization.
670100bf4279Sespie
670200bf4279Sespie	* cplus-dem.c (cplus_demangle): remove strpbrk test.  Appears to
670300bf4279Sespie	  be more expensive than simply demangling.
670400bf4279Sespie
670500bf4279Sespie	* cplus-dem.c (cplus_match): new function.
670600bf4279Sespie
670700bf4279SespieTue Sep  1 15:24:04 1992  Per Bothner  (bothner@rtl.cygnus.com)
670800bf4279Sespie
670900bf4279Sespie	* cplus-dem.c:  #include <stdio.h>, to define NULL.
671000bf4279Sespie	Define current_demangling_style.
671100bf4279Sespie
671200bf4279SespieSun Aug 30 17:58:19 1992  Per Bothner  (bothner@rtl.cygnus.com)
671300bf4279Sespie
671400bf4279Sespie	* cplus-dem.c:  New file, moved from ../gdb.
671500bf4279Sespie	* cplus-dem.c (set_cplus_marker_for_demangling):  New exported
671600bf4279Sespie	function, to avoid compiling in target-dependency for CPLUS_MARKER.
671700bf4279Sespie	* cplus-dem.c (cplus_demangle):  Allow demangling style option
671800bf4279Sespie	to be passed as a parameter, but using the global variable
671900bf4279Sespie	current_demangling_style as a default.
672000bf4279Sespie	* Makefile.in:  Update for cplus-dem.c
672100bf4279Sespie
672200bf4279SespieSat Aug 29 10:44:09 1992  Fred Fish  (fnf@cygnus.com)
672300bf4279Sespie
672400bf4279Sespie	* obstack.c:  Merge in comment changes from FSF version.  Now
672500bf4279Sespie	matches the FSF version exactly.
672600bf4279Sespie
672700bf4279SespieFri Aug 28 18:39:08 1992  John Gilmore  (gnu@cygnus.com)
672800bf4279Sespie
672900bf4279Sespie	* obstack.c (CALL_FREEFUN):  Can't use ?: with void values (at
673000bf4279Sespie	least on losing DECstations!); use if-then-else instead.
673100bf4279Sespie
673200bf4279SespieWed Aug 19 14:40:34 1992  Ian Lance Taylor  (ian@cygnus.com)
673300bf4279Sespie
673400bf4279Sespie	* Makefile.in: always create installation directories.
673500bf4279Sespie
673600bf4279SespieMon Aug 10 17:33:40 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
673700bf4279Sespie
673800bf4279Sespie       * Makefile.in: clean up definition of CFILES, more comments
673900bf4279Sespie
674000bf4279SespieSat Aug  8 23:10:59 1992  Fred Fish  (fnf@cygnus.com)
674100bf4279Sespie
674200bf4279Sespie	* getopt.c (my_index):  Make first arg const to match strchr,
674300bf4279Sespie	which it sometimes is remapped to.
674400bf4279Sespie
674500bf4279SespieSat Aug  1 13:48:50 1992  Fred Fish  (fnf@cygnus.com)
674600bf4279Sespie
674700bf4279Sespie	* obstack.c (DEFAULT_ALIGNMENT):  Update to match FSF version.
674800bf4279Sespie	* obstack.c (_obstack_begin):  Initialize use_extra_arg.
674900bf4279Sespie	* obstack.c (_obstack_begin_1):  New, from FSF version.
675000bf4279Sespie
675100bf4279SespieMon Jul 20 21:07:58 1992  Fred Fish  (fnf@cygnus.com)
675200bf4279Sespie
675300bf4279Sespie	* obstack.c (CALL_CHECKFUN, CALL_FREEFUN):  Use use_extra_arg and
675400bf4279Sespie	extra_arg.
675500bf4279Sespie	* obstack.c (_obstack_begin):  Remove area_id and flags arguments
675600bf4279Sespie	(previously added for mmalloc support, interface has changed).
675700bf4279Sespie	Also convert flags usage to use use_extra_arg and maybe_empty_object.
675800bf4279Sespie
675900bf4279SespieFri Jul 10 00:41:53 1992  Fred Fish  (fnf@cygnus.com)
676000bf4279Sespie
676100bf4279Sespie	* argv.c:  Move expandargv inline and eliminate static variables.
676200bf4279Sespie	Rewrite to always allocate in powers of two.  Fix to return an
676300bf4279Sespie	argv with a single null string arg if passed a null string.
676400bf4279Sespie
676500bf4279SespieFri Jul  3 20:27:29 1992  Fred Fish  (fnf@cygnus.com)
676600bf4279Sespie
676700bf4279Sespie	* random.c, sigsetmask.c, strerror.c, strsignal.c:  Remove
676800bf4279Sespie	"(void)" casts from function calls where the return value is
676900bf4279Sespie	ignored, in accordance with GNU coding standards.
677000bf4279Sespie
677100bf4279SespieMon Jun 29 10:54:19 1992  Fred Fish  (fnf at cygnus.com)
677200bf4279Sespie
677300bf4279Sespie	* bcopy.c, strerror.c, strsignal.c:  Lint.
677400bf4279Sespie
677500bf4279SespieThu Jun 25 09:18:41 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
677600bf4279Sespie
677700bf4279Sespie	* getopt.c: merge changes from make.
677800bf4279Sespie
677900bf4279SespieThu Jun 25 04:43:22 1992  John Gilmore  (gnu at cygnus.com)
678000bf4279Sespie
678100bf4279Sespie	* alloca.c:  Incorporate fixes from gdb/alloca.c.
678200bf4279Sespie	FIXME:  Eventually move gdb's alloca configuration files here,
678300bf4279Sespie	and remove gdb/alloca.c and its Makefile.in support.
678400bf4279Sespie
678500bf4279SespieTue Jun 23 21:56:30 1992  Fred Fish  (fnf@cygnus.com)
678600bf4279Sespie
678700bf4279Sespie	* dummy.c:  Define NOTHING to /*nothing*/, change return type
678800bf4279Sespie	of main to int and return zero.
678900bf4279Sespie	* functions.def:  Supply NOTHING as the fourth arg to macros
679000bf4279Sespie	that don't have an explicit arg, to satisfy picky preprocessors.
679100bf4279Sespie
679200bf4279SespieWed Jun 17 18:13:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
679300bf4279Sespie
679400bf4279Sespie	* Makefile.in:  Clean up *clean rules, as per standards.texi.
679500bf4279Sespie
679600bf4279SespieTue Jun 16 16:11:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
679700bf4279Sespie
679800bf4279Sespie	* getopt.c, getopt1.c: merged largely gratuitous, mostly
679900bf4279Sespie	  whitespace diffs from other prep distributions.
680000bf4279Sespie
680100bf4279SespieMon Jun 15 12:25:46 1992  Fred Fish  (fnf@cygnus.com)
680200bf4279Sespie
680300bf4279Sespie	* config/mh-ncr3000 (INSTALL):  Don't use /usr/ucb/install,
680400bf4279Sespie	it is broken on ncr 3000's.
680500bf4279Sespie
680600bf4279SespieMon Jun 15 01:03:26 1992  John Gilmore  (gnu at cygnus.com)
680700bf4279Sespie
680800bf4279Sespie	* sigsetmask.c:  Rewrite.  Old one was very confused about its
680900bf4279Sespie	arguments and result.  New one can't do much, but at least knows
681000bf4279Sespie	what it can't do, and it's good enough for GDB's use.
681100bf4279Sespie
681200bf4279SespieSun Jun 14 15:17:40 1992  Stu Grossman  (grossman at cygnus.com)
681300bf4279Sespie
681400bf4279Sespie	* functions.def:  Use proper prototype for strtoul.
681500bf4279Sespie
681600bf4279SespieFri Jun 12 19:22:40 1992  John Gilmore  (gnu at cygnus.com)
681700bf4279Sespie
681800bf4279Sespie	* Makefile.in:  Add random.c.
681900bf4279Sespie	* config/mh-*:  Use "true" rather than "echo >/dev/null" for ranlib.
682000bf4279Sespie	* configure.in:  update solaris2 config.
682100bf4279Sespie
682200bf4279SespieWed Jun 10 16:31:29 1992  Fred Fish  (fnf@cygnus.com)
682300bf4279Sespie
682400bf4279Sespie	* random.c:  Add for random() and srandom().
682500bf4279Sespie	* functions.def:  Add random
682600bf4279Sespie
682700bf4279SespieTue Jun  9 17:27:18 1992  Fred Fish  (fnf@cygnus.com)
682800bf4279Sespie
682900bf4279Sespie	* config/{mh-ncr3000, mh-sysv4}:  Add definition for INSTALL
683000bf4279Sespie	using /usr/ucb/install.
683100bf4279Sespie
683200bf4279SespieMon Jun  1 13:20:17 1992  Per Bothner  (bothner@rtl.cygnus.com)
683300bf4279Sespie
683400bf4279Sespie	* strerror.c:  Kludge to guard against a conflict with
683500bf4279Sespie	possible declaration of sys_errlist in errno.h.
683600bf4279Sespie
683700bf4279SespieSun May 31 15:07:47 1992  Mark Eichin  (eichin at cygnus.com)
683800bf4279Sespie
683900bf4279Sespie	* configure.in, config/mh-solaris: add solaris2 config support.
684000bf4279Sespie
684100bf4279SespieFri May 29 17:23:23 1992  Per Bothner  (bothner@rtl.cygnus.com)
684200bf4279Sespie
684300bf4279Sespie	* sigsetmask.c:  #ifdef out sigsetmask if SIG_SETMASK
684400bf4279Sespie	is not defined (should be defined in signal.h, says Posix.).
684500bf4279Sespie
684600bf4279SespieMon May 18 17:35:04 1992  K. Richard Pixley  (rich@cygnus.com)
684700bf4279Sespie
684800bf4279Sespie	* getopt.c: merged changes from make-3.62.11.
684900bf4279Sespie
685000bf4279SespieFri May  8 14:53:07 1992  K. Richard Pixley  (rich@cygnus.com)
685100bf4279Sespie
685200bf4279Sespie	* getopt.c: merged changes from bison-1.18.
685300bf4279Sespie
685400bf4279SespieTue May  5 11:51:40 1992  Per Bothner  (bothner@rtl.cygnus.com)
685500bf4279Sespie
685600bf4279Sespie	* Makefile.in:  Don't have $(EXTRA_OFILES) depend on config.h,
685700bf4279Sespie	since that introduces a circular dependency.
685800bf4279Sespie	($(EXTRA_OFILES) are used to build config.h.)
685900bf4279Sespie
686000bf4279Sespie	* strtoul.c:  Fixes to handle non-decimal bases better.
686100bf4279Sespie
686200bf4279SespieWed Apr 22 09:27:51 1992  Fred Fish  (fnf@cygnus.com)
686300bf4279Sespie
686400bf4279Sespie	* config/mh-ncr3000:  Replace MINUS_G with CFLAGS.
686500bf4279Sespie	* Makefile.dos:  Finish MINUS_G eradication.
686600bf4279Sespie	* Makefile.in (CFILES):  Add strsignal.c.
686700bf4279Sespie	* Makefile.in (REQUIRED_OFILES):  Add strerror.o strsignal.o
686800bf4279Sespie	* Makefile.in (needed-list):  Split creation of errors file to
686900bf4279Sespie	separate make target.
687000bf4279Sespie	* Makefile.in (config.h, needed2.awk, errors):  New targets.
687100bf4279Sespie	* Makefile.in (clean):  Split to multiple lines, add needed2.awk
687200bf4279Sespie	and config.h.
687300bf4279Sespie	* dummy.c (DEFFUNC, DEFVAR):  Add defines and undefs.
687400bf4279Sespie	* functions.def (strerror):  Remove from optional list.
687500bf4279Sespie	* functions.def (sys_nerr, sys_errlist, sys_siglist):  DEFVAR's
687600bf4279Sespie	* functions.def (strerror, psignal):  DEFFUNC's
687700bf4279Sespie	* strerror.c:  Rewrite from scratch to use sys_errlist only if
687800bf4279Sespie	available, add errno_max(), add strerrno(), add strtoerrno(),
687900bf4279Sespie	add test driver.
688000bf4279Sespie	* strsignal.c:  New file, signal equivalent to strerror.c.
688100bf4279Sespie	Uses sys_siglist if available, defines signo_max(), strsignal(),
688200bf4279Sespie	strsigno(), strtosigno(), psignal(), and test driver.
688300bf4279Sespie
688400bf4279SespieMon Apr 20 20:49:32 1992  K. Richard Pixley  (rich@cygnus.com)
688500bf4279Sespie
688600bf4279Sespie	* Makefile.in: do not print recursion line.
688700bf4279Sespie
688800bf4279Sespie	* Makefile.in: allow CFLAGS to be passed in from command line.
688900bf4279Sespie	  Removed MINUS_G.  Default CFLAGS to -g.
689000bf4279Sespie
689100bf4279SespieMon Apr 20 12:57:46 1992  Per Bothner  (bothner@rtl.cygnus.com)
689200bf4279Sespie
689300bf4279Sespie	* config/mh-aix:  New.  EXTRA_OFILES lists copysign.o,
689400bf4279Sespie	so libg++ users don't have to be inconvenienced by a
689500bf4279Sespie	libc.a bug (libc.a needs copysign, but doesn't define it!).
689600bf4279Sespie	* configure.in:  Use config/mh-aix.
689700bf4279Sespie	* strtoul.c:  Handle '-' as required by ANSI.
689800bf4279Sespie	Clean up radix handling.
689900bf4279Sespie	* strstr.c:  Fix buggy algorithm.
690000bf4279Sespie	* Makefile.in:  Change so that ${EXTRA_OFILES} is
690100bf4279Sespie	appended to needed-list (which is used by libg++).
690200bf4279Sespie
690300bf4279SespieFri Apr 10 22:51:41 1992  Fred Fish  (fnf@cygnus.com)
690400bf4279Sespie
690500bf4279Sespie	* configure.in:  Recognize new ncr3000 config.
690600bf4279Sespie	* config/mh-ncr3000:  New config file.
690700bf4279Sespie
690800bf4279SespieWed Apr  1 23:31:43 1992  John Gilmore  (gnu at cygnus.com)
690900bf4279Sespie
691000bf4279Sespie	* argv.c, dummy.c:  Lint.
691100bf4279Sespie
691200bf4279SespieTue Mar 31 18:46:44 1992  Fred Fish  (fnf@cygnus.com)
691300bf4279Sespie
691400bf4279Sespie	* config/mh-sysv4:  New config file.
691500bf4279Sespie	* configure.in (host_makefile_frag):  Set to config/mh-sysv4 for
691600bf4279Sespie	host_os == sysv4.
691700bf4279Sespie	* getpagesize.c:  For SVR4, use sysconf(_SC_PAGESIZE) to get
691800bf4279Sespie	pagesize.
691900bf4279Sespie
692000bf4279SespieSun Mar 29 12:26:42 1992  John Gilmore  (gnu at cygnus.com)
692100bf4279Sespie
692200bf4279Sespie	* getopt.c:  Lint.
692300bf4279Sespie
692400bf4279SespieFri Mar 27 08:32:55 1992  Fred Fish  (fnf@cygnus.com)
692500bf4279Sespie
692600bf4279Sespie	* functions.def (alloca):  Fix return type and args to avoid
692700bf4279Sespie	type clash with gcc's builtin alloca.
692800bf4279Sespie
692900bf4279SespieTue Mar 24 23:33:42 1992  K. Richard Pixley  (rich@cygnus.com)
693000bf4279Sespie
693100bf4279Sespie	* configure.in, config/mh-irix4: irix4 support.
693200bf4279Sespie
693300bf4279Sespie	* Makefile.in, functions.def, alloca.c: added alloca.
693400bf4279Sespie
693500bf4279SespieTue Mar 24 17:34:46 1992  Stu Grossman  (grossman at cygnus.com)
693600bf4279Sespie
693700bf4279Sespie	* obstack.c (CALL_FREEFUN):  Make it compile on DECstations.
693800bf4279Sespie
693900bf4279SespieThu Mar 19 13:57:42 1992  Fred Fish  (fnf@cygnus.com)
694000bf4279Sespie
694100bf4279Sespie	* argv.c:  Fix various external function definitions to be
694200bf4279Sespie	correct in an ANSI compilation environment.
694300bf4279Sespie
694400bf4279SespieSat Mar 14 17:28:17 1992  Fred Fish  (fnf@cygnus.com)
694500bf4279Sespie
694600bf4279Sespie	* obstack.c:  Changes to support calling mmalloc functions,
694700bf4279Sespie	which take an additional argument over malloc functions.
694800bf4279Sespie
694900bf4279SespieFri Mar  6 22:01:10 1992  K. Richard Pixley  (rich@cygnus.com)
695000bf4279Sespie
695100bf4279Sespie	* added check target.
695200bf4279Sespie
695300bf4279SespieThu Feb 27 22:19:39 1992  Per Bothner  (bothner@cygnus.com)
695400bf4279Sespie
695500bf4279Sespie	* argv.c:  #include alloca-conf.h (needed by AIX).
695600bf4279Sespie
695700bf4279SespieWed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
695800bf4279Sespie
695900bf4279Sespie	* Makefile.in, configure.in: removed traces of namesubdir,
696000bf4279Sespie	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
696100bf4279Sespie	  copyrights to '92, changed some from Cygnus to FSF.
696200bf4279Sespie
696300bf4279SespieSat Feb 22 01:09:21 1992  Stu Grossman  (grossman at cygnus.com)
696400bf4279Sespie
696500bf4279Sespie	* argv.c:  Check in Fred's version which fixes problems with
696600bf4279Sespie	alloca().
696700bf4279Sespie
696800bf4279SespieFri Feb  7 21:46:08 1992  Stu Grossman  (grossman at cygnus.com)
696900bf4279Sespie
697000bf4279Sespie	* makefile.dos:  Remove NUL to keep patch from failing.
697100bf4279Sespie
697200bf4279SespieThu Jan 30 22:48:41 1992  Stu Grossman  (grossman at cygnus.com)
697300bf4279Sespie
697400bf4279Sespie	* getopt.c (_getopt_internal):  Fix usage of enum has_arg.
697500bf4279Sespie
697600bf4279SespieMon Jan 20 18:53:23 1992  Stu Grossman  (grossman at cygnus.com)
697700bf4279Sespie
697800bf4279Sespie	* getopt.c, getopt1.c, ../include/getopt.h:  Get latest versions.
697900bf4279Sespie
698000bf4279SespieSat Jan 18 16:53:01 1992  Fred Fish  (fnf at cygnus.com)
698100bf4279Sespie
698200bf4279Sespie	* argv.c:  New file to build and destroy standard argument
698300bf4279Sespie	vectors from a command string.
698400bf4279Sespie
698500bf4279Sespie	* Makefile.in:  Add argv.c and argv.o to appropriate macros.
698600bf4279Sespie
698700bf4279SespieFri Dec 20 12:12:57 1991  Fred Fish  (fnf at cygnus.com)
698800bf4279Sespie
698900bf4279Sespie	* configure.in:  Change svr4 references to sysv4.
699000bf4279Sespie
699100bf4279Sespie	* rindex.c:  Declare return type of externally used function
699200bf4279Sespie	strrchr().
699300bf4279Sespie
699400bf4279SespieThu Dec 19 18:35:03 1991  John Gilmore  (gnu at cygnus.com)
699500bf4279Sespie
699600bf4279Sespie	* Makefile.in:  Remove "***" in normal output, since Make produces
699700bf4279Sespie	this on errors, and it's convenient to search for.
699800bf4279Sespie
699900bf4279SespieTue Dec 17 23:21:30 1991  Per Bothner  (bothner at cygnus.com)
700000bf4279Sespie
700100bf4279Sespie	* memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
700200bf4279Sespie	New ANSI functions.  The old non-ANSI functions (such as bcopy)
700300bf4279Sespie	should be avoided.
700400bf4279Sespie	* bcopy.c:  Fix to correctly handle overlapping regions.
700500bf4279Sespie	* index.c, rindex.c:  Re-write in terms of strchr() and strrchr().
700600bf4279Sespie	* functions.def:  Add the new functions.
700700bf4279Sespie	* functions.def:  Add 4th parameter to DEF macro,
700800bf4279Sespie	an ansidecl.h-style prototype.
700900bf4279Sespie	* dummy.c:  Use expanded DEF macro to create a dummy function
701000bf4279Sespie	call, with correct parameter types.  (This avoids some
701100bf4279Sespie	complaints from gcc about predefined builtins.)
701200bf4279Sespie
701300bf4279Sespie	Move the functionality of config/mh-default into Makefile.in.
701400bf4279Sespie	This avoid duplication, and simplifies things slightly.
701500bf4279Sespie	* Makefile.in:  Tweak so we don't need config/mh-default.
701600bf4279Sespie	* README:  Update.
701700bf4279Sespie	* configure.in:  No longer need config/mh-default.
701800bf4279Sespie	* config/mh-default:  Deleted.
701900bf4279Sespie	* config/mh-sysv:  Remove lines copied from old mh-default.
702000bf4279Sespie
702100bf4279SespieTue Dec 17 05:46:46 1991  John Gilmore  (gnu at cygnus.com)
702200bf4279Sespie
702300bf4279Sespie	* fdmatch.c (fdmatch):  Don't compare st_rdev, which is for
702400bf4279Sespie	'mknod' device numbers.
702500bf4279Sespie
702600bf4279SespieMon Dec 16 12:25:34 1991  Fred Fish  (fnf at cygnus.com)
702700bf4279Sespie
702800bf4279Sespie	* fdmatch.c, Makefile.in:  Add new function that takes two
702900bf4279Sespie	open file descriptors and returns nonzero if they refer to
703000bf4279Sespie	the same file, zero otherwise.  (used in gdb)
703100bf4279Sespie
703200bf4279SespieWed Dec 11 17:40:39 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
703300bf4279Sespie	From DJ:
703400bf4279Sespie	* msdos.c: stub functions for dos.
703500bf4279Sespie	* makefile.dos, configdj.bat: new.
703600bf4279Sespie	* getopt.c: Don't include alloca-conf.h in a GO32 world.
703700bf4279Sespie
703800bf4279Sespie
703900bf4279SespieTue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
704000bf4279Sespie
704100bf4279Sespie	* Makefile.in: infodir belongs in datadir.
704200bf4279Sespie
704300bf4279SespieFri Dec  6 23:26:45 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
704400bf4279Sespie
704500bf4279Sespie	* Makefile.in: remove spaces following hyphens because bsd make
704600bf4279Sespie	  can't cope.  added standards.text support.  install using
704700bf4279Sespie	  INSTALL_DATA.
704800bf4279Sespie
704900bf4279Sespie	* configure.in: remove commontargets as it is no longer a
705000bf4279Sespie	  recognized hook.
705100bf4279Sespie
705200bf4279SespieThu Dec  5 22:46:46 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
705300bf4279Sespie
705400bf4279Sespie	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
705500bf4279Sespie	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
705600bf4279Sespie	  and mandir now keyed off datadir by default.
705700bf4279Sespie
705800bf4279SespieFri Nov 22 19:15:29 1991  John Gilmore  (gnu at cygnus.com)
705900bf4279Sespie
706000bf4279Sespie	* Makefile.in:  find-needed.awk does not fit in 14 chars.
706100bf4279Sespie
706200bf4279Sespie	* Makefile.in:  Suppress error checking when compiling the test
706300bf4279Sespie	program, because Ultrix make/sh aborts there due to a bug.
706400bf4279Sespie
706500bf4279SespieFri Nov 22 12:23:17 1991  Per Bothner  (bothner at cygnus.com)
706600bf4279Sespie
706700bf4279Sespie	* Makefile.in:  Re-did how EXTRA_OFILES is used to be more useful.
706800bf4279Sespie	* README:  Explained how the auto-configuration works,
706900bf4279Sespie	and how to add new files and/or configurations.
707000bf4279Sespie
707100bf4279SespieFri Nov 22 09:45:23 1991  John Gilmore  (gnu at cygnus.com)
707200bf4279Sespie
707300bf4279Sespie	* strtoul.c:  Avoid defining ULONG_MAX if already defined;
707400bf4279Sespie	cast a const char * to char * for pedants.
707500bf4279Sespie
707600bf4279Sespie	* getopt.c:  Only define "const" after local include files get to,
707700bf4279Sespie	and only if they haven't defined it.
707800bf4279Sespie
707900bf4279SespieThu Nov 21 16:58:53 1991  John Gilmore  (gnu at cygnus.com)
708000bf4279Sespie
708100bf4279Sespie	* getcwd.c (remove getwd.c): GNU code should call getcwd().  We
708200bf4279Sespie	emulate it with getwd() if available.  This avoids callers having
708300bf4279Sespie	to find a MAXPATHLEN or PATH_MAX value from somewhere.
708400bf4279Sespie	* Makefile.in, functions.def:  getwd->getcwd.
708500bf4279Sespie	* configure.in:  Use generic case for every system.
708600bf4279Sespie	* config/mh-{delta88,mach,rs6000,svr4}:  Remove.
708700bf4279Sespie	* config/mh-sysv:  Use default handling, just add -DUSG.
708800bf4279Sespie
708900bf4279SespieThu Nov 14 10:58:05 1991  Per Bothner  (bothner at cygnus.com)
709000bf4279Sespie
709100bf4279Sespie	* Makefile.in, config/mh-default: Re-do make magic
709200bf4279Sespie	so that for the default ("automatic") mode we only
709300bf4279Sespie	compile the files we actually need.  Do this using
709400bf4279Sespie	a recursive make:  The top-level generates the list
709500bf4279Sespie	of needed files (loosely, the ones missing in libc),
709600bf4279Sespie	and then passes that list to the recursive make.
709700bf4279Sespie	* config/mh-mach:  Remove obsolete STRERROR-{C,O} macros.
709800bf4279Sespie
709900bf4279SespieTue Nov 12 19:10:57 1991  John Gilmore  (gnu at cygnus.com)
710000bf4279Sespie
710100bf4279Sespie	RS/6000 host support (grumble).
710200bf4279Sespie
710300bf4279Sespie	* configure.in:  Build alloca-conf.h file from alloca-norm.h
710400bf4279Sespie	(everything else) or alloca-botch.h (rs/6000).
710500bf4279Sespie	* Makefile.in:  Include . on the include path.
710600bf4279Sespie	* getopt.c:  Use alloca-conf.h.
710700bf4279Sespie	* alloca-norm.h:  How to declare alloca on reasonable machines.
710800bf4279Sespie	* alloca-botch.h: How to declare alloca on braindead machines.
710900bf4279Sespie
711000bf4279SespieTue Nov 12 09:21:48 1991  Fred Fish  (fnf at cygnus.com)
711100bf4279Sespie
711200bf4279Sespie	* concat.c :  New file, like concat() in gdb but can take a
711300bf4279Sespie	variable number of arguments rather than fixed at 3 args.  For
711400bf4279Sespie	now, client applications must supply an xmalloc(), which is a
711500bf4279Sespie	front end function to malloc() that deals with out-of-memory
711600bf4279Sespie	conditions.
711700bf4279Sespie
711800bf4279Sespie	* Makefile.in:  Add concat.c and concat.o to appropriate macros.
711900bf4279Sespie
712000bf4279SespieSat Nov  9 13:29:59 1991  Fred Fish  (fnf at cygnus.com)
712100bf4279Sespie
712200bf4279Sespie	* config/mh-svr4:  Add sigsetmask to list of required functions.
712300bf4279Sespie
712400bf4279SespieSun Nov  3 11:57:56 1991  Per Bothner  (bothner at cygnus.com)
712500bf4279Sespie
712600bf4279Sespie	* vsprintf.c:  New file.
712700bf4279Sespie	* functions.def, Makefile.in:  Add vsprintf.
712800bf4279Sespie
712900bf4279SespieSun Oct 27 16:31:22 1991  John Gilmore  (gnu at cygnus.com)
713000bf4279Sespie
713100bf4279Sespie	* configure.in, config/mh-rs6000:  Add rs/6000 host support.
713200bf4279Sespie	* Makefile.in:  Compile with debug info.
713300bf4279Sespie
713400bf4279SespieFri Oct 25 17:01:12 1991  Per Bothner  (bothner at cygnus.com)
713500bf4279Sespie
713600bf4279Sespie	* Makefile.in, configure.in, and new files: dummy.c, functions.def,
713700bf4279Sespie	config/mf-default:  Added a default configuration mode,
713800bf4279Sespie	which includes into libiberty.a functions that are "missing" in libc.
713900bf4279Sespie	* strdup.c, vprintf.c, vfprintf.c: New files.
714000bf4279Sespie
714100bf4279SespieThu Oct 24 02:29:26 1991  Fred Fish  (fnf at cygnus.com)
714200bf4279Sespie
714300bf4279Sespie	* config/hmake-svr4: New file.
714400bf4279Sespie
714500bf4279Sespie	* config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
714600bf4279Sespie
714700bf4279Sespie	* basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
714800bf4279Sespie	index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
714900bf4279Sespie	files containing either portable C versions or emulations using
715000bf4279Sespie	native library calls.
715100bf4279Sespie
715200bf4279Sespie	* strerror.c:  Add copyright, internal documentation, etc.
715300bf4279Sespie
715400bf4279Sespie	* strtol.c:  Replace hardwired hex constants with some more
715500bf4279Sespie	portable macros.  Remove illegal (according to gcc) cast.
715600bf4279Sespie
715700bf4279Sespie	* strtoul.c: Replace hardwired hex constant with more portable
715800bf4279Sespie	macro.
715900bf4279Sespie
716000bf4279Sespie	* Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
716100bf4279Sespie	can override them.  Add new source and object file names to CFILES
716200bf4279Sespie	and OFILES respectively.
716300bf4279Sespie
716400bf4279Sespie	* configure.in: Add support for SVR4 makefile fragments.
716500bf4279Sespie
716600bf4279SespieTue Oct 22 19:00:23 1991  Steve Chamberlain  (steve at cygnus.com)
716700bf4279Sespie
716800bf4279Sespie	* Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
716900bf4279Sespie	over-ridden by config/hmake-*
717000bf4279Sespie	* configure.in: added m88kcvs to sysv list
717100bf4279Sespie
717200bf4279SespieFri Oct  4 01:29:08 1991  John Gilmore  (gnu at cygnus.com)
717300bf4279Sespie
717400bf4279Sespie	* Makefile.in:  Most hosts need strerror, but one or two don't,
717500bf4279Sespie	and they override these definitions in the host-dependent makefile
717600bf4279Sespie	fragment.
717700bf4279Sespie	* config/hmake-mach:  The odd man out on strerror -- it's supplied.
717800bf4279Sespie	* strerror.c:  New file.
717900bf4279Sespie
718000bf4279Sespie	* strtol.c, strtoul.c:  Add strtol to libiberty, since Mach lacks
718100bf4279Sespie	it and bfd uses it.
718200bf4279Sespie	* configure.in, Makefile.in, config/hmake-mach:  Only configure
718300bf4279Sespie	strtol & strotoul in on Mach.
718400bf4279Sespie
718500bf4279SespieTue Sep  3 06:36:23 1991  John Gilmore  (gnu at cygint.cygnus.com)
718600bf4279Sespie
718700bf4279Sespie	* obstack.c:  Merge with latest FSF version.
718800bf4279Sespie
718900bf4279Sespie
719000bf4279SespieLocal Variables:
719100bf4279Sespieversion-control: never
719200bf4279SespieEnd:
7193