OSDN Git Service

fixincludes:
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
2
3         PR bootstrap/20437
4         * Makefile.in (configure, config.h.in): change into $(srcdir)
5         before autoconf or autoheader call.
6
7 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
8
9         PR target/28084
10         * inclhack.def (hpux_extern_errno): New.
11         * fixincl.x: Regenerate.
12
13 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
14
15         * Makefile.in: Add dvi info html and install-html to .PHONY
16         Add install-html target.
17
18 2006-05-16  Mike Stump  <mrs@apple.com>
19
20         * configure.ac: Add -Wno-overlength-strings.
21         * configure: Regenerate.
22
23 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
24
25         * README: Fix typo.
26
27 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
28
29         PR target/26189
30         * inclhack.def (hpux_spu_info): New.
31         * fixincl.x: Regenerate
32
33 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
34
35         * configure.ac: Check for asprintf, basename, vasprintf.
36         * config.h.in: Regenerate.
37         * configure: Regenerate.
38
39 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
40
41         PR target/15642
42         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
43         __APPLE_CC_ as 1345.
44         (broken_nan): New.
45         * fixincl.x: Regenerate.
46
47 2005-11-24  Bruce Korb  <bkorb@gnu.org>
48
49         * fixincl.c(write_replacement) "here strings" in AutoGen often/generally
50         don't have a terminating newline.  Check the last byte for '\n'.
51
52 2005-11-13  Andreas Jaeger  <aj@suse.de>
53
54         * check.tpl: Handle CVS additionally.
55
56 2005-11-05  Andreas Jaeger  <aj@suse.de>
57
58         * check.tpl: Adopt for move to subversion.
59
60 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
61
62         PR c++/23139
63         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
64         fixes.
65         * fixincl.x: Regenerate.
66         * tests/base/bits/huge_val.h: New file.
67
68 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
69
70         * All files: Update with new FSF address.
71
72 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
73
74         * Makefile.in (WARN_CFLAGS): New.
75         (.c.o): Add $(WARN_CFLAGS).
76         * aclocal.m4: Include ../config/warnings.m4.
77         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
78         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
79         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
80         * fixopts.c (initialize_opts): Fix old-style definintion.
81
82         * configure: Regenerate.
83
84 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
85
86         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
87         (AAB_darwin7_9_long_double_funcs_2): New.
88         * fixincl.x: Regenerate.
89
90 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
91
92         PR libfortran/15266
93         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
94         Use double quotes in select so \t matches tabs.
95         Add IRIX testcase.
96         * fixincl.x: Regenerate.
97         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
98
99 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
100
101         PR target/21683
102         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
103
104 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
105             Joseph S. Myers  <joseph@codesourcery.com>
106
107         PR target/19933
108         PR target/21315
109         * inclhack.def: New fixes solaris_math_[1-9].
110         * fixincl.x: Regenerate.
111         * tests/base/iso/math_c99.h: New.
112
113 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
114
115         * aclocal.m4: Remove superfluous reference to accross.m4.
116
117 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
118
119         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
120         * server.c (load_data): Likewise.
121         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
122         * fixincl.c: #include <sys/wait.h>
123         (run_compiles): Use XCNEWVEC instead of xcalloc.
124         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
125         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
126
127 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
128
129         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
130         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
131         * fixincl.x: Regenerate.
132
133 2005-05-06  Bruce Korb  <bkorb@gnu.org>
134         Joseph S. Myers <joseph@codesourcery.com>
135
136         * fixinc/inclhack.def: Correct backslashes
137         * fixinc/fixincl.x: regen
138
139 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
140
141         * system.h (fopen, fdopen, freopen): Define these to the unlocked
142         libiberty functions.
143
144 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
145
146         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
147         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
148         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
149         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
150         _unlocked function.
151         (fwrite_unlocked): Fix prototype.
152
153         * configure, config.h.in: Regenerate.
154
155 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
156
157         * Makefile.in: Set gcc_version directly, not via substitution.
158         (libsubdir): Use $(gcc_version), not $(version).
159         (mkheaders.almost): New rule.
160         (mkheaders): Generate from mkheaders.almost.
161         (clean): Also delete mkheaders.almost.
162         * aclocal.m4: Do not include ../config/gcc-version.m4.
163         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
164         mkheaders.almost from mkheaders.in.
165         * configure: Regenerate.
166
167 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
168
169         PR target/20166
170         * inclhack.def: Add fix for array of incomplete structures
171         in function prototype in pthread.h.
172         * fixincl.x: Regenerate.
173         * tests/base/pthread.h: Adjust.
174
175 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
176
177         * inclhack.def (hpux_htonl): New fix.
178         * tests/base/netinet/in.h: New test.
179         * fixincl.x: Regenerate.
180
181 2005-02-23  James E Wilson  <wilson@specifixinc.com>
182
183         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
184
185 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
186
187         PR 18458
188         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
189         fixincl.
190
191 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
192
193         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
194         * aclocal.m4: Include ../config/gcc-version.m4.
195         * configure: Regenerate.
196
197 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
198
199         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
200         (stdio_va_list): Likewise.
201         (stdio_stdarg.h): Likewise.
202         (solaris_stdio_tag): Add bypass.
203         * fixincl.x: Regenerated.
204
205 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
206
207         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
208         built fixincl program.
209         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
210         up csh from user.
211
212 2004-11-20  Roger Sayle  <roger@eyesopen.com>
213
214         * inclhack.def (alpha_pthread_init): Fix technical problems with
215         the last check-in caused by CVS variable substitution.
216         * fixincl.x: Likewise.
217         * tests/base/pthread.h: Likewise.
218
219 2004-11-20  Roger Sayle  <roger@eyesopen.com>
220             Bruce Korb  <bkorb@gnu.org>
221
222         * inclhack.def (alpha_pthread_init): New fix.
223         * fixincl.x: Regenerate.
224         * tests/base/pthread.h: Update for new test.
225
226 2004-11-15  Bruce Korb  <bkorb@gnu.org>
227
228         * fixincl.c(fix_with_system): correct misuse of variables and
229         incorrect application of "sizeof()".
230
231 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
232
233         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
234         svr4__p, undefine_null): Remove.
235         * fixincl.x: Regenerate.
236         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
237         * tests/base/sys/param.h: Remove.
238         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
239         tests/base/sys/limits.h: Update.
240
241 2004-11-12  Mike Stump  <mrs@apple.com>
242
243         * Makefile.in (html): Add html generation support.
244
245 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
246
247         * inclhack.def (sco_math): Bypass on __GNUG__.
248         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
249         * fixincl.x: Regenerate.
250
251 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
252
253         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
254         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
255         _CLASSIC_ANSI_TYPES.
256         (sun_auth_proto): Bypass on __cplusplus.
257         * fixincl.x: Regenerate.
258
259 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
260
261         * Makefile.in (mostlyclean): Add fixinc.sh.
262         (clean): Add mkheaders.
263         (distclean): New.
264         (dvi): New.
265         (info): New.
266         (installcheck): New.
267
268 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
269
270         * Makefile.in (mostlyclean, distclean): New targets.
271
272 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
273
274         * configure.ac: Add code to determine noncanonical_target,
275         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
276         * configure: Regenerate.
277         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
278         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
279         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
280         update for changes to fixinc.in.
281         * Makefile.in: Add many new macros.
282         (install): New target.
283         (mkheaders): New target.
284         (fixinc.sh): New target.
285         (all): Add mkheaders and fixinc.sh.
286         * README-fixinc: Move here from gcc/.
287
288 2004-11-01  Mike Stump  <mrs@apple.com>
289
290         * inclhack.def (stdio_va_list): Break out clients from here...
291         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
292         included or ifdef va_start.
293         * fixincl.x: Regenerate.
294
295 2004-10-28  Mike Stump  <mrs@apple.com>
296
297         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
298         systems.
299         * fixincl.x: Regenerate.
300
301 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
302
303         * inclhack.def (darwin_gcc4_breakage): New.
304         * fixincl.x: Regenerate.
305
306 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
307
308         PR bootstrap/17832
309
310         * fixfixes.c (main): Check for _PC_NAME_MAX.
311
312 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
313
314         PR other/17991
315
316         * configure.ac: Fix typo.
317         * configure: Regenerate.
318         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
319
320 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
321
322         PR bootstrap/17832
323
324         * fixincl.c (SIGCHLD): Remove definition.
325         (initialize): Remove SIGIOT and SIGPIPE checks.
326         (create_file): Fix mkdir() for Win32.
327         (internal_fix): Use dup2() instead of fcntl().
328
329         * fixlib.h (SIGQUIT): Define if undefined.
330         (SIGIOT): Same.
331         (SIGPIPE): Same.
332         (SIGALRM): Same.
333         (SIGKILL): Same.
334
335         * procopen.c (chain_open): Use dup2() instead of fcntl().
336
337 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
338
339         PR other/17991
340
341         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
342         Update copyright year.
343         * fixfixes.c (main): Call initialize_opts from fixopts.c.
344         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
345         do not include code for parsing options (environment vars).
346         (fix_with_system): Use a search path for applyfix, so that you
347         can run the test suite with two-process fixincludes.
348         * fixopts.c: New file.
349         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
350         to config.h.  Default to --enable-twoprocess for MinGW32.
351         * config.h.in: Regenerate.
352         * configure: Regenerate.
353
354 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
355
356         * tests/base/sys/cdefs.h: Update from test area.
357
358 2004-09-17  Roger Sayle  <roger@eyesopen.com>
359
360         * inclhack.def (linux_ia64_ucontext): New fix.
361         * fixincl.x: Regenerate.
362         * tests/base/sys/ucontext.h: New file.
363
364 2004-09-15  Roger Sayle  <roger@eyesopen.com>
365
366         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
367         * tests/base/stdlib.h: Likewise.
368
369 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
370
371         * inclhack.def (freebsd_gcc4_breakage): Add.
372         * fixincl.x: Regenerate.
373         * tests/base/sys/cdefs.h: Update for new test.
374
375 2004-09-10  Adam Nemet  <anemet@lnxw.com>
376
377         * inclhack.def (lynx_void_int): Remove.
378         (lynxos_fcntl_proto): Remove.
379         (lynxos_no_warning_in_sys_time_h): New fix.
380         (lynxos_missing_putenv): New fix.
381         * fixincl.x: Regenerate.
382         * tests/base/fcntl.h: Remove.
383         * tests/base/sys/time.h: Update from test area.
384         * tests/base/curses.h: Likewise.
385         * tests/base/stdlib.h: Likewise.
386
387 2004-09-03  Jan Beulich  <jbeulich@novell.com>
388
389         * inclhack.def: Suppress exception_structure and math_exception
390         for NetWare headers.
391         * fixincl.x: Regenerate.
392
393 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
394
395         * .cvsignore: New.
396         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
397         autoconfiscated.
398         * configure.ac: New.
399         * config.h.in: Generate.
400         * configure: Generate.
401         * aclocal.m4: New.
402         * fixlib.h: Remove inclusions of gcc files.
403         * system.h: New.
404
405         Other files copied from gcc/fixinc.