OSDN Git Service

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