OSDN Git Service

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