1 2006-10-29 Joseph Myers <joseph@codesourcery.com>
3 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
4 * fixincl.x: Regenerate.
6 2006-10-10 Brooks Moses <bmoses@stanford.edu>
8 * Makefile.in: Added empty "pdf" target.
10 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
13 * inclhack.def (hpux_pthread_initializers): New hack.
14 * tests/base/sys/pthread.h: New file.
16 * fixincl.x: Regenerate.
18 2006-10-03 Uros Bizjak <uros@kss-loka.si>
20 * inclhack.def (glibc_mutex_init): Also fix
21 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
22 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
23 * tests/base/pthread.h: Update.
25 * fixincl.x: Regenerate.
27 2006-10-01 Uros Bizjak <uros@kss-loka.si>
29 * inclhack.def (glibc_mutex_init): New fix.
30 * tests/base/pthread.h: Update.
32 * fixincl.x: Regenerate.
34 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
36 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
37 Prevent it from running on solaris10 or later.
38 (solaris_once_init_2): Fix comment.
39 * tests/base/pthread.h: Update.
41 * fixincl.x: Regenerate.
43 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
45 * inclhack.def (solaris_once_init_2): New fix.
46 * tests/base/pthread.h: Update.
48 * fixincl.x: Regenerate.
50 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
52 * inclhack.def (solaris_mutex_init_2): Remove test for
53 PTHREAD_RWLOCK_INITIALIZER.
54 (solaris_rwlock_init_1): New.
55 * tests/base/pthread.h: Update.
57 * inclhack.def (solaris_once_init_1): New.
58 * tests/base/pthread.h: Adjust for new fix.
60 * fixincl.x: Regenerate.
62 2006-07-17 Roger Sayle <roger@eyesopen.com>
64 * tests/base/errno.h: New file.
65 * tests/base/architecture/ppc/math.h: Likewise.
66 * tests/base/ia64/sys/getppdp.h: Likewise.
68 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
71 * Makefile.in (configure, config.h.in): Change into $(srcdir)
72 before autoconf or autoheader call.
74 2006-06-23 Steve Ellcey <sje@cup.hp.com>
77 * inclhack.def (hpux_extern_errno): New.
78 * fixincl.x: Regenerate.
80 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
82 * Makefile.in: Add dvi info html and install-html to .PHONY
83 Add install-html target.
85 2006-05-16 Mike Stump <mrs@apple.com>
87 * configure.ac: Add -Wno-overlength-strings.
88 * configure: Regenerate.
90 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
94 2006-02-18 Steve Ellcey <sje@cup.hp.com>
97 * inclhack.def (hpux_spu_info): New.
98 * fixincl.x: Regenerate
100 2006-01-31 Marcin Dalecki <martin@dalecki.de>
102 * configure.ac: Check for asprintf, basename, vasprintf.
103 * config.h.in: Regenerate.
104 * configure: Regenerate.
106 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
109 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
112 * fixincl.x: Regenerate.
114 2005-11-24 Bruce Korb <bkorb@gnu.org>
116 * fixincl.c (write_replacement): "here strings" in AutoGen
117 often/generally don't have a terminating newline. Check the
120 2005-11-13 Andreas Jaeger <aj@suse.de>
122 * check.tpl: Handle CVS additionally.
124 2005-11-05 Andreas Jaeger <aj@suse.de>
126 * check.tpl: Adopt for move to subversion.
128 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
131 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
133 * fixincl.x: Regenerate.
134 * tests/base/bits/huge_val.h: New file.
136 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
138 * All files: Update with new FSF address.
140 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
142 * Makefile.in (WARN_CFLAGS): New.
143 (.c.o): Add $(WARN_CFLAGS).
144 * aclocal.m4: Include ../config/warnings.m4.
145 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
146 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
147 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
148 * fixopts.c (initialize_opts): Fix old-style definintion.
150 * configure: Regenerate.
152 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
154 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
155 (AAB_darwin7_9_long_double_funcs_2): New.
156 * fixincl.x: Regenerate.
158 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
161 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
162 Use double quotes in select so \t matches tabs.
164 * fixincl.x: Regenerate.
165 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
167 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
170 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
172 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
173 Joseph S. Myers <joseph@codesourcery.com>
177 * inclhack.def: New fixes solaris_math_[1-9].
178 * fixincl.x: Regenerate.
179 * tests/base/iso/math_c99.h: New.
181 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
183 * aclocal.m4: Remove superfluous reference to accross.m4.
185 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
187 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
188 * server.c (load_data): Likewise.
189 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
190 * fixincl.c: #include <sys/wait.h>
191 (run_compiles): Use XCNEWVEC instead of xcalloc.
192 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
193 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
195 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
197 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
198 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
199 * fixincl.x: Regenerate.
201 2005-05-06 Bruce Korb <bkorb@gnu.org>
202 Joseph S. Myers <joseph@codesourcery.com>
204 * fixinc/inclhack.def: Correct backslashes
205 * fixinc/fixincl.x: regen
207 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
209 * system.h (fopen, fdopen, freopen): Define these to the unlocked
212 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
214 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
215 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
216 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
217 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
219 (fwrite_unlocked): Fix prototype.
221 * configure, config.h.in: Regenerate.
223 2005-03-21 Zack Weinberg <zack@codesourcery.com>
225 * Makefile.in: Set gcc_version directly, not via substitution.
226 (libsubdir): Use $(gcc_version), not $(version).
227 (mkheaders.almost): New rule.
228 (mkheaders): Generate from mkheaders.almost.
229 (clean): Also delete mkheaders.almost.
230 * aclocal.m4: Do not include ../config/gcc-version.m4.
231 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
232 mkheaders.almost from mkheaders.in.
233 * configure: Regenerate.
235 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
238 * inclhack.def: Add fix for array of incomplete structures
239 in function prototype in pthread.h.
240 * fixincl.x: Regenerate.
241 * tests/base/pthread.h: Adjust.
243 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
245 * inclhack.def (hpux_htonl): New fix.
246 * tests/base/netinet/in.h: New test.
247 * fixincl.x: Regenerate.
249 2005-02-23 James E Wilson <wilson@specifixinc.com>
251 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
253 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
256 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
259 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
261 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
262 * aclocal.m4: Include ../config/gcc-version.m4.
263 * configure: Regenerate.
265 2004-11-26 Mark Mitchell <mark@codesourcery.com>
267 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
268 (stdio_va_list): Likewise.
269 (stdio_stdarg.h): Likewise.
270 (solaris_stdio_tag): Add bypass.
271 * fixincl.x: Regenerated.
273 2004-11-23 Geoffrey Keating <geoffk@apple.com>
275 * mkfixinc.sh: Check error code from 'cat'. Don't try running
276 built fixincl program.
277 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
280 2004-11-20 Roger Sayle <roger@eyesopen.com>
282 * inclhack.def (alpha_pthread_init): Fix technical problems with
283 the last check-in caused by CVS variable substitution.
284 * fixincl.x: Likewise.
285 * tests/base/pthread.h: Likewise.
287 2004-11-20 Roger Sayle <roger@eyesopen.com>
288 Bruce Korb <bkorb@gnu.org>
290 * inclhack.def (alpha_pthread_init): New fix.
291 * fixincl.x: Regenerate.
292 * tests/base/pthread.h: Update for new test.
294 2004-11-15 Bruce Korb <bkorb@gnu.org>
296 * fixincl.c(fix_with_system): correct misuse of variables and
297 incorrect application of "sizeof()".
299 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
301 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
302 svr4__p, undefine_null): Remove.
303 * fixincl.x: Regenerate.
304 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
305 * tests/base/sys/param.h: Remove.
306 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
307 tests/base/sys/limits.h: Update.
309 2004-11-12 Mike Stump <mrs@apple.com>
311 * Makefile.in (html): Add html generation support.
313 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
315 * inclhack.def (sco_math): Bypass on __GNUG__.
316 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
317 * fixincl.x: Regenerate.
319 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
321 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
322 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
324 (sun_auth_proto): Bypass on __cplusplus.
325 * fixincl.x: Regenerate.
327 2004-11-05 Geoffrey Keating <geoffk@apple.com>
329 * Makefile.in (mostlyclean): Add fixinc.sh.
330 (clean): Add mkheaders.
336 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
338 * Makefile.in (mostlyclean, distclean): New targets.
340 2004-11-04 Geoffrey Keating <geoffk@apple.com>
342 * configure.ac: Add code to determine noncanonical_target,
343 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
344 * configure: Regenerate.
345 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
346 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
347 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
348 update for changes to fixinc.in.
349 * Makefile.in: Add many new macros.
350 (install): New target.
351 (mkheaders): New target.
352 (fixinc.sh): New target.
353 (all): Add mkheaders and fixinc.sh.
354 * README-fixinc: Move here from gcc/.
356 2004-11-01 Mike Stump <mrs@apple.com>
358 * inclhack.def (stdio_va_list): Break out clients from here...
359 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
360 included or ifdef va_start.
361 * fixincl.x: Regenerate.
363 2004-10-28 Mike Stump <mrs@apple.com>
365 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
367 * fixincl.x: Regenerate.
369 2004-10-27 Geoffrey Keating <geoffk@apple.com>
371 * inclhack.def (darwin_gcc4_breakage): New.
372 * fixincl.x: Regenerate.
374 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
378 * fixfixes.c (main): Check for _PC_NAME_MAX.
380 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
384 * configure.ac: Fix typo.
385 * configure: Regenerate.
386 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
388 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
392 * fixincl.c (SIGCHLD): Remove definition.
393 (initialize): Remove SIGIOT and SIGPIPE checks.
394 (create_file): Fix mkdir() for Win32.
395 (internal_fix): Use dup2() instead of fcntl().
397 * fixlib.h (SIGQUIT): Define if undefined.
403 * procopen.c (chain_open): Use dup2() instead of fcntl().
405 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
409 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
410 Update copyright year.
411 * fixfixes.c (main): Call initialize_opts from fixopts.c.
412 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
413 do not include code for parsing options (environment vars).
414 (fix_with_system): Use a search path for applyfix, so that you
415 can run the test suite with two-process fixincludes.
416 * fixopts.c: New file.
417 * configure.ac: Add --enable-twoprocess. Export ac_exeext
418 to config.h. Default to --enable-twoprocess for MinGW32.
419 * config.h.in: Regenerate.
420 * configure: Regenerate.
422 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
424 * tests/base/sys/cdefs.h: Update from test area.
426 2004-09-17 Roger Sayle <roger@eyesopen.com>
428 * inclhack.def (linux_ia64_ucontext): New fix.
429 * fixincl.x: Regenerate.
430 * tests/base/sys/ucontext.h: New file.
432 2004-09-15 Roger Sayle <roger@eyesopen.com>
434 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
435 * tests/base/stdlib.h: Likewise.
437 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
439 * inclhack.def (freebsd_gcc4_breakage): Add.
440 * fixincl.x: Regenerate.
441 * tests/base/sys/cdefs.h: Update for new test.
443 2004-09-10 Adam Nemet <anemet@lnxw.com>
445 * inclhack.def (lynx_void_int): Remove.
446 (lynxos_fcntl_proto): Remove.
447 (lynxos_no_warning_in_sys_time_h): New fix.
448 (lynxos_missing_putenv): New fix.
449 * fixincl.x: Regenerate.
450 * tests/base/fcntl.h: Remove.
451 * tests/base/sys/time.h: Update from test area.
452 * tests/base/curses.h: Likewise.
453 * tests/base/stdlib.h: Likewise.
455 2004-09-03 Jan Beulich <jbeulich@novell.com>
457 * inclhack.def: Suppress exception_structure and math_exception
459 * fixincl.x: Regenerate.
461 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
464 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
467 * config.h.in: Generate.
468 * configure: Generate.
470 * fixlib.h: Remove inclusions of gcc files.
473 Other files copied from gcc/fixinc.