* config/mh-ppc-aix (LDFLAGS): Quote $(CC).
[official-gcc.git] / fixincludes / ChangeLog
blob690fd4f7307db6f770a11b8bf8c024346e6099a2
1 2012-04-24  Tristan Gingold  <gingold@adacore.com>
3         * fixincl.c (fix_with_system): Add missing specifier.
4         * configure.ac: Default to twoprocess on vms.
5         * configure: Regenerate.
7 2012-03-23  David Edelsohn  <dje.gcc@gmail.com>
9         * inclhack.def (aix_malloc): New.
10         * fixincl.x: Regenerate.
11         * tests/base/malloc.h [AIX_MALLOC_CHECK]: New.
12         
13 2012-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
15         PR other/52626
16         * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
17         (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
19 2012-03-15  Tristan Gingold  <gingold@adacore.com>
21         * README (EXAMPLES OF FIXES): Update.
23 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
25         * inclhack.def (math_exception): Remove duplicate.
26         (solaris_cond_init): Remove.
27         (solaris_sys_va_list): Remove Solaris 8 support.
28         * fixincl.x: Regenerate.
29         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
31 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
33         * inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
34         (irix___restrict): Remove.
35         (irix___generic1): Remove.
36         (irix___generic2): Remove.
37         (irix_asm_apostrophe): Remove.
38         (irix_complex): Remove.
39         (irix_pthread_init): Remove.
40         (irix_socklen_t): Remove.
41         (irix_stdint_c99_mode): Remove.
42         (irix_stdint_c99_types): Remove.
43         (irix_stdint_c99_macros): Remove.
44         (irix_stdio_va_list): Remove IRIX 6.5 support.
45         (irix_wcsftime): Remove.
46         (stdio_va_list): Remove IRIX 6.5 support.
47         (svr4_profil): Remove IRIX bypass.
48         * fixincl.x: Regenerate.
50         * tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
51         * tests/base/internal/math_core.h: Remove.
52         * tests/base/internal/sgimacros.h: Remove.
53         * tests/base/internal/wchar_core.h: Remove.
54         * tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
55         support.
56         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
57         * tests/base/stdint-irix65.h: Remove.
58         * tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
59         * tests/base/sys/asm.h: Remove.
60         * tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
62 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
64         * inclhack.def (alpha___extern_prefix): Remove.
65         (alpha___extern_prefix_standards): Remove.
66         (alpha___extern_prefix_sys_stat): Remove.
67         (alpha_bad_lval): Remove.
68         (alpha_pthread): Remove.
69         (alpha_pthread_gcc): Remove.
70         (alpha_pthread_init): Remove.
71         * fixincl.x: Regenerate.
72         * tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
73         [ALPHA_PTHREAD_GCC_CHECK]: Remove.
74         [ALPHA_PTHREAD_INIT_CHECK]: Remove.
75         * tests/base/standards.h: Remove.
76         * tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
77         Remove.
78         * tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
79         [ALPHA_BAD_LVAL_CHECK]: Remove.
81 2012-03-12  Tristan Gingold  <gingold@adacore.com>
83         * inclhack.def (vms_use_quoted_include,vms_add_missing_braces)
84         (vms_do_not_redeclare_hostalias, vms_decc_builtin)
85         (vms_no_64bit_getopt, vms_forward_declare_struct)
86         (vms_use_fast_setjmp): New fixes.
87         * fixincl.x: Regenerate.
88         * tests/base/rtldef/string.h: Update.
89         * tests/base/rtldef/if.h, tests/base/rtldef/resolv.h,
90         * tests/base/rtldef/setjmp.h, tests/base/rtldef/signal.h,
91         * tests/base/rtldef/stdio.h, tests/base/rtldef/wait.h: New files.
93 2012-01-11  Bruce Korb <bkorb@gnu.org>
94             Steven G. Kargl  <kargl@gcc.gnu.org>
95             Andreas Tobler  <andreast@fgznet.ch>
97         PR bootstrap/51705
98         PR preprocessor/51776
99         * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]].
100         * fixincl.x: Regenerate.
101         * tests/base/sys/cdefs.h: Update.
103         * genfixes: Remove the 'Ver.' from the version check.
105 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
107         * configure: Regenerate.
109 2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
111         * configure: Regenerate.
113 2011-11-16  David Edelsohn  <dje.gcc@gmail.com>
115         * inclhack.def (aix_once_init_[12]): New fixes.
116         * fixincl.x: Regenerate.
117         * tests/base/pthread.h: Update.
119 2011-10-25  Mike Stump  <mikestump@comcast.net>
121         PR target/48851
122         * inclhack.def (void_null): New bypass.
123         * fixincl.x: Regenerate.
125 2011-09-26  Tristan Gingold  <gingold@adacore.com>
127         * inclhack.def (ms_define_can_use_extern_prefix):
128         (vms_use_pragma_extern_model, vms_disable_decc_string_builtins):
129         New fixes.
130         * fixincl.x: Regenerate.
131         * tests/base/rtldef/string.h: New test.
132         * tests/base/rtldef/decc$types.h: Likewise.
133         * tests/base/testing.h: Update
135 2011-09-22  Tristan Gingold  <gingold@adacore.com>
137         * mkfixinc.sh (target): Remove alpha-vms from particular targets.
139 2011-08-23  Steve Ellcey  <sje@cup.hp.com>
141         PR libstdc++/50153
142         * inclhack.def (hpux11_abs): Extend to all hpux machines.
143         * fixincl.x: Regenerate.
145 2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
146             Marc Glisse  <marc.glisse@normalesup.org>
148         PR libstdc++-v3/1773
149         * inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
150         (solaris_longjmp_noreturn, solaris_pow_int_overload)
151         (solaris_std___filbuf): New fixes.
152         * tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
153         tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
154         * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
156 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
158         PR c++/49347
159         * inclhack.def (solaris_posix_spawn_restrict): New fix.
160         * fixincl.x: Regenerate.
161         * tests/base/spawn.h: New test.
163 2011-06-08  Douglas B Rupp  <rupp@gnat.com>
165         * configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add.
166         * configure: Regenerate.
167         * config.h.in: Regenerate.
169 2011-06-06  Peter O'Gorman  <pogma@thewrittenword.com>
171         * inclhack.def (aix_net_if_arp): New fix.
172         * fixincl.x: Regenerate.
173         * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
175 2011-05-17  Tristan Gingold  <gingold@adacore.com>
177         * inclhack.def (solaris_complex_cxx): Fix syntax.
178         * fixincl.x: Regenerate.
180 2011-05-17  Tristan Gingold  <gingold@adacore.com>
182         * check.tpl: Shell-quote testing file.
184 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
186         * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
188 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
190         PR other/46202
191         * Makefile.in (install-strip): New phony target.
192         (all, check, install): Also mark as phony.
194 2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
196         * inclhack.def (irix_pthread_init): New fix.
197         * fixincl.x: Regenerate.
198         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
200 2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
202         PR c++/46024
203         * inclhack.def (solaris_sys_va_list): New fix.
204         * fixincl.x: Regenerate.
205         * tests/base/sys/va_list.h: New test.
207 2010-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
209         * inclhack.def (hpux_htonl): Allow trailing whitespace in select.
210         * fixincl.x: Regenerate.
212 2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
214         * inclhack.def (solaris_cond_init): New fix.
215         * fixincl.x: Regenerate.
216         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
217         [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
219 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
221         * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
222         * fixincl.x: Regenerate.
223         * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
224         * tests/base/sys/feature_tests.h: New file.
226 2010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
227             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
229         PR bootstrap/42798
230         * configure.ac: Check for declaration of 'basename(char *)'.
231         * configure: Regenerate.
233 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
235         * inclhack.def (alpha_wchar): Remove.
236         * fixincl.x: Regenerate.
237         * tests/base/wchar.h: Remove.
239 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
241         * aclocal.m4: Regenerate.
243 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
245         * inclhack.def (alpha_assert): Allow for more whitespace in
246         select.
247         * fixincl.x: Regenerate.
249 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
251         PR target/40722
252         * mkfixinc.sh: Revert the last change for mingw.
254 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
256         * inclhack.def (glibc_strncpy): New fix.
257         * fixincl.x: Regenerate.
258         * tests/base/bits/string2.h: Update.
260 2010-03-23  H.J. Lu  <hongjiu.lu@intel.com>
262         PR target/40722
263         * mkfixinc.sh: Fix stdlib.h for mingw.
265 2010-02-19  Bruce Korb  <bkorb@gnu.org>
267         * inclhack.def: remove vestiges of inadvertently committed changes
269 2010-02-10  Bruce Korb  <bkorb@gnu.org>
271         * README: fix up references to old gcc/fixinc directory
273 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
275         * inclhack.def (solaris_int_limits_3): New fix.
276         * fixincl.x: Regenerate.
277         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
278         test.
280         * inclhack.def (solaris_int_const, solaris_int_limits_1,
281         solaris_int_limits_2 ): Applies to Solaris 2 in general.
282         Remove select.
283         Add mach for *-*-solaris2*.
284         Change second c_fix_arg to select.
285         Remove #pragma ident from test_text.
286         * fixincl.x: Regenerate.
287         * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
288         #pragma trigger text.
289         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
290         SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
292 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
294         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
295         (aix_stdint_2): Likewise.
296         (aix_stdint_3): Likewise.
297         (aix_stdint_4): Likewise.
298         (aix_stdint_5): Likewise.
299         (darwin_stdint_1): Add stdint-darwin.h to files.
300         (darwin_stdint_2): Likewise.
301         (darwin_stdint_3): Likewise.
302         (darwin_stdint_4): Likewise.
303         (darwin_stdint_5): Likewise.
304         (darwin_stdint_6): Likewise.
305         (darwin_stdint_7): Likewise.
306         (hpux_c99_intptr): Add stdint-hpux11.h to files.
307         (hpux_c99_inttypes): Likewise.
308         (hpux_c99_inttypes2): Likewise.
309         (hpux_stdint_least_fast): Likewise.
310         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
311         (irix_stdint_c99_types): New fix.
312         (irix_stdint_c99_macros): New fix.
313         (newlib_stdint_1): Add stdint-newlib.h to files.
314         (newlib_stdint_2): Likewise.
315         fixincl.x: Regenerate.
316         tests/base/stdint-aix.h: New file.
317         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
318         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
319         tests/base/stdint-aix.h: ... here.
320         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
321         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
322         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
323         tests/base/stdint-darwin.h: New file.
324         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
325         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
326         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
327         tests/base/stdint-darwin.h: ... here.
328         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
329         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
330         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
331         tests/base/stdint-hpux11.h: New file.
332         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
333         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
334         tests/base/stdint-hpux11.h: ... here.
335         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
336         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
337         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
338         IRIX_STDINT_C99_MODE_CHECK.
339         tests/base/stdint-irix65.h: New file.
340         tests/base/stdint-newlib.h: New file.
341         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
342         NEWLIB_STDINT_2_CHECK]: Moved ...
343         tests/base/stdint-newlib.h: ... here.
345 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
347         * configure: Regenerate.
349 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
351         * inclhack.def (hpux_stdint_least_fast): Simplify.
352         * fixincl.x: Regenerate.
353         * tests/base/stdint.h: Update.
355 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
357         * inclhack.def (isc_fmod, isc_omits_with_stdc)
358         (nested_sys_limits, sco_math): Remove.
359         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
360         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
361         * tests/base/sys/limits.h: Remove.
362         * fixincl.x: Regenerate.
364 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
366         PR testsuite/29737
367         PR bootstrap/35938
368         PR testsuite/39655
369         * check.tpl: Fix typos.
370         * README: Likewise.  Also, document that 'select' uses ERE.
371         * mkheaders.in: Update copyright years in --version output.
372         * inclhack.def (sco_math): Add missing final newline in sed
373         script 'a', 'c', or 'i' commands, for BSD sed.
374         (sco_math): In the text of 'a', 'c', or 'i' sed
375         commands, prepend leading white space with a backslash to avoid
376         the whitespace to be removed by BSD sed.
377         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
378         (x11_new): Fix sed expression, for BSD sed.
379         (glibc_mutex_init): Fix newlines in sed 's' command replacement
380         part, for GNU sed 3.02 and Solaris sed.
381         (glibc_mutex_init): Replace unportable \+ sed regex operator
382         with \{1,\}.
383         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
384         alternation \| regex operator.
385         (solaris_complex): Remove superfluous backslashes from
386         replacement string.  Replace \+ operator with \{1,\}.
387         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
388         * fixincl.x: Regenerate.
390 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
392         PR libfortran/41169
393         * inclhack.def (irix_complex): New fix.
394         (solaris_complex): Likewise.
395         * fixincl.x: Regenerate.
396         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
397         New tests.
399 2009-08-28   Bruce Korb <bkorb@gnu.org>
400              Steve Ellcey  <sje@cup.hp.com>
402         * README (files): Describe files entry.
403         * inclhack.def (hpux_stdint_least): Remove.
404         (hpux_stdint_fast): Remove.
405         (hpux_stdint_fast): Remove.
406         (hpux_stdint_least_fast): New.
407         (hpux_inttype_int_least8_t): Remove.
408         (hpux_inttype_int8_t): Modify.
409         * fixincl.x: Regenerate.
410         * tests/base/stdint.h: Update.
411         * tests/base/sys/_inttypes.h: Update.
413 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
415         * inclhack.def (hpux_imaginary_i): Remove spaces.
416         * fixincl.x: Regenerate.
417         * tests/base/stdint.h: Update AIX fixes. 
418         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
420 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
422         * configure.ac (AC_PREREQ): Bump to 2.64.
424 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
426         * aclocal.m4: Regenerate.
427         * configure: Regenerate.
428         * config.h.in: Regenerate.
430 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
432         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
433         redefine I.
434         * (aix_stdint_[12345]): New fixes.
435         * fixincl.x: Regenerate.
436         * tests/base/complex.h: Update check.
437         * tests/base/stdint.h: Add AIX stdint.h checks.
439 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
441         * inclhack.def (hpux_imaginary_i): New fix.
442         * fixincl.x: Regenerate.
443         * tests/base/complex.h: New file.
445 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
447         * inclhack.def (aix_complex): New fix.
448         * fixincl.x: Regenerate.
449         
450 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
452         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
453         (hpux_inttype_int8_t): Likewise.
454         * fixincl.x: Regenerate.
456 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
458         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
459         New variables.
460         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
461         Use them.
463 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
465         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
466         darwin_stdint_7): New fixes.
467         * fixincl.x: Regenerate.
468         * tests/base/stdint.h: Adjust test for new fixes.
470 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
472         * inclhack.def (solaris_int_types): New fix.
473         * fixincl.x: Regenerate.
474         * tests/base/sys/int_types.h: New file.
476 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
478         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
479         darwin_stdint_4): New fixes.
480         * tests/base/stdint.h: Adjust test results for new fixes.
481         * fixincl.x: Regenerate.
483 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
485         * inclhack.def (solaris_int_const): New fix.
486         (solaris_int_limits_1): Likewise.
487         (solaris_int_limits_2): Likewise.
488         * fixincl.x: Regenerate.
489         * tests/base/sys/int_const.h: New file.
490         * tests/base/sys/int_limits.h: Likewise.
492 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
494         * inclhack.def (glibc_tgmath): Correct bypass.
495         * fixincl.x: Regenerate.
497 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
499         * inclhack.def (hpux11_uint32_c): Remove.
500         (hpux_long_double): Disable on hpux11.3*.
501         (hpux_long_double_2): New.
502         (hpux_c99_intptr): New.
503         (hpux_c99_inttypes): New.
504         (hpux_c99_inttypes2): New.
505         (hpux_stdint_least): New.
506         (hpux_stdint_fast): New.
507         (hpux_inttype_int_least8_t): New.
508         (hpux_inttype_int8_t): New.
509         * fixincl.x: Regenerate.
510         * tests/base/sys/_inttypes.h: New.
511         * tests/base/inttypes.h: Update.
512         * tests/base/stdlib.h: Update.
513         * tests/base/stdint.h: Update.
515 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
517         * inclhack.def (glibc_stdint): New fix.
518         * fixincl.x: Regenerate.
519         * tests/base/stdint.h: Update.
521 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
523         * Makefile.in: Change copyright header to refer to version
524         3 of the GNU General Public License and to point readers at the
525         COPYING3 file and the FSF's license web page.
526         * fixfixes.c: Likewise.
527         * fixinc.in: Likewise.
528         * fixincl.c: Likewise.
529         * fixlib.c: Likewise.
530         * fixlib.h: Likewise.
531         * fixopts.c: Likewise.
532         * fixtests.c: Likewise.
533         * genfixes: Likewise.
534         * mkheaders.in: Likewise.
535         * system.h: Likewise.
537 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
539         PR c/448
540         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
541         * fixincl.x: Regenerate.
542         * tests/base/stdint.h: Update.
544 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
546         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
547         Update.
549 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
551         PR c/456
552         PR c/5675
553         PR c/19976
554         PR c/29116
555         PR c/31871
556         PR c/35198
557         * inclhack.def (glibc_tgmath): New fix.
558         * fixincl.x: Regenerate.
559         * tests/base/tgmath.h: New.
561 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
563         * inclhack.def (aix_syswait, exception_structure,
564         pthread_page_size): Remove.
565         (math_exception): Remove mention of fixproto in comment.
566         * fixincl.x: Regenerate.
567         * mkheaders.in: Do not handle STMP_FIXPROTO.
569 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
571         * server.c (run_shell): Quote directory name passed to cd.
573 2009-03-01  Bruce Korb  <bkorb@gnu.org>
574         Apply a positively ancient patch:
576         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
578         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
579         * tests/base/net/if.h: Add new test.
581 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
583         * tests/base/locale.h: Add new test.
584         * tests/base/stdarg.h: Likewise.
586 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
588         * inclhack.def (hpux_spu_info):  Add files line.
589         * fixincl.x: Regenerate.
591 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
593         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
594         in case of C.
595         * fixincl.x: Regenerate.
597 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
599         PR target/35460
600         * inclhack.def (openbsd_va_start): Use __builtin_va_start
601         for OpenBSD.
602         * fixincl.x: Regenerate.
604 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
606         * configure: Regenerate.
608 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
610         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
611         * fixincl.x: Regenerate.
613 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
615         * configure.ac: Fix a typo.
616         * configured: Regenerate.
618 2008-09-06  Bruce Korb  <bkorb@gnu.org>
620         * fixincl.tpl (sed): make the program executable configurable.
621         Some platforms have some rather oddball defaults.
622         * config.h.in (SED_PROGRAM): define the default sed.
623         * fixincl.x: regenerated
624         * tests/base/internal/wchar_core.h: fix bad sample text
625         * tests/base/math.h: fix bad sample text
626         * configure.ac: search for working sed
627         * inclhack.def (glibc_mutex_init): fix non-portable construct
628         and re-order a few misordered entries.
630 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
632         * configure: Regenerate.
634 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
636         * inclhack.def (AAB_svr4_replace_byteorder,
637         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
638         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
639         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
640         solaris_mutex_init_1, solaris_socket, solaris_unistd,
641         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
642         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
643         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
644         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
645         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
646         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
647         windiss_math2, windiss_valist): Remove.
648         * fixincl.x: Regenerate.
649         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
650         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
651         powerpc-*-eabiaix*): Remove.
652         * tests/base/math.h: Update.
653         * tests/base/pthread.h: Update.
654         * tests/base/stdio.h: Update.
655         * tests/base/stdlib.h: Update.
656         * tests/base/string.h: Update.
657         * tests/base/strings.h: Update.
658         * tests/base/sys/file.h: Update.
659         * tests/base/sys/limits.h: Update.
660         * tests/base/sys/socket.h: Update.
661         * tests/base/sys/stat.h: Update.
662         * tests/base/sys/time.h: Update.
663         * tests/base/testing.h: Update.
664         * tests/base/unistd.h: Update.
665         * tests/base/_G_config.h: Remove.
666         * tests/base/arpa: Remove directory.
667         * tests/base/fs: Remove directory.
668         * tests/base/locale.h: Remove.
669         * tests/base/machine: Remove directory.
670         * tests/base/rpc/svc.h: Remove.
671         * tests/base/sys/ioctl.h: Remove.
672         * tests/base/sys/regset.h: Remove.
673         * tests/base/sys/times.h: Remove.
674         * tests/base/sys/utsname.h: Remove.
675         * tests/base/widec.h: Remove.
677 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
679         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
680         * tests/base/iso/math_c99.h: Update.
681         * fixincl.x: Regenerate.
683 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
685         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
686         posix_types_64.
687         * fixincl.x: Regenerate.
689 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
691         * fixincl.c (fix_with_system): Cast pointer difference to long.
692         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
694 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
696         PR bootstrap/35457
697         * Makefile.in: Rewrite aclocal.m4 rule.
698         * aclocal.m4: Regenerate.
699         * configure: Regenerate.
701 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
703         PR c++/20366
704         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
705         * fixincl.x: Regenerate.
706         * tests/base/stdio.h: Add test.
708 2008-02-25  Ben Elliston  <bje@au.ibm.com>
710         PR other/32948
711         * fixincl.c (fix_applies): Remove unused variable `name_len'.
713 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
715         * inclhack.def (solaris_math_10): New.
716         * tests/base/iso/math_c99.h: Update.
718         * fixincl.x: Regenerate.
720 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
722         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
723         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
724         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
725         quotes around mach entries.
726         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
727         to GPLv3.
729 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
731         PR other/31405
732         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
733         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
734         __extern_inline|__GNU_STDC_INLINE__.
735         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
736         <bypass>: Change from __STDC_VERSION__ to
737         __extern_inline|__GNU_STDC_INLINE__.
738         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
739         appending attribute-gnu_inline.
740         <second c_fix_arg>: Remove.
741         <test_text>: Remove __extern_inline line.
742         * tests/base/features.h: Re-add.
743         * tests/base/sys/sysmacros.h: Adjust.
744         * fixincl.x: Regenerate.
746 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
748         Revert last change.
750 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
752         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
753         * fixincl.x: Regenerate.
754         * tests/base/wchar.h: Update.
755         * tests/base/features.h: New.
757 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
759         PR target/33700
760         * inclhack.def (hpux11_pthread_const): New.
761         * fixincl.x: Regenerate.
762         * tests/base/sys/pthread.h: Update.
764 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
766         * configure.ac: x86_64 mingw target uses twoprocess.
767         * mkfixinc.sh: Add x86_64 mingw target.
768         * configure: Regenerate.
770 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
772         * inclhack.def (darwin_externc): New.
773         * fixincl.x: Regenerate.
774         * tests/base/mach-o/swap.h: New.
776 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
778         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
779         Delete fixes.
780         * tests/base/iso/math_c99.h: Delete associated test baselines.
781         * fixincl.x: Regenerate.
783 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
785         PR target/30058
786         * inclhack.def (netbsd_c99_inline_2): New.
787         * fixincl.x: Regenerate.
788         * tests/base/signal.h: Update.
790 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
792         PR target/32641
794         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
795         solaris_math_7): Constify and make FP exception-safe.
796         * tests/base/iso/math_c99.h: Update.
798         * fixincl.x: Regenerate.
800 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
802         PR libgcj/28190
803         * inclhack.def (irix_stdint_c99): New fix.
804         * fixincl.x: Regenerate.
805         * tests/base/stdint.h: New test.
807 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
809         PR testsuite/31828
810         * inclhack.def (hppa_hpux_fp_macros): New.
811         * fixincl.x: Regenerate.
812         * tests/base/math.h: Update.
814 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
816         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
817         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
818         __STDC_VERSION__ < 199901L.
819         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
820         with #ifdef __GNUC_GNU_INLINE__.
821         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
822         with defined(__GNUC_STDC_INLINE__).
823         (glibc_c99_inline_4): Change select, add second c_fix_arg.
824         Replace #if __STDC_VERSION__ < 199901L with
825         #ifdef __GNUC_GNU_INLINE__.
826         * fixincl.x: Regenerated.
827         * tests/base/bits/string2.h: Update.
828         * tests/base/sys/sysmacros.h: Update.
829         * tests/base/sys/stat.h: Update.
831 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
833         PR target/30058
834         * inclhack.def (netbsd_c99_inline_1): New.
835         * fixincl.x: Regenerate.
836         * tests/base/signal.h: New.
838 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
840         * Makefile.in: Add dummy "install-info" target.
842 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
844         * mkheaders.in: Fix headers for each multilib required.
846 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
848         * Makefile.in: Add dummy install-pdf target.
850 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
852         * mkheaders.in (incdir): Use include-fixed not include.
854 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
856         * Makefile.in: Added "pdf" target to .PHONY.
858 2007-02-05  Richard Guenther  <rguenther@suse.de>
860         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
861         with older glibc.  Adjust version number for C99.
862         * fixincl.x: Regenerated.
864 2007-02-04  Mike Stump  <mrs@apple.com>
866         * mkheaders.in: Allow optional isysroot parameter.
868 2007-02-03  Bruce Korb <bkorb@gnu.org>
870         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
871         surrounded by space characters.
873 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
875         PR target/30272
876         * inclhack.def(broken_cabs): Also remove definition of cabsl.
877         * fixincl.x: Regenerate.
878         * tests/base/math.h: Update.
880 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
881             Daniel Franke <franke.daniel@gmail.com>
883         PR target/30008
884         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
885         of a vertical bar ("|").
886         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
887         matching.  Set SKIP_TEST flag if we are not to run a test.
888         * fixincl.x: Regenerate.
889         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
890         kandr_concat, sco_math): Replace lists of specfic file names by search
891         patterns.
893 2006-12-12  Olivier Hainque  <hainque@adacore.com>
895         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
896         targets for which a no-op fixer is appropriate.
897         
898 2006-11-07  Richard Guenther  <rguenther@suse.de>
900         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
901         systems.
902         * fixincl.x: Regenerate.
904 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
906         * inclhack.def (glibc_c99_inline_1): New.
907         * inclhack.def (glibc_c99_inline_2): New.
908         * inclhack.def (glibc_c99_inline_3): New.
909         * inclhack.def (glibc_c99_inline_4): New.
910         * fixincl.x: Regenerate.
911         * tests/base/bits/string2.h: New.
912         * tests/base/sys/sysmacros.h: New.
913         * tests/base/sys/stat.h: Update.
915 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
917         * tests/base/sys/socket.h: Update.
919 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
921         * inclhack.def (hpux11_extern_sendfile): New.
922         (hpux11_extern_sendpath): New.
923         * fixincl.x: Regenerate.
925 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
927         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
928         * fixincl.x: Regenerate.
930 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
932         * Makefile.in: Added empty "pdf" target.
934 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
936         PR target/29300
937         * inclhack.def (hpux_pthread_initializers): New hack.
938         * tests/base/sys/pthread.h: New file.
940         * fixincl.x: Regenerate.
942 2006-10-03  Uros Bizjak <uros@kss-loka.si>
944         * inclhack.def (glibc_mutex_init): Also fix
945         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
946         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
947         * tests/base/pthread.h: Update.
949         * fixincl.x: Regenerate.
951 2006-10-01  Uros Bizjak <uros@kss-loka.si>
953         * inclhack.def (glibc_mutex_init): New fix.
954         * tests/base/pthread.h: Update.
956         * fixincl.x: Regenerate.
958 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
960         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
961         Prevent it from running on solaris10 or later.
962         (solaris_once_init_2): Fix comment.
963         * tests/base/pthread.h: Update.
965         * fixincl.x: Regenerate.
967 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
969         * inclhack.def (solaris_once_init_2): New fix.
970         * tests/base/pthread.h: Update.
972         * fixincl.x: Regenerate.
974 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
976         * inclhack.def (solaris_mutex_init_2): Remove test for
977         PTHREAD_RWLOCK_INITIALIZER.
978         (solaris_rwlock_init_1): New.
979         * tests/base/pthread.h: Update.
981         * inclhack.def (solaris_once_init_1): New.
982         * tests/base/pthread.h: Adjust for new fix.
983         
984         * fixincl.x: Regenerate.
986 2006-07-17  Roger Sayle  <roger@eyesopen.com>
988         * tests/base/errno.h: New file.
989         * tests/base/architecture/ppc/math.h: Likewise.
990         * tests/base/ia64/sys/getppdp.h: Likewise.
992 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
994         PR bootstrap/20437
995         * Makefile.in (configure, config.h.in): Change into $(srcdir)
996         before autoconf or autoheader call.
998 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
1000         PR target/28084
1001         * inclhack.def (hpux_extern_errno): New.
1002         * fixincl.x: Regenerate.
1004 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
1006         * Makefile.in: Add dvi info html and install-html to .PHONY
1007         Add install-html target.
1009 2006-05-16  Mike Stump  <mrs@apple.com>
1011         * configure.ac: Add -Wno-overlength-strings.
1012         * configure: Regenerate.
1014 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
1016         * README: Fix typo.
1018 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
1020         PR target/26189
1021         * inclhack.def (hpux_spu_info): New.
1022         * fixincl.x: Regenerate
1024 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
1026         * configure.ac: Check for asprintf, basename, vasprintf.
1027         * config.h.in: Regenerate.
1028         * configure: Regenerate.
1030 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
1032         PR target/15642
1033         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
1034         __APPLE_CC_ as 1345.
1035         (broken_nan): New.
1036         * fixincl.x: Regenerate.
1038 2005-11-24  Bruce Korb  <bkorb@gnu.org>
1040         * fixincl.c (write_replacement): "here strings" in AutoGen
1041         often/generally don't have a terminating newline.  Check the
1042         last byte for '\n'.
1044 2005-11-13  Andreas Jaeger  <aj@suse.de>
1046         * check.tpl: Handle CVS additionally.
1048 2005-11-05  Andreas Jaeger  <aj@suse.de>
1050         * check.tpl: Adopt for move to subversion.
1052 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
1054         PR c++/23139
1055         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
1056         fixes.
1057         * fixincl.x: Regenerate.
1058         * tests/base/bits/huge_val.h: New file.
1060 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
1062         * All files: Update with new FSF address.
1064 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1066         * Makefile.in (WARN_CFLAGS): New.
1067         (.c.o): Add $(WARN_CFLAGS).
1068         * aclocal.m4: Include ../config/warnings.m4.
1069         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
1070         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
1071         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
1072         * fixopts.c (initialize_opts): Fix old-style definintion.
1074         * configure: Regenerate.
1076 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
1078         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
1079         (AAB_darwin7_9_long_double_funcs_2): New.
1080         * fixincl.x: Regenerate.
1082 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1084         PR libfortran/15266
1085         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
1086         Use double quotes in select so \t matches tabs.
1087         Add IRIX testcase.
1088         * fixincl.x: Regenerate.
1089         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
1091 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
1093         PR target/21683
1094         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1096 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
1097             Joseph S. Myers  <joseph@codesourcery.com>
1099         PR target/19933
1100         PR target/21315
1101         * inclhack.def: New fixes solaris_math_[1-9].
1102         * fixincl.x: Regenerate.
1103         * tests/base/iso/math_c99.h: New.
1105 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
1107         * aclocal.m4: Remove superfluous reference to accross.m4.
1109 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1111         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
1112         * server.c (load_data): Likewise.
1113         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
1114         * fixincl.c: #include <sys/wait.h>
1115         (run_compiles): Use XCNEWVEC instead of xcalloc.
1116         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
1117         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
1119 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
1121         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
1122         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
1123         * fixincl.x: Regenerate.
1125 2005-05-06  Bruce Korb  <bkorb@gnu.org>
1126         Joseph S. Myers <joseph@codesourcery.com>
1128         * fixinc/inclhack.def: Correct backslashes
1129         * fixinc/fixincl.x: regen
1131 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1133         * system.h (fopen, fdopen, freopen): Define these to the unlocked
1134         libiberty functions.
1136 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1138         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
1139         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
1140         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
1141         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
1142         _unlocked function.
1143         (fwrite_unlocked): Fix prototype.
1145         * configure, config.h.in: Regenerate.
1147 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1149         * Makefile.in: Set gcc_version directly, not via substitution.
1150         (libsubdir): Use $(gcc_version), not $(version).
1151         (mkheaders.almost): New rule.
1152         (mkheaders): Generate from mkheaders.almost.
1153         (clean): Also delete mkheaders.almost.
1154         * aclocal.m4: Do not include ../config/gcc-version.m4.
1155         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
1156         mkheaders.almost from mkheaders.in.
1157         * configure: Regenerate.
1159 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
1161         PR target/20166
1162         * inclhack.def: Add fix for array of incomplete structures
1163         in function prototype in pthread.h.
1164         * fixincl.x: Regenerate.
1165         * tests/base/pthread.h: Adjust.
1167 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
1169         * inclhack.def (hpux_htonl): New fix.
1170         * tests/base/netinet/in.h: New test.
1171         * fixincl.x: Regenerate.
1173 2005-02-23  James E Wilson  <wilson@specifixinc.com>
1175         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
1177 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
1179         PR 18458
1180         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
1181         fixincl.
1183 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
1185         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1186         * aclocal.m4: Include ../config/gcc-version.m4.
1187         * configure: Regenerate.
1189 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
1191         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
1192         (stdio_va_list): Likewise.
1193         (stdio_stdarg.h): Likewise.
1194         (solaris_stdio_tag): Add bypass.
1195         * fixincl.x: Regenerated.
1197 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
1199         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
1200         built fixincl program.
1201         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
1202         up csh from user.
1204 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1206         * inclhack.def (alpha_pthread_init): Fix technical problems with
1207         the last check-in caused by CVS variable substitution.
1208         * fixincl.x: Likewise.
1209         * tests/base/pthread.h: Likewise.
1211 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1212             Bruce Korb  <bkorb@gnu.org>
1214         * inclhack.def (alpha_pthread_init): New fix.
1215         * fixincl.x: Regenerate.
1216         * tests/base/pthread.h: Update for new test.
1218 2004-11-15  Bruce Korb  <bkorb@gnu.org>
1220         * fixincl.c(fix_with_system): correct misuse of variables and
1221         incorrect application of "sizeof()".
1223 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
1225         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1226         svr4__p, undefine_null): Remove.
1227         * fixincl.x: Regenerate.
1228         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1229         * tests/base/sys/param.h: Remove.
1230         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1231         tests/base/sys/limits.h: Update.
1233 2004-11-12  Mike Stump  <mrs@apple.com>
1235         * Makefile.in (html): Add html generation support.
1237 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
1239         * inclhack.def (sco_math): Bypass on __GNUG__.
1240         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1241         * fixincl.x: Regenerate.
1243 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
1245         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1246         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1247         _CLASSIC_ANSI_TYPES.
1248         (sun_auth_proto): Bypass on __cplusplus.
1249         * fixincl.x: Regenerate.
1251 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
1253         * Makefile.in (mostlyclean): Add fixinc.sh.
1254         (clean): Add mkheaders.
1255         (distclean): New.
1256         (dvi): New.
1257         (info): New.
1258         (installcheck): New.
1260 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
1262         * Makefile.in (mostlyclean, distclean): New targets.
1264 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
1266         * configure.ac: Add code to determine noncanonical_target,
1267         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1268         * configure: Regenerate.
1269         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1270         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1271         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1272         update for changes to fixinc.in.
1273         * Makefile.in: Add many new macros.
1274         (install): New target.
1275         (mkheaders): New target.
1276         (fixinc.sh): New target.
1277         (all): Add mkheaders and fixinc.sh.
1278         * README-fixinc: Move here from gcc/.
1280 2004-11-01  Mike Stump  <mrs@apple.com>
1282         * inclhack.def (stdio_va_list): Break out clients from here...
1283         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
1284         included or ifdef va_start.
1285         * fixincl.x: Regenerate.
1287 2004-10-28  Mike Stump  <mrs@apple.com>
1289         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1290         systems.
1291         * fixincl.x: Regenerate.
1293 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1295         * inclhack.def (darwin_gcc4_breakage): New.
1296         * fixincl.x: Regenerate.
1298 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1300         PR bootstrap/17832
1302         * fixfixes.c (main): Check for _PC_NAME_MAX.
1304 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1306         PR other/17991
1308         * configure.ac: Fix typo.
1309         * configure: Regenerate.
1310         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1312 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1314         PR bootstrap/17832
1316         * fixincl.c (SIGCHLD): Remove definition.
1317         (initialize): Remove SIGIOT and SIGPIPE checks.
1318         (create_file): Fix mkdir() for Win32.
1319         (internal_fix): Use dup2() instead of fcntl().
1321         * fixlib.h (SIGQUIT): Define if undefined.
1322         (SIGIOT): Same.
1323         (SIGPIPE): Same.
1324         (SIGALRM): Same.
1325         (SIGKILL): Same.
1327         * procopen.c (chain_open): Use dup2() instead of fcntl().
1329 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1331         PR other/17991
1333         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1334         Update copyright year.
1335         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1336         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1337         do not include code for parsing options (environment vars).
1338         (fix_with_system): Use a search path for applyfix, so that you
1339         can run the test suite with two-process fixincludes.
1340         * fixopts.c: New file.
1341         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1342         to config.h.  Default to --enable-twoprocess for MinGW32.
1343         * config.h.in: Regenerate.
1344         * configure: Regenerate.
1346 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1348         * tests/base/sys/cdefs.h: Update from test area.
1350 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1352         * inclhack.def (linux_ia64_ucontext): New fix.
1353         * fixincl.x: Regenerate.
1354         * tests/base/sys/ucontext.h: New file.
1356 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1358         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1359         * tests/base/stdlib.h: Likewise.
1361 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1363         * inclhack.def (freebsd_gcc4_breakage): Add.
1364         * fixincl.x: Regenerate.
1365         * tests/base/sys/cdefs.h: Update for new test.
1367 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1369         * inclhack.def (lynx_void_int): Remove.
1370         (lynxos_fcntl_proto): Remove.
1371         (lynxos_no_warning_in_sys_time_h): New fix.
1372         (lynxos_missing_putenv): New fix.
1373         * fixincl.x: Regenerate.
1374         * tests/base/fcntl.h: Remove.
1375         * tests/base/sys/time.h: Update from test area.
1376         * tests/base/curses.h: Likewise.
1377         * tests/base/stdlib.h: Likewise.
1379 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1381         * inclhack.def: Suppress exception_structure and math_exception
1382         for NetWare headers.
1383         * fixincl.x: Regenerate.
1385 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1387         * .cvsignore: New.
1388         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1389         autoconfiscated.
1390         * configure.ac: New.
1391         * config.h.in: Generate.
1392         * configure: Generate.
1393         * aclocal.m4: New.
1394         * fixlib.h: Remove inclusions of gcc files.
1395         * system.h: New.
1397         Other files copied from gcc/fixinc.