* [SH] Add -mlra option.
[official-gcc.git] / fixincludes / ChangeLog
blob571b6d17f603708a719629ba3b4f5c71fcc46ce0
1 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
3         * server.c (server_setup): Check return value of
4         getcwd and in case of error set buff[0] to 0.
6 2014-10-21  Uros Bizjak  <ubizjak@gmail.com>
8         * inclhack.def (glibc_c99_inline_4): Add pthread.h to files.
9         * fixincl.x: Regenerate.
11 2014-08-04  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13         * inclhack.def (complier_h_tradcpp): Remove.
14         * fixincl.x: Regenerate.
15         * tests/base/linux/compiler.h: Remove.
17 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
19         * inclhack.def (math_exception): Bypass on *-*-solaris2.1[0-9]*.
20         (solaris_int_types): Remove.
21         (solaris_longjmp_noreturn): Remove.
22         (solaris_mutex_init_2): Remove.
23         (solaris_once_init_2): Remove.
24         (solaris_sys_va_list): Remove.
25         * fixincl.x: Regenerate.
26         * tests/base/iso/setjmp_iso.h: Remove.
27         * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]: Remove.
28         [SOLARIS_ONCE_INIT_1_CHECK]: Remove wrapping done by
29         solaris_once_init_2.
30         [SOLARIS_ONCE_INIT_2_CHECK]: Remove.
31         * tests/base/sys/int_types.h: Remove.
32         * tests/base/sys/va_list.h: Remove.
34 2013-12-20  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
36         Makefile.in: Use $(FI) instead of fixincl@EXEEXT@.
38 2013-12-07  Bruce Korb  <bkorb@gnu.org>
40         * inclhack.def: many of the headers found under "bits/" are
41         often stashed under architecture directories.  Apply fixes
42         to those, too.  Also, re-ordered misordered fixes.
43         * tests/base/linux/vt.h: 80 columns in .def file limitation
44         * tests/base/iso/math_c99.h: adjust ordering
45         * tests/base/rtldef/string.h: likewise
46         * tests/base/bits/fenv.h: likewise
47         * tests/base/pthread.h: likewise
49 2013-12-06  Richard Biener  <rguenther@suse.de>
51         * inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h
52         being not compatible with C++.
53         * fixincl.x: Regenerate.
54         * tests/base/linux/vt.h: New test.
56 2013-09-20  Alan Modra  <amodra@gmail.com>
58         * configure: Regenerate.
60 2013-09-02  David Edelsohn  <dje.gcc@gmail.com>
62         * inclhack.def (aix_assert): New fix.
63         * fixincl.x: Regenerate.
64         * tests/base/assert.h [AIX_ASSERT_CHECK]: New check.
66 2013-07-06  Bruce Korb  <bkorb@gnu.org>
68         * inclhack.def (cdef_cplusplus): removed, per Bug 51776
69         * tests/base/sys/cdefs.h (CDEF_CPLUSPLUS_CHECK): obsolete
71 2013-05-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
73         * inclhack.def (complier_h_tradcpp): New.
74         * fixincl.x: Rebuilt.
75         * tests/base/linux/compiler.h: New.
77 2013-05-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
79         * inclhack.def (solaris_pow_int_overload): Update comment.
80         Change guard to match <cmath>.
81         * fixincl.x: Regenerate.
82         * tests/base/iso/math_iso.h [SOLARIS_POW_INT_OVERLOAD_CHECK]:
83         Matching change.
85 2013-05-04  David Edelsohn  <dje.gcc@gmail.com>
87         * inclhack.def (aix_null): New.
88         (void_null): Update replacement definition of NULL.
89         * fixincl.x: Regenerate.
90         * tests/base/curses.h: Update for new fix.
92 2013-01-16  Alexandre Oliva  <aoliva@redhat.com>
94         * inclhack.def (feraiseexcept_nosse_invalid): New.
95         (feraiseexcept_nosse_divbyzero): Likewise.
96         * fixincl.x: Rebuilt.
97         * tests/base/bits/fenv.h: New.
99 2013-01-14  Richard Biener  <rguenther@suse.de>
101         * fixlib.h (verbose_level, fixinc_mode): Mark extern.
103 2012-10-29  Bruce Korb  <bkorb@gnu.org>
105         * README: testing wrap and replacement fixes is pointless.
106         * fixincl.c: export verbosity enumerations to fixlib.h
107         (run_compiles): mark replacement fixes to be skipped when
108         in testing mode
109         * fixlib.h: add a test mode and enumerations from fixincl.c
110         * check.tpl: set TEST_MODE in environment
111         * fixopts.c (initialize_opts): check for TEST_MODE in environment
112         * inclhack.def: move AAB_darwin7_9_long_double_funcs to
113         darwin_9_long_double_funcs_2.  It is not a replacement fix.
114         * fixincl.x: regenerate
115         * tests/base/ioLib.h: the need for this is now exposed, so add it.
116         * tests/base/architecture/ppc/math.h: the correct result is now needed.
118 2012-10-29  Robert Mason  <rbmj@verizon.net>
120         * fixinc.in: Omit machine name checks for vxworks
121         * fixincludes/inclhack.def (AAB_vxworks_assert) new replacement fix
122         (AAB_vxworks_regs_vxtypes): another
123         (AAB_vxworks_stdint): yet another
124         (AAB_vxworks_unistd): and another
125         (vxworks_ioctl_macro): reformatting fix
126         (vxworks_mkdir_macro): again
127         (vxworks_regs): and again
128         (vxworks_write_const): and again
129         * tests/base/ioLib.h: new test result
130         * tests/base/math.h: likewise
131         * tests/base/sys/stat.h: likewise
132         * tests/base/testing.h: and again
134 2012-09-29  David Edelsohn  <dje.gcc@gmail.com>
136         * inclhack.def (AAB_aix_fcntl): New fix.
137         * fixincl.x: Regenerate.
139 2012-06-19  David Edelsohn  <dje.gcc@gmail.com>
141         * inclhack.def (aix_mutex_initializer_1): New fix.
142         (aix_cond_initializer_1): New fix.
143         (aix_rwlock_initializer): New fix.
144         * fixincl.x: Regenerate.
145         * tests/base/pthread.h [AIX_MUTEX_INITIALIZER_1_CHECK]: New.
146         [AIX_COND_INITIALIZER_1_CHECK]: New.
147         [AIX_RWLOCK_INITIALIZER_1_CHECK]: New.
149 2012-05-29  Thomas Schwinge  <thomas@codesourcery.com>
151         * configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of
152         gcc_AC_FUNC_MMAP_BLACKLIST.
153         * Makefile.in (ACLOCAL_AMFLAGS): Don't include ../gcc.
154         * aclocal.m4: Regenerate.
155         * configure: Regenerate.
157 2012-04-24  Tristan Gingold  <gingold@adacore.com>
159         * fixincl.c (fix_with_system): Add missing specifier.
160         * configure.ac: Default to twoprocess on vms.
161         * configure: Regenerate.
163 2012-03-23  David Edelsohn  <dje.gcc@gmail.com>
165         * inclhack.def (aix_malloc): New.
166         * fixincl.x: Regenerate.
167         * tests/base/malloc.h [AIX_MALLOC_CHECK]: New.
169 2012-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
171         PR other/52626
172         * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
173         (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
175 2012-03-15  Tristan Gingold  <gingold@adacore.com>
177         * README (EXAMPLES OF FIXES): Update.
179 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
181         * inclhack.def (math_exception): Remove duplicate.
182         (solaris_cond_init): Remove.
183         (solaris_sys_va_list): Remove Solaris 8 support.
184         * fixincl.x: Regenerate.
185         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
187 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
189         * inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
190         (irix___restrict): Remove.
191         (irix___generic1): Remove.
192         (irix___generic2): Remove.
193         (irix_asm_apostrophe): Remove.
194         (irix_complex): Remove.
195         (irix_pthread_init): Remove.
196         (irix_socklen_t): Remove.
197         (irix_stdint_c99_mode): Remove.
198         (irix_stdint_c99_types): Remove.
199         (irix_stdint_c99_macros): Remove.
200         (irix_stdio_va_list): Remove IRIX 6.5 support.
201         (irix_wcsftime): Remove.
202         (stdio_va_list): Remove IRIX 6.5 support.
203         (svr4_profil): Remove IRIX bypass.
204         * fixincl.x: Regenerate.
206         * tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
207         * tests/base/internal/math_core.h: Remove.
208         * tests/base/internal/sgimacros.h: Remove.
209         * tests/base/internal/wchar_core.h: Remove.
210         * tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
211         support.
212         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
213         * tests/base/stdint-irix65.h: Remove.
214         * tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
215         * tests/base/sys/asm.h: Remove.
216         * tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
218 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
220         * inclhack.def (alpha___extern_prefix): Remove.
221         (alpha___extern_prefix_standards): Remove.
222         (alpha___extern_prefix_sys_stat): Remove.
223         (alpha_bad_lval): Remove.
224         (alpha_pthread): Remove.
225         (alpha_pthread_gcc): Remove.
226         (alpha_pthread_init): Remove.
227         * fixincl.x: Regenerate.
228         * tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
229         [ALPHA_PTHREAD_GCC_CHECK]: Remove.
230         [ALPHA_PTHREAD_INIT_CHECK]: Remove.
231         * tests/base/standards.h: Remove.
232         * tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
233         Remove.
234         * tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
235         [ALPHA_BAD_LVAL_CHECK]: Remove.
237 2012-03-12  Tristan Gingold  <gingold@adacore.com>
239         * inclhack.def (vms_use_quoted_include,vms_add_missing_braces)
240         (vms_do_not_redeclare_hostalias, vms_decc_builtin)
241         (vms_no_64bit_getopt, vms_forward_declare_struct)
242         (vms_use_fast_setjmp): New fixes.
243         * fixincl.x: Regenerate.
244         * tests/base/rtldef/string.h: Update.
245         * tests/base/rtldef/if.h, tests/base/rtldef/resolv.h,
246         * tests/base/rtldef/setjmp.h, tests/base/rtldef/signal.h,
247         * tests/base/rtldef/stdio.h, tests/base/rtldef/wait.h: New files.
249 2012-01-11  Bruce Korb <bkorb@gnu.org>
250             Steven G. Kargl  <kargl@gcc.gnu.org>
251             Andreas Tobler  <andreast@fgznet.ch>
253         PR bootstrap/51705
254         PR preprocessor/51776
255         * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]].
256         * fixincl.x: Regenerate.
257         * tests/base/sys/cdefs.h: Update.
259         * genfixes: Remove the 'Ver.' from the version check.
261 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
263         * configure: Regenerate.
265 2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
267         * configure: Regenerate.
269 2011-11-16  David Edelsohn  <dje.gcc@gmail.com>
271         * inclhack.def (aix_once_init_[12]): New fixes.
272         * fixincl.x: Regenerate.
273         * tests/base/pthread.h: Update.
275 2011-10-25  Mike Stump  <mikestump@comcast.net>
277         PR target/48851
278         * inclhack.def (void_null): New bypass.
279         * fixincl.x: Regenerate.
281 2011-09-26  Tristan Gingold  <gingold@adacore.com>
283         * inclhack.def (ms_define_can_use_extern_prefix):
284         (vms_use_pragma_extern_model, vms_disable_decc_string_builtins):
285         New fixes.
286         * fixincl.x: Regenerate.
287         * tests/base/rtldef/string.h: New test.
288         * tests/base/rtldef/decc$types.h: Likewise.
289         * tests/base/testing.h: Update
291 2011-09-22  Tristan Gingold  <gingold@adacore.com>
293         * mkfixinc.sh (target): Remove alpha-vms from particular targets.
295 2011-08-23  Steve Ellcey  <sje@cup.hp.com>
297         PR libstdc++/50153
298         * inclhack.def (hpux11_abs): Extend to all hpux machines.
299         * fixincl.x: Regenerate.
301 2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
302             Marc Glisse  <marc.glisse@normalesup.org>
304         PR libstdc++-v3/1773
305         * inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
306         (solaris_longjmp_noreturn, solaris_pow_int_overload)
307         (solaris_std___filbuf): New fixes.
308         * tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
309         tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
310         * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
312 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
314         PR c++/49347
315         * inclhack.def (solaris_posix_spawn_restrict): New fix.
316         * fixincl.x: Regenerate.
317         * tests/base/spawn.h: New test.
319 2011-06-08  Douglas B Rupp  <rupp@gnat.com>
321         * configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add.
322         * configure: Regenerate.
323         * config.h.in: Regenerate.
325 2011-06-06  Peter O'Gorman  <pogma@thewrittenword.com>
327         * inclhack.def (aix_net_if_arp): New fix.
328         * fixincl.x: Regenerate.
329         * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
331 2011-05-17  Tristan Gingold  <gingold@adacore.com>
333         * inclhack.def (solaris_complex_cxx): Fix syntax.
334         * fixincl.x: Regenerate.
336 2011-05-17  Tristan Gingold  <gingold@adacore.com>
338         * check.tpl: Shell-quote testing file.
340 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
342         * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
344 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
346         PR other/46202
347         * Makefile.in (install-strip): New phony target.
348         (all, check, install): Also mark as phony.
350 2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
352         * inclhack.def (irix_pthread_init): New fix.
353         * fixincl.x: Regenerate.
354         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
356 2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
358         PR c++/46024
359         * inclhack.def (solaris_sys_va_list): New fix.
360         * fixincl.x: Regenerate.
361         * tests/base/sys/va_list.h: New test.
363 2010-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
365         * inclhack.def (hpux_htonl): Allow trailing whitespace in select.
366         * fixincl.x: Regenerate.
368 2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
370         * inclhack.def (solaris_cond_init): New fix.
371         * fixincl.x: Regenerate.
372         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
373         [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
375 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
377         * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
378         * fixincl.x: Regenerate.
379         * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
380         * tests/base/sys/feature_tests.h: New file.
382 2010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
383             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
385         PR bootstrap/42798
386         * configure.ac: Check for declaration of 'basename(char *)'.
387         * configure: Regenerate.
389 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
391         * inclhack.def (alpha_wchar): Remove.
392         * fixincl.x: Regenerate.
393         * tests/base/wchar.h: Remove.
395 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
397         * aclocal.m4: Regenerate.
399 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
401         * inclhack.def (alpha_assert): Allow for more whitespace in
402         select.
403         * fixincl.x: Regenerate.
405 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
407         PR target/40722
408         * mkfixinc.sh: Revert the last change for mingw.
410 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
412         * inclhack.def (glibc_strncpy): New fix.
413         * fixincl.x: Regenerate.
414         * tests/base/bits/string2.h: Update.
416 2010-03-23  H.J. Lu  <hongjiu.lu@intel.com>
418         PR target/40722
419         * mkfixinc.sh: Fix stdlib.h for mingw.
421 2010-02-19  Bruce Korb  <bkorb@gnu.org>
423         * inclhack.def: remove vestiges of inadvertently committed changes
425 2010-02-10  Bruce Korb  <bkorb@gnu.org>
427         * README: fix up references to old gcc/fixinc directory
429 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
431         * inclhack.def (solaris_int_limits_3): New fix.
432         * fixincl.x: Regenerate.
433         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
434         test.
436         * inclhack.def (solaris_int_const, solaris_int_limits_1,
437         solaris_int_limits_2 ): Applies to Solaris 2 in general.
438         Remove select.
439         Add mach for *-*-solaris2*.
440         Change second c_fix_arg to select.
441         Remove #pragma ident from test_text.
442         * fixincl.x: Regenerate.
443         * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
444         #pragma trigger text.
445         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
446         SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
448 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
450         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
451         (aix_stdint_2): Likewise.
452         (aix_stdint_3): Likewise.
453         (aix_stdint_4): Likewise.
454         (aix_stdint_5): Likewise.
455         (darwin_stdint_1): Add stdint-darwin.h to files.
456         (darwin_stdint_2): Likewise.
457         (darwin_stdint_3): Likewise.
458         (darwin_stdint_4): Likewise.
459         (darwin_stdint_5): Likewise.
460         (darwin_stdint_6): Likewise.
461         (darwin_stdint_7): Likewise.
462         (hpux_c99_intptr): Add stdint-hpux11.h to files.
463         (hpux_c99_inttypes): Likewise.
464         (hpux_c99_inttypes2): Likewise.
465         (hpux_stdint_least_fast): Likewise.
466         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
467         (irix_stdint_c99_types): New fix.
468         (irix_stdint_c99_macros): New fix.
469         (newlib_stdint_1): Add stdint-newlib.h to files.
470         (newlib_stdint_2): Likewise.
471         fixincl.x: Regenerate.
472         tests/base/stdint-aix.h: New file.
473         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
474         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
475         tests/base/stdint-aix.h: ... here.
476         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
477         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
478         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
479         tests/base/stdint-darwin.h: New file.
480         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
481         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
482         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
483         tests/base/stdint-darwin.h: ... here.
484         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
485         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
486         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
487         tests/base/stdint-hpux11.h: New file.
488         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
489         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
490         tests/base/stdint-hpux11.h: ... here.
491         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
492         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
493         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
494         IRIX_STDINT_C99_MODE_CHECK.
495         tests/base/stdint-irix65.h: New file.
496         tests/base/stdint-newlib.h: New file.
497         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
498         NEWLIB_STDINT_2_CHECK]: Moved ...
499         tests/base/stdint-newlib.h: ... here.
501 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
503         * configure: Regenerate.
505 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
507         * inclhack.def (hpux_stdint_least_fast): Simplify.
508         * fixincl.x: Regenerate.
509         * tests/base/stdint.h: Update.
511 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
513         * inclhack.def (isc_fmod, isc_omits_with_stdc)
514         (nested_sys_limits, sco_math): Remove.
515         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
516         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
517         * tests/base/sys/limits.h: Remove.
518         * fixincl.x: Regenerate.
520 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
522         PR testsuite/29737
523         PR bootstrap/35938
524         PR testsuite/39655
525         * check.tpl: Fix typos.
526         * README: Likewise.  Also, document that 'select' uses ERE.
527         * mkheaders.in: Update copyright years in --version output.
528         * inclhack.def (sco_math): Add missing final newline in sed
529         script 'a', 'c', or 'i' commands, for BSD sed.
530         (sco_math): In the text of 'a', 'c', or 'i' sed
531         commands, prepend leading white space with a backslash to avoid
532         the whitespace to be removed by BSD sed.
533         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
534         (x11_new): Fix sed expression, for BSD sed.
535         (glibc_mutex_init): Fix newlines in sed 's' command replacement
536         part, for GNU sed 3.02 and Solaris sed.
537         (glibc_mutex_init): Replace unportable \+ sed regex operator
538         with \{1,\}.
539         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
540         alternation \| regex operator.
541         (solaris_complex): Remove superfluous backslashes from
542         replacement string.  Replace \+ operator with \{1,\}.
543         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
544         * fixincl.x: Regenerate.
546 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
548         PR libfortran/41169
549         * inclhack.def (irix_complex): New fix.
550         (solaris_complex): Likewise.
551         * fixincl.x: Regenerate.
552         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
553         New tests.
555 2009-08-28   Bruce Korb <bkorb@gnu.org>
556              Steve Ellcey  <sje@cup.hp.com>
558         * README (files): Describe files entry.
559         * inclhack.def (hpux_stdint_least): Remove.
560         (hpux_stdint_fast): Remove.
561         (hpux_stdint_fast): Remove.
562         (hpux_stdint_least_fast): New.
563         (hpux_inttype_int_least8_t): Remove.
564         (hpux_inttype_int8_t): Modify.
565         * fixincl.x: Regenerate.
566         * tests/base/stdint.h: Update.
567         * tests/base/sys/_inttypes.h: Update.
569 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
571         * inclhack.def (hpux_imaginary_i): Remove spaces.
572         * fixincl.x: Regenerate.
573         * tests/base/stdint.h: Update AIX fixes. 
574         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
576 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
578         * configure.ac (AC_PREREQ): Bump to 2.64.
580 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
582         * aclocal.m4: Regenerate.
583         * configure: Regenerate.
584         * config.h.in: Regenerate.
586 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
588         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
589         redefine I.
590         * (aix_stdint_[12345]): New fixes.
591         * fixincl.x: Regenerate.
592         * tests/base/complex.h: Update check.
593         * tests/base/stdint.h: Add AIX stdint.h checks.
595 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
597         * inclhack.def (hpux_imaginary_i): New fix.
598         * fixincl.x: Regenerate.
599         * tests/base/complex.h: New file.
601 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
603         * inclhack.def (aix_complex): New fix.
604         * fixincl.x: Regenerate.
606 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
608         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
609         (hpux_inttype_int8_t): Likewise.
610         * fixincl.x: Regenerate.
612 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
614         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
615         New variables.
616         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
617         Use them.
619 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
621         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
622         darwin_stdint_7): New fixes.
623         * fixincl.x: Regenerate.
624         * tests/base/stdint.h: Adjust test for new fixes.
626 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
628         * inclhack.def (solaris_int_types): New fix.
629         * fixincl.x: Regenerate.
630         * tests/base/sys/int_types.h: New file.
632 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
634         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
635         darwin_stdint_4): New fixes.
636         * tests/base/stdint.h: Adjust test results for new fixes.
637         * fixincl.x: Regenerate.
639 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
641         * inclhack.def (solaris_int_const): New fix.
642         (solaris_int_limits_1): Likewise.
643         (solaris_int_limits_2): Likewise.
644         * fixincl.x: Regenerate.
645         * tests/base/sys/int_const.h: New file.
646         * tests/base/sys/int_limits.h: Likewise.
648 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
650         * inclhack.def (glibc_tgmath): Correct bypass.
651         * fixincl.x: Regenerate.
653 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
655         * inclhack.def (hpux11_uint32_c): Remove.
656         (hpux_long_double): Disable on hpux11.3*.
657         (hpux_long_double_2): New.
658         (hpux_c99_intptr): New.
659         (hpux_c99_inttypes): New.
660         (hpux_c99_inttypes2): New.
661         (hpux_stdint_least): New.
662         (hpux_stdint_fast): New.
663         (hpux_inttype_int_least8_t): New.
664         (hpux_inttype_int8_t): New.
665         * fixincl.x: Regenerate.
666         * tests/base/sys/_inttypes.h: New.
667         * tests/base/inttypes.h: Update.
668         * tests/base/stdlib.h: Update.
669         * tests/base/stdint.h: Update.
671 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
673         * inclhack.def (glibc_stdint): New fix.
674         * fixincl.x: Regenerate.
675         * tests/base/stdint.h: Update.
677 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
679         * Makefile.in: Change copyright header to refer to version
680         3 of the GNU General Public License and to point readers at the
681         COPYING3 file and the FSF's license web page.
682         * fixfixes.c: Likewise.
683         * fixinc.in: Likewise.
684         * fixincl.c: Likewise.
685         * fixlib.c: Likewise.
686         * fixlib.h: Likewise.
687         * fixopts.c: Likewise.
688         * fixtests.c: Likewise.
689         * genfixes: Likewise.
690         * mkheaders.in: Likewise.
691         * system.h: Likewise.
693 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
695         PR c/448
696         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
697         * fixincl.x: Regenerate.
698         * tests/base/stdint.h: Update.
700 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
702         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
703         Update.
705 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
707         PR c/456
708         PR c/5675
709         PR c/19976
710         PR c/29116
711         PR c/31871
712         PR c/35198
713         * inclhack.def (glibc_tgmath): New fix.
714         * fixincl.x: Regenerate.
715         * tests/base/tgmath.h: New.
717 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
719         * inclhack.def (aix_syswait, exception_structure,
720         pthread_page_size): Remove.
721         (math_exception): Remove mention of fixproto in comment.
722         * fixincl.x: Regenerate.
723         * mkheaders.in: Do not handle STMP_FIXPROTO.
725 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
727         * server.c (run_shell): Quote directory name passed to cd.
729 2009-03-01  Bruce Korb  <bkorb@gnu.org>
730         Apply a positively ancient patch:
732         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
734         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
735         * tests/base/net/if.h: Add new test.
737 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
739         * tests/base/locale.h: Add new test.
740         * tests/base/stdarg.h: Likewise.
742 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
744         * inclhack.def (hpux_spu_info):  Add files line.
745         * fixincl.x: Regenerate.
747 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
749         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
750         in case of C.
751         * fixincl.x: Regenerate.
753 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
755         PR target/35460
756         * inclhack.def (openbsd_va_start): Use __builtin_va_start
757         for OpenBSD.
758         * fixincl.x: Regenerate.
760 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
762         * configure: Regenerate.
764 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
766         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
767         * fixincl.x: Regenerate.
769 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
771         * configure.ac: Fix a typo.
772         * configured: Regenerate.
774 2008-09-06  Bruce Korb  <bkorb@gnu.org>
776         * fixincl.tpl (sed): make the program executable configurable.
777         Some platforms have some rather oddball defaults.
778         * config.h.in (SED_PROGRAM): define the default sed.
779         * fixincl.x: regenerated
780         * tests/base/internal/wchar_core.h: fix bad sample text
781         * tests/base/math.h: fix bad sample text
782         * configure.ac: search for working sed
783         * inclhack.def (glibc_mutex_init): fix non-portable construct
784         and re-order a few misordered entries.
786 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
788         * configure: Regenerate.
790 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
792         * inclhack.def (AAB_svr4_replace_byteorder,
793         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
794         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
795         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
796         solaris_mutex_init_1, solaris_socket, solaris_unistd,
797         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
798         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
799         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
800         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
801         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
802         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
803         windiss_math2, windiss_valist): Remove.
804         * fixincl.x: Regenerate.
805         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
806         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
807         powerpc-*-eabiaix*): Remove.
808         * tests/base/math.h: Update.
809         * tests/base/pthread.h: Update.
810         * tests/base/stdio.h: Update.
811         * tests/base/stdlib.h: Update.
812         * tests/base/string.h: Update.
813         * tests/base/strings.h: Update.
814         * tests/base/sys/file.h: Update.
815         * tests/base/sys/limits.h: Update.
816         * tests/base/sys/socket.h: Update.
817         * tests/base/sys/stat.h: Update.
818         * tests/base/sys/time.h: Update.
819         * tests/base/testing.h: Update.
820         * tests/base/unistd.h: Update.
821         * tests/base/_G_config.h: Remove.
822         * tests/base/arpa: Remove directory.
823         * tests/base/fs: Remove directory.
824         * tests/base/locale.h: Remove.
825         * tests/base/machine: Remove directory.
826         * tests/base/rpc/svc.h: Remove.
827         * tests/base/sys/ioctl.h: Remove.
828         * tests/base/sys/regset.h: Remove.
829         * tests/base/sys/times.h: Remove.
830         * tests/base/sys/utsname.h: Remove.
831         * tests/base/widec.h: Remove.
833 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
835         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
836         * tests/base/iso/math_c99.h: Update.
837         * fixincl.x: Regenerate.
839 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
841         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
842         posix_types_64.
843         * fixincl.x: Regenerate.
845 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
847         * fixincl.c (fix_with_system): Cast pointer difference to long.
848         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
850 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
852         PR bootstrap/35457
853         * Makefile.in: Rewrite aclocal.m4 rule.
854         * aclocal.m4: Regenerate.
855         * configure: Regenerate.
857 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
859         PR c++/20366
860         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
861         * fixincl.x: Regenerate.
862         * tests/base/stdio.h: Add test.
864 2008-02-25  Ben Elliston  <bje@au.ibm.com>
866         PR other/32948
867         * fixincl.c (fix_applies): Remove unused variable `name_len'.
869 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
871         * inclhack.def (solaris_math_10): New.
872         * tests/base/iso/math_c99.h: Update.
874         * fixincl.x: Regenerate.
876 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
878         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
879         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
880         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
881         quotes around mach entries.
882         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
883         to GPLv3.
885 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
887         PR other/31405
888         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
889         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
890         __extern_inline|__GNU_STDC_INLINE__.
891         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
892         <bypass>: Change from __STDC_VERSION__ to
893         __extern_inline|__GNU_STDC_INLINE__.
894         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
895         appending attribute-gnu_inline.
896         <second c_fix_arg>: Remove.
897         <test_text>: Remove __extern_inline line.
898         * tests/base/features.h: Re-add.
899         * tests/base/sys/sysmacros.h: Adjust.
900         * fixincl.x: Regenerate.
902 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
904         Revert last change.
906 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
908         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
909         * fixincl.x: Regenerate.
910         * tests/base/wchar.h: Update.
911         * tests/base/features.h: New.
913 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
915         PR target/33700
916         * inclhack.def (hpux11_pthread_const): New.
917         * fixincl.x: Regenerate.
918         * tests/base/sys/pthread.h: Update.
920 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
922         * configure.ac: x86_64 mingw target uses twoprocess.
923         * mkfixinc.sh: Add x86_64 mingw target.
924         * configure: Regenerate.
926 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
928         * inclhack.def (darwin_externc): New.
929         * fixincl.x: Regenerate.
930         * tests/base/mach-o/swap.h: New.
932 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
934         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
935         Delete fixes.
936         * tests/base/iso/math_c99.h: Delete associated test baselines.
937         * fixincl.x: Regenerate.
939 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
941         PR target/30058
942         * inclhack.def (netbsd_c99_inline_2): New.
943         * fixincl.x: Regenerate.
944         * tests/base/signal.h: Update.
946 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
948         PR target/32641
950         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
951         solaris_math_7): Constify and make FP exception-safe.
952         * tests/base/iso/math_c99.h: Update.
954         * fixincl.x: Regenerate.
956 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
958         PR libgcj/28190
959         * inclhack.def (irix_stdint_c99): New fix.
960         * fixincl.x: Regenerate.
961         * tests/base/stdint.h: New test.
963 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
965         PR testsuite/31828
966         * inclhack.def (hppa_hpux_fp_macros): New.
967         * fixincl.x: Regenerate.
968         * tests/base/math.h: Update.
970 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
972         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
973         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
974         __STDC_VERSION__ < 199901L.
975         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
976         with #ifdef __GNUC_GNU_INLINE__.
977         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
978         with defined(__GNUC_STDC_INLINE__).
979         (glibc_c99_inline_4): Change select, add second c_fix_arg.
980         Replace #if __STDC_VERSION__ < 199901L with
981         #ifdef __GNUC_GNU_INLINE__.
982         * fixincl.x: Regenerated.
983         * tests/base/bits/string2.h: Update.
984         * tests/base/sys/sysmacros.h: Update.
985         * tests/base/sys/stat.h: Update.
987 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
989         PR target/30058
990         * inclhack.def (netbsd_c99_inline_1): New.
991         * fixincl.x: Regenerate.
992         * tests/base/signal.h: New.
994 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
996         * Makefile.in: Add dummy "install-info" target.
998 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
1000         * mkheaders.in: Fix headers for each multilib required.
1002 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
1004         * Makefile.in: Add dummy install-pdf target.
1006 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
1008         * mkheaders.in (incdir): Use include-fixed not include.
1010 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
1012         * Makefile.in: Added "pdf" target to .PHONY.
1014 2007-02-05  Richard Guenther  <rguenther@suse.de>
1016         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
1017         with older glibc.  Adjust version number for C99.
1018         * fixincl.x: Regenerated.
1020 2007-02-04  Mike Stump  <mrs@apple.com>
1022         * mkheaders.in: Allow optional isysroot parameter.
1024 2007-02-03  Bruce Korb <bkorb@gnu.org>
1026         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
1027         surrounded by space characters.
1029 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
1031         PR target/30272
1032         * inclhack.def(broken_cabs): Also remove definition of cabsl.
1033         * fixincl.x: Regenerate.
1034         * tests/base/math.h: Update.
1036 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
1037             Daniel Franke <franke.daniel@gmail.com>
1039         PR target/30008
1040         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
1041         of a vertical bar ("|").
1042         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
1043         matching.  Set SKIP_TEST flag if we are not to run a test.
1044         * fixincl.x: Regenerate.
1045         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
1046         kandr_concat, sco_math): Replace lists of specfic file names by search
1047         patterns.
1049 2006-12-12  Olivier Hainque  <hainque@adacore.com>
1051         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
1052         targets for which a no-op fixer is appropriate.
1054 2006-11-07  Richard Guenther  <rguenther@suse.de>
1056         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
1057         systems.
1058         * fixincl.x: Regenerate.
1060 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
1062         * inclhack.def (glibc_c99_inline_1): New.
1063         * inclhack.def (glibc_c99_inline_2): New.
1064         * inclhack.def (glibc_c99_inline_3): New.
1065         * inclhack.def (glibc_c99_inline_4): New.
1066         * fixincl.x: Regenerate.
1067         * tests/base/bits/string2.h: New.
1068         * tests/base/sys/sysmacros.h: New.
1069         * tests/base/sys/stat.h: Update.
1071 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
1073         * tests/base/sys/socket.h: Update.
1075 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
1077         * inclhack.def (hpux11_extern_sendfile): New.
1078         (hpux11_extern_sendpath): New.
1079         * fixincl.x: Regenerate.
1081 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
1083         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
1084         * fixincl.x: Regenerate.
1086 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
1088         * Makefile.in: Added empty "pdf" target.
1090 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1092         PR target/29300
1093         * inclhack.def (hpux_pthread_initializers): New hack.
1094         * tests/base/sys/pthread.h: New file.
1096         * fixincl.x: Regenerate.
1098 2006-10-03  Uros Bizjak <uros@kss-loka.si>
1100         * inclhack.def (glibc_mutex_init): Also fix
1101         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
1102         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
1103         * tests/base/pthread.h: Update.
1105         * fixincl.x: Regenerate.
1107 2006-10-01  Uros Bizjak <uros@kss-loka.si>
1109         * inclhack.def (glibc_mutex_init): New fix.
1110         * tests/base/pthread.h: Update.
1112         * fixincl.x: Regenerate.
1114 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1116         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
1117         Prevent it from running on solaris10 or later.
1118         (solaris_once_init_2): Fix comment.
1119         * tests/base/pthread.h: Update.
1121         * fixincl.x: Regenerate.
1123 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1125         * inclhack.def (solaris_once_init_2): New fix.
1126         * tests/base/pthread.h: Update.
1128         * fixincl.x: Regenerate.
1130 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1132         * inclhack.def (solaris_mutex_init_2): Remove test for
1133         PTHREAD_RWLOCK_INITIALIZER.
1134         (solaris_rwlock_init_1): New.
1135         * tests/base/pthread.h: Update.
1137         * inclhack.def (solaris_once_init_1): New.
1138         * tests/base/pthread.h: Adjust for new fix.
1140         * fixincl.x: Regenerate.
1142 2006-07-17  Roger Sayle  <roger@eyesopen.com>
1144         * tests/base/errno.h: New file.
1145         * tests/base/architecture/ppc/math.h: Likewise.
1146         * tests/base/ia64/sys/getppdp.h: Likewise.
1148 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1150         PR bootstrap/20437
1151         * Makefile.in (configure, config.h.in): Change into $(srcdir)
1152         before autoconf or autoheader call.
1154 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
1156         PR target/28084
1157         * inclhack.def (hpux_extern_errno): New.
1158         * fixincl.x: Regenerate.
1160 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
1162         * Makefile.in: Add dvi info html and install-html to .PHONY
1163         Add install-html target.
1165 2006-05-16  Mike Stump  <mrs@apple.com>
1167         * configure.ac: Add -Wno-overlength-strings.
1168         * configure: Regenerate.
1170 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
1172         * README: Fix typo.
1174 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
1176         PR target/26189
1177         * inclhack.def (hpux_spu_info): New.
1178         * fixincl.x: Regenerate
1180 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
1182         * configure.ac: Check for asprintf, basename, vasprintf.
1183         * config.h.in: Regenerate.
1184         * configure: Regenerate.
1186 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
1188         PR target/15642
1189         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
1190         __APPLE_CC_ as 1345.
1191         (broken_nan): New.
1192         * fixincl.x: Regenerate.
1194 2005-11-24  Bruce Korb  <bkorb@gnu.org>
1196         * fixincl.c (write_replacement): "here strings" in AutoGen
1197         often/generally don't have a terminating newline.  Check the
1198         last byte for '\n'.
1200 2005-11-13  Andreas Jaeger  <aj@suse.de>
1202         * check.tpl: Handle CVS additionally.
1204 2005-11-05  Andreas Jaeger  <aj@suse.de>
1206         * check.tpl: Adopt for move to subversion.
1208 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
1210         PR c++/23139
1211         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
1212         fixes.
1213         * fixincl.x: Regenerate.
1214         * tests/base/bits/huge_val.h: New file.
1216 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
1218         * All files: Update with new FSF address.
1220 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1222         * Makefile.in (WARN_CFLAGS): New.
1223         (.c.o): Add $(WARN_CFLAGS).
1224         * aclocal.m4: Include ../config/warnings.m4.
1225         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
1226         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
1227         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
1228         * fixopts.c (initialize_opts): Fix old-style definintion.
1230         * configure: Regenerate.
1232 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
1234         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
1235         (AAB_darwin7_9_long_double_funcs_2): New.
1236         * fixincl.x: Regenerate.
1238 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1240         PR libfortran/15266
1241         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
1242         Use double quotes in select so \t matches tabs.
1243         Add IRIX testcase.
1244         * fixincl.x: Regenerate.
1245         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
1247 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
1249         PR target/21683
1250         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1252 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
1253             Joseph S. Myers  <joseph@codesourcery.com>
1255         PR target/19933
1256         PR target/21315
1257         * inclhack.def: New fixes solaris_math_[1-9].
1258         * fixincl.x: Regenerate.
1259         * tests/base/iso/math_c99.h: New.
1261 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
1263         * aclocal.m4: Remove superfluous reference to accross.m4.
1265 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1267         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
1268         * server.c (load_data): Likewise.
1269         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
1270         * fixincl.c: #include <sys/wait.h>
1271         (run_compiles): Use XCNEWVEC instead of xcalloc.
1272         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
1273         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
1275 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
1277         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
1278         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
1279         * fixincl.x: Regenerate.
1281 2005-05-06  Bruce Korb  <bkorb@gnu.org>
1282         Joseph S. Myers <joseph@codesourcery.com>
1284         * fixinc/inclhack.def: Correct backslashes
1285         * fixinc/fixincl.x: regen
1287 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1289         * system.h (fopen, fdopen, freopen): Define these to the unlocked
1290         libiberty functions.
1292 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1294         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
1295         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
1296         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
1297         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
1298         _unlocked function.
1299         (fwrite_unlocked): Fix prototype.
1301         * configure, config.h.in: Regenerate.
1303 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1305         * Makefile.in: Set gcc_version directly, not via substitution.
1306         (libsubdir): Use $(gcc_version), not $(version).
1307         (mkheaders.almost): New rule.
1308         (mkheaders): Generate from mkheaders.almost.
1309         (clean): Also delete mkheaders.almost.
1310         * aclocal.m4: Do not include ../config/gcc-version.m4.
1311         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
1312         mkheaders.almost from mkheaders.in.
1313         * configure: Regenerate.
1315 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
1317         PR target/20166
1318         * inclhack.def: Add fix for array of incomplete structures
1319         in function prototype in pthread.h.
1320         * fixincl.x: Regenerate.
1321         * tests/base/pthread.h: Adjust.
1323 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
1325         * inclhack.def (hpux_htonl): New fix.
1326         * tests/base/netinet/in.h: New test.
1327         * fixincl.x: Regenerate.
1329 2005-02-23  James E Wilson  <wilson@specifixinc.com>
1331         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
1333 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
1335         PR 18458
1336         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
1337         fixincl.
1339 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
1341         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1342         * aclocal.m4: Include ../config/gcc-version.m4.
1343         * configure: Regenerate.
1345 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
1347         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
1348         (stdio_va_list): Likewise.
1349         (stdio_stdarg.h): Likewise.
1350         (solaris_stdio_tag): Add bypass.
1351         * fixincl.x: Regenerated.
1353 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
1355         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
1356         built fixincl program.
1357         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
1358         up csh from user.
1360 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1362         * inclhack.def (alpha_pthread_init): Fix technical problems with
1363         the last check-in caused by CVS variable substitution.
1364         * fixincl.x: Likewise.
1365         * tests/base/pthread.h: Likewise.
1367 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1368             Bruce Korb  <bkorb@gnu.org>
1370         * inclhack.def (alpha_pthread_init): New fix.
1371         * fixincl.x: Regenerate.
1372         * tests/base/pthread.h: Update for new test.
1374 2004-11-15  Bruce Korb  <bkorb@gnu.org>
1376         * fixincl.c(fix_with_system): correct misuse of variables and
1377         incorrect application of "sizeof()".
1379 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
1381         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1382         svr4__p, undefine_null): Remove.
1383         * fixincl.x: Regenerate.
1384         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1385         * tests/base/sys/param.h: Remove.
1386         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1387         tests/base/sys/limits.h: Update.
1389 2004-11-12  Mike Stump  <mrs@apple.com>
1391         * Makefile.in (html): Add html generation support.
1393 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
1395         * inclhack.def (sco_math): Bypass on __GNUG__.
1396         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1397         * fixincl.x: Regenerate.
1399 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
1401         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1402         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1403         _CLASSIC_ANSI_TYPES.
1404         (sun_auth_proto): Bypass on __cplusplus.
1405         * fixincl.x: Regenerate.
1407 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
1409         * Makefile.in (mostlyclean): Add fixinc.sh.
1410         (clean): Add mkheaders.
1411         (distclean): New.
1412         (dvi): New.
1413         (info): New.
1414         (installcheck): New.
1416 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
1418         * Makefile.in (mostlyclean, distclean): New targets.
1420 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
1422         * configure.ac: Add code to determine noncanonical_target,
1423         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1424         * configure: Regenerate.
1425         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1426         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1427         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1428         update for changes to fixinc.in.
1429         * Makefile.in: Add many new macros.
1430         (install): New target.
1431         (mkheaders): New target.
1432         (fixinc.sh): New target.
1433         (all): Add mkheaders and fixinc.sh.
1434         * README-fixinc: Move here from gcc/.
1436 2004-11-01  Mike Stump  <mrs@apple.com>
1438         * inclhack.def (stdio_va_list): Break out clients from here...
1439         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
1440         included or ifdef va_start.
1441         * fixincl.x: Regenerate.
1443 2004-10-28  Mike Stump  <mrs@apple.com>
1445         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1446         systems.
1447         * fixincl.x: Regenerate.
1449 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1451         * inclhack.def (darwin_gcc4_breakage): New.
1452         * fixincl.x: Regenerate.
1454 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1456         PR bootstrap/17832
1458         * fixfixes.c (main): Check for _PC_NAME_MAX.
1460 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1462         PR other/17991
1464         * configure.ac: Fix typo.
1465         * configure: Regenerate.
1466         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1468 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1470         PR bootstrap/17832
1472         * fixincl.c (SIGCHLD): Remove definition.
1473         (initialize): Remove SIGIOT and SIGPIPE checks.
1474         (create_file): Fix mkdir() for Win32.
1475         (internal_fix): Use dup2() instead of fcntl().
1477         * fixlib.h (SIGQUIT): Define if undefined.
1478         (SIGIOT): Same.
1479         (SIGPIPE): Same.
1480         (SIGALRM): Same.
1481         (SIGKILL): Same.
1483         * procopen.c (chain_open): Use dup2() instead of fcntl().
1485 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1487         PR other/17991
1489         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1490         Update copyright year.
1491         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1492         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1493         do not include code for parsing options (environment vars).
1494         (fix_with_system): Use a search path for applyfix, so that you
1495         can run the test suite with two-process fixincludes.
1496         * fixopts.c: New file.
1497         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1498         to config.h.  Default to --enable-twoprocess for MinGW32.
1499         * config.h.in: Regenerate.
1500         * configure: Regenerate.
1502 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1504         * tests/base/sys/cdefs.h: Update from test area.
1506 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1508         * inclhack.def (linux_ia64_ucontext): New fix.
1509         * fixincl.x: Regenerate.
1510         * tests/base/sys/ucontext.h: New file.
1512 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1514         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1515         * tests/base/stdlib.h: Likewise.
1517 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1519         * inclhack.def (freebsd_gcc4_breakage): Add.
1520         * fixincl.x: Regenerate.
1521         * tests/base/sys/cdefs.h: Update for new test.
1523 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1525         * inclhack.def (lynx_void_int): Remove.
1526         (lynxos_fcntl_proto): Remove.
1527         (lynxos_no_warning_in_sys_time_h): New fix.
1528         (lynxos_missing_putenv): New fix.
1529         * fixincl.x: Regenerate.
1530         * tests/base/fcntl.h: Remove.
1531         * tests/base/sys/time.h: Update from test area.
1532         * tests/base/curses.h: Likewise.
1533         * tests/base/stdlib.h: Likewise.
1535 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1537         * inclhack.def: Suppress exception_structure and math_exception
1538         for NetWare headers.
1539         * fixincl.x: Regenerate.
1541 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1543         * .cvsignore: New.
1544         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1545         autoconfiscated.
1546         * configure.ac: New.
1547         * config.h.in: Generate.
1548         * configure: Generate.
1549         * aclocal.m4: New.
1550         * fixlib.h: Remove inclusions of gcc files.
1551         * system.h: New.
1553         Other files copied from gcc/fixinc.