OSDN Git Service

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