OSDN Git Service

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