1 2007-03-06 Joseph Myers <joseph@codesourcery.com>
3 * mkheaders.in: Fix headers for each multilib required.
5 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
7 * Makefile.in: Add dummy install-pdf target.
9 2007-02-27 Joseph Myers <joseph@codesourcery.com>
11 * mkheaders.in (incdir): Use include-fixed not include.
13 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
15 * Makefile.in: Added "pdf" target to .PHONY.
17 2007-02-05 Richard Guenther <rguenther@suse.de>
19 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
20 with older glibc. Adjust version number for C99.
21 * fixincl.x: Regenerated.
23 2007-02-04 Mike Stump <mrs@apple.com>
25 * mkheaders.in: Allow optional isysroot parameter.
27 2007-02-03 Bruce Korb <bkorb@gnu.org>
29 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
30 surrounded by space characters.
32 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
35 * inclhack.def(broken_cabs): Also remove definition of cabsl.
36 * fixincl.x: Regenerate.
37 * tests/base/math.h: Update.
39 2007-01-05 Bruce Korb <bkorb@gnu.org>,
40 Daniel Franke <franke.daniel@gmail.com>
43 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
44 of a vertical bar ("|").
45 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
46 matching. Set SKIP_TEST flag if we are not to run a test.
47 * fixincl.x: Regenerate.
48 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
49 kandr_concat, sco_math): Replace lists of specfic file names by search
52 2006-12-12 Olivier Hainque <hainque@adacore.com>
54 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
55 targets for which a no-op fixer is appropriate.
57 2006-11-07 Richard Guenther <rguenther@suse.de>
59 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
61 * fixincl.x: Regenerate.
63 2006-11-02 Geoffrey Keating <geoffk@apple.com>
65 * inclhack.def (glibc_c99_inline_1): New.
66 * inclhack.def (glibc_c99_inline_2): New.
67 * inclhack.def (glibc_c99_inline_3): New.
68 * inclhack.def (glibc_c99_inline_4): New.
69 * fixincl.x: Regenerate.
70 * tests/base/bits/string2.h: New.
71 * tests/base/sys/sysmacros.h: New.
72 * tests/base/sys/stat.h: Update.
74 2006-11-01 Steve Ellcey <sje@cup.hp.com>
76 * tests/base/sys/socket.h: Update.
78 2006-10-31 Steve Ellcey <sje@cup.hp.com>
80 * inclhack.def (hpux11_extern_sendfile): New.
81 (hpux11_extern_sendpath): New.
82 * fixincl.x: Regenerate.
84 2006-10-29 Joseph Myers <joseph@codesourcery.com>
86 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
87 * fixincl.x: Regenerate.
89 2006-10-10 Brooks Moses <bmoses@stanford.edu>
91 * Makefile.in: Added empty "pdf" target.
93 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
96 * inclhack.def (hpux_pthread_initializers): New hack.
97 * tests/base/sys/pthread.h: New file.
99 * fixincl.x: Regenerate.
101 2006-10-03 Uros Bizjak <uros@kss-loka.si>
103 * inclhack.def (glibc_mutex_init): Also fix
104 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
105 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
106 * tests/base/pthread.h: Update.
108 * fixincl.x: Regenerate.
110 2006-10-01 Uros Bizjak <uros@kss-loka.si>
112 * inclhack.def (glibc_mutex_init): New fix.
113 * tests/base/pthread.h: Update.
115 * fixincl.x: Regenerate.
117 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
119 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
120 Prevent it from running on solaris10 or later.
121 (solaris_once_init_2): Fix comment.
122 * tests/base/pthread.h: Update.
124 * fixincl.x: Regenerate.
126 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
128 * inclhack.def (solaris_once_init_2): New fix.
129 * tests/base/pthread.h: Update.
131 * fixincl.x: Regenerate.
133 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
135 * inclhack.def (solaris_mutex_init_2): Remove test for
136 PTHREAD_RWLOCK_INITIALIZER.
137 (solaris_rwlock_init_1): New.
138 * tests/base/pthread.h: Update.
140 * inclhack.def (solaris_once_init_1): New.
141 * tests/base/pthread.h: Adjust for new fix.
143 * fixincl.x: Regenerate.
145 2006-07-17 Roger Sayle <roger@eyesopen.com>
147 * tests/base/errno.h: New file.
148 * tests/base/architecture/ppc/math.h: Likewise.
149 * tests/base/ia64/sys/getppdp.h: Likewise.
151 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
154 * Makefile.in (configure, config.h.in): Change into $(srcdir)
155 before autoconf or autoheader call.
157 2006-06-23 Steve Ellcey <sje@cup.hp.com>
160 * inclhack.def (hpux_extern_errno): New.
161 * fixincl.x: Regenerate.
163 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
165 * Makefile.in: Add dvi info html and install-html to .PHONY
166 Add install-html target.
168 2006-05-16 Mike Stump <mrs@apple.com>
170 * configure.ac: Add -Wno-overlength-strings.
171 * configure: Regenerate.
173 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
177 2006-02-18 Steve Ellcey <sje@cup.hp.com>
180 * inclhack.def (hpux_spu_info): New.
181 * fixincl.x: Regenerate
183 2006-01-31 Marcin Dalecki <martin@dalecki.de>
185 * configure.ac: Check for asprintf, basename, vasprintf.
186 * config.h.in: Regenerate.
187 * configure: Regenerate.
189 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
192 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
195 * fixincl.x: Regenerate.
197 2005-11-24 Bruce Korb <bkorb@gnu.org>
199 * fixincl.c (write_replacement): "here strings" in AutoGen
200 often/generally don't have a terminating newline. Check the
203 2005-11-13 Andreas Jaeger <aj@suse.de>
205 * check.tpl: Handle CVS additionally.
207 2005-11-05 Andreas Jaeger <aj@suse.de>
209 * check.tpl: Adopt for move to subversion.
211 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
214 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
216 * fixincl.x: Regenerate.
217 * tests/base/bits/huge_val.h: New file.
219 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
221 * All files: Update with new FSF address.
223 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
225 * Makefile.in (WARN_CFLAGS): New.
226 (.c.o): Add $(WARN_CFLAGS).
227 * aclocal.m4: Include ../config/warnings.m4.
228 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
229 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
230 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
231 * fixopts.c (initialize_opts): Fix old-style definintion.
233 * configure: Regenerate.
235 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
237 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
238 (AAB_darwin7_9_long_double_funcs_2): New.
239 * fixincl.x: Regenerate.
241 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
244 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
245 Use double quotes in select so \t matches tabs.
247 * fixincl.x: Regenerate.
248 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
250 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
253 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
255 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
256 Joseph S. Myers <joseph@codesourcery.com>
260 * inclhack.def: New fixes solaris_math_[1-9].
261 * fixincl.x: Regenerate.
262 * tests/base/iso/math_c99.h: New.
264 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
266 * aclocal.m4: Remove superfluous reference to accross.m4.
268 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
270 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
271 * server.c (load_data): Likewise.
272 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
273 * fixincl.c: #include <sys/wait.h>
274 (run_compiles): Use XCNEWVEC instead of xcalloc.
275 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
276 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
278 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
280 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
281 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
282 * fixincl.x: Regenerate.
284 2005-05-06 Bruce Korb <bkorb@gnu.org>
285 Joseph S. Myers <joseph@codesourcery.com>
287 * fixinc/inclhack.def: Correct backslashes
288 * fixinc/fixincl.x: regen
290 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
292 * system.h (fopen, fdopen, freopen): Define these to the unlocked
295 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
297 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
298 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
299 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
300 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
302 (fwrite_unlocked): Fix prototype.
304 * configure, config.h.in: Regenerate.
306 2005-03-21 Zack Weinberg <zack@codesourcery.com>
308 * Makefile.in: Set gcc_version directly, not via substitution.
309 (libsubdir): Use $(gcc_version), not $(version).
310 (mkheaders.almost): New rule.
311 (mkheaders): Generate from mkheaders.almost.
312 (clean): Also delete mkheaders.almost.
313 * aclocal.m4: Do not include ../config/gcc-version.m4.
314 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
315 mkheaders.almost from mkheaders.in.
316 * configure: Regenerate.
318 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
321 * inclhack.def: Add fix for array of incomplete structures
322 in function prototype in pthread.h.
323 * fixincl.x: Regenerate.
324 * tests/base/pthread.h: Adjust.
326 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
328 * inclhack.def (hpux_htonl): New fix.
329 * tests/base/netinet/in.h: New test.
330 * fixincl.x: Regenerate.
332 2005-02-23 James E Wilson <wilson@specifixinc.com>
334 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
336 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
339 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
342 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
344 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
345 * aclocal.m4: Include ../config/gcc-version.m4.
346 * configure: Regenerate.
348 2004-11-26 Mark Mitchell <mark@codesourcery.com>
350 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
351 (stdio_va_list): Likewise.
352 (stdio_stdarg.h): Likewise.
353 (solaris_stdio_tag): Add bypass.
354 * fixincl.x: Regenerated.
356 2004-11-23 Geoffrey Keating <geoffk@apple.com>
358 * mkfixinc.sh: Check error code from 'cat'. Don't try running
359 built fixincl program.
360 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
363 2004-11-20 Roger Sayle <roger@eyesopen.com>
365 * inclhack.def (alpha_pthread_init): Fix technical problems with
366 the last check-in caused by CVS variable substitution.
367 * fixincl.x: Likewise.
368 * tests/base/pthread.h: Likewise.
370 2004-11-20 Roger Sayle <roger@eyesopen.com>
371 Bruce Korb <bkorb@gnu.org>
373 * inclhack.def (alpha_pthread_init): New fix.
374 * fixincl.x: Regenerate.
375 * tests/base/pthread.h: Update for new test.
377 2004-11-15 Bruce Korb <bkorb@gnu.org>
379 * fixincl.c(fix_with_system): correct misuse of variables and
380 incorrect application of "sizeof()".
382 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
384 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
385 svr4__p, undefine_null): Remove.
386 * fixincl.x: Regenerate.
387 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
388 * tests/base/sys/param.h: Remove.
389 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
390 tests/base/sys/limits.h: Update.
392 2004-11-12 Mike Stump <mrs@apple.com>
394 * Makefile.in (html): Add html generation support.
396 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
398 * inclhack.def (sco_math): Bypass on __GNUG__.
399 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
400 * fixincl.x: Regenerate.
402 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
404 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
405 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
407 (sun_auth_proto): Bypass on __cplusplus.
408 * fixincl.x: Regenerate.
410 2004-11-05 Geoffrey Keating <geoffk@apple.com>
412 * Makefile.in (mostlyclean): Add fixinc.sh.
413 (clean): Add mkheaders.
419 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
421 * Makefile.in (mostlyclean, distclean): New targets.
423 2004-11-04 Geoffrey Keating <geoffk@apple.com>
425 * configure.ac: Add code to determine noncanonical_target,
426 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
427 * configure: Regenerate.
428 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
429 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
430 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
431 update for changes to fixinc.in.
432 * Makefile.in: Add many new macros.
433 (install): New target.
434 (mkheaders): New target.
435 (fixinc.sh): New target.
436 (all): Add mkheaders and fixinc.sh.
437 * README-fixinc: Move here from gcc/.
439 2004-11-01 Mike Stump <mrs@apple.com>
441 * inclhack.def (stdio_va_list): Break out clients from here...
442 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
443 included or ifdef va_start.
444 * fixincl.x: Regenerate.
446 2004-10-28 Mike Stump <mrs@apple.com>
448 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
450 * fixincl.x: Regenerate.
452 2004-10-27 Geoffrey Keating <geoffk@apple.com>
454 * inclhack.def (darwin_gcc4_breakage): New.
455 * fixincl.x: Regenerate.
457 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
461 * fixfixes.c (main): Check for _PC_NAME_MAX.
463 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
467 * configure.ac: Fix typo.
468 * configure: Regenerate.
469 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
471 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
475 * fixincl.c (SIGCHLD): Remove definition.
476 (initialize): Remove SIGIOT and SIGPIPE checks.
477 (create_file): Fix mkdir() for Win32.
478 (internal_fix): Use dup2() instead of fcntl().
480 * fixlib.h (SIGQUIT): Define if undefined.
486 * procopen.c (chain_open): Use dup2() instead of fcntl().
488 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
492 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
493 Update copyright year.
494 * fixfixes.c (main): Call initialize_opts from fixopts.c.
495 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
496 do not include code for parsing options (environment vars).
497 (fix_with_system): Use a search path for applyfix, so that you
498 can run the test suite with two-process fixincludes.
499 * fixopts.c: New file.
500 * configure.ac: Add --enable-twoprocess. Export ac_exeext
501 to config.h. Default to --enable-twoprocess for MinGW32.
502 * config.h.in: Regenerate.
503 * configure: Regenerate.
505 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
507 * tests/base/sys/cdefs.h: Update from test area.
509 2004-09-17 Roger Sayle <roger@eyesopen.com>
511 * inclhack.def (linux_ia64_ucontext): New fix.
512 * fixincl.x: Regenerate.
513 * tests/base/sys/ucontext.h: New file.
515 2004-09-15 Roger Sayle <roger@eyesopen.com>
517 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
518 * tests/base/stdlib.h: Likewise.
520 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
522 * inclhack.def (freebsd_gcc4_breakage): Add.
523 * fixincl.x: Regenerate.
524 * tests/base/sys/cdefs.h: Update for new test.
526 2004-09-10 Adam Nemet <anemet@lnxw.com>
528 * inclhack.def (lynx_void_int): Remove.
529 (lynxos_fcntl_proto): Remove.
530 (lynxos_no_warning_in_sys_time_h): New fix.
531 (lynxos_missing_putenv): New fix.
532 * fixincl.x: Regenerate.
533 * tests/base/fcntl.h: Remove.
534 * tests/base/sys/time.h: Update from test area.
535 * tests/base/curses.h: Likewise.
536 * tests/base/stdlib.h: Likewise.
538 2004-09-03 Jan Beulich <jbeulich@novell.com>
540 * inclhack.def: Suppress exception_structure and math_exception
542 * fixincl.x: Regenerate.
544 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
547 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
550 * config.h.in: Generate.
551 * configure: Generate.
553 * fixlib.h: Remove inclusions of gcc files.
556 Other files copied from gcc/fixinc.