Share vtables instead of replicating them for each unit.
[official-gcc.git] / fixincludes / ChangeLog
blob63a94be252abecf0848206fa6b20b9d88667d8bf
1 2012-03-15  Tristan Gingold  <gingold@adacore.com>
3         * README (EXAMPLES OF FIXES): Update.
5 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7         * inclhack.def (math_exception): Remove duplicate.
8         (solaris_cond_init): Remove.
9         (solaris_sys_va_list): Remove Solaris 8 support.
10         * fixincl.x: Regenerate.
11         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
13 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
15         * inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
16         (irix___restrict): Remove.
17         (irix___generic1): Remove.
18         (irix___generic2): Remove.
19         (irix_asm_apostrophe): Remove.
20         (irix_complex): Remove.
21         (irix_pthread_init): Remove.
22         (irix_socklen_t): Remove.
23         (irix_stdint_c99_mode): Remove.
24         (irix_stdint_c99_types): Remove.
25         (irix_stdint_c99_macros): Remove.
26         (irix_stdio_va_list): Remove IRIX 6.5 support.
27         (irix_wcsftime): Remove.
28         (stdio_va_list): Remove IRIX 6.5 support.
29         (svr4_profil): Remove IRIX bypass.
30         * fixincl.x: Regenerate.
32         * tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
33         * tests/base/internal/math_core.h: Remove.
34         * tests/base/internal/sgimacros.h: Remove.
35         * tests/base/internal/wchar_core.h: Remove.
36         * tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
37         support.
38         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
39         * tests/base/stdint-irix65.h: Remove.
40         * tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
41         * tests/base/sys/asm.h: Remove.
42         * tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
44 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
46         * inclhack.def (alpha___extern_prefix): Remove.
47         (alpha___extern_prefix_standards): Remove.
48         (alpha___extern_prefix_sys_stat): Remove.
49         (alpha_bad_lval): Remove.
50         (alpha_pthread): Remove.
51         (alpha_pthread_gcc): Remove.
52         (alpha_pthread_init): Remove.
53         * fixincl.x: Regenerate.
54         * tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
55         [ALPHA_PTHREAD_GCC_CHECK]: Remove.
56         [ALPHA_PTHREAD_INIT_CHECK]: Remove.
57         * tests/base/standards.h: Remove.
58         * tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
59         Remove.
60         * tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
61         [ALPHA_BAD_LVAL_CHECK]: Remove.
63 2012-03-12  Tristan Gingold  <gingold@adacore.com>
65         * inclhack.def (vms_use_quoted_include,vms_add_missing_braces)
66         (vms_do_not_redeclare_hostalias, vms_decc_builtin)
67         (vms_no_64bit_getopt, vms_forward_declare_struct)
68         (vms_use_fast_setjmp): New fixes.
69         * fixincl.x: Regenerate.
70         * tests/base/rtldef/string.h: Update.
71         * tests/base/rtldef/if.h, tests/base/rtldef/resolv.h,
72         * tests/base/rtldef/setjmp.h, tests/base/rtldef/signal.h,
73         * tests/base/rtldef/stdio.h, tests/base/rtldef/wait.h: New files.
75 2012-01-11  Bruce Korb <bkorb@gnu.org>
76             Steven G. Kargl  <kargl@gcc.gnu.org>
77             Andreas Tobler  <andreast@fgznet.ch>
79         PR bootstrap/51705
80         PR preprocessor/51776
81         * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]].
82         * fixincl.x: Regenerate.
83         * tests/base/sys/cdefs.h: Update.
85         * genfixes: Remove the 'Ver.' from the version check.
87 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
89         * configure: Regenerate.
91 2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
93         * configure: Regenerate.
95 2011-11-16  David Edelsohn  <dje.gcc@gmail.com>
97         * inclhack.def (aix_once_init_[12]): New fixes.
98         * fixincl.x: Regenerate.
99         * tests/base/pthread.h: Update.
101 2011-10-25  Mike Stump  <mikestump@comcast.net>
103         PR target/48851
104         * inclhack.def (void_null): New bypass.
105         * fixincl.x: Regenerate.
107 2011-09-26  Tristan Gingold  <gingold@adacore.com>
109         * inclhack.def (ms_define_can_use_extern_prefix):
110         (vms_use_pragma_extern_model, vms_disable_decc_string_builtins):
111         New fixes.
112         * fixincl.x: Regenerate.
113         * tests/base/rtldef/string.h: New test.
114         * tests/base/rtldef/decc$types.h: Likewise.
115         * tests/base/testing.h: Update
117 2011-09-22  Tristan Gingold  <gingold@adacore.com>
119         * mkfixinc.sh (target): Remove alpha-vms from particular targets.
121 2011-08-23  Steve Ellcey  <sje@cup.hp.com>
123         PR libstdc++/50153
124         * inclhack.def (hpux11_abs): Extend to all hpux machines.
125         * fixincl.x: Regenerate.
127 2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
128             Marc Glisse  <marc.glisse@normalesup.org>
130         PR libstdc++-v3/1773
131         * inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
132         (solaris_longjmp_noreturn, solaris_pow_int_overload)
133         (solaris_std___filbuf): New fixes.
134         * tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
135         tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
136         * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
138 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
140         PR c++/49347
141         * inclhack.def (solaris_posix_spawn_restrict): New fix.
142         * fixincl.x: Regenerate.
143         * tests/base/spawn.h: New test.
145 2011-06-08  Douglas B Rupp  <rupp@gnat.com>
147         * configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add.
148         * configure: Regenerate.
149         * config.h.in: Regenerate.
151 2011-06-06  Peter O'Gorman  <pogma@thewrittenword.com>
153         * inclhack.def (aix_net_if_arp): New fix.
154         * fixincl.x: Regenerate.
155         * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
157 2011-05-17  Tristan Gingold  <gingold@adacore.com>
159         * inclhack.def (solaris_complex_cxx): Fix syntax.
160         * fixincl.x: Regenerate.
162 2011-05-17  Tristan Gingold  <gingold@adacore.com>
164         * check.tpl: Shell-quote testing file.
166 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
168         * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
170 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
172         PR other/46202
173         * Makefile.in (install-strip): New phony target.
174         (all, check, install): Also mark as phony.
176 2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
178         * inclhack.def (irix_pthread_init): New fix.
179         * fixincl.x: Regenerate.
180         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
182 2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
184         PR c++/46024
185         * inclhack.def (solaris_sys_va_list): New fix.
186         * fixincl.x: Regenerate.
187         * tests/base/sys/va_list.h: New test.
189 2010-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
191         * inclhack.def (hpux_htonl): Allow trailing whitespace in select.
192         * fixincl.x: Regenerate.
194 2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
196         * inclhack.def (solaris_cond_init): New fix.
197         * fixincl.x: Regenerate.
198         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
199         [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
201 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
203         * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
204         * fixincl.x: Regenerate.
205         * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
206         * tests/base/sys/feature_tests.h: New file.
208 2010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
209             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
211         PR bootstrap/42798
212         * configure.ac: Check for declaration of 'basename(char *)'.
213         * configure: Regenerate.
215 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
217         * inclhack.def (alpha_wchar): Remove.
218         * fixincl.x: Regenerate.
219         * tests/base/wchar.h: Remove.
221 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
223         * aclocal.m4: Regenerate.
225 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
227         * inclhack.def (alpha_assert): Allow for more whitespace in
228         select.
229         * fixincl.x: Regenerate.
231 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
233         PR target/40722
234         * mkfixinc.sh: Revert the last change for mingw.
236 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
238         * inclhack.def (glibc_strncpy): New fix.
239         * fixincl.x: Regenerate.
240         * tests/base/bits/string2.h: Update.
242 2010-03-23  H.J. Lu  <hongjiu.lu@intel.com>
244         PR target/40722
245         * mkfixinc.sh: Fix stdlib.h for mingw.
247 2010-02-19  Bruce Korb  <bkorb@gnu.org>
249         * inclhack.def: remove vestiges of inadvertently committed changes
251 2010-02-10  Bruce Korb  <bkorb@gnu.org>
253         * README: fix up references to old gcc/fixinc directory
255 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
257         * inclhack.def (solaris_int_limits_3): New fix.
258         * fixincl.x: Regenerate.
259         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
260         test.
262         * inclhack.def (solaris_int_const, solaris_int_limits_1,
263         solaris_int_limits_2 ): Applies to Solaris 2 in general.
264         Remove select.
265         Add mach for *-*-solaris2*.
266         Change second c_fix_arg to select.
267         Remove #pragma ident from test_text.
268         * fixincl.x: Regenerate.
269         * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
270         #pragma trigger text.
271         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
272         SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
274 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
276         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
277         (aix_stdint_2): Likewise.
278         (aix_stdint_3): Likewise.
279         (aix_stdint_4): Likewise.
280         (aix_stdint_5): Likewise.
281         (darwin_stdint_1): Add stdint-darwin.h to files.
282         (darwin_stdint_2): Likewise.
283         (darwin_stdint_3): Likewise.
284         (darwin_stdint_4): Likewise.
285         (darwin_stdint_5): Likewise.
286         (darwin_stdint_6): Likewise.
287         (darwin_stdint_7): Likewise.
288         (hpux_c99_intptr): Add stdint-hpux11.h to files.
289         (hpux_c99_inttypes): Likewise.
290         (hpux_c99_inttypes2): Likewise.
291         (hpux_stdint_least_fast): Likewise.
292         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
293         (irix_stdint_c99_types): New fix.
294         (irix_stdint_c99_macros): New fix.
295         (newlib_stdint_1): Add stdint-newlib.h to files.
296         (newlib_stdint_2): Likewise.
297         fixincl.x: Regenerate.
298         tests/base/stdint-aix.h: New file.
299         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
300         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
301         tests/base/stdint-aix.h: ... here.
302         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
303         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
304         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
305         tests/base/stdint-darwin.h: New file.
306         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
307         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
308         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
309         tests/base/stdint-darwin.h: ... here.
310         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
311         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
312         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
313         tests/base/stdint-hpux11.h: New file.
314         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
315         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
316         tests/base/stdint-hpux11.h: ... here.
317         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
318         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
319         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
320         IRIX_STDINT_C99_MODE_CHECK.
321         tests/base/stdint-irix65.h: New file.
322         tests/base/stdint-newlib.h: New file.
323         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
324         NEWLIB_STDINT_2_CHECK]: Moved ...
325         tests/base/stdint-newlib.h: ... here.
327 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
329         * configure: Regenerate.
331 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
333         * inclhack.def (hpux_stdint_least_fast): Simplify.
334         * fixincl.x: Regenerate.
335         * tests/base/stdint.h: Update.
337 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
339         * inclhack.def (isc_fmod, isc_omits_with_stdc)
340         (nested_sys_limits, sco_math): Remove.
341         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
342         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
343         * tests/base/sys/limits.h: Remove.
344         * fixincl.x: Regenerate.
346 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
348         PR testsuite/29737
349         PR bootstrap/35938
350         PR testsuite/39655
351         * check.tpl: Fix typos.
352         * README: Likewise.  Also, document that 'select' uses ERE.
353         * mkheaders.in: Update copyright years in --version output.
354         * inclhack.def (sco_math): Add missing final newline in sed
355         script 'a', 'c', or 'i' commands, for BSD sed.
356         (sco_math): In the text of 'a', 'c', or 'i' sed
357         commands, prepend leading white space with a backslash to avoid
358         the whitespace to be removed by BSD sed.
359         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
360         (x11_new): Fix sed expression, for BSD sed.
361         (glibc_mutex_init): Fix newlines in sed 's' command replacement
362         part, for GNU sed 3.02 and Solaris sed.
363         (glibc_mutex_init): Replace unportable \+ sed regex operator
364         with \{1,\}.
365         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
366         alternation \| regex operator.
367         (solaris_complex): Remove superfluous backslashes from
368         replacement string.  Replace \+ operator with \{1,\}.
369         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
370         * fixincl.x: Regenerate.
372 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
374         PR libfortran/41169
375         * inclhack.def (irix_complex): New fix.
376         (solaris_complex): Likewise.
377         * fixincl.x: Regenerate.
378         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
379         New tests.
381 2009-08-28   Bruce Korb <bkorb@gnu.org>
382              Steve Ellcey  <sje@cup.hp.com>
384         * README (files): Describe files entry.
385         * inclhack.def (hpux_stdint_least): Remove.
386         (hpux_stdint_fast): Remove.
387         (hpux_stdint_fast): Remove.
388         (hpux_stdint_least_fast): New.
389         (hpux_inttype_int_least8_t): Remove.
390         (hpux_inttype_int8_t): Modify.
391         * fixincl.x: Regenerate.
392         * tests/base/stdint.h: Update.
393         * tests/base/sys/_inttypes.h: Update.
395 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
397         * inclhack.def (hpux_imaginary_i): Remove spaces.
398         * fixincl.x: Regenerate.
399         * tests/base/stdint.h: Update AIX fixes. 
400         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
402 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
404         * configure.ac (AC_PREREQ): Bump to 2.64.
406 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
408         * aclocal.m4: Regenerate.
409         * configure: Regenerate.
410         * config.h.in: Regenerate.
412 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
414         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
415         redefine I.
416         * (aix_stdint_[12345]): New fixes.
417         * fixincl.x: Regenerate.
418         * tests/base/complex.h: Update check.
419         * tests/base/stdint.h: Add AIX stdint.h checks.
421 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
423         * inclhack.def (hpux_imaginary_i): New fix.
424         * fixincl.x: Regenerate.
425         * tests/base/complex.h: New file.
427 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
429         * inclhack.def (aix_complex): New fix.
430         * fixincl.x: Regenerate.
431         
432 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
434         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
435         (hpux_inttype_int8_t): Likewise.
436         * fixincl.x: Regenerate.
438 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
440         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
441         New variables.
442         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
443         Use them.
445 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
447         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
448         darwin_stdint_7): New fixes.
449         * fixincl.x: Regenerate.
450         * tests/base/stdint.h: Adjust test for new fixes.
452 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
454         * inclhack.def (solaris_int_types): New fix.
455         * fixincl.x: Regenerate.
456         * tests/base/sys/int_types.h: New file.
458 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
460         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
461         darwin_stdint_4): New fixes.
462         * tests/base/stdint.h: Adjust test results for new fixes.
463         * fixincl.x: Regenerate.
465 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
467         * inclhack.def (solaris_int_const): New fix.
468         (solaris_int_limits_1): Likewise.
469         (solaris_int_limits_2): Likewise.
470         * fixincl.x: Regenerate.
471         * tests/base/sys/int_const.h: New file.
472         * tests/base/sys/int_limits.h: Likewise.
474 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
476         * inclhack.def (glibc_tgmath): Correct bypass.
477         * fixincl.x: Regenerate.
479 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
481         * inclhack.def (hpux11_uint32_c): Remove.
482         (hpux_long_double): Disable on hpux11.3*.
483         (hpux_long_double_2): New.
484         (hpux_c99_intptr): New.
485         (hpux_c99_inttypes): New.
486         (hpux_c99_inttypes2): New.
487         (hpux_stdint_least): New.
488         (hpux_stdint_fast): New.
489         (hpux_inttype_int_least8_t): New.
490         (hpux_inttype_int8_t): New.
491         * fixincl.x: Regenerate.
492         * tests/base/sys/_inttypes.h: New.
493         * tests/base/inttypes.h: Update.
494         * tests/base/stdlib.h: Update.
495         * tests/base/stdint.h: Update.
497 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
499         * inclhack.def (glibc_stdint): New fix.
500         * fixincl.x: Regenerate.
501         * tests/base/stdint.h: Update.
503 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
505         * Makefile.in: Change copyright header to refer to version
506         3 of the GNU General Public License and to point readers at the
507         COPYING3 file and the FSF's license web page.
508         * fixfixes.c: Likewise.
509         * fixinc.in: Likewise.
510         * fixincl.c: Likewise.
511         * fixlib.c: Likewise.
512         * fixlib.h: Likewise.
513         * fixopts.c: Likewise.
514         * fixtests.c: Likewise.
515         * genfixes: Likewise.
516         * mkheaders.in: Likewise.
517         * system.h: Likewise.
519 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
521         PR c/448
522         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
523         * fixincl.x: Regenerate.
524         * tests/base/stdint.h: Update.
526 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
528         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
529         Update.
531 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
533         PR c/456
534         PR c/5675
535         PR c/19976
536         PR c/29116
537         PR c/31871
538         PR c/35198
539         * inclhack.def (glibc_tgmath): New fix.
540         * fixincl.x: Regenerate.
541         * tests/base/tgmath.h: New.
543 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
545         * inclhack.def (aix_syswait, exception_structure,
546         pthread_page_size): Remove.
547         (math_exception): Remove mention of fixproto in comment.
548         * fixincl.x: Regenerate.
549         * mkheaders.in: Do not handle STMP_FIXPROTO.
551 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
553         * server.c (run_shell): Quote directory name passed to cd.
555 2009-03-01  Bruce Korb  <bkorb@gnu.org>
556         Apply a positively ancient patch:
558         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
560         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
561         * tests/base/net/if.h: Add new test.
563 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
565         * tests/base/locale.h: Add new test.
566         * tests/base/stdarg.h: Likewise.
568 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
570         * inclhack.def (hpux_spu_info):  Add files line.
571         * fixincl.x: Regenerate.
573 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
575         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
576         in case of C.
577         * fixincl.x: Regenerate.
579 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
581         PR target/35460
582         * inclhack.def (openbsd_va_start): Use __builtin_va_start
583         for OpenBSD.
584         * fixincl.x: Regenerate.
586 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
588         * configure: Regenerate.
590 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
592         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
593         * fixincl.x: Regenerate.
595 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
597         * configure.ac: Fix a typo.
598         * configured: Regenerate.
600 2008-09-06  Bruce Korb  <bkorb@gnu.org>
602         * fixincl.tpl (sed): make the program executable configurable.
603         Some platforms have some rather oddball defaults.
604         * config.h.in (SED_PROGRAM): define the default sed.
605         * fixincl.x: regenerated
606         * tests/base/internal/wchar_core.h: fix bad sample text
607         * tests/base/math.h: fix bad sample text
608         * configure.ac: search for working sed
609         * inclhack.def (glibc_mutex_init): fix non-portable construct
610         and re-order a few misordered entries.
612 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
614         * configure: Regenerate.
616 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
618         * inclhack.def (AAB_svr4_replace_byteorder,
619         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
620         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
621         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
622         solaris_mutex_init_1, solaris_socket, solaris_unistd,
623         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
624         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
625         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
626         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
627         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
628         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
629         windiss_math2, windiss_valist): Remove.
630         * fixincl.x: Regenerate.
631         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
632         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
633         powerpc-*-eabiaix*): Remove.
634         * tests/base/math.h: Update.
635         * tests/base/pthread.h: Update.
636         * tests/base/stdio.h: Update.
637         * tests/base/stdlib.h: Update.
638         * tests/base/string.h: Update.
639         * tests/base/strings.h: Update.
640         * tests/base/sys/file.h: Update.
641         * tests/base/sys/limits.h: Update.
642         * tests/base/sys/socket.h: Update.
643         * tests/base/sys/stat.h: Update.
644         * tests/base/sys/time.h: Update.
645         * tests/base/testing.h: Update.
646         * tests/base/unistd.h: Update.
647         * tests/base/_G_config.h: Remove.
648         * tests/base/arpa: Remove directory.
649         * tests/base/fs: Remove directory.
650         * tests/base/locale.h: Remove.
651         * tests/base/machine: Remove directory.
652         * tests/base/rpc/svc.h: Remove.
653         * tests/base/sys/ioctl.h: Remove.
654         * tests/base/sys/regset.h: Remove.
655         * tests/base/sys/times.h: Remove.
656         * tests/base/sys/utsname.h: Remove.
657         * tests/base/widec.h: Remove.
659 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
661         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
662         * tests/base/iso/math_c99.h: Update.
663         * fixincl.x: Regenerate.
665 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
667         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
668         posix_types_64.
669         * fixincl.x: Regenerate.
671 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
673         * fixincl.c (fix_with_system): Cast pointer difference to long.
674         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
676 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
678         PR bootstrap/35457
679         * Makefile.in: Rewrite aclocal.m4 rule.
680         * aclocal.m4: Regenerate.
681         * configure: Regenerate.
683 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
685         PR c++/20366
686         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
687         * fixincl.x: Regenerate.
688         * tests/base/stdio.h: Add test.
690 2008-02-25  Ben Elliston  <bje@au.ibm.com>
692         PR other/32948
693         * fixincl.c (fix_applies): Remove unused variable `name_len'.
695 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
697         * inclhack.def (solaris_math_10): New.
698         * tests/base/iso/math_c99.h: Update.
700         * fixincl.x: Regenerate.
702 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
704         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
705         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
706         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
707         quotes around mach entries.
708         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
709         to GPLv3.
711 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
713         PR other/31405
714         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
715         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
716         __extern_inline|__GNU_STDC_INLINE__.
717         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
718         <bypass>: Change from __STDC_VERSION__ to
719         __extern_inline|__GNU_STDC_INLINE__.
720         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
721         appending attribute-gnu_inline.
722         <second c_fix_arg>: Remove.
723         <test_text>: Remove __extern_inline line.
724         * tests/base/features.h: Re-add.
725         * tests/base/sys/sysmacros.h: Adjust.
726         * fixincl.x: Regenerate.
728 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
730         Revert last change.
732 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
734         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
735         * fixincl.x: Regenerate.
736         * tests/base/wchar.h: Update.
737         * tests/base/features.h: New.
739 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
741         PR target/33700
742         * inclhack.def (hpux11_pthread_const): New.
743         * fixincl.x: Regenerate.
744         * tests/base/sys/pthread.h: Update.
746 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
748         * configure.ac: x86_64 mingw target uses twoprocess.
749         * mkfixinc.sh: Add x86_64 mingw target.
750         * configure: Regenerate.
752 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
754         * inclhack.def (darwin_externc): New.
755         * fixincl.x: Regenerate.
756         * tests/base/mach-o/swap.h: New.
758 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
760         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
761         Delete fixes.
762         * tests/base/iso/math_c99.h: Delete associated test baselines.
763         * fixincl.x: Regenerate.
765 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
767         PR target/30058
768         * inclhack.def (netbsd_c99_inline_2): New.
769         * fixincl.x: Regenerate.
770         * tests/base/signal.h: Update.
772 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
774         PR target/32641
776         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
777         solaris_math_7): Constify and make FP exception-safe.
778         * tests/base/iso/math_c99.h: Update.
780         * fixincl.x: Regenerate.
782 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
784         PR libgcj/28190
785         * inclhack.def (irix_stdint_c99): New fix.
786         * fixincl.x: Regenerate.
787         * tests/base/stdint.h: New test.
789 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
791         PR testsuite/31828
792         * inclhack.def (hppa_hpux_fp_macros): New.
793         * fixincl.x: Regenerate.
794         * tests/base/math.h: Update.
796 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
798         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
799         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
800         __STDC_VERSION__ < 199901L.
801         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
802         with #ifdef __GNUC_GNU_INLINE__.
803         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
804         with defined(__GNUC_STDC_INLINE__).
805         (glibc_c99_inline_4): Change select, add second c_fix_arg.
806         Replace #if __STDC_VERSION__ < 199901L with
807         #ifdef __GNUC_GNU_INLINE__.
808         * fixincl.x: Regenerated.
809         * tests/base/bits/string2.h: Update.
810         * tests/base/sys/sysmacros.h: Update.
811         * tests/base/sys/stat.h: Update.
813 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
815         PR target/30058
816         * inclhack.def (netbsd_c99_inline_1): New.
817         * fixincl.x: Regenerate.
818         * tests/base/signal.h: New.
820 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
822         * Makefile.in: Add dummy "install-info" target.
824 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
826         * mkheaders.in: Fix headers for each multilib required.
828 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
830         * Makefile.in: Add dummy install-pdf target.
832 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
834         * mkheaders.in (incdir): Use include-fixed not include.
836 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
838         * Makefile.in: Added "pdf" target to .PHONY.
840 2007-02-05  Richard Guenther  <rguenther@suse.de>
842         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
843         with older glibc.  Adjust version number for C99.
844         * fixincl.x: Regenerated.
846 2007-02-04  Mike Stump  <mrs@apple.com>
848         * mkheaders.in: Allow optional isysroot parameter.
850 2007-02-03  Bruce Korb <bkorb@gnu.org>
852         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
853         surrounded by space characters.
855 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
857         PR target/30272
858         * inclhack.def(broken_cabs): Also remove definition of cabsl.
859         * fixincl.x: Regenerate.
860         * tests/base/math.h: Update.
862 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
863             Daniel Franke <franke.daniel@gmail.com>
865         PR target/30008
866         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
867         of a vertical bar ("|").
868         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
869         matching.  Set SKIP_TEST flag if we are not to run a test.
870         * fixincl.x: Regenerate.
871         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
872         kandr_concat, sco_math): Replace lists of specfic file names by search
873         patterns.
875 2006-12-12  Olivier Hainque  <hainque@adacore.com>
877         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
878         targets for which a no-op fixer is appropriate.
879         
880 2006-11-07  Richard Guenther  <rguenther@suse.de>
882         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
883         systems.
884         * fixincl.x: Regenerate.
886 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
888         * inclhack.def (glibc_c99_inline_1): New.
889         * inclhack.def (glibc_c99_inline_2): New.
890         * inclhack.def (glibc_c99_inline_3): New.
891         * inclhack.def (glibc_c99_inline_4): New.
892         * fixincl.x: Regenerate.
893         * tests/base/bits/string2.h: New.
894         * tests/base/sys/sysmacros.h: New.
895         * tests/base/sys/stat.h: Update.
897 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
899         * tests/base/sys/socket.h: Update.
901 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
903         * inclhack.def (hpux11_extern_sendfile): New.
904         (hpux11_extern_sendpath): New.
905         * fixincl.x: Regenerate.
907 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
909         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
910         * fixincl.x: Regenerate.
912 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
914         * Makefile.in: Added empty "pdf" target.
916 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
918         PR target/29300
919         * inclhack.def (hpux_pthread_initializers): New hack.
920         * tests/base/sys/pthread.h: New file.
922         * fixincl.x: Regenerate.
924 2006-10-03  Uros Bizjak <uros@kss-loka.si>
926         * inclhack.def (glibc_mutex_init): Also fix
927         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
928         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
929         * tests/base/pthread.h: Update.
931         * fixincl.x: Regenerate.
933 2006-10-01  Uros Bizjak <uros@kss-loka.si>
935         * inclhack.def (glibc_mutex_init): New fix.
936         * tests/base/pthread.h: Update.
938         * fixincl.x: Regenerate.
940 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
942         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
943         Prevent it from running on solaris10 or later.
944         (solaris_once_init_2): Fix comment.
945         * tests/base/pthread.h: Update.
947         * fixincl.x: Regenerate.
949 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
951         * inclhack.def (solaris_once_init_2): New fix.
952         * tests/base/pthread.h: Update.
954         * fixincl.x: Regenerate.
956 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
958         * inclhack.def (solaris_mutex_init_2): Remove test for
959         PTHREAD_RWLOCK_INITIALIZER.
960         (solaris_rwlock_init_1): New.
961         * tests/base/pthread.h: Update.
963         * inclhack.def (solaris_once_init_1): New.
964         * tests/base/pthread.h: Adjust for new fix.
965         
966         * fixincl.x: Regenerate.
968 2006-07-17  Roger Sayle  <roger@eyesopen.com>
970         * tests/base/errno.h: New file.
971         * tests/base/architecture/ppc/math.h: Likewise.
972         * tests/base/ia64/sys/getppdp.h: Likewise.
974 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
976         PR bootstrap/20437
977         * Makefile.in (configure, config.h.in): Change into $(srcdir)
978         before autoconf or autoheader call.
980 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
982         PR target/28084
983         * inclhack.def (hpux_extern_errno): New.
984         * fixincl.x: Regenerate.
986 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
988         * Makefile.in: Add dvi info html and install-html to .PHONY
989         Add install-html target.
991 2006-05-16  Mike Stump  <mrs@apple.com>
993         * configure.ac: Add -Wno-overlength-strings.
994         * configure: Regenerate.
996 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
998         * README: Fix typo.
1000 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
1002         PR target/26189
1003         * inclhack.def (hpux_spu_info): New.
1004         * fixincl.x: Regenerate
1006 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
1008         * configure.ac: Check for asprintf, basename, vasprintf.
1009         * config.h.in: Regenerate.
1010         * configure: Regenerate.
1012 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
1014         PR target/15642
1015         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
1016         __APPLE_CC_ as 1345.
1017         (broken_nan): New.
1018         * fixincl.x: Regenerate.
1020 2005-11-24  Bruce Korb  <bkorb@gnu.org>
1022         * fixincl.c (write_replacement): "here strings" in AutoGen
1023         often/generally don't have a terminating newline.  Check the
1024         last byte for '\n'.
1026 2005-11-13  Andreas Jaeger  <aj@suse.de>
1028         * check.tpl: Handle CVS additionally.
1030 2005-11-05  Andreas Jaeger  <aj@suse.de>
1032         * check.tpl: Adopt for move to subversion.
1034 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
1036         PR c++/23139
1037         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
1038         fixes.
1039         * fixincl.x: Regenerate.
1040         * tests/base/bits/huge_val.h: New file.
1042 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
1044         * All files: Update with new FSF address.
1046 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1048         * Makefile.in (WARN_CFLAGS): New.
1049         (.c.o): Add $(WARN_CFLAGS).
1050         * aclocal.m4: Include ../config/warnings.m4.
1051         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
1052         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
1053         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
1054         * fixopts.c (initialize_opts): Fix old-style definintion.
1056         * configure: Regenerate.
1058 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
1060         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
1061         (AAB_darwin7_9_long_double_funcs_2): New.
1062         * fixincl.x: Regenerate.
1064 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1066         PR libfortran/15266
1067         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
1068         Use double quotes in select so \t matches tabs.
1069         Add IRIX testcase.
1070         * fixincl.x: Regenerate.
1071         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
1073 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
1075         PR target/21683
1076         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1078 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
1079             Joseph S. Myers  <joseph@codesourcery.com>
1081         PR target/19933
1082         PR target/21315
1083         * inclhack.def: New fixes solaris_math_[1-9].
1084         * fixincl.x: Regenerate.
1085         * tests/base/iso/math_c99.h: New.
1087 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
1089         * aclocal.m4: Remove superfluous reference to accross.m4.
1091 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1093         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
1094         * server.c (load_data): Likewise.
1095         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
1096         * fixincl.c: #include <sys/wait.h>
1097         (run_compiles): Use XCNEWVEC instead of xcalloc.
1098         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
1099         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
1101 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
1103         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
1104         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
1105         * fixincl.x: Regenerate.
1107 2005-05-06  Bruce Korb  <bkorb@gnu.org>
1108         Joseph S. Myers <joseph@codesourcery.com>
1110         * fixinc/inclhack.def: Correct backslashes
1111         * fixinc/fixincl.x: regen
1113 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1115         * system.h (fopen, fdopen, freopen): Define these to the unlocked
1116         libiberty functions.
1118 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1120         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
1121         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
1122         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
1123         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
1124         _unlocked function.
1125         (fwrite_unlocked): Fix prototype.
1127         * configure, config.h.in: Regenerate.
1129 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1131         * Makefile.in: Set gcc_version directly, not via substitution.
1132         (libsubdir): Use $(gcc_version), not $(version).
1133         (mkheaders.almost): New rule.
1134         (mkheaders): Generate from mkheaders.almost.
1135         (clean): Also delete mkheaders.almost.
1136         * aclocal.m4: Do not include ../config/gcc-version.m4.
1137         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
1138         mkheaders.almost from mkheaders.in.
1139         * configure: Regenerate.
1141 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
1143         PR target/20166
1144         * inclhack.def: Add fix for array of incomplete structures
1145         in function prototype in pthread.h.
1146         * fixincl.x: Regenerate.
1147         * tests/base/pthread.h: Adjust.
1149 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
1151         * inclhack.def (hpux_htonl): New fix.
1152         * tests/base/netinet/in.h: New test.
1153         * fixincl.x: Regenerate.
1155 2005-02-23  James E Wilson  <wilson@specifixinc.com>
1157         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
1159 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
1161         PR 18458
1162         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
1163         fixincl.
1165 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
1167         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1168         * aclocal.m4: Include ../config/gcc-version.m4.
1169         * configure: Regenerate.
1171 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
1173         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
1174         (stdio_va_list): Likewise.
1175         (stdio_stdarg.h): Likewise.
1176         (solaris_stdio_tag): Add bypass.
1177         * fixincl.x: Regenerated.
1179 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
1181         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
1182         built fixincl program.
1183         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
1184         up csh from user.
1186 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1188         * inclhack.def (alpha_pthread_init): Fix technical problems with
1189         the last check-in caused by CVS variable substitution.
1190         * fixincl.x: Likewise.
1191         * tests/base/pthread.h: Likewise.
1193 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1194             Bruce Korb  <bkorb@gnu.org>
1196         * inclhack.def (alpha_pthread_init): New fix.
1197         * fixincl.x: Regenerate.
1198         * tests/base/pthread.h: Update for new test.
1200 2004-11-15  Bruce Korb  <bkorb@gnu.org>
1202         * fixincl.c(fix_with_system): correct misuse of variables and
1203         incorrect application of "sizeof()".
1205 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
1207         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1208         svr4__p, undefine_null): Remove.
1209         * fixincl.x: Regenerate.
1210         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1211         * tests/base/sys/param.h: Remove.
1212         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1213         tests/base/sys/limits.h: Update.
1215 2004-11-12  Mike Stump  <mrs@apple.com>
1217         * Makefile.in (html): Add html generation support.
1219 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
1221         * inclhack.def (sco_math): Bypass on __GNUG__.
1222         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1223         * fixincl.x: Regenerate.
1225 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
1227         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1228         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1229         _CLASSIC_ANSI_TYPES.
1230         (sun_auth_proto): Bypass on __cplusplus.
1231         * fixincl.x: Regenerate.
1233 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
1235         * Makefile.in (mostlyclean): Add fixinc.sh.
1236         (clean): Add mkheaders.
1237         (distclean): New.
1238         (dvi): New.
1239         (info): New.
1240         (installcheck): New.
1242 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
1244         * Makefile.in (mostlyclean, distclean): New targets.
1246 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
1248         * configure.ac: Add code to determine noncanonical_target,
1249         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1250         * configure: Regenerate.
1251         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1252         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1253         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1254         update for changes to fixinc.in.
1255         * Makefile.in: Add many new macros.
1256         (install): New target.
1257         (mkheaders): New target.
1258         (fixinc.sh): New target.
1259         (all): Add mkheaders and fixinc.sh.
1260         * README-fixinc: Move here from gcc/.
1262 2004-11-01  Mike Stump  <mrs@apple.com>
1264         * inclhack.def (stdio_va_list): Break out clients from here...
1265         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
1266         included or ifdef va_start.
1267         * fixincl.x: Regenerate.
1269 2004-10-28  Mike Stump  <mrs@apple.com>
1271         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1272         systems.
1273         * fixincl.x: Regenerate.
1275 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1277         * inclhack.def (darwin_gcc4_breakage): New.
1278         * fixincl.x: Regenerate.
1280 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1282         PR bootstrap/17832
1284         * fixfixes.c (main): Check for _PC_NAME_MAX.
1286 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1288         PR other/17991
1290         * configure.ac: Fix typo.
1291         * configure: Regenerate.
1292         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1294 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1296         PR bootstrap/17832
1298         * fixincl.c (SIGCHLD): Remove definition.
1299         (initialize): Remove SIGIOT and SIGPIPE checks.
1300         (create_file): Fix mkdir() for Win32.
1301         (internal_fix): Use dup2() instead of fcntl().
1303         * fixlib.h (SIGQUIT): Define if undefined.
1304         (SIGIOT): Same.
1305         (SIGPIPE): Same.
1306         (SIGALRM): Same.
1307         (SIGKILL): Same.
1309         * procopen.c (chain_open): Use dup2() instead of fcntl().
1311 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1313         PR other/17991
1315         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1316         Update copyright year.
1317         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1318         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1319         do not include code for parsing options (environment vars).
1320         (fix_with_system): Use a search path for applyfix, so that you
1321         can run the test suite with two-process fixincludes.
1322         * fixopts.c: New file.
1323         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1324         to config.h.  Default to --enable-twoprocess for MinGW32.
1325         * config.h.in: Regenerate.
1326         * configure: Regenerate.
1328 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1330         * tests/base/sys/cdefs.h: Update from test area.
1332 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1334         * inclhack.def (linux_ia64_ucontext): New fix.
1335         * fixincl.x: Regenerate.
1336         * tests/base/sys/ucontext.h: New file.
1338 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1340         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1341         * tests/base/stdlib.h: Likewise.
1343 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1345         * inclhack.def (freebsd_gcc4_breakage): Add.
1346         * fixincl.x: Regenerate.
1347         * tests/base/sys/cdefs.h: Update for new test.
1349 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1351         * inclhack.def (lynx_void_int): Remove.
1352         (lynxos_fcntl_proto): Remove.
1353         (lynxos_no_warning_in_sys_time_h): New fix.
1354         (lynxos_missing_putenv): New fix.
1355         * fixincl.x: Regenerate.
1356         * tests/base/fcntl.h: Remove.
1357         * tests/base/sys/time.h: Update from test area.
1358         * tests/base/curses.h: Likewise.
1359         * tests/base/stdlib.h: Likewise.
1361 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1363         * inclhack.def: Suppress exception_structure and math_exception
1364         for NetWare headers.
1365         * fixincl.x: Regenerate.
1367 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1369         * .cvsignore: New.
1370         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1371         autoconfiscated.
1372         * configure.ac: New.
1373         * config.h.in: Generate.
1374         * configure: Generate.
1375         * aclocal.m4: New.
1376         * fixlib.h: Remove inclusions of gcc files.
1377         * system.h: New.
1379         Other files copied from gcc/fixinc.