OSDN Git Service

* inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
4         * tests/base/iso/math_c99.h: Update.
5         * fixincl.x: Regenerate.
6
7 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
8
9         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
10         posix_types_64.
11         * fixincl.x: Regenerate.
12
13 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
14
15         * fixincl.c (fix_with_system): Cast pointer difference to long.
16         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
17
18 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
19
20         PR bootstrap/35457
21         * Makefile.in: Rewrite aclocal.m4 rule.
22         * aclocal.m4: Regenerate.
23         * configure: Regenerate.
24
25 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
26
27         PR c++/20366
28         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
29         * fixincl.x: Regenerate.
30         * tests/base/stdio.h: Add test.
31
32 2008-02-25  Ben Elliston  <bje@au.ibm.com>
33
34         PR other/32948
35         * fixincl.c (fix_applies): Remove unused variable `name_len'.
36
37 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
38
39         * inclhack.def (solaris_math_10): New.
40         * tests/base/iso/math_c99.h: Update.
41
42         * fixincl.x: Regenerate.
43
44 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
45
46         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
47         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
48         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
49         quotes around mach entries.
50         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
51         to GPLv3.
52
53 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
54
55         PR other/31405
56         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
57         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
58         __extern_inline|__GNU_STDC_INLINE__.
59         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
60         <bypass>: Change from __STDC_VERSION__ to
61         __extern_inline|__GNU_STDC_INLINE__.
62         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
63         appending attribute-gnu_inline.
64         <second c_fix_arg>: Remove.
65         <test_text>: Remove __extern_inline line.
66         * tests/base/features.h: Re-add.
67         * tests/base/sys/sysmacros.h: Adjust.
68         * fixincl.x: Regenerate.
69
70 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
71
72         Revert last change.
73
74 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
75
76         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
77         * fixincl.x: Regenerate.
78         * tests/base/wchar.h: Update.
79         * tests/base/features.h: New.
80
81 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
82
83         PR target/33700
84         * inclhack.def (hpux11_pthread_const): New.
85         * fixincl.x: Regenerate.
86         * tests/base/sys/pthread.h: Update.
87
88 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
89
90         * configure.ac: x86_64 mingw target uses twoprocess.
91         * mkfixinc.sh: Add x86_64 mingw target.
92         * configure: Regenerate.
93
94 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
95
96         * inclhack.def (darwin_externc): New.
97         * fixincl.x: Regenerate.
98         * tests/base/mach-o/swap.h: New.
99
100 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
101
102         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
103         Delete fixes.
104         * tests/base/iso/math_c99.h: Delete associated test baselines.
105         * fixincl.x: Regenerate.
106
107 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
108
109         PR target/30058
110         * inclhack.def (netbsd_c99_inline_2): New.
111         * fixincl.x: Regenerate.
112         * tests/base/signal.h: Update.
113
114 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
115
116         PR target/32641
117
118         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
119         solaris_math_7): Constify and make FP exception-safe.
120         * tests/base/iso/math_c99.h: Update.
121
122         * fixincl.x: Regenerate.
123
124 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
125
126         PR libgcj/28190
127         * inclhack.def (irix_stdint_c99): New fix.
128         * fixincl.x: Regenerate.
129         * tests/base/stdint.h: New test.
130
131 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
132
133         PR testsuite/31828
134         * inclhack.def (hppa_hpux_fp_macros): New.
135         * fixincl.x: Regenerate.
136         * tests/base/math.h: Update.
137
138 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
139
140         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
141         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
142         __STDC_VERSION__ < 199901L.
143         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
144         with #ifdef __GNUC_GNU_INLINE__.
145         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
146         with defined(__GNUC_STDC_INLINE__).
147         (glibc_c99_inline_4): Change select, add second c_fix_arg.
148         Replace #if __STDC_VERSION__ < 199901L with
149         #ifdef __GNUC_GNU_INLINE__.
150         * fixincl.x: Regenerated.
151         * tests/base/bits/string2.h: Update.
152         * tests/base/sys/sysmacros.h: Update.
153         * tests/base/sys/stat.h: Update.
154
155 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
156
157         PR target/30058
158         * inclhack.def (netbsd_c99_inline_1): New.
159         * fixincl.x: Regenerate.
160         * tests/base/signal.h: New.
161
162 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
163
164         * Makefile.in: Add dummy "install-info" target.
165
166 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
167
168         * mkheaders.in: Fix headers for each multilib required.
169
170 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
171
172         * Makefile.in: Add dummy install-pdf target.
173
174 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
175
176         * mkheaders.in (incdir): Use include-fixed not include.
177
178 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
179
180         * Makefile.in: Added "pdf" target to .PHONY.
181
182 2007-02-05  Richard Guenther  <rguenther@suse.de>
183
184         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
185         with older glibc.  Adjust version number for C99.
186         * fixincl.x: Regenerated.
187
188 2007-02-04  Mike Stump  <mrs@apple.com>
189
190         * mkheaders.in: Allow optional isysroot parameter.
191
192 2007-02-03  Bruce Korb <bkorb@gnu.org>
193
194         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
195         surrounded by space characters.
196
197 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
198
199         PR target/30272
200         * inclhack.def(broken_cabs): Also remove definition of cabsl.
201         * fixincl.x: Regenerate.
202         * tests/base/math.h: Update.
203
204 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
205             Daniel Franke <franke.daniel@gmail.com>
206
207         PR target/30008
208         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
209         of a vertical bar ("|").
210         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
211         matching.  Set SKIP_TEST flag if we are not to run a test.
212         * fixincl.x: Regenerate.
213         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
214         kandr_concat, sco_math): Replace lists of specfic file names by search
215         patterns.
216
217 2006-12-12  Olivier Hainque  <hainque@adacore.com>
218
219         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
220         targets for which a no-op fixer is appropriate.
221         
222 2006-11-07  Richard Guenther  <rguenther@suse.de>
223
224         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
225         systems.
226         * fixincl.x: Regenerate.
227
228 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
229
230         * inclhack.def (glibc_c99_inline_1): New.
231         * inclhack.def (glibc_c99_inline_2): New.
232         * inclhack.def (glibc_c99_inline_3): New.
233         * inclhack.def (glibc_c99_inline_4): New.
234         * fixincl.x: Regenerate.
235         * tests/base/bits/string2.h: New.
236         * tests/base/sys/sysmacros.h: New.
237         * tests/base/sys/stat.h: Update.
238
239 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
240
241         * tests/base/sys/socket.h: Update.
242
243 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
244
245         * inclhack.def (hpux11_extern_sendfile): New.
246         (hpux11_extern_sendpath): New.
247         * fixincl.x: Regenerate.
248
249 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
250
251         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
252         * fixincl.x: Regenerate.
253
254 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
255
256         * Makefile.in: Added empty "pdf" target.
257
258 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
259
260         PR target/29300
261         * inclhack.def (hpux_pthread_initializers): New hack.
262         * tests/base/sys/pthread.h: New file.
263
264         * fixincl.x: Regenerate.
265
266 2006-10-03  Uros Bizjak <uros@kss-loka.si>
267
268         * inclhack.def (glibc_mutex_init): Also fix
269         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
270         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
271         * tests/base/pthread.h: Update.
272
273         * fixincl.x: Regenerate.
274
275 2006-10-01  Uros Bizjak <uros@kss-loka.si>
276
277         * inclhack.def (glibc_mutex_init): New fix.
278         * tests/base/pthread.h: Update.
279
280         * fixincl.x: Regenerate.
281
282 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
283
284         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
285         Prevent it from running on solaris10 or later.
286         (solaris_once_init_2): Fix comment.
287         * tests/base/pthread.h: Update.
288
289         * fixincl.x: Regenerate.
290
291 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
292
293         * inclhack.def (solaris_once_init_2): New fix.
294         * tests/base/pthread.h: Update.
295
296         * fixincl.x: Regenerate.
297
298 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
299
300         * inclhack.def (solaris_mutex_init_2): Remove test for
301         PTHREAD_RWLOCK_INITIALIZER.
302         (solaris_rwlock_init_1): New.
303         * tests/base/pthread.h: Update.
304
305         * inclhack.def (solaris_once_init_1): New.
306         * tests/base/pthread.h: Adjust for new fix.
307         
308         * fixincl.x: Regenerate.
309
310 2006-07-17  Roger Sayle  <roger@eyesopen.com>
311
312         * tests/base/errno.h: New file.
313         * tests/base/architecture/ppc/math.h: Likewise.
314         * tests/base/ia64/sys/getppdp.h: Likewise.
315
316 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
317
318         PR bootstrap/20437
319         * Makefile.in (configure, config.h.in): Change into $(srcdir)
320         before autoconf or autoheader call.
321
322 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
323
324         PR target/28084
325         * inclhack.def (hpux_extern_errno): New.
326         * fixincl.x: Regenerate.
327
328 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
329
330         * Makefile.in: Add dvi info html and install-html to .PHONY
331         Add install-html target.
332
333 2006-05-16  Mike Stump  <mrs@apple.com>
334
335         * configure.ac: Add -Wno-overlength-strings.
336         * configure: Regenerate.
337
338 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
339
340         * README: Fix typo.
341
342 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
343
344         PR target/26189
345         * inclhack.def (hpux_spu_info): New.
346         * fixincl.x: Regenerate
347
348 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
349
350         * configure.ac: Check for asprintf, basename, vasprintf.
351         * config.h.in: Regenerate.
352         * configure: Regenerate.
353
354 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
355
356         PR target/15642
357         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
358         __APPLE_CC_ as 1345.
359         (broken_nan): New.
360         * fixincl.x: Regenerate.
361
362 2005-11-24  Bruce Korb  <bkorb@gnu.org>
363
364         * fixincl.c (write_replacement): "here strings" in AutoGen
365         often/generally don't have a terminating newline.  Check the
366         last byte for '\n'.
367
368 2005-11-13  Andreas Jaeger  <aj@suse.de>
369
370         * check.tpl: Handle CVS additionally.
371
372 2005-11-05  Andreas Jaeger  <aj@suse.de>
373
374         * check.tpl: Adopt for move to subversion.
375
376 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
377
378         PR c++/23139
379         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
380         fixes.
381         * fixincl.x: Regenerate.
382         * tests/base/bits/huge_val.h: New file.
383
384 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
385
386         * All files: Update with new FSF address.
387
388 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
389
390         * Makefile.in (WARN_CFLAGS): New.
391         (.c.o): Add $(WARN_CFLAGS).
392         * aclocal.m4: Include ../config/warnings.m4.
393         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
394         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
395         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
396         * fixopts.c (initialize_opts): Fix old-style definintion.
397
398         * configure: Regenerate.
399
400 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
401
402         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
403         (AAB_darwin7_9_long_double_funcs_2): New.
404         * fixincl.x: Regenerate.
405
406 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
407
408         PR libfortran/15266
409         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
410         Use double quotes in select so \t matches tabs.
411         Add IRIX testcase.
412         * fixincl.x: Regenerate.
413         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
414
415 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
416
417         PR target/21683
418         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
419
420 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
421             Joseph S. Myers  <joseph@codesourcery.com>
422
423         PR target/19933
424         PR target/21315
425         * inclhack.def: New fixes solaris_math_[1-9].
426         * fixincl.x: Regenerate.
427         * tests/base/iso/math_c99.h: New.
428
429 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
430
431         * aclocal.m4: Remove superfluous reference to accross.m4.
432
433 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
434
435         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
436         * server.c (load_data): Likewise.
437         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
438         * fixincl.c: #include <sys/wait.h>
439         (run_compiles): Use XCNEWVEC instead of xcalloc.
440         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
441         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
442
443 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
444
445         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
446         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
447         * fixincl.x: Regenerate.
448
449 2005-05-06  Bruce Korb  <bkorb@gnu.org>
450         Joseph S. Myers <joseph@codesourcery.com>
451
452         * fixinc/inclhack.def: Correct backslashes
453         * fixinc/fixincl.x: regen
454
455 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
456
457         * system.h (fopen, fdopen, freopen): Define these to the unlocked
458         libiberty functions.
459
460 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
461
462         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
463         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
464         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
465         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
466         _unlocked function.
467         (fwrite_unlocked): Fix prototype.
468
469         * configure, config.h.in: Regenerate.
470
471 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
472
473         * Makefile.in: Set gcc_version directly, not via substitution.
474         (libsubdir): Use $(gcc_version), not $(version).
475         (mkheaders.almost): New rule.
476         (mkheaders): Generate from mkheaders.almost.
477         (clean): Also delete mkheaders.almost.
478         * aclocal.m4: Do not include ../config/gcc-version.m4.
479         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
480         mkheaders.almost from mkheaders.in.
481         * configure: Regenerate.
482
483 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
484
485         PR target/20166
486         * inclhack.def: Add fix for array of incomplete structures
487         in function prototype in pthread.h.
488         * fixincl.x: Regenerate.
489         * tests/base/pthread.h: Adjust.
490
491 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
492
493         * inclhack.def (hpux_htonl): New fix.
494         * tests/base/netinet/in.h: New test.
495         * fixincl.x: Regenerate.
496
497 2005-02-23  James E Wilson  <wilson@specifixinc.com>
498
499         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
500
501 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
502
503         PR 18458
504         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
505         fixincl.
506
507 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
508
509         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
510         * aclocal.m4: Include ../config/gcc-version.m4.
511         * configure: Regenerate.
512
513 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
514
515         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
516         (stdio_va_list): Likewise.
517         (stdio_stdarg.h): Likewise.
518         (solaris_stdio_tag): Add bypass.
519         * fixincl.x: Regenerated.
520
521 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
522
523         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
524         built fixincl program.
525         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
526         up csh from user.
527
528 2004-11-20  Roger Sayle  <roger@eyesopen.com>
529
530         * inclhack.def (alpha_pthread_init): Fix technical problems with
531         the last check-in caused by CVS variable substitution.
532         * fixincl.x: Likewise.
533         * tests/base/pthread.h: Likewise.
534
535 2004-11-20  Roger Sayle  <roger@eyesopen.com>
536             Bruce Korb  <bkorb@gnu.org>
537
538         * inclhack.def (alpha_pthread_init): New fix.
539         * fixincl.x: Regenerate.
540         * tests/base/pthread.h: Update for new test.
541
542 2004-11-15  Bruce Korb  <bkorb@gnu.org>
543
544         * fixincl.c(fix_with_system): correct misuse of variables and
545         incorrect application of "sizeof()".
546
547 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
548
549         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
550         svr4__p, undefine_null): Remove.
551         * fixincl.x: Regenerate.
552         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
553         * tests/base/sys/param.h: Remove.
554         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
555         tests/base/sys/limits.h: Update.
556
557 2004-11-12  Mike Stump  <mrs@apple.com>
558
559         * Makefile.in (html): Add html generation support.
560
561 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
562
563         * inclhack.def (sco_math): Bypass on __GNUG__.
564         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
565         * fixincl.x: Regenerate.
566
567 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
568
569         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
570         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
571         _CLASSIC_ANSI_TYPES.
572         (sun_auth_proto): Bypass on __cplusplus.
573         * fixincl.x: Regenerate.
574
575 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
576
577         * Makefile.in (mostlyclean): Add fixinc.sh.
578         (clean): Add mkheaders.
579         (distclean): New.
580         (dvi): New.
581         (info): New.
582         (installcheck): New.
583
584 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
585
586         * Makefile.in (mostlyclean, distclean): New targets.
587
588 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
589
590         * configure.ac: Add code to determine noncanonical_target,
591         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
592         * configure: Regenerate.
593         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
594         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
595         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
596         update for changes to fixinc.in.
597         * Makefile.in: Add many new macros.
598         (install): New target.
599         (mkheaders): New target.
600         (fixinc.sh): New target.
601         (all): Add mkheaders and fixinc.sh.
602         * README-fixinc: Move here from gcc/.
603
604 2004-11-01  Mike Stump  <mrs@apple.com>
605
606         * inclhack.def (stdio_va_list): Break out clients from here...
607         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
608         included or ifdef va_start.
609         * fixincl.x: Regenerate.
610
611 2004-10-28  Mike Stump  <mrs@apple.com>
612
613         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
614         systems.
615         * fixincl.x: Regenerate.
616
617 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
618
619         * inclhack.def (darwin_gcc4_breakage): New.
620         * fixincl.x: Regenerate.
621
622 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
623
624         PR bootstrap/17832
625
626         * fixfixes.c (main): Check for _PC_NAME_MAX.
627
628 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
629
630         PR other/17991
631
632         * configure.ac: Fix typo.
633         * configure: Regenerate.
634         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
635
636 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
637
638         PR bootstrap/17832
639
640         * fixincl.c (SIGCHLD): Remove definition.
641         (initialize): Remove SIGIOT and SIGPIPE checks.
642         (create_file): Fix mkdir() for Win32.
643         (internal_fix): Use dup2() instead of fcntl().
644
645         * fixlib.h (SIGQUIT): Define if undefined.
646         (SIGIOT): Same.
647         (SIGPIPE): Same.
648         (SIGALRM): Same.
649         (SIGKILL): Same.
650
651         * procopen.c (chain_open): Use dup2() instead of fcntl().
652
653 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
654
655         PR other/17991
656
657         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
658         Update copyright year.
659         * fixfixes.c (main): Call initialize_opts from fixopts.c.
660         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
661         do not include code for parsing options (environment vars).
662         (fix_with_system): Use a search path for applyfix, so that you
663         can run the test suite with two-process fixincludes.
664         * fixopts.c: New file.
665         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
666         to config.h.  Default to --enable-twoprocess for MinGW32.
667         * config.h.in: Regenerate.
668         * configure: Regenerate.
669
670 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
671
672         * tests/base/sys/cdefs.h: Update from test area.
673
674 2004-09-17  Roger Sayle  <roger@eyesopen.com>
675
676         * inclhack.def (linux_ia64_ucontext): New fix.
677         * fixincl.x: Regenerate.
678         * tests/base/sys/ucontext.h: New file.
679
680 2004-09-15  Roger Sayle  <roger@eyesopen.com>
681
682         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
683         * tests/base/stdlib.h: Likewise.
684
685 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
686
687         * inclhack.def (freebsd_gcc4_breakage): Add.
688         * fixincl.x: Regenerate.
689         * tests/base/sys/cdefs.h: Update for new test.
690
691 2004-09-10  Adam Nemet  <anemet@lnxw.com>
692
693         * inclhack.def (lynx_void_int): Remove.
694         (lynxos_fcntl_proto): Remove.
695         (lynxos_no_warning_in_sys_time_h): New fix.
696         (lynxos_missing_putenv): New fix.
697         * fixincl.x: Regenerate.
698         * tests/base/fcntl.h: Remove.
699         * tests/base/sys/time.h: Update from test area.
700         * tests/base/curses.h: Likewise.
701         * tests/base/stdlib.h: Likewise.
702
703 2004-09-03  Jan Beulich  <jbeulich@novell.com>
704
705         * inclhack.def: Suppress exception_structure and math_exception
706         for NetWare headers.
707         * fixincl.x: Regenerate.
708
709 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
710
711         * .cvsignore: New.
712         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
713         autoconfiscated.
714         * configure.ac: New.
715         * config.h.in: Generate.
716         * configure: Generate.
717         * aclocal.m4: New.
718         * fixlib.h: Remove inclusions of gcc files.
719         * system.h: New.
720
721         Other files copied from gcc/fixinc.