OSDN Git Service

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