OSDN Git Service

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