1 2006-11-02 Geoffrey Keating <geoffk@apple.com>
3 * inclhack.def (glibc_c99_inline_1): New.
4 * inclhack.def (glibc_c99_inline_2): New.
5 * inclhack.def (glibc_c99_inline_3): New.
6 * inclhack.def (glibc_c99_inline_4): New.
7 * fixincl.x: Regenerate.
8 * tests/base/bits/string2.h: New.
9 * tests/base/sys/sysmacros.h: New.
10 * tests/base/sys/stat.h: Update.
12 2006-11-01 Steve Ellcey <sje@cup.hp.com>
14 * tests/base/sys/socket.h: Update.
16 2006-10-31 Steve Ellcey <sje@cup.hp.com>
18 * inclhack.def (hpux11_extern_sendfile): New.
19 (hpux11_extern_sendpath): New.
20 * fixincl.x: Regenerate.
22 2006-10-29 Joseph Myers <joseph@codesourcery.com>
24 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
25 * fixincl.x: Regenerate.
27 2006-10-10 Brooks Moses <bmoses@stanford.edu>
29 * Makefile.in: Added empty "pdf" target.
31 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
34 * inclhack.def (hpux_pthread_initializers): New hack.
35 * tests/base/sys/pthread.h: New file.
37 * fixincl.x: Regenerate.
39 2006-10-03 Uros Bizjak <uros@kss-loka.si>
41 * inclhack.def (glibc_mutex_init): Also fix
42 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
43 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
44 * tests/base/pthread.h: Update.
46 * fixincl.x: Regenerate.
48 2006-10-01 Uros Bizjak <uros@kss-loka.si>
50 * inclhack.def (glibc_mutex_init): New fix.
51 * tests/base/pthread.h: Update.
53 * fixincl.x: Regenerate.
55 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
57 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
58 Prevent it from running on solaris10 or later.
59 (solaris_once_init_2): Fix comment.
60 * tests/base/pthread.h: Update.
62 * fixincl.x: Regenerate.
64 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
66 * inclhack.def (solaris_once_init_2): New fix.
67 * tests/base/pthread.h: Update.
69 * fixincl.x: Regenerate.
71 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
73 * inclhack.def (solaris_mutex_init_2): Remove test for
74 PTHREAD_RWLOCK_INITIALIZER.
75 (solaris_rwlock_init_1): New.
76 * tests/base/pthread.h: Update.
78 * inclhack.def (solaris_once_init_1): New.
79 * tests/base/pthread.h: Adjust for new fix.
81 * fixincl.x: Regenerate.
83 2006-07-17 Roger Sayle <roger@eyesopen.com>
85 * tests/base/errno.h: New file.
86 * tests/base/architecture/ppc/math.h: Likewise.
87 * tests/base/ia64/sys/getppdp.h: Likewise.
89 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
92 * Makefile.in (configure, config.h.in): Change into $(srcdir)
93 before autoconf or autoheader call.
95 2006-06-23 Steve Ellcey <sje@cup.hp.com>
98 * inclhack.def (hpux_extern_errno): New.
99 * fixincl.x: Regenerate.
101 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
103 * Makefile.in: Add dvi info html and install-html to .PHONY
104 Add install-html target.
106 2006-05-16 Mike Stump <mrs@apple.com>
108 * configure.ac: Add -Wno-overlength-strings.
109 * configure: Regenerate.
111 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
115 2006-02-18 Steve Ellcey <sje@cup.hp.com>
118 * inclhack.def (hpux_spu_info): New.
119 * fixincl.x: Regenerate
121 2006-01-31 Marcin Dalecki <martin@dalecki.de>
123 * configure.ac: Check for asprintf, basename, vasprintf.
124 * config.h.in: Regenerate.
125 * configure: Regenerate.
127 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
130 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
133 * fixincl.x: Regenerate.
135 2005-11-24 Bruce Korb <bkorb@gnu.org>
137 * fixincl.c (write_replacement): "here strings" in AutoGen
138 often/generally don't have a terminating newline. Check the
141 2005-11-13 Andreas Jaeger <aj@suse.de>
143 * check.tpl: Handle CVS additionally.
145 2005-11-05 Andreas Jaeger <aj@suse.de>
147 * check.tpl: Adopt for move to subversion.
149 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
152 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
154 * fixincl.x: Regenerate.
155 * tests/base/bits/huge_val.h: New file.
157 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
159 * All files: Update with new FSF address.
161 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
163 * Makefile.in (WARN_CFLAGS): New.
164 (.c.o): Add $(WARN_CFLAGS).
165 * aclocal.m4: Include ../config/warnings.m4.
166 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
167 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
168 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
169 * fixopts.c (initialize_opts): Fix old-style definintion.
171 * configure: Regenerate.
173 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
175 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
176 (AAB_darwin7_9_long_double_funcs_2): New.
177 * fixincl.x: Regenerate.
179 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
182 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
183 Use double quotes in select so \t matches tabs.
185 * fixincl.x: Regenerate.
186 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
188 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
191 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
193 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
194 Joseph S. Myers <joseph@codesourcery.com>
198 * inclhack.def: New fixes solaris_math_[1-9].
199 * fixincl.x: Regenerate.
200 * tests/base/iso/math_c99.h: New.
202 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
204 * aclocal.m4: Remove superfluous reference to accross.m4.
206 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
208 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
209 * server.c (load_data): Likewise.
210 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
211 * fixincl.c: #include <sys/wait.h>
212 (run_compiles): Use XCNEWVEC instead of xcalloc.
213 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
214 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
216 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
218 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
219 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
220 * fixincl.x: Regenerate.
222 2005-05-06 Bruce Korb <bkorb@gnu.org>
223 Joseph S. Myers <joseph@codesourcery.com>
225 * fixinc/inclhack.def: Correct backslashes
226 * fixinc/fixincl.x: regen
228 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
230 * system.h (fopen, fdopen, freopen): Define these to the unlocked
233 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
235 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
236 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
237 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
238 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
240 (fwrite_unlocked): Fix prototype.
242 * configure, config.h.in: Regenerate.
244 2005-03-21 Zack Weinberg <zack@codesourcery.com>
246 * Makefile.in: Set gcc_version directly, not via substitution.
247 (libsubdir): Use $(gcc_version), not $(version).
248 (mkheaders.almost): New rule.
249 (mkheaders): Generate from mkheaders.almost.
250 (clean): Also delete mkheaders.almost.
251 * aclocal.m4: Do not include ../config/gcc-version.m4.
252 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
253 mkheaders.almost from mkheaders.in.
254 * configure: Regenerate.
256 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
259 * inclhack.def: Add fix for array of incomplete structures
260 in function prototype in pthread.h.
261 * fixincl.x: Regenerate.
262 * tests/base/pthread.h: Adjust.
264 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
266 * inclhack.def (hpux_htonl): New fix.
267 * tests/base/netinet/in.h: New test.
268 * fixincl.x: Regenerate.
270 2005-02-23 James E Wilson <wilson@specifixinc.com>
272 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
274 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
277 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
280 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
282 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
283 * aclocal.m4: Include ../config/gcc-version.m4.
284 * configure: Regenerate.
286 2004-11-26 Mark Mitchell <mark@codesourcery.com>
288 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
289 (stdio_va_list): Likewise.
290 (stdio_stdarg.h): Likewise.
291 (solaris_stdio_tag): Add bypass.
292 * fixincl.x: Regenerated.
294 2004-11-23 Geoffrey Keating <geoffk@apple.com>
296 * mkfixinc.sh: Check error code from 'cat'. Don't try running
297 built fixincl program.
298 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
301 2004-11-20 Roger Sayle <roger@eyesopen.com>
303 * inclhack.def (alpha_pthread_init): Fix technical problems with
304 the last check-in caused by CVS variable substitution.
305 * fixincl.x: Likewise.
306 * tests/base/pthread.h: Likewise.
308 2004-11-20 Roger Sayle <roger@eyesopen.com>
309 Bruce Korb <bkorb@gnu.org>
311 * inclhack.def (alpha_pthread_init): New fix.
312 * fixincl.x: Regenerate.
313 * tests/base/pthread.h: Update for new test.
315 2004-11-15 Bruce Korb <bkorb@gnu.org>
317 * fixincl.c(fix_with_system): correct misuse of variables and
318 incorrect application of "sizeof()".
320 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
322 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
323 svr4__p, undefine_null): Remove.
324 * fixincl.x: Regenerate.
325 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
326 * tests/base/sys/param.h: Remove.
327 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
328 tests/base/sys/limits.h: Update.
330 2004-11-12 Mike Stump <mrs@apple.com>
332 * Makefile.in (html): Add html generation support.
334 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
336 * inclhack.def (sco_math): Bypass on __GNUG__.
337 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
338 * fixincl.x: Regenerate.
340 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
342 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
343 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
345 (sun_auth_proto): Bypass on __cplusplus.
346 * fixincl.x: Regenerate.
348 2004-11-05 Geoffrey Keating <geoffk@apple.com>
350 * Makefile.in (mostlyclean): Add fixinc.sh.
351 (clean): Add mkheaders.
357 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
359 * Makefile.in (mostlyclean, distclean): New targets.
361 2004-11-04 Geoffrey Keating <geoffk@apple.com>
363 * configure.ac: Add code to determine noncanonical_target,
364 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
365 * configure: Regenerate.
366 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
367 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
368 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
369 update for changes to fixinc.in.
370 * Makefile.in: Add many new macros.
371 (install): New target.
372 (mkheaders): New target.
373 (fixinc.sh): New target.
374 (all): Add mkheaders and fixinc.sh.
375 * README-fixinc: Move here from gcc/.
377 2004-11-01 Mike Stump <mrs@apple.com>
379 * inclhack.def (stdio_va_list): Break out clients from here...
380 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
381 included or ifdef va_start.
382 * fixincl.x: Regenerate.
384 2004-10-28 Mike Stump <mrs@apple.com>
386 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
388 * fixincl.x: Regenerate.
390 2004-10-27 Geoffrey Keating <geoffk@apple.com>
392 * inclhack.def (darwin_gcc4_breakage): New.
393 * fixincl.x: Regenerate.
395 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
399 * fixfixes.c (main): Check for _PC_NAME_MAX.
401 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
405 * configure.ac: Fix typo.
406 * configure: Regenerate.
407 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
409 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
413 * fixincl.c (SIGCHLD): Remove definition.
414 (initialize): Remove SIGIOT and SIGPIPE checks.
415 (create_file): Fix mkdir() for Win32.
416 (internal_fix): Use dup2() instead of fcntl().
418 * fixlib.h (SIGQUIT): Define if undefined.
424 * procopen.c (chain_open): Use dup2() instead of fcntl().
426 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
430 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
431 Update copyright year.
432 * fixfixes.c (main): Call initialize_opts from fixopts.c.
433 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
434 do not include code for parsing options (environment vars).
435 (fix_with_system): Use a search path for applyfix, so that you
436 can run the test suite with two-process fixincludes.
437 * fixopts.c: New file.
438 * configure.ac: Add --enable-twoprocess. Export ac_exeext
439 to config.h. Default to --enable-twoprocess for MinGW32.
440 * config.h.in: Regenerate.
441 * configure: Regenerate.
443 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
445 * tests/base/sys/cdefs.h: Update from test area.
447 2004-09-17 Roger Sayle <roger@eyesopen.com>
449 * inclhack.def (linux_ia64_ucontext): New fix.
450 * fixincl.x: Regenerate.
451 * tests/base/sys/ucontext.h: New file.
453 2004-09-15 Roger Sayle <roger@eyesopen.com>
455 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
456 * tests/base/stdlib.h: Likewise.
458 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
460 * inclhack.def (freebsd_gcc4_breakage): Add.
461 * fixincl.x: Regenerate.
462 * tests/base/sys/cdefs.h: Update for new test.
464 2004-09-10 Adam Nemet <anemet@lnxw.com>
466 * inclhack.def (lynx_void_int): Remove.
467 (lynxos_fcntl_proto): Remove.
468 (lynxos_no_warning_in_sys_time_h): New fix.
469 (lynxos_missing_putenv): New fix.
470 * fixincl.x: Regenerate.
471 * tests/base/fcntl.h: Remove.
472 * tests/base/sys/time.h: Update from test area.
473 * tests/base/curses.h: Likewise.
474 * tests/base/stdlib.h: Likewise.
476 2004-09-03 Jan Beulich <jbeulich@novell.com>
478 * inclhack.def: Suppress exception_structure and math_exception
480 * fixincl.x: Regenerate.
482 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
485 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
488 * config.h.in: Generate.
489 * configure: Generate.
491 * fixlib.h: Remove inclusions of gcc files.
494 Other files copied from gcc/fixinc.