OSDN Git Service

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