12008-03-17  Dave Korn  <dave.korn@artimi.com>
2
3	* fixincl.x: Revert last change, restoring GPLv2 status.
4
52008-02-04  Ismail D�nmez  <ismail@pardus.org.tr>
6
7	* inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
8	freebsd_gcc4_breakage, hpux11_abs, netbsd_extra_semicolon):  Add
9	quotes around mach entries.
10	* fixincl.x: Regenerate with latest autogen (5.9.4), updating license
11	to GPLv3.
12
132007-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14
15	PR target/32641
16
17	* inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
18	solaris_math_7): Constify and make FP exception-safe.
19	* tests/base/iso/math_c99.h: Update.
20
21	* fixincl.x: Regenerate.
22
232007-02-13  Release Manager
24
25	* GCC 4.1.2 released.
26
272006-10-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
28
29	PR target/29300
30	* inclhack.def (hpux_pthread_initializers): New hack.
31	* tests/base/sys/pthread.h: New file.
32
33	* fixincl.x: Regenerate.
34
352006-10-03  Uros Bizjak <uros@kss-loka.si>
36
37	* inclhack.def (glibc_mutex_init): Also fix
38	PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
39	PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
40	* tests/base/pthread.h: Update.
41
42	* fixincl.x: Regenerate.
43
442006-10-01  Uros Bizjak <uros@kss-loka.si>
45
46	* inclhack.def (glibc_mutex_init): New fix.
47	* tests/base/pthread.h: Update.
48
49	* fixincl.x: Regenerate.
50
512006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
52
53	* inclhack.def (solaris_mutex_init_2): Update for Solaris9.
54	Prevent it from running on solaris10 or later.
55	(solaris_once_init_2): Fix comment.
56	* tests/base/pthread.h: Update.
57
58	* fixincl.x: Regenerate.
59
602006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
61
62	* inclhack.def (solaris_once_init_2): New fix.
63	* tests/base/pthread.h: Update.
64
65	* fixincl.x: Regenerate.
66
672006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
68
69	* inclhack.def (solaris_mutex_init_2): Remove test for
70	PTHREAD_RWLOCK_INITIALIZER.
71	(solaris_rwlock_init_1): New.
72	* tests/base/pthread.h: Update.
73
74	* inclhack.def (solaris_once_init_1): New.
75	* tests/base/pthread.h: Adjust for new fix.
76	
77	* fixincl.x: Regenerate.
78
792006-07-24  Roger Sayle  <roger@eyesopen.com>
80
81	Backport from mainline.
82	* tests/base/errno.h: New file.
83	* tests/base/ia64/sys/getppdp.h: Likewise.
84
852006-07-10  Steve Ellcey  <sje@cup.hp.com>
86
87	PR target/28084
88	* inclhack.def (hpux_extern_errno): New.
89	* fixincl.x: Regenerate.
90
912006-05-24  Release Manager
92
93	* GCC 4.1.1 released.
94
952006-02-28  Release Manager
96
97	* GCC 4.1.0 released.
98
992006-02-18  Steve Ellcey  <sje@cup.hp.com>
100
101	PR target/26189
102	* inclhack.def (hpux_spu_info): New.
103	* fixincl.x: Regenerate
104
1052005-11-25  Bruce Korb  <bkorb@gnu.org>
106
107	* fixincl.c (write_replacement): "here strings" in AutoGen often
108	[generally] don't have a terminating newline.  Check the last byte
109	for '\n'.
110
1112005-11-13  Andreas Jaeger  <aj@suse.de>
112
113	* check.tpl: Handle CVS additionally.
114
1152005-11-05  Andreas Jaeger  <aj@suse.de>
116
117	* check.tpl: Adopt for move to subversion.
118
1192005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
120
121	PR c++/23139
122	* inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
123	fixes.
124	* fixincl.x: Regenerate.
125	* tests/base/bits/huge_val.h: New file.
126
1272005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
128
129	* All files: Update with new FSF address.
130
1312005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
132
133	* Makefile.in (WARN_CFLAGS): New.
134	(.c.o): Add $(WARN_CFLAGS).
135	* aclocal.m4: Include ../config/warnings.m4.
136	* configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
137	ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
138	ACX_PROG_CC_WARNINGS_ARE_ERRORS.
139	* fixopts.c (initialize_opts): Fix old-style definintion.
140
141	* configure: Regenerate.
142
1432005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
144
145	* inclhack.def (AAB_darwin7_9_long_double_funcs): New.
146	(AAB_darwin7_9_long_double_funcs_2): New.
147	* fixincl.x: Regenerate.
148
1492005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
150
151	PR libfortran/15266
152	* inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
153	Use double quotes in select so \t matches tabs.
154	Add IRIX testcase.
155	* fixincl.x: Regenerate.
156	* tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
157
1582005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
159
160	PR target/21683
161	* fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
162
1632005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
164            Joseph S. Myers  <joseph@codesourcery.com>
165
166	PR target/19933
167	PR target/21315
168	* inclhack.def: New fixes solaris_math_[1-9].
169	* fixincl.x: Regenerate.
170	* tests/base/iso/math_c99.h: New.
171
1722005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
173
174	* aclocal.m4: Remove superfluous reference to accross.m4.
175
1762005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
177
178	* fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
179	* server.c (load_data): Likewise.
180	(run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
181	* fixincl.c: #include <sys/wait.h>
182	(run_compiles): Use XCNEWVEC instead of xcalloc.
183	(fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
184	* fixfixes.c (FIX_PROC_HEAD, main): Likewise.
185
1862005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
187
188	* inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
189	*-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
190	* fixincl.x: Regenerate.
191
1922005-05-06  Bruce Korb  <bkorb@gnu.org>
193	Joseph S. Myers <joseph@codesourcery.com>
194
195	* fixinc/inclhack.def: Correct backslashes
196	* fixinc/fixincl.x: regen
197
1982005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
199
200	* system.h (fopen, fdopen, freopen): Define these to the unlocked
201	libiberty functions.
202
2032005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
204
205	* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
206	(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
207	* system.h (putchar, getc, getchar, clearerr, feof, fileno,
208	fflush, fgetc, fgets, ferror, fread): Redefine to the associated
209	_unlocked function.
210	(fwrite_unlocked): Fix prototype.
211
212	* configure, config.h.in: Regenerate.
213
2142005-03-21  Zack Weinberg  <zack@codesourcery.com>
215
216	* Makefile.in: Set gcc_version directly, not via substitution.
217	(libsubdir): Use $(gcc_version), not $(version).
218	(mkheaders.almost): New rule.
219	(mkheaders): Generate from mkheaders.almost.
220	(clean): Also delete mkheaders.almost.
221	* aclocal.m4: Do not include ../config/gcc-version.m4.
222	* configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
223	mkheaders.almost from mkheaders.in.
224	* configure: Regenerate.
225
2262005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
227
228	PR target/20166
229	* inclhack.def: Add fix for array of incomplete structures
230	in function prototype in pthread.h.
231	* fixincl.x: Regenerate.
232	* tests/base/pthread.h: Adjust.
233
2342005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
235
236	* inclhack.def (hpux_htonl): New fix.
237	* tests/base/netinet/in.h: New test.
238	* fixincl.x: Regenerate.
239
2402005-02-23  James E Wilson  <wilson@specifixinc.com>
241
242	* Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
243
2442004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
245
246	PR 18458
247	* Makefile.in (install): Add @EXEEXT@ to the end of the program name,
248	fixincl.
249
2502004-12-02  Richard Sandiford  <rsandifo@redhat.com>
251
252	* configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
253	* aclocal.m4: Include ../config/gcc-version.m4.
254	* configure: Regenerate.
255
2562004-11-26  Mark Mitchell  <mark@codesourcery.com>
257
258	* inclhack.def (gnu_types): Do not use on Solaris 2.1x.
259	(stdio_va_list): Likewise.
260	(stdio_stdarg.h): Likewise.
261	(solaris_stdio_tag): Add bypass.
262	* fixincl.x: Regenerated.
263
2642004-11-23  Geoffrey Keating  <geoffk@apple.com>
265
266	* mkfixinc.sh: Check error code from 'cat'.  Don't try running
267	built fixincl program.
268	* mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
269	up csh from user.
270
2712004-11-20  Roger Sayle  <roger@eyesopen.com>
272
273	* inclhack.def (alpha_pthread_init): Fix technical problems with
274	the last check-in caused by CVS variable substitution.
275	* fixincl.x: Likewise.
276	* tests/base/pthread.h: Likewise.
277
2782004-11-20  Roger Sayle  <roger@eyesopen.com>
279	    Bruce Korb  <bkorb@gnu.org>
280
281	* inclhack.def (alpha_pthread_init): New fix.
282	* fixincl.x: Regenerate.
283	* tests/base/pthread.h: Update for new test.
284
2852004-11-15  Bruce Korb  <bkorb@gnu.org>
286
287	* fixincl.c(fix_with_system): correct misuse of variables and
288	incorrect application of "sizeof()".
289
2902004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
291
292	* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
293	svr4__p, undefine_null): Remove.
294	* fixincl.x: Regenerate.
295	* tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
296	* tests/base/sys/param.h: Remove.
297	* tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
298	tests/base/sys/limits.h: Update.
299
3002004-11-12  Mike Stump  <mrs@apple.com>
301
302	* Makefile.in (html): Add html generation support.
303
3042004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
305
306	* inclhack.def (sco_math): Bypass on __GNUG__.
307	(sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
308	* fixincl.x: Regenerate.
309
3102004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
311
312	* inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
313	(int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
314	_CLASSIC_ANSI_TYPES.
315	(sun_auth_proto): Bypass on __cplusplus.
316	* fixincl.x: Regenerate.
317
3182004-11-05  Geoffrey Keating  <geoffk@apple.com>
319
320	* Makefile.in (mostlyclean): Add fixinc.sh.
321	(clean): Add mkheaders.
322	(distclean): New.
323	(dvi): New.
324	(info): New.
325	(installcheck): New.
326
3272004-11-05  Paolo Bonzini  <bonzini@gnu.org>
328
329	* Makefile.in (mostlyclean, distclean): New targets.
330
3312004-11-04  Geoffrey Keating  <geoffk@apple.com>
332
333	* configure.ac: Add code to determine noncanonical_target,
334	local_prefix, gcc_version; process mkheaders.in to make mkheaders.
335	* configure: Regenerate.
336	* fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
337	* mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
338	* mkheaders.in: Move here from gcc/; remove some unnecessary macros;
339	update for changes to fixinc.in.
340	* Makefile.in: Add many new macros.
341	(install): New target.
342	(mkheaders): New target.
343	(fixinc.sh): New target.
344	(all): Add mkheaders and fixinc.sh.
345	* README-fixinc: Move here from gcc/.
346
3472004-11-01  Mike Stump  <mrs@apple.com>
348
349	* inclhack.def (stdio_va_list): Break out clients from here...
350	(stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
351	included or ifdef va_start.
352	* fixincl.x: Regenerate.
353
3542004-10-28  Mike Stump  <mrs@apple.com>
355
356	* inclhack.def (void_null): Avoid changing NULL on C++ friendly
357	systems.
358	* fixincl.x: Regenerate.
359
3602004-10-27  Geoffrey Keating  <geoffk@apple.com>
361
362	* inclhack.def (darwin_gcc4_breakage): New.
363	* fixincl.x: Regenerate.
364
3652004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
366
367	PR bootstrap/17832
368
369	* fixfixes.c (main): Check for _PC_NAME_MAX.
370
3712004-10-27  Paolo Bonzini  <bonzini@gnu.org>
372
373	PR other/17991
374
375	* configure.ac: Fix typo.
376	* configure: Regenerate.
377	* fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
378
3792004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
380
381	PR bootstrap/17832
382
383	* fixincl.c (SIGCHLD): Remove definition.
384	(initialize): Remove SIGIOT and SIGPIPE checks.
385	(create_file): Fix mkdir() for Win32.
386	(internal_fix): Use dup2() instead of fcntl().
387
388	* fixlib.h (SIGQUIT): Define if undefined.
389	(SIGIOT): Same.
390	(SIGPIPE): Same.
391	(SIGALRM): Same.
392	(SIGKILL): Same.
393
394	* procopen.c (chain_open): Use dup2() instead of fcntl().
395
3962004-08-14  Paolo Bonzini  <bonzini@gnu.org>
397
398	PR other/17991
399
400	* Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
401	Update copyright year.
402	* fixfixes.c (main): Call initialize_opts from fixopts.c.
403	* fixincl.c (initialize): Call initialize_opts from fixopts.c,
404	do not include code for parsing options (environment vars).
405	(fix_with_system): Use a search path for applyfix, so that you
406	can run the test suite with two-process fixincludes.
407	* fixopts.c: New file.
408	* configure.ac: Add --enable-twoprocess.  Export ac_exeext
409	to config.h.  Default to --enable-twoprocess for MinGW32.
410	* config.h.in: Regenerate.
411	* configure: Regenerate.
412
4132004-10-04  Loren J. Rittle  <ljrittle@acm.org>
414
415	* tests/base/sys/cdefs.h: Update from test area.
416
4172004-09-17  Roger Sayle  <roger@eyesopen.com>
418
419	* inclhack.def (linux_ia64_ucontext): New fix.
420	* fixincl.x: Regenerate.
421	* tests/base/sys/ucontext.h: New file.
422
4232004-09-15  Roger Sayle  <roger@eyesopen.com>
424
425	* tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
426	* tests/base/stdlib.h: Likewise.
427
4282004-09-13  Loren J. Rittle  <ljrittle@acm.org>
429
430	* inclhack.def (freebsd_gcc4_breakage): Add.
431	* fixincl.x: Regenerate.
432	* tests/base/sys/cdefs.h: Update for new test.
433
4342004-09-10  Adam Nemet  <anemet@lnxw.com>
435
436	* inclhack.def (lynx_void_int): Remove.
437	(lynxos_fcntl_proto): Remove.
438	(lynxos_no_warning_in_sys_time_h): New fix.
439	(lynxos_missing_putenv): New fix.
440	* fixincl.x: Regenerate.
441	* tests/base/fcntl.h: Remove.
442	* tests/base/sys/time.h: Update from test area.
443	* tests/base/curses.h: Likewise.
444	* tests/base/stdlib.h: Likewise.
445
4462004-09-03  Jan Beulich  <jbeulich@novell.com>
447
448	* inclhack.def: Suppress exception_structure and math_exception
449	for NetWare headers.
450	* fixincl.x: Regenerate.
451
4522004-08-31  Paolo Bonzini  <bonzini@gnu.org>
453
454	* .cvsignore: New.
455	* Makefile.in: From gcc/fixinc/Makefile.in, making it fully
456	autoconfiscated.
457	* configure.ac: New.
458	* config.h.in: Generate.
459	* configure: Generate.
460	* aclocal.m4: New.
461	* fixlib.h: Remove inclusions of gcc files.
462	* system.h: New.
463
464	Other files copied from gcc/fixinc.
465