1 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4 * inclhack.def (irix_stdint_c99): New fix.
5 * fixincl.x: Regenerate.
6 * tests/base/stdint.h: New test.
8 2007-06-06 Steve Ellcey <sje@cup.hp.com>
11 * inclhack.def (hppa_hpux_fp_macros): New.
12 * fixincl.x: Regenerate.
13 * tests/base/math.h: Update.
15 2007-03-26 Jakub Jelinek <jakub@redhat.com>
17 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
18 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
19 __STDC_VERSION__ < 199901L.
20 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
21 with #ifdef __GNUC_GNU_INLINE__.
22 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
23 with defined(__GNUC_STDC_INLINE__).
24 (glibc_c99_inline_4): Change select, add second c_fix_arg.
25 Replace #if __STDC_VERSION__ < 199901L with
26 #ifdef __GNUC_GNU_INLINE__.
27 * fixincl.x: Regenerated.
28 * tests/base/bits/string2.h: Update.
29 * tests/base/sys/sysmacros.h: Update.
30 * tests/base/sys/stat.h: Update.
32 2007-03-18 Krister Walfridsson <cato@df.lth.se>
35 * inclhack.def (netbsd_c99_inline_1): New.
36 * fixincl.x: Regenerate.
37 * tests/base/signal.h: New.
39 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
41 * Makefile.in: Add dummy "install-info" target.
43 2007-03-06 Joseph Myers <joseph@codesourcery.com>
45 * mkheaders.in: Fix headers for each multilib required.
47 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
49 * Makefile.in: Add dummy install-pdf target.
51 2007-02-27 Joseph Myers <joseph@codesourcery.com>
53 * mkheaders.in (incdir): Use include-fixed not include.
55 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
57 * Makefile.in: Added "pdf" target to .PHONY.
59 2007-02-05 Richard Guenther <rguenther@suse.de>
61 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
62 with older glibc. Adjust version number for C99.
63 * fixincl.x: Regenerated.
65 2007-02-04 Mike Stump <mrs@apple.com>
67 * mkheaders.in: Allow optional isysroot parameter.
69 2007-02-03 Bruce Korb <bkorb@gnu.org>
71 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
72 surrounded by space characters.
74 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
77 * inclhack.def(broken_cabs): Also remove definition of cabsl.
78 * fixincl.x: Regenerate.
79 * tests/base/math.h: Update.
81 2007-01-05 Bruce Korb <bkorb@gnu.org>,
82 Daniel Franke <franke.daniel@gmail.com>
85 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
86 of a vertical bar ("|").
87 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
88 matching. Set SKIP_TEST flag if we are not to run a test.
89 * fixincl.x: Regenerate.
90 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
91 kandr_concat, sco_math): Replace lists of specfic file names by search
94 2006-12-12 Olivier Hainque <hainque@adacore.com>
96 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
97 targets for which a no-op fixer is appropriate.
99 2006-11-07 Richard Guenther <rguenther@suse.de>
101 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
103 * fixincl.x: Regenerate.
105 2006-11-02 Geoffrey Keating <geoffk@apple.com>
107 * inclhack.def (glibc_c99_inline_1): New.
108 * inclhack.def (glibc_c99_inline_2): New.
109 * inclhack.def (glibc_c99_inline_3): New.
110 * inclhack.def (glibc_c99_inline_4): New.
111 * fixincl.x: Regenerate.
112 * tests/base/bits/string2.h: New.
113 * tests/base/sys/sysmacros.h: New.
114 * tests/base/sys/stat.h: Update.
116 2006-11-01 Steve Ellcey <sje@cup.hp.com>
118 * tests/base/sys/socket.h: Update.
120 2006-10-31 Steve Ellcey <sje@cup.hp.com>
122 * inclhack.def (hpux11_extern_sendfile): New.
123 (hpux11_extern_sendpath): New.
124 * fixincl.x: Regenerate.
126 2006-10-29 Joseph Myers <joseph@codesourcery.com>
128 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
129 * fixincl.x: Regenerate.
131 2006-10-10 Brooks Moses <bmoses@stanford.edu>
133 * Makefile.in: Added empty "pdf" target.
135 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
138 * inclhack.def (hpux_pthread_initializers): New hack.
139 * tests/base/sys/pthread.h: New file.
141 * fixincl.x: Regenerate.
143 2006-10-03 Uros Bizjak <uros@kss-loka.si>
145 * inclhack.def (glibc_mutex_init): Also fix
146 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
147 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
148 * tests/base/pthread.h: Update.
150 * fixincl.x: Regenerate.
152 2006-10-01 Uros Bizjak <uros@kss-loka.si>
154 * inclhack.def (glibc_mutex_init): New fix.
155 * tests/base/pthread.h: Update.
157 * fixincl.x: Regenerate.
159 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
161 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
162 Prevent it from running on solaris10 or later.
163 (solaris_once_init_2): Fix comment.
164 * tests/base/pthread.h: Update.
166 * fixincl.x: Regenerate.
168 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
170 * inclhack.def (solaris_once_init_2): New fix.
171 * tests/base/pthread.h: Update.
173 * fixincl.x: Regenerate.
175 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
177 * inclhack.def (solaris_mutex_init_2): Remove test for
178 PTHREAD_RWLOCK_INITIALIZER.
179 (solaris_rwlock_init_1): New.
180 * tests/base/pthread.h: Update.
182 * inclhack.def (solaris_once_init_1): New.
183 * tests/base/pthread.h: Adjust for new fix.
185 * fixincl.x: Regenerate.
187 2006-07-17 Roger Sayle <roger@eyesopen.com>
189 * tests/base/errno.h: New file.
190 * tests/base/architecture/ppc/math.h: Likewise.
191 * tests/base/ia64/sys/getppdp.h: Likewise.
193 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
196 * Makefile.in (configure, config.h.in): Change into $(srcdir)
197 before autoconf or autoheader call.
199 2006-06-23 Steve Ellcey <sje@cup.hp.com>
202 * inclhack.def (hpux_extern_errno): New.
203 * fixincl.x: Regenerate.
205 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
207 * Makefile.in: Add dvi info html and install-html to .PHONY
208 Add install-html target.
210 2006-05-16 Mike Stump <mrs@apple.com>
212 * configure.ac: Add -Wno-overlength-strings.
213 * configure: Regenerate.
215 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
219 2006-02-18 Steve Ellcey <sje@cup.hp.com>
222 * inclhack.def (hpux_spu_info): New.
223 * fixincl.x: Regenerate
225 2006-01-31 Marcin Dalecki <martin@dalecki.de>
227 * configure.ac: Check for asprintf, basename, vasprintf.
228 * config.h.in: Regenerate.
229 * configure: Regenerate.
231 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
234 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
237 * fixincl.x: Regenerate.
239 2005-11-24 Bruce Korb <bkorb@gnu.org>
241 * fixincl.c (write_replacement): "here strings" in AutoGen
242 often/generally don't have a terminating newline. Check the
245 2005-11-13 Andreas Jaeger <aj@suse.de>
247 * check.tpl: Handle CVS additionally.
249 2005-11-05 Andreas Jaeger <aj@suse.de>
251 * check.tpl: Adopt for move to subversion.
253 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
256 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
258 * fixincl.x: Regenerate.
259 * tests/base/bits/huge_val.h: New file.
261 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
263 * All files: Update with new FSF address.
265 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
267 * Makefile.in (WARN_CFLAGS): New.
268 (.c.o): Add $(WARN_CFLAGS).
269 * aclocal.m4: Include ../config/warnings.m4.
270 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
271 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
272 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
273 * fixopts.c (initialize_opts): Fix old-style definintion.
275 * configure: Regenerate.
277 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
279 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
280 (AAB_darwin7_9_long_double_funcs_2): New.
281 * fixincl.x: Regenerate.
283 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
286 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
287 Use double quotes in select so \t matches tabs.
289 * fixincl.x: Regenerate.
290 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
292 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
295 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
297 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
298 Joseph S. Myers <joseph@codesourcery.com>
302 * inclhack.def: New fixes solaris_math_[1-9].
303 * fixincl.x: Regenerate.
304 * tests/base/iso/math_c99.h: New.
306 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
308 * aclocal.m4: Remove superfluous reference to accross.m4.
310 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
312 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
313 * server.c (load_data): Likewise.
314 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
315 * fixincl.c: #include <sys/wait.h>
316 (run_compiles): Use XCNEWVEC instead of xcalloc.
317 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
318 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
320 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
322 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
323 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
324 * fixincl.x: Regenerate.
326 2005-05-06 Bruce Korb <bkorb@gnu.org>
327 Joseph S. Myers <joseph@codesourcery.com>
329 * fixinc/inclhack.def: Correct backslashes
330 * fixinc/fixincl.x: regen
332 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
334 * system.h (fopen, fdopen, freopen): Define these to the unlocked
337 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
339 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
340 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
341 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
342 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
344 (fwrite_unlocked): Fix prototype.
346 * configure, config.h.in: Regenerate.
348 2005-03-21 Zack Weinberg <zack@codesourcery.com>
350 * Makefile.in: Set gcc_version directly, not via substitution.
351 (libsubdir): Use $(gcc_version), not $(version).
352 (mkheaders.almost): New rule.
353 (mkheaders): Generate from mkheaders.almost.
354 (clean): Also delete mkheaders.almost.
355 * aclocal.m4: Do not include ../config/gcc-version.m4.
356 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
357 mkheaders.almost from mkheaders.in.
358 * configure: Regenerate.
360 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
363 * inclhack.def: Add fix for array of incomplete structures
364 in function prototype in pthread.h.
365 * fixincl.x: Regenerate.
366 * tests/base/pthread.h: Adjust.
368 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
370 * inclhack.def (hpux_htonl): New fix.
371 * tests/base/netinet/in.h: New test.
372 * fixincl.x: Regenerate.
374 2005-02-23 James E Wilson <wilson@specifixinc.com>
376 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
378 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
381 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
384 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
386 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
387 * aclocal.m4: Include ../config/gcc-version.m4.
388 * configure: Regenerate.
390 2004-11-26 Mark Mitchell <mark@codesourcery.com>
392 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
393 (stdio_va_list): Likewise.
394 (stdio_stdarg.h): Likewise.
395 (solaris_stdio_tag): Add bypass.
396 * fixincl.x: Regenerated.
398 2004-11-23 Geoffrey Keating <geoffk@apple.com>
400 * mkfixinc.sh: Check error code from 'cat'. Don't try running
401 built fixincl program.
402 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
405 2004-11-20 Roger Sayle <roger@eyesopen.com>
407 * inclhack.def (alpha_pthread_init): Fix technical problems with
408 the last check-in caused by CVS variable substitution.
409 * fixincl.x: Likewise.
410 * tests/base/pthread.h: Likewise.
412 2004-11-20 Roger Sayle <roger@eyesopen.com>
413 Bruce Korb <bkorb@gnu.org>
415 * inclhack.def (alpha_pthread_init): New fix.
416 * fixincl.x: Regenerate.
417 * tests/base/pthread.h: Update for new test.
419 2004-11-15 Bruce Korb <bkorb@gnu.org>
421 * fixincl.c(fix_with_system): correct misuse of variables and
422 incorrect application of "sizeof()".
424 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
426 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
427 svr4__p, undefine_null): Remove.
428 * fixincl.x: Regenerate.
429 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
430 * tests/base/sys/param.h: Remove.
431 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
432 tests/base/sys/limits.h: Update.
434 2004-11-12 Mike Stump <mrs@apple.com>
436 * Makefile.in (html): Add html generation support.
438 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
440 * inclhack.def (sco_math): Bypass on __GNUG__.
441 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
442 * fixincl.x: Regenerate.
444 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
446 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
447 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
449 (sun_auth_proto): Bypass on __cplusplus.
450 * fixincl.x: Regenerate.
452 2004-11-05 Geoffrey Keating <geoffk@apple.com>
454 * Makefile.in (mostlyclean): Add fixinc.sh.
455 (clean): Add mkheaders.
461 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
463 * Makefile.in (mostlyclean, distclean): New targets.
465 2004-11-04 Geoffrey Keating <geoffk@apple.com>
467 * configure.ac: Add code to determine noncanonical_target,
468 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
469 * configure: Regenerate.
470 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
471 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
472 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
473 update for changes to fixinc.in.
474 * Makefile.in: Add many new macros.
475 (install): New target.
476 (mkheaders): New target.
477 (fixinc.sh): New target.
478 (all): Add mkheaders and fixinc.sh.
479 * README-fixinc: Move here from gcc/.
481 2004-11-01 Mike Stump <mrs@apple.com>
483 * inclhack.def (stdio_va_list): Break out clients from here...
484 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
485 included or ifdef va_start.
486 * fixincl.x: Regenerate.
488 2004-10-28 Mike Stump <mrs@apple.com>
490 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
492 * fixincl.x: Regenerate.
494 2004-10-27 Geoffrey Keating <geoffk@apple.com>
496 * inclhack.def (darwin_gcc4_breakage): New.
497 * fixincl.x: Regenerate.
499 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
503 * fixfixes.c (main): Check for _PC_NAME_MAX.
505 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
509 * configure.ac: Fix typo.
510 * configure: Regenerate.
511 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
513 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
517 * fixincl.c (SIGCHLD): Remove definition.
518 (initialize): Remove SIGIOT and SIGPIPE checks.
519 (create_file): Fix mkdir() for Win32.
520 (internal_fix): Use dup2() instead of fcntl().
522 * fixlib.h (SIGQUIT): Define if undefined.
528 * procopen.c (chain_open): Use dup2() instead of fcntl().
530 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
534 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
535 Update copyright year.
536 * fixfixes.c (main): Call initialize_opts from fixopts.c.
537 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
538 do not include code for parsing options (environment vars).
539 (fix_with_system): Use a search path for applyfix, so that you
540 can run the test suite with two-process fixincludes.
541 * fixopts.c: New file.
542 * configure.ac: Add --enable-twoprocess. Export ac_exeext
543 to config.h. Default to --enable-twoprocess for MinGW32.
544 * config.h.in: Regenerate.
545 * configure: Regenerate.
547 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
549 * tests/base/sys/cdefs.h: Update from test area.
551 2004-09-17 Roger Sayle <roger@eyesopen.com>
553 * inclhack.def (linux_ia64_ucontext): New fix.
554 * fixincl.x: Regenerate.
555 * tests/base/sys/ucontext.h: New file.
557 2004-09-15 Roger Sayle <roger@eyesopen.com>
559 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
560 * tests/base/stdlib.h: Likewise.
562 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
564 * inclhack.def (freebsd_gcc4_breakage): Add.
565 * fixincl.x: Regenerate.
566 * tests/base/sys/cdefs.h: Update for new test.
568 2004-09-10 Adam Nemet <anemet@lnxw.com>
570 * inclhack.def (lynx_void_int): Remove.
571 (lynxos_fcntl_proto): Remove.
572 (lynxos_no_warning_in_sys_time_h): New fix.
573 (lynxos_missing_putenv): New fix.
574 * fixincl.x: Regenerate.
575 * tests/base/fcntl.h: Remove.
576 * tests/base/sys/time.h: Update from test area.
577 * tests/base/curses.h: Likewise.
578 * tests/base/stdlib.h: Likewise.
580 2004-09-03 Jan Beulich <jbeulich@novell.com>
582 * inclhack.def: Suppress exception_structure and math_exception
584 * fixincl.x: Regenerate.
586 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
589 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
592 * config.h.in: Generate.
593 * configure: Generate.
595 * fixlib.h: Remove inclusions of gcc files.
598 Other files copied from gcc/fixinc.