1 2006-10-03 Uros Bizjak <uros@kss-loka.si>
3 * inclhack.def (glibc_mutex_init): Also fix
4 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
5 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
7 2006-10-01 Uros Bizjak <uros@kss-loka.si>
9 * inclhack.def (glibc_mutex_init): New fix.
10 * tests/base/pthread.h: Update.
12 * fixincl.x: Regenerate.
14 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
17 Prevent it from running on solaris10 or later.
18 (solaris_once_init_2): Fix comment.
19 * tests/base/pthread.h: Update.
21 * fixincl.x: Regenerate.
23 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25 * inclhack.def (solaris_once_init_2): New fix.
26 * tests/base/pthread.h: Update.
28 * fixincl.x: Regenerate.
30 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
32 * inclhack.def (solaris_mutex_init_2): Remove test for
33 PTHREAD_RWLOCK_INITIALIZER.
34 (solaris_rwlock_init_1): New.
35 * tests/base/pthread.h: Update.
37 * inclhack.def (solaris_once_init_1): New.
38 * tests/base/pthread.h: Adjust for new fix.
40 * fixincl.x: Regenerate.
42 2006-07-17 Roger Sayle <roger@eyesopen.com>
44 * tests/base/errno.h: New file.
45 * tests/base/architecture/ppc/math.h: Likewise.
46 * tests/base/ia64/sys/getppdp.h: Likewise.
48 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
51 * Makefile.in (configure, config.h.in): Change into $(srcdir)
52 before autoconf or autoheader call.
54 2006-06-23 Steve Ellcey <sje@cup.hp.com>
57 * inclhack.def (hpux_extern_errno): New.
58 * fixincl.x: Regenerate.
60 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
62 * Makefile.in: Add dvi info html and install-html to .PHONY
63 Add install-html target.
65 2006-05-16 Mike Stump <mrs@apple.com>
67 * configure.ac: Add -Wno-overlength-strings.
68 * configure: Regenerate.
70 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
74 2006-02-18 Steve Ellcey <sje@cup.hp.com>
77 * inclhack.def (hpux_spu_info): New.
78 * fixincl.x: Regenerate
80 2006-01-31 Marcin Dalecki <martin@dalecki.de>
82 * configure.ac: Check for asprintf, basename, vasprintf.
83 * config.h.in: Regenerate.
84 * configure: Regenerate.
86 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
89 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
92 * fixincl.x: Regenerate.
94 2005-11-24 Bruce Korb <bkorb@gnu.org>
96 * fixincl.c (write_replacement): "here strings" in AutoGen
97 often/generally don't have a terminating newline. Check the
100 2005-11-13 Andreas Jaeger <aj@suse.de>
102 * check.tpl: Handle CVS additionally.
104 2005-11-05 Andreas Jaeger <aj@suse.de>
106 * check.tpl: Adopt for move to subversion.
108 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
111 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
113 * fixincl.x: Regenerate.
114 * tests/base/bits/huge_val.h: New file.
116 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
118 * All files: Update with new FSF address.
120 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
122 * Makefile.in (WARN_CFLAGS): New.
123 (.c.o): Add $(WARN_CFLAGS).
124 * aclocal.m4: Include ../config/warnings.m4.
125 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
126 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
127 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
128 * fixopts.c (initialize_opts): Fix old-style definintion.
130 * configure: Regenerate.
132 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
134 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
135 (AAB_darwin7_9_long_double_funcs_2): New.
136 * fixincl.x: Regenerate.
138 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
141 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
142 Use double quotes in select so \t matches tabs.
144 * fixincl.x: Regenerate.
145 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
147 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
150 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
152 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
153 Joseph S. Myers <joseph@codesourcery.com>
157 * inclhack.def: New fixes solaris_math_[1-9].
158 * fixincl.x: Regenerate.
159 * tests/base/iso/math_c99.h: New.
161 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
163 * aclocal.m4: Remove superfluous reference to accross.m4.
165 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
167 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
168 * server.c (load_data): Likewise.
169 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
170 * fixincl.c: #include <sys/wait.h>
171 (run_compiles): Use XCNEWVEC instead of xcalloc.
172 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
173 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
175 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
177 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
178 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
179 * fixincl.x: Regenerate.
181 2005-05-06 Bruce Korb <bkorb@gnu.org>
182 Joseph S. Myers <joseph@codesourcery.com>
184 * fixinc/inclhack.def: Correct backslashes
185 * fixinc/fixincl.x: regen
187 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
189 * system.h (fopen, fdopen, freopen): Define these to the unlocked
192 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
194 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
195 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
196 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
197 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
199 (fwrite_unlocked): Fix prototype.
201 * configure, config.h.in: Regenerate.
203 2005-03-21 Zack Weinberg <zack@codesourcery.com>
205 * Makefile.in: Set gcc_version directly, not via substitution.
206 (libsubdir): Use $(gcc_version), not $(version).
207 (mkheaders.almost): New rule.
208 (mkheaders): Generate from mkheaders.almost.
209 (clean): Also delete mkheaders.almost.
210 * aclocal.m4: Do not include ../config/gcc-version.m4.
211 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
212 mkheaders.almost from mkheaders.in.
213 * configure: Regenerate.
215 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
218 * inclhack.def: Add fix for array of incomplete structures
219 in function prototype in pthread.h.
220 * fixincl.x: Regenerate.
221 * tests/base/pthread.h: Adjust.
223 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
225 * inclhack.def (hpux_htonl): New fix.
226 * tests/base/netinet/in.h: New test.
227 * fixincl.x: Regenerate.
229 2005-02-23 James E Wilson <wilson@specifixinc.com>
231 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
233 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
236 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
239 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
241 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
242 * aclocal.m4: Include ../config/gcc-version.m4.
243 * configure: Regenerate.
245 2004-11-26 Mark Mitchell <mark@codesourcery.com>
247 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
248 (stdio_va_list): Likewise.
249 (stdio_stdarg.h): Likewise.
250 (solaris_stdio_tag): Add bypass.
251 * fixincl.x: Regenerated.
253 2004-11-23 Geoffrey Keating <geoffk@apple.com>
255 * mkfixinc.sh: Check error code from 'cat'. Don't try running
256 built fixincl program.
257 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
260 2004-11-20 Roger Sayle <roger@eyesopen.com>
262 * inclhack.def (alpha_pthread_init): Fix technical problems with
263 the last check-in caused by CVS variable substitution.
264 * fixincl.x: Likewise.
265 * tests/base/pthread.h: Likewise.
267 2004-11-20 Roger Sayle <roger@eyesopen.com>
268 Bruce Korb <bkorb@gnu.org>
270 * inclhack.def (alpha_pthread_init): New fix.
271 * fixincl.x: Regenerate.
272 * tests/base/pthread.h: Update for new test.
274 2004-11-15 Bruce Korb <bkorb@gnu.org>
276 * fixincl.c(fix_with_system): correct misuse of variables and
277 incorrect application of "sizeof()".
279 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
281 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
282 svr4__p, undefine_null): Remove.
283 * fixincl.x: Regenerate.
284 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
285 * tests/base/sys/param.h: Remove.
286 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
287 tests/base/sys/limits.h: Update.
289 2004-11-12 Mike Stump <mrs@apple.com>
291 * Makefile.in (html): Add html generation support.
293 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
295 * inclhack.def (sco_math): Bypass on __GNUG__.
296 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
297 * fixincl.x: Regenerate.
299 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
301 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
302 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
304 (sun_auth_proto): Bypass on __cplusplus.
305 * fixincl.x: Regenerate.
307 2004-11-05 Geoffrey Keating <geoffk@apple.com>
309 * Makefile.in (mostlyclean): Add fixinc.sh.
310 (clean): Add mkheaders.
316 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
318 * Makefile.in (mostlyclean, distclean): New targets.
320 2004-11-04 Geoffrey Keating <geoffk@apple.com>
322 * configure.ac: Add code to determine noncanonical_target,
323 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
324 * configure: Regenerate.
325 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
326 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
327 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
328 update for changes to fixinc.in.
329 * Makefile.in: Add many new macros.
330 (install): New target.
331 (mkheaders): New target.
332 (fixinc.sh): New target.
333 (all): Add mkheaders and fixinc.sh.
334 * README-fixinc: Move here from gcc/.
336 2004-11-01 Mike Stump <mrs@apple.com>
338 * inclhack.def (stdio_va_list): Break out clients from here...
339 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
340 included or ifdef va_start.
341 * fixincl.x: Regenerate.
343 2004-10-28 Mike Stump <mrs@apple.com>
345 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
347 * fixincl.x: Regenerate.
349 2004-10-27 Geoffrey Keating <geoffk@apple.com>
351 * inclhack.def (darwin_gcc4_breakage): New.
352 * fixincl.x: Regenerate.
354 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
358 * fixfixes.c (main): Check for _PC_NAME_MAX.
360 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
364 * configure.ac: Fix typo.
365 * configure: Regenerate.
366 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
368 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
372 * fixincl.c (SIGCHLD): Remove definition.
373 (initialize): Remove SIGIOT and SIGPIPE checks.
374 (create_file): Fix mkdir() for Win32.
375 (internal_fix): Use dup2() instead of fcntl().
377 * fixlib.h (SIGQUIT): Define if undefined.
383 * procopen.c (chain_open): Use dup2() instead of fcntl().
385 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
389 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
390 Update copyright year.
391 * fixfixes.c (main): Call initialize_opts from fixopts.c.
392 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
393 do not include code for parsing options (environment vars).
394 (fix_with_system): Use a search path for applyfix, so that you
395 can run the test suite with two-process fixincludes.
396 * fixopts.c: New file.
397 * configure.ac: Add --enable-twoprocess. Export ac_exeext
398 to config.h. Default to --enable-twoprocess for MinGW32.
399 * config.h.in: Regenerate.
400 * configure: Regenerate.
402 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
404 * tests/base/sys/cdefs.h: Update from test area.
406 2004-09-17 Roger Sayle <roger@eyesopen.com>
408 * inclhack.def (linux_ia64_ucontext): New fix.
409 * fixincl.x: Regenerate.
410 * tests/base/sys/ucontext.h: New file.
412 2004-09-15 Roger Sayle <roger@eyesopen.com>
414 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
415 * tests/base/stdlib.h: Likewise.
417 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
419 * inclhack.def (freebsd_gcc4_breakage): Add.
420 * fixincl.x: Regenerate.
421 * tests/base/sys/cdefs.h: Update for new test.
423 2004-09-10 Adam Nemet <anemet@lnxw.com>
425 * inclhack.def (lynx_void_int): Remove.
426 (lynxos_fcntl_proto): Remove.
427 (lynxos_no_warning_in_sys_time_h): New fix.
428 (lynxos_missing_putenv): New fix.
429 * fixincl.x: Regenerate.
430 * tests/base/fcntl.h: Remove.
431 * tests/base/sys/time.h: Update from test area.
432 * tests/base/curses.h: Likewise.
433 * tests/base/stdlib.h: Likewise.
435 2004-09-03 Jan Beulich <jbeulich@novell.com>
437 * inclhack.def: Suppress exception_structure and math_exception
439 * fixincl.x: Regenerate.
441 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
444 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
447 * config.h.in: Generate.
448 * configure: Generate.
450 * fixlib.h: Remove inclusions of gcc files.
453 Other files copied from gcc/fixinc.