OSDN Git Service

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