Set SKIP_TEST flag if we are not to run a test.
[platform/upstream/gcc.git] / fixincludes / ChangeLog
1 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
2             Daniel Franke <franke.daniel@gmail.com>
3
4         PR target/30008
5         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
6         of a vertical bar ("|").
7         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
8         matching.  Set SKIP_TEST flag if we are not to run a test.
9         * fixincl.x: Regenerate.
10         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
11         kandr_concat, sco_math): Replace lists of specfic file names by search
12         patterns.
13
14 2006-12-12  Olivier Hainque  <hainque@adacore.com>
15
16         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
17         targets for which a no-op fixer is appropriate.
18         
19 2006-11-07  Richard Guenther  <rguenther@suse.de>
20
21         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
22         systems.
23         * fixincl.x: Regenerate.
24
25 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
26
27         * inclhack.def (glibc_c99_inline_1): New.
28         * inclhack.def (glibc_c99_inline_2): New.
29         * inclhack.def (glibc_c99_inline_3): New.
30         * inclhack.def (glibc_c99_inline_4): New.
31         * fixincl.x: Regenerate.
32         * tests/base/bits/string2.h: New.
33         * tests/base/sys/sysmacros.h: New.
34         * tests/base/sys/stat.h: Update.
35
36 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
37
38         * tests/base/sys/socket.h: Update.
39
40 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
41
42         * inclhack.def (hpux11_extern_sendfile): New.
43         (hpux11_extern_sendpath): New.
44         * fixincl.x: Regenerate.
45
46 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
47
48         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
49         * fixincl.x: Regenerate.
50
51 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
52
53         * Makefile.in: Added empty "pdf" target.
54
55 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
56
57         PR target/29300
58         * inclhack.def (hpux_pthread_initializers): New hack.
59         * tests/base/sys/pthread.h: New file.
60
61         * fixincl.x: Regenerate.
62
63 2006-10-03  Uros Bizjak <uros@kss-loka.si>
64
65         * inclhack.def (glibc_mutex_init): Also fix
66         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
67         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
68         * tests/base/pthread.h: Update.
69
70         * fixincl.x: Regenerate.
71
72 2006-10-01  Uros Bizjak <uros@kss-loka.si>
73
74         * inclhack.def (glibc_mutex_init): New fix.
75         * tests/base/pthread.h: Update.
76
77         * fixincl.x: Regenerate.
78
79 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
80
81         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
82         Prevent it from running on solaris10 or later.
83         (solaris_once_init_2): Fix comment.
84         * tests/base/pthread.h: Update.
85
86         * fixincl.x: Regenerate.
87
88 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
89
90         * inclhack.def (solaris_once_init_2): New fix.
91         * tests/base/pthread.h: Update.
92
93         * fixincl.x: Regenerate.
94
95 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
96
97         * inclhack.def (solaris_mutex_init_2): Remove test for
98         PTHREAD_RWLOCK_INITIALIZER.
99         (solaris_rwlock_init_1): New.
100         * tests/base/pthread.h: Update.
101
102         * inclhack.def (solaris_once_init_1): New.
103         * tests/base/pthread.h: Adjust for new fix.
104         
105         * fixincl.x: Regenerate.
106
107 2006-07-17  Roger Sayle  <roger@eyesopen.com>
108
109         * tests/base/errno.h: New file.
110         * tests/base/architecture/ppc/math.h: Likewise.
111         * tests/base/ia64/sys/getppdp.h: Likewise.
112
113 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
114
115         PR bootstrap/20437
116         * Makefile.in (configure, config.h.in): Change into $(srcdir)
117         before autoconf or autoheader call.
118
119 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
120
121         PR target/28084
122         * inclhack.def (hpux_extern_errno): New.
123         * fixincl.x: Regenerate.
124
125 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
126
127         * Makefile.in: Add dvi info html and install-html to .PHONY
128         Add install-html target.
129
130 2006-05-16  Mike Stump  <mrs@apple.com>
131
132         * configure.ac: Add -Wno-overlength-strings.
133         * configure: Regenerate.
134
135 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
136
137         * README: Fix typo.
138
139 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
140
141         PR target/26189
142         * inclhack.def (hpux_spu_info): New.
143         * fixincl.x: Regenerate
144
145 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
146
147         * configure.ac: Check for asprintf, basename, vasprintf.
148         * config.h.in: Regenerate.
149         * configure: Regenerate.
150
151 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
152
153         PR target/15642
154         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
155         __APPLE_CC_ as 1345.
156         (broken_nan): New.
157         * fixincl.x: Regenerate.
158
159 2005-11-24  Bruce Korb  <bkorb@gnu.org>
160
161         * fixincl.c (write_replacement): "here strings" in AutoGen
162         often/generally don't have a terminating newline.  Check the
163         last byte for '\n'.
164
165 2005-11-13  Andreas Jaeger  <aj@suse.de>
166
167         * check.tpl: Handle CVS additionally.
168
169 2005-11-05  Andreas Jaeger  <aj@suse.de>
170
171         * check.tpl: Adopt for move to subversion.
172
173 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
174
175         PR c++/23139
176         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
177         fixes.
178         * fixincl.x: Regenerate.
179         * tests/base/bits/huge_val.h: New file.
180
181 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
182
183         * All files: Update with new FSF address.
184
185 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
186
187         * Makefile.in (WARN_CFLAGS): New.
188         (.c.o): Add $(WARN_CFLAGS).
189         * aclocal.m4: Include ../config/warnings.m4.
190         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
191         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
192         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
193         * fixopts.c (initialize_opts): Fix old-style definintion.
194
195         * configure: Regenerate.
196
197 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
198
199         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
200         (AAB_darwin7_9_long_double_funcs_2): New.
201         * fixincl.x: Regenerate.
202
203 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
204
205         PR libfortran/15266
206         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
207         Use double quotes in select so \t matches tabs.
208         Add IRIX testcase.
209         * fixincl.x: Regenerate.
210         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
211
212 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
213
214         PR target/21683
215         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
216
217 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
218             Joseph S. Myers  <joseph@codesourcery.com>
219
220         PR target/19933
221         PR target/21315
222         * inclhack.def: New fixes solaris_math_[1-9].
223         * fixincl.x: Regenerate.
224         * tests/base/iso/math_c99.h: New.
225
226 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
227
228         * aclocal.m4: Remove superfluous reference to accross.m4.
229
230 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
231
232         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
233         * server.c (load_data): Likewise.
234         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
235         * fixincl.c: #include <sys/wait.h>
236         (run_compiles): Use XCNEWVEC instead of xcalloc.
237         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
238         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
239
240 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
241
242         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
243         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
244         * fixincl.x: Regenerate.
245
246 2005-05-06  Bruce Korb  <bkorb@gnu.org>
247         Joseph S. Myers <joseph@codesourcery.com>
248
249         * fixinc/inclhack.def: Correct backslashes
250         * fixinc/fixincl.x: regen
251
252 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
253
254         * system.h (fopen, fdopen, freopen): Define these to the unlocked
255         libiberty functions.
256
257 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
258
259         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
260         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
261         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
262         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
263         _unlocked function.
264         (fwrite_unlocked): Fix prototype.
265
266         * configure, config.h.in: Regenerate.
267
268 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
269
270         * Makefile.in: Set gcc_version directly, not via substitution.
271         (libsubdir): Use $(gcc_version), not $(version).
272         (mkheaders.almost): New rule.
273         (mkheaders): Generate from mkheaders.almost.
274         (clean): Also delete mkheaders.almost.
275         * aclocal.m4: Do not include ../config/gcc-version.m4.
276         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
277         mkheaders.almost from mkheaders.in.
278         * configure: Regenerate.
279
280 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
281
282         PR target/20166
283         * inclhack.def: Add fix for array of incomplete structures
284         in function prototype in pthread.h.
285         * fixincl.x: Regenerate.
286         * tests/base/pthread.h: Adjust.
287
288 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
289
290         * inclhack.def (hpux_htonl): New fix.
291         * tests/base/netinet/in.h: New test.
292         * fixincl.x: Regenerate.
293
294 2005-02-23  James E Wilson  <wilson@specifixinc.com>
295
296         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
297
298 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
299
300         PR 18458
301         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
302         fixincl.
303
304 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
305
306         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
307         * aclocal.m4: Include ../config/gcc-version.m4.
308         * configure: Regenerate.
309
310 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
311
312         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
313         (stdio_va_list): Likewise.
314         (stdio_stdarg.h): Likewise.
315         (solaris_stdio_tag): Add bypass.
316         * fixincl.x: Regenerated.
317
318 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
319
320         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
321         built fixincl program.
322         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
323         up csh from user.
324
325 2004-11-20  Roger Sayle  <roger@eyesopen.com>
326
327         * inclhack.def (alpha_pthread_init): Fix technical problems with
328         the last check-in caused by CVS variable substitution.
329         * fixincl.x: Likewise.
330         * tests/base/pthread.h: Likewise.
331
332 2004-11-20  Roger Sayle  <roger@eyesopen.com>
333             Bruce Korb  <bkorb@gnu.org>
334
335         * inclhack.def (alpha_pthread_init): New fix.
336         * fixincl.x: Regenerate.
337         * tests/base/pthread.h: Update for new test.
338
339 2004-11-15  Bruce Korb  <bkorb@gnu.org>
340
341         * fixincl.c(fix_with_system): correct misuse of variables and
342         incorrect application of "sizeof()".
343
344 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
345
346         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
347         svr4__p, undefine_null): Remove.
348         * fixincl.x: Regenerate.
349         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
350         * tests/base/sys/param.h: Remove.
351         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
352         tests/base/sys/limits.h: Update.
353
354 2004-11-12  Mike Stump  <mrs@apple.com>
355
356         * Makefile.in (html): Add html generation support.
357
358 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
359
360         * inclhack.def (sco_math): Bypass on __GNUG__.
361         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
362         * fixincl.x: Regenerate.
363
364 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
365
366         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
367         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
368         _CLASSIC_ANSI_TYPES.
369         (sun_auth_proto): Bypass on __cplusplus.
370         * fixincl.x: Regenerate.
371
372 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
373
374         * Makefile.in (mostlyclean): Add fixinc.sh.
375         (clean): Add mkheaders.
376         (distclean): New.
377         (dvi): New.
378         (info): New.
379         (installcheck): New.
380
381 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
382
383         * Makefile.in (mostlyclean, distclean): New targets.
384
385 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
386
387         * configure.ac: Add code to determine noncanonical_target,
388         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
389         * configure: Regenerate.
390         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
391         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
392         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
393         update for changes to fixinc.in.
394         * Makefile.in: Add many new macros.
395         (install): New target.
396         (mkheaders): New target.
397         (fixinc.sh): New target.
398         (all): Add mkheaders and fixinc.sh.
399         * README-fixinc: Move here from gcc/.
400
401 2004-11-01  Mike Stump  <mrs@apple.com>
402
403         * inclhack.def (stdio_va_list): Break out clients from here...
404         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
405         included or ifdef va_start.
406         * fixincl.x: Regenerate.
407
408 2004-10-28  Mike Stump  <mrs@apple.com>
409
410         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
411         systems.
412         * fixincl.x: Regenerate.
413
414 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
415
416         * inclhack.def (darwin_gcc4_breakage): New.
417         * fixincl.x: Regenerate.
418
419 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
420
421         PR bootstrap/17832
422
423         * fixfixes.c (main): Check for _PC_NAME_MAX.
424
425 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
426
427         PR other/17991
428
429         * configure.ac: Fix typo.
430         * configure: Regenerate.
431         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
432
433 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
434
435         PR bootstrap/17832
436
437         * fixincl.c (SIGCHLD): Remove definition.
438         (initialize): Remove SIGIOT and SIGPIPE checks.
439         (create_file): Fix mkdir() for Win32.
440         (internal_fix): Use dup2() instead of fcntl().
441
442         * fixlib.h (SIGQUIT): Define if undefined.
443         (SIGIOT): Same.
444         (SIGPIPE): Same.
445         (SIGALRM): Same.
446         (SIGKILL): Same.
447
448         * procopen.c (chain_open): Use dup2() instead of fcntl().
449
450 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
451
452         PR other/17991
453
454         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
455         Update copyright year.
456         * fixfixes.c (main): Call initialize_opts from fixopts.c.
457         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
458         do not include code for parsing options (environment vars).
459         (fix_with_system): Use a search path for applyfix, so that you
460         can run the test suite with two-process fixincludes.
461         * fixopts.c: New file.
462         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
463         to config.h.  Default to --enable-twoprocess for MinGW32.
464         * config.h.in: Regenerate.
465         * configure: Regenerate.
466
467 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
468
469         * tests/base/sys/cdefs.h: Update from test area.
470
471 2004-09-17  Roger Sayle  <roger@eyesopen.com>
472
473         * inclhack.def (linux_ia64_ucontext): New fix.
474         * fixincl.x: Regenerate.
475         * tests/base/sys/ucontext.h: New file.
476
477 2004-09-15  Roger Sayle  <roger@eyesopen.com>
478
479         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
480         * tests/base/stdlib.h: Likewise.
481
482 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
483
484         * inclhack.def (freebsd_gcc4_breakage): Add.
485         * fixincl.x: Regenerate.
486         * tests/base/sys/cdefs.h: Update for new test.
487
488 2004-09-10  Adam Nemet  <anemet@lnxw.com>
489
490         * inclhack.def (lynx_void_int): Remove.
491         (lynxos_fcntl_proto): Remove.
492         (lynxos_no_warning_in_sys_time_h): New fix.
493         (lynxos_missing_putenv): New fix.
494         * fixincl.x: Regenerate.
495         * tests/base/fcntl.h: Remove.
496         * tests/base/sys/time.h: Update from test area.
497         * tests/base/curses.h: Likewise.
498         * tests/base/stdlib.h: Likewise.
499
500 2004-09-03  Jan Beulich  <jbeulich@novell.com>
501
502         * inclhack.def: Suppress exception_structure and math_exception
503         for NetWare headers.
504         * fixincl.x: Regenerate.
505
506 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
507
508         * .cvsignore: New.
509         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
510         autoconfiscated.
511         * configure.ac: New.
512         * config.h.in: Generate.
513         * configure: Generate.
514         * aclocal.m4: New.
515         * fixlib.h: Remove inclusions of gcc files.
516         * system.h: New.
517
518         Other files copied from gcc/fixinc.