OSDN Git Service

* calls.c (expand_call): Handle current_function_pretend_args_size
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * system.h (fopen, fdopen, freopen): Define these to the unlocked
4         libiberty functions.
5
6 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7
8         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
9         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
10         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
11         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
12         _unlocked function.
13         (fwrite_unlocked): Fix prototype.
14         
15         * configure, config.h.in: Regenerate.
16
17 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
18
19         * Makefile.in: Set gcc_version directly, not via substitution.
20         (libsubdir): Use $(gcc_version), not $(version).
21         (mkheaders.almost): New rule.
22         (mkheaders): Generate from mkheaders.almost.
23         (clean): Also delete mkheaders.almost.
24         * aclocal.m4: Do not include ../config/gcc-version.m4.
25         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
26         mkheaders.almost from mkheaders.in.
27         * configure: Regenerate.
28
29 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
30
31         PR target/20166
32         * inclhack.def: Add fix for array of incomplete structures
33         in function prototype in pthread.h.
34         * fixincl.x: Regenerate.
35         * tests/base/pthread.h: Adjust.
36
37 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
38
39         * inclhack.def (hpux_htonl): New fix.
40         * tests/base/netinet/in.h: New test.
41         * fixincl.x: Regenerate.
42
43 2005-02-23  James E Wilson  <wilson@specifixinc.com>
44
45         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
46
47 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
48
49         PR 18458
50         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
51         fixincl.
52
53 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
54
55         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
56         * aclocal.m4: Include ../config/gcc-version.m4.
57         * configure: Regenerate.
58
59 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
60
61         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
62         (stdio_va_list): Likewise.
63         (stdio_stdarg.h): Likewise.
64         (solaris_stdio_tag): Add bypass.
65         * fixincl.x: Regenerated.
66
67 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
68
69         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
70         built fixincl program.
71         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
72         up csh from user.
73
74 2004-11-20  Roger Sayle  <roger@eyesopen.com>
75
76         * inclhack.def (alpha_pthread_init): Fix technical problems with
77         the last check-in caused by CVS variable substitution.
78         * fixincl.x: Likewise.
79         * tests/base/pthread.h: Likewise.
80
81 2004-11-20  Roger Sayle  <roger@eyesopen.com>
82             Bruce Korb  <bkorb@gnu.org>
83
84         * inclhack.def (alpha_pthread_init): New fix.
85         * fixincl.x: Regenerate.
86         * tests/base/pthread.h: Update for new test.
87
88 2004-11-15  Bruce Korb  <bkorb@gnu.org>
89
90         * fixincl.c(fix_with_system): correct misuse of variables and
91         incorrect application of "sizeof()".
92
93 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
94
95         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
96         svr4__p, undefine_null): Remove.
97         * fixincl.x: Regenerate.
98         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
99         * tests/base/sys/param.h: Remove.
100         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
101         tests/base/sys/limits.h: Update.
102
103 2004-11-12  Mike Stump  <mrs@apple.com>
104
105         * Makefile.in (html): Add html generation support.
106
107 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
108
109         * inclhack.def (sco_math): Bypass on __GNUG__.
110         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
111         * fixincl.x: Regenerate.
112
113 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
114
115         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
116         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
117         _CLASSIC_ANSI_TYPES.
118         (sun_auth_proto): Bypass on __cplusplus.
119         * fixincl.x: Regenerate.
120
121 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
122
123         * Makefile.in (mostlyclean): Add fixinc.sh.
124         (clean): Add mkheaders.
125         (distclean): New.
126         (dvi): New.
127         (info): New.
128         (installcheck): New.
129
130 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
131
132         * Makefile.in (mostlyclean, distclean): New targets.
133
134 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
135
136         * configure.ac: Add code to determine noncanonical_target,
137         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
138         * configure: Regenerate.
139         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
140         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
141         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
142         update for changes to fixinc.in.
143         * Makefile.in: Add many new macros.
144         (install): New target.
145         (mkheaders): New target.
146         (fixinc.sh): New target.
147         (all): Add mkheaders and fixinc.sh.
148         * README-fixinc: Move here from gcc/.
149
150 2004-11-01  Mike Stump  <mrs@apple.com>
151
152         * inclhack.def (stdio_va_list): Break out clients from here...
153         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
154         included or ifdef va_start.
155         * fixincl.x: Regenerate.
156
157 2004-10-28  Mike Stump  <mrs@apple.com>
158
159         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
160         systems.
161         * fixincl.x: Regenerate.
162
163 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
164
165         * inclhack.def (darwin_gcc4_breakage): New.
166         * fixincl.x: Regenerate.
167
168 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
169
170         PR bootstrap/17832
171
172         * fixfixes.c (main): Check for _PC_NAME_MAX.
173
174 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
175
176         PR other/17991
177
178         * configure.ac: Fix typo.
179         * configure: Regenerate.
180         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
181
182 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
183
184         PR bootstrap/17832
185
186         * fixincl.c (SIGCHLD): Remove definition.
187         (initialize): Remove SIGIOT and SIGPIPE checks.
188         (create_file): Fix mkdir() for Win32.
189         (internal_fix): Use dup2() instead of fcntl().
190
191         * fixlib.h (SIGQUIT): Define if undefined.
192         (SIGIOT): Same.
193         (SIGPIPE): Same.
194         (SIGALRM): Same.
195         (SIGKILL): Same.
196
197         * procopen.c (chain_open): Use dup2() instead of fcntl().
198
199 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
200
201         PR other/17991
202
203         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
204         Update copyright year.
205         * fixfixes.c (main): Call initialize_opts from fixopts.c.
206         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
207         do not include code for parsing options (environment vars).
208         (fix_with_system): Use a search path for applyfix, so that you
209         can run the test suite with two-process fixincludes.
210         * fixopts.c: New file.
211         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
212         to config.h.  Default to --enable-twoprocess for MinGW32.
213         * config.h.in: Regenerate.
214         * configure: Regenerate.
215
216 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
217
218         * tests/base/sys/cdefs.h: Update from test area.
219
220 2004-09-17  Roger Sayle  <roger@eyesopen.com>
221
222         * inclhack.def (linux_ia64_ucontext): New fix.
223         * fixincl.x: Regenerate.
224         * tests/base/sys/ucontext.h: New file.
225
226 2004-09-15  Roger Sayle  <roger@eyesopen.com>
227
228         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
229         * tests/base/stdlib.h: Likewise.
230
231 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
232
233         * inclhack.def (freebsd_gcc4_breakage): Add.
234         * fixincl.x: Regenerate.
235         * tests/base/sys/cdefs.h: Update for new test.
236
237 2004-09-10  Adam Nemet  <anemet@lnxw.com>
238
239         * inclhack.def (lynx_void_int): Remove.
240         (lynxos_fcntl_proto): Remove.
241         (lynxos_no_warning_in_sys_time_h): New fix.
242         (lynxos_missing_putenv): New fix.
243         * fixincl.x: Regenerate.
244         * tests/base/fcntl.h: Remove.
245         * tests/base/sys/time.h: Update from test area.
246         * tests/base/curses.h: Likewise.
247         * tests/base/stdlib.h: Likewise.
248
249 2004-09-03  Jan Beulich  <jbeulich@novell.com>
250
251         * inclhack.def: Suppress exception_structure and math_exception
252         for NetWare headers.
253         * fixincl.x: Regenerate.
254
255 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
256
257         * .cvsignore: New.
258         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
259         autoconfiscated.
260         * configure.ac: New.
261         * config.h.in: Generate.
262         * configure: Generate.
263         * aclocal.m4: New.
264         * fixlib.h: Remove inclusions of gcc files.
265         * system.h: New.
266
267         Other files copied from gcc/fixinc.