OSDN Git Service

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