OSDN Git Service

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