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