1 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
3 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
4 * fixincl.x: Regenerate.
5 * tests/base/wchar.h: Update.
6 * tests/base/features.h: New.
8 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11 * inclhack.def (hpux11_pthread_const): New.
12 * fixincl.x: Regenerate.
13 * tests/base/sys/pthread.h: Update.
15 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
17 * configure.ac: x86_64 mingw target uses twoprocess.
18 * mkfixinc.sh: Add x86_64 mingw target.
19 * configure: Regenerate.
21 2007-10-09 Geoffrey Keating <geoffk@apple.com>
23 * inclhack.def (darwin_externc): New.
24 * fixincl.x: Regenerate.
25 * tests/base/mach-o/swap.h: New.
27 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
29 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
31 * tests/base/iso/math_c99.h: Delete associated test baselines.
32 * fixincl.x: Regenerate.
34 2007-07-24 Krister Walfridsson <cato@df.lth.se>
37 * inclhack.def (netbsd_c99_inline_2): New.
38 * fixincl.x: Regenerate.
39 * tests/base/signal.h: Update.
41 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
45 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
46 solaris_math_7): Constify and make FP exception-safe.
47 * tests/base/iso/math_c99.h: Update.
49 * fixincl.x: Regenerate.
51 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
54 * inclhack.def (irix_stdint_c99): New fix.
55 * fixincl.x: Regenerate.
56 * tests/base/stdint.h: New test.
58 2007-06-06 Steve Ellcey <sje@cup.hp.com>
61 * inclhack.def (hppa_hpux_fp_macros): New.
62 * fixincl.x: Regenerate.
63 * tests/base/math.h: Update.
65 2007-03-26 Jakub Jelinek <jakub@redhat.com>
67 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
68 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
69 __STDC_VERSION__ < 199901L.
70 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
71 with #ifdef __GNUC_GNU_INLINE__.
72 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
73 with defined(__GNUC_STDC_INLINE__).
74 (glibc_c99_inline_4): Change select, add second c_fix_arg.
75 Replace #if __STDC_VERSION__ < 199901L with
76 #ifdef __GNUC_GNU_INLINE__.
77 * fixincl.x: Regenerated.
78 * tests/base/bits/string2.h: Update.
79 * tests/base/sys/sysmacros.h: Update.
80 * tests/base/sys/stat.h: Update.
82 2007-03-18 Krister Walfridsson <cato@df.lth.se>
85 * inclhack.def (netbsd_c99_inline_1): New.
86 * fixincl.x: Regenerate.
87 * tests/base/signal.h: New.
89 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
91 * Makefile.in: Add dummy "install-info" target.
93 2007-03-06 Joseph Myers <joseph@codesourcery.com>
95 * mkheaders.in: Fix headers for each multilib required.
97 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
99 * Makefile.in: Add dummy install-pdf target.
101 2007-02-27 Joseph Myers <joseph@codesourcery.com>
103 * mkheaders.in (incdir): Use include-fixed not include.
105 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
107 * Makefile.in: Added "pdf" target to .PHONY.
109 2007-02-05 Richard Guenther <rguenther@suse.de>
111 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
112 with older glibc. Adjust version number for C99.
113 * fixincl.x: Regenerated.
115 2007-02-04 Mike Stump <mrs@apple.com>
117 * mkheaders.in: Allow optional isysroot parameter.
119 2007-02-03 Bruce Korb <bkorb@gnu.org>
121 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
122 surrounded by space characters.
124 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
127 * inclhack.def(broken_cabs): Also remove definition of cabsl.
128 * fixincl.x: Regenerate.
129 * tests/base/math.h: Update.
131 2007-01-05 Bruce Korb <bkorb@gnu.org>,
132 Daniel Franke <franke.daniel@gmail.com>
135 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
136 of a vertical bar ("|").
137 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
138 matching. Set SKIP_TEST flag if we are not to run a test.
139 * fixincl.x: Regenerate.
140 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
141 kandr_concat, sco_math): Replace lists of specfic file names by search
144 2006-12-12 Olivier Hainque <hainque@adacore.com>
146 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
147 targets for which a no-op fixer is appropriate.
149 2006-11-07 Richard Guenther <rguenther@suse.de>
151 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
153 * fixincl.x: Regenerate.
155 2006-11-02 Geoffrey Keating <geoffk@apple.com>
157 * inclhack.def (glibc_c99_inline_1): New.
158 * inclhack.def (glibc_c99_inline_2): New.
159 * inclhack.def (glibc_c99_inline_3): New.
160 * inclhack.def (glibc_c99_inline_4): New.
161 * fixincl.x: Regenerate.
162 * tests/base/bits/string2.h: New.
163 * tests/base/sys/sysmacros.h: New.
164 * tests/base/sys/stat.h: Update.
166 2006-11-01 Steve Ellcey <sje@cup.hp.com>
168 * tests/base/sys/socket.h: Update.
170 2006-10-31 Steve Ellcey <sje@cup.hp.com>
172 * inclhack.def (hpux11_extern_sendfile): New.
173 (hpux11_extern_sendpath): New.
174 * fixincl.x: Regenerate.
176 2006-10-29 Joseph Myers <joseph@codesourcery.com>
178 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
179 * fixincl.x: Regenerate.
181 2006-10-10 Brooks Moses <bmoses@stanford.edu>
183 * Makefile.in: Added empty "pdf" target.
185 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
188 * inclhack.def (hpux_pthread_initializers): New hack.
189 * tests/base/sys/pthread.h: New file.
191 * fixincl.x: Regenerate.
193 2006-10-03 Uros Bizjak <uros@kss-loka.si>
195 * inclhack.def (glibc_mutex_init): Also fix
196 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
197 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
198 * tests/base/pthread.h: Update.
200 * fixincl.x: Regenerate.
202 2006-10-01 Uros Bizjak <uros@kss-loka.si>
204 * inclhack.def (glibc_mutex_init): New fix.
205 * tests/base/pthread.h: Update.
207 * fixincl.x: Regenerate.
209 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
211 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
212 Prevent it from running on solaris10 or later.
213 (solaris_once_init_2): Fix comment.
214 * tests/base/pthread.h: Update.
216 * fixincl.x: Regenerate.
218 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
220 * inclhack.def (solaris_once_init_2): New fix.
221 * tests/base/pthread.h: Update.
223 * fixincl.x: Regenerate.
225 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
227 * inclhack.def (solaris_mutex_init_2): Remove test for
228 PTHREAD_RWLOCK_INITIALIZER.
229 (solaris_rwlock_init_1): New.
230 * tests/base/pthread.h: Update.
232 * inclhack.def (solaris_once_init_1): New.
233 * tests/base/pthread.h: Adjust for new fix.
235 * fixincl.x: Regenerate.
237 2006-07-17 Roger Sayle <roger@eyesopen.com>
239 * tests/base/errno.h: New file.
240 * tests/base/architecture/ppc/math.h: Likewise.
241 * tests/base/ia64/sys/getppdp.h: Likewise.
243 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
246 * Makefile.in (configure, config.h.in): Change into $(srcdir)
247 before autoconf or autoheader call.
249 2006-06-23 Steve Ellcey <sje@cup.hp.com>
252 * inclhack.def (hpux_extern_errno): New.
253 * fixincl.x: Regenerate.
255 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
257 * Makefile.in: Add dvi info html and install-html to .PHONY
258 Add install-html target.
260 2006-05-16 Mike Stump <mrs@apple.com>
262 * configure.ac: Add -Wno-overlength-strings.
263 * configure: Regenerate.
265 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
269 2006-02-18 Steve Ellcey <sje@cup.hp.com>
272 * inclhack.def (hpux_spu_info): New.
273 * fixincl.x: Regenerate
275 2006-01-31 Marcin Dalecki <martin@dalecki.de>
277 * configure.ac: Check for asprintf, basename, vasprintf.
278 * config.h.in: Regenerate.
279 * configure: Regenerate.
281 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
284 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
287 * fixincl.x: Regenerate.
289 2005-11-24 Bruce Korb <bkorb@gnu.org>
291 * fixincl.c (write_replacement): "here strings" in AutoGen
292 often/generally don't have a terminating newline. Check the
295 2005-11-13 Andreas Jaeger <aj@suse.de>
297 * check.tpl: Handle CVS additionally.
299 2005-11-05 Andreas Jaeger <aj@suse.de>
301 * check.tpl: Adopt for move to subversion.
303 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
306 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
308 * fixincl.x: Regenerate.
309 * tests/base/bits/huge_val.h: New file.
311 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
313 * All files: Update with new FSF address.
315 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
317 * Makefile.in (WARN_CFLAGS): New.
318 (.c.o): Add $(WARN_CFLAGS).
319 * aclocal.m4: Include ../config/warnings.m4.
320 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
321 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
322 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
323 * fixopts.c (initialize_opts): Fix old-style definintion.
325 * configure: Regenerate.
327 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
329 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
330 (AAB_darwin7_9_long_double_funcs_2): New.
331 * fixincl.x: Regenerate.
333 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
336 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
337 Use double quotes in select so \t matches tabs.
339 * fixincl.x: Regenerate.
340 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
342 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
345 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
347 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
348 Joseph S. Myers <joseph@codesourcery.com>
352 * inclhack.def: New fixes solaris_math_[1-9].
353 * fixincl.x: Regenerate.
354 * tests/base/iso/math_c99.h: New.
356 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
358 * aclocal.m4: Remove superfluous reference to accross.m4.
360 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
362 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
363 * server.c (load_data): Likewise.
364 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
365 * fixincl.c: #include <sys/wait.h>
366 (run_compiles): Use XCNEWVEC instead of xcalloc.
367 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
368 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
370 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
372 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
373 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
374 * fixincl.x: Regenerate.
376 2005-05-06 Bruce Korb <bkorb@gnu.org>
377 Joseph S. Myers <joseph@codesourcery.com>
379 * fixinc/inclhack.def: Correct backslashes
380 * fixinc/fixincl.x: regen
382 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
384 * system.h (fopen, fdopen, freopen): Define these to the unlocked
387 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
389 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
390 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
391 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
392 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
394 (fwrite_unlocked): Fix prototype.
396 * configure, config.h.in: Regenerate.
398 2005-03-21 Zack Weinberg <zack@codesourcery.com>
400 * Makefile.in: Set gcc_version directly, not via substitution.
401 (libsubdir): Use $(gcc_version), not $(version).
402 (mkheaders.almost): New rule.
403 (mkheaders): Generate from mkheaders.almost.
404 (clean): Also delete mkheaders.almost.
405 * aclocal.m4: Do not include ../config/gcc-version.m4.
406 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
407 mkheaders.almost from mkheaders.in.
408 * configure: Regenerate.
410 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
413 * inclhack.def: Add fix for array of incomplete structures
414 in function prototype in pthread.h.
415 * fixincl.x: Regenerate.
416 * tests/base/pthread.h: Adjust.
418 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
420 * inclhack.def (hpux_htonl): New fix.
421 * tests/base/netinet/in.h: New test.
422 * fixincl.x: Regenerate.
424 2005-02-23 James E Wilson <wilson@specifixinc.com>
426 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
428 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
431 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
434 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
436 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
437 * aclocal.m4: Include ../config/gcc-version.m4.
438 * configure: Regenerate.
440 2004-11-26 Mark Mitchell <mark@codesourcery.com>
442 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
443 (stdio_va_list): Likewise.
444 (stdio_stdarg.h): Likewise.
445 (solaris_stdio_tag): Add bypass.
446 * fixincl.x: Regenerated.
448 2004-11-23 Geoffrey Keating <geoffk@apple.com>
450 * mkfixinc.sh: Check error code from 'cat'. Don't try running
451 built fixincl program.
452 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
455 2004-11-20 Roger Sayle <roger@eyesopen.com>
457 * inclhack.def (alpha_pthread_init): Fix technical problems with
458 the last check-in caused by CVS variable substitution.
459 * fixincl.x: Likewise.
460 * tests/base/pthread.h: Likewise.
462 2004-11-20 Roger Sayle <roger@eyesopen.com>
463 Bruce Korb <bkorb@gnu.org>
465 * inclhack.def (alpha_pthread_init): New fix.
466 * fixincl.x: Regenerate.
467 * tests/base/pthread.h: Update for new test.
469 2004-11-15 Bruce Korb <bkorb@gnu.org>
471 * fixincl.c(fix_with_system): correct misuse of variables and
472 incorrect application of "sizeof()".
474 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
476 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
477 svr4__p, undefine_null): Remove.
478 * fixincl.x: Regenerate.
479 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
480 * tests/base/sys/param.h: Remove.
481 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
482 tests/base/sys/limits.h: Update.
484 2004-11-12 Mike Stump <mrs@apple.com>
486 * Makefile.in (html): Add html generation support.
488 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
490 * inclhack.def (sco_math): Bypass on __GNUG__.
491 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
492 * fixincl.x: Regenerate.
494 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
496 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
497 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
499 (sun_auth_proto): Bypass on __cplusplus.
500 * fixincl.x: Regenerate.
502 2004-11-05 Geoffrey Keating <geoffk@apple.com>
504 * Makefile.in (mostlyclean): Add fixinc.sh.
505 (clean): Add mkheaders.
511 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
513 * Makefile.in (mostlyclean, distclean): New targets.
515 2004-11-04 Geoffrey Keating <geoffk@apple.com>
517 * configure.ac: Add code to determine noncanonical_target,
518 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
519 * configure: Regenerate.
520 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
521 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
522 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
523 update for changes to fixinc.in.
524 * Makefile.in: Add many new macros.
525 (install): New target.
526 (mkheaders): New target.
527 (fixinc.sh): New target.
528 (all): Add mkheaders and fixinc.sh.
529 * README-fixinc: Move here from gcc/.
531 2004-11-01 Mike Stump <mrs@apple.com>
533 * inclhack.def (stdio_va_list): Break out clients from here...
534 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
535 included or ifdef va_start.
536 * fixincl.x: Regenerate.
538 2004-10-28 Mike Stump <mrs@apple.com>
540 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
542 * fixincl.x: Regenerate.
544 2004-10-27 Geoffrey Keating <geoffk@apple.com>
546 * inclhack.def (darwin_gcc4_breakage): New.
547 * fixincl.x: Regenerate.
549 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
553 * fixfixes.c (main): Check for _PC_NAME_MAX.
555 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
559 * configure.ac: Fix typo.
560 * configure: Regenerate.
561 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
563 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
567 * fixincl.c (SIGCHLD): Remove definition.
568 (initialize): Remove SIGIOT and SIGPIPE checks.
569 (create_file): Fix mkdir() for Win32.
570 (internal_fix): Use dup2() instead of fcntl().
572 * fixlib.h (SIGQUIT): Define if undefined.
578 * procopen.c (chain_open): Use dup2() instead of fcntl().
580 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
584 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
585 Update copyright year.
586 * fixfixes.c (main): Call initialize_opts from fixopts.c.
587 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
588 do not include code for parsing options (environment vars).
589 (fix_with_system): Use a search path for applyfix, so that you
590 can run the test suite with two-process fixincludes.
591 * fixopts.c: New file.
592 * configure.ac: Add --enable-twoprocess. Export ac_exeext
593 to config.h. Default to --enable-twoprocess for MinGW32.
594 * config.h.in: Regenerate.
595 * configure: Regenerate.
597 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
599 * tests/base/sys/cdefs.h: Update from test area.
601 2004-09-17 Roger Sayle <roger@eyesopen.com>
603 * inclhack.def (linux_ia64_ucontext): New fix.
604 * fixincl.x: Regenerate.
605 * tests/base/sys/ucontext.h: New file.
607 2004-09-15 Roger Sayle <roger@eyesopen.com>
609 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
610 * tests/base/stdlib.h: Likewise.
612 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
614 * inclhack.def (freebsd_gcc4_breakage): Add.
615 * fixincl.x: Regenerate.
616 * tests/base/sys/cdefs.h: Update for new test.
618 2004-09-10 Adam Nemet <anemet@lnxw.com>
620 * inclhack.def (lynx_void_int): Remove.
621 (lynxos_fcntl_proto): Remove.
622 (lynxos_no_warning_in_sys_time_h): New fix.
623 (lynxos_missing_putenv): New fix.
624 * fixincl.x: Regenerate.
625 * tests/base/fcntl.h: Remove.
626 * tests/base/sys/time.h: Update from test area.
627 * tests/base/curses.h: Likewise.
628 * tests/base/stdlib.h: Likewise.
630 2004-09-03 Jan Beulich <jbeulich@novell.com>
632 * inclhack.def: Suppress exception_structure and math_exception
634 * fixincl.x: Regenerate.
636 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
639 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
642 * config.h.in: Generate.
643 * configure: Generate.
645 * fixlib.h: Remove inclusions of gcc files.
648 Other files copied from gcc/fixinc.