1 2007-03-26 Jakub Jelinek <jakub@redhat.com>
3 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
4 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
5 __STDC_VERSION__ < 199901L.
6 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
7 with #ifdef __GNUC_GNU_INLINE__.
8 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
9 with defined(__GNUC_STDC_INLINE__).
10 (glibc_c99_inline_4): Change select, add second c_fix_arg.
11 Replace #if __STDC_VERSION__ < 199901L with
12 #ifdef __GNUC_GNU_INLINE__.
13 * fixincl.x: Regenerated.
14 * tests/base/bits/string2.h: Update.
15 * tests/base/sys/sysmacros.h: Update.
16 * tests/base/sys/stat.h: Update.
18 2007-03-18 Krister Walfridsson <cato@df.lth.se>
21 * inclhack.def (netbsd_c99_inline_1): New.
22 * fixincl.x: Regenerate.
23 * tests/base/signal.h: New.
25 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
27 * Makefile.in: Add dummy "install-info" target.
29 2007-03-06 Joseph Myers <joseph@codesourcery.com>
31 * mkheaders.in: Fix headers for each multilib required.
33 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
35 * Makefile.in: Add dummy install-pdf target.
37 2007-02-27 Joseph Myers <joseph@codesourcery.com>
39 * mkheaders.in (incdir): Use include-fixed not include.
41 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
43 * Makefile.in: Added "pdf" target to .PHONY.
45 2007-02-05 Richard Guenther <rguenther@suse.de>
47 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
48 with older glibc. Adjust version number for C99.
49 * fixincl.x: Regenerated.
51 2007-02-04 Mike Stump <mrs@apple.com>
53 * mkheaders.in: Allow optional isysroot parameter.
55 2007-02-03 Bruce Korb <bkorb@gnu.org>
57 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
58 surrounded by space characters.
60 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
63 * inclhack.def(broken_cabs): Also remove definition of cabsl.
64 * fixincl.x: Regenerate.
65 * tests/base/math.h: Update.
67 2007-01-05 Bruce Korb <bkorb@gnu.org>,
68 Daniel Franke <franke.daniel@gmail.com>
71 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
72 of a vertical bar ("|").
73 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
74 matching. Set SKIP_TEST flag if we are not to run a test.
75 * fixincl.x: Regenerate.
76 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
77 kandr_concat, sco_math): Replace lists of specfic file names by search
80 2006-12-12 Olivier Hainque <hainque@adacore.com>
82 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
83 targets for which a no-op fixer is appropriate.
85 2006-11-07 Richard Guenther <rguenther@suse.de>
87 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
89 * fixincl.x: Regenerate.
91 2006-11-02 Geoffrey Keating <geoffk@apple.com>
93 * inclhack.def (glibc_c99_inline_1): New.
94 * inclhack.def (glibc_c99_inline_2): New.
95 * inclhack.def (glibc_c99_inline_3): New.
96 * inclhack.def (glibc_c99_inline_4): New.
97 * fixincl.x: Regenerate.
98 * tests/base/bits/string2.h: New.
99 * tests/base/sys/sysmacros.h: New.
100 * tests/base/sys/stat.h: Update.
102 2006-11-01 Steve Ellcey <sje@cup.hp.com>
104 * tests/base/sys/socket.h: Update.
106 2006-10-31 Steve Ellcey <sje@cup.hp.com>
108 * inclhack.def (hpux11_extern_sendfile): New.
109 (hpux11_extern_sendpath): New.
110 * fixincl.x: Regenerate.
112 2006-10-29 Joseph Myers <joseph@codesourcery.com>
114 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
115 * fixincl.x: Regenerate.
117 2006-10-10 Brooks Moses <bmoses@stanford.edu>
119 * Makefile.in: Added empty "pdf" target.
121 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
124 * inclhack.def (hpux_pthread_initializers): New hack.
125 * tests/base/sys/pthread.h: New file.
127 * fixincl.x: Regenerate.
129 2006-10-03 Uros Bizjak <uros@kss-loka.si>
131 * inclhack.def (glibc_mutex_init): Also fix
132 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
133 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
134 * tests/base/pthread.h: Update.
136 * fixincl.x: Regenerate.
138 2006-10-01 Uros Bizjak <uros@kss-loka.si>
140 * inclhack.def (glibc_mutex_init): New fix.
141 * tests/base/pthread.h: Update.
143 * fixincl.x: Regenerate.
145 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
147 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
148 Prevent it from running on solaris10 or later.
149 (solaris_once_init_2): Fix comment.
150 * tests/base/pthread.h: Update.
152 * fixincl.x: Regenerate.
154 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
156 * inclhack.def (solaris_once_init_2): New fix.
157 * tests/base/pthread.h: Update.
159 * fixincl.x: Regenerate.
161 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
163 * inclhack.def (solaris_mutex_init_2): Remove test for
164 PTHREAD_RWLOCK_INITIALIZER.
165 (solaris_rwlock_init_1): New.
166 * tests/base/pthread.h: Update.
168 * inclhack.def (solaris_once_init_1): New.
169 * tests/base/pthread.h: Adjust for new fix.
171 * fixincl.x: Regenerate.
173 2006-07-17 Roger Sayle <roger@eyesopen.com>
175 * tests/base/errno.h: New file.
176 * tests/base/architecture/ppc/math.h: Likewise.
177 * tests/base/ia64/sys/getppdp.h: Likewise.
179 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
182 * Makefile.in (configure, config.h.in): Change into $(srcdir)
183 before autoconf or autoheader call.
185 2006-06-23 Steve Ellcey <sje@cup.hp.com>
188 * inclhack.def (hpux_extern_errno): New.
189 * fixincl.x: Regenerate.
191 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
193 * Makefile.in: Add dvi info html and install-html to .PHONY
194 Add install-html target.
196 2006-05-16 Mike Stump <mrs@apple.com>
198 * configure.ac: Add -Wno-overlength-strings.
199 * configure: Regenerate.
201 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
205 2006-02-18 Steve Ellcey <sje@cup.hp.com>
208 * inclhack.def (hpux_spu_info): New.
209 * fixincl.x: Regenerate
211 2006-01-31 Marcin Dalecki <martin@dalecki.de>
213 * configure.ac: Check for asprintf, basename, vasprintf.
214 * config.h.in: Regenerate.
215 * configure: Regenerate.
217 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
220 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
223 * fixincl.x: Regenerate.
225 2005-11-24 Bruce Korb <bkorb@gnu.org>
227 * fixincl.c (write_replacement): "here strings" in AutoGen
228 often/generally don't have a terminating newline. Check the
231 2005-11-13 Andreas Jaeger <aj@suse.de>
233 * check.tpl: Handle CVS additionally.
235 2005-11-05 Andreas Jaeger <aj@suse.de>
237 * check.tpl: Adopt for move to subversion.
239 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
242 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
244 * fixincl.x: Regenerate.
245 * tests/base/bits/huge_val.h: New file.
247 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
249 * All files: Update with new FSF address.
251 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
253 * Makefile.in (WARN_CFLAGS): New.
254 (.c.o): Add $(WARN_CFLAGS).
255 * aclocal.m4: Include ../config/warnings.m4.
256 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
257 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
258 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
259 * fixopts.c (initialize_opts): Fix old-style definintion.
261 * configure: Regenerate.
263 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
265 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
266 (AAB_darwin7_9_long_double_funcs_2): New.
267 * fixincl.x: Regenerate.
269 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
272 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
273 Use double quotes in select so \t matches tabs.
275 * fixincl.x: Regenerate.
276 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
278 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
281 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
283 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
284 Joseph S. Myers <joseph@codesourcery.com>
288 * inclhack.def: New fixes solaris_math_[1-9].
289 * fixincl.x: Regenerate.
290 * tests/base/iso/math_c99.h: New.
292 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
294 * aclocal.m4: Remove superfluous reference to accross.m4.
296 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
298 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
299 * server.c (load_data): Likewise.
300 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
301 * fixincl.c: #include <sys/wait.h>
302 (run_compiles): Use XCNEWVEC instead of xcalloc.
303 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
304 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
306 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
308 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
309 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
310 * fixincl.x: Regenerate.
312 2005-05-06 Bruce Korb <bkorb@gnu.org>
313 Joseph S. Myers <joseph@codesourcery.com>
315 * fixinc/inclhack.def: Correct backslashes
316 * fixinc/fixincl.x: regen
318 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
320 * system.h (fopen, fdopen, freopen): Define these to the unlocked
323 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
325 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
326 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
327 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
328 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
330 (fwrite_unlocked): Fix prototype.
332 * configure, config.h.in: Regenerate.
334 2005-03-21 Zack Weinberg <zack@codesourcery.com>
336 * Makefile.in: Set gcc_version directly, not via substitution.
337 (libsubdir): Use $(gcc_version), not $(version).
338 (mkheaders.almost): New rule.
339 (mkheaders): Generate from mkheaders.almost.
340 (clean): Also delete mkheaders.almost.
341 * aclocal.m4: Do not include ../config/gcc-version.m4.
342 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
343 mkheaders.almost from mkheaders.in.
344 * configure: Regenerate.
346 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
349 * inclhack.def: Add fix for array of incomplete structures
350 in function prototype in pthread.h.
351 * fixincl.x: Regenerate.
352 * tests/base/pthread.h: Adjust.
354 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
356 * inclhack.def (hpux_htonl): New fix.
357 * tests/base/netinet/in.h: New test.
358 * fixincl.x: Regenerate.
360 2005-02-23 James E Wilson <wilson@specifixinc.com>
362 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
364 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
367 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
370 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
372 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
373 * aclocal.m4: Include ../config/gcc-version.m4.
374 * configure: Regenerate.
376 2004-11-26 Mark Mitchell <mark@codesourcery.com>
378 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
379 (stdio_va_list): Likewise.
380 (stdio_stdarg.h): Likewise.
381 (solaris_stdio_tag): Add bypass.
382 * fixincl.x: Regenerated.
384 2004-11-23 Geoffrey Keating <geoffk@apple.com>
386 * mkfixinc.sh: Check error code from 'cat'. Don't try running
387 built fixincl program.
388 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
391 2004-11-20 Roger Sayle <roger@eyesopen.com>
393 * inclhack.def (alpha_pthread_init): Fix technical problems with
394 the last check-in caused by CVS variable substitution.
395 * fixincl.x: Likewise.
396 * tests/base/pthread.h: Likewise.
398 2004-11-20 Roger Sayle <roger@eyesopen.com>
399 Bruce Korb <bkorb@gnu.org>
401 * inclhack.def (alpha_pthread_init): New fix.
402 * fixincl.x: Regenerate.
403 * tests/base/pthread.h: Update for new test.
405 2004-11-15 Bruce Korb <bkorb@gnu.org>
407 * fixincl.c(fix_with_system): correct misuse of variables and
408 incorrect application of "sizeof()".
410 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
412 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
413 svr4__p, undefine_null): Remove.
414 * fixincl.x: Regenerate.
415 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
416 * tests/base/sys/param.h: Remove.
417 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
418 tests/base/sys/limits.h: Update.
420 2004-11-12 Mike Stump <mrs@apple.com>
422 * Makefile.in (html): Add html generation support.
424 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
426 * inclhack.def (sco_math): Bypass on __GNUG__.
427 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
428 * fixincl.x: Regenerate.
430 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
432 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
433 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
435 (sun_auth_proto): Bypass on __cplusplus.
436 * fixincl.x: Regenerate.
438 2004-11-05 Geoffrey Keating <geoffk@apple.com>
440 * Makefile.in (mostlyclean): Add fixinc.sh.
441 (clean): Add mkheaders.
447 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
449 * Makefile.in (mostlyclean, distclean): New targets.
451 2004-11-04 Geoffrey Keating <geoffk@apple.com>
453 * configure.ac: Add code to determine noncanonical_target,
454 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
455 * configure: Regenerate.
456 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
457 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
458 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
459 update for changes to fixinc.in.
460 * Makefile.in: Add many new macros.
461 (install): New target.
462 (mkheaders): New target.
463 (fixinc.sh): New target.
464 (all): Add mkheaders and fixinc.sh.
465 * README-fixinc: Move here from gcc/.
467 2004-11-01 Mike Stump <mrs@apple.com>
469 * inclhack.def (stdio_va_list): Break out clients from here...
470 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
471 included or ifdef va_start.
472 * fixincl.x: Regenerate.
474 2004-10-28 Mike Stump <mrs@apple.com>
476 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
478 * fixincl.x: Regenerate.
480 2004-10-27 Geoffrey Keating <geoffk@apple.com>
482 * inclhack.def (darwin_gcc4_breakage): New.
483 * fixincl.x: Regenerate.
485 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
489 * fixfixes.c (main): Check for _PC_NAME_MAX.
491 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
495 * configure.ac: Fix typo.
496 * configure: Regenerate.
497 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
499 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
503 * fixincl.c (SIGCHLD): Remove definition.
504 (initialize): Remove SIGIOT and SIGPIPE checks.
505 (create_file): Fix mkdir() for Win32.
506 (internal_fix): Use dup2() instead of fcntl().
508 * fixlib.h (SIGQUIT): Define if undefined.
514 * procopen.c (chain_open): Use dup2() instead of fcntl().
516 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
520 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
521 Update copyright year.
522 * fixfixes.c (main): Call initialize_opts from fixopts.c.
523 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
524 do not include code for parsing options (environment vars).
525 (fix_with_system): Use a search path for applyfix, so that you
526 can run the test suite with two-process fixincludes.
527 * fixopts.c: New file.
528 * configure.ac: Add --enable-twoprocess. Export ac_exeext
529 to config.h. Default to --enable-twoprocess for MinGW32.
530 * config.h.in: Regenerate.
531 * configure: Regenerate.
533 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
535 * tests/base/sys/cdefs.h: Update from test area.
537 2004-09-17 Roger Sayle <roger@eyesopen.com>
539 * inclhack.def (linux_ia64_ucontext): New fix.
540 * fixincl.x: Regenerate.
541 * tests/base/sys/ucontext.h: New file.
543 2004-09-15 Roger Sayle <roger@eyesopen.com>
545 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
546 * tests/base/stdlib.h: Likewise.
548 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
550 * inclhack.def (freebsd_gcc4_breakage): Add.
551 * fixincl.x: Regenerate.
552 * tests/base/sys/cdefs.h: Update for new test.
554 2004-09-10 Adam Nemet <anemet@lnxw.com>
556 * inclhack.def (lynx_void_int): Remove.
557 (lynxos_fcntl_proto): Remove.
558 (lynxos_no_warning_in_sys_time_h): New fix.
559 (lynxos_missing_putenv): New fix.
560 * fixincl.x: Regenerate.
561 * tests/base/fcntl.h: Remove.
562 * tests/base/sys/time.h: Update from test area.
563 * tests/base/curses.h: Likewise.
564 * tests/base/stdlib.h: Likewise.
566 2004-09-03 Jan Beulich <jbeulich@novell.com>
568 * inclhack.def: Suppress exception_structure and math_exception
570 * fixincl.x: Regenerate.
572 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
575 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
578 * config.h.in: Generate.
579 * configure: Generate.
581 * fixlib.h: Remove inclusions of gcc files.
584 Other files copied from gcc/fixinc.