aboutsummaryrefslogtreecommitdiff
path: root/fixincludes
AgeCommit message (Collapse)AuthorFilesLines
2004-12-13re PR bootstrap/18458 ("make install" -> fixincl missing extension)Andrew Pinski2-2/+8
2004-12-13 Andrew Pinski <pinskia@physics.uc.edu> PR 18458 * Makefile.in (install): Add @EXEEXT@ to the end of the program name, fixincl. From-SVN: r92090
2004-12-02Introduce and use config/gcc-version.m4.Richard Sandiford4-8/+26
From-SVN: r91625
2004-11-26inclhack.def (gnu_types): Do not use on Solaris 2.1x.Mark Mitchell3-10/+50
2004-11-26 Mark Mitchell <mark@codesourcery.com> * inclhack.def (gnu_types): Do not use on Solaris 2.1x. (stdio_va_list): Likewise. (stdio_stdarg.h): Likewise. (solaris_stdio_tag): Add bypass. * fixincl.x: Regenerated. From-SVN: r91351
2004-11-23mkfixinc.sh: Check error code from 'cat'.Geoffrey Keating3-5/+11
* mkfixinc.sh: Check error code from 'cat'. Don't try running built fixincl program. * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking up csh from user. From-SVN: r91109
2004-11-21inclhack.def (alpha_pthread_init): Fix technical problems with the last ↵Roger Sayle4-10/+17
check-in caused by CVS variable substitution. * inclhack.def (alpha_pthread_init): Fix technical problems with the last check-in caused by CVS variable substitution. * fixincl.x: Likewise. * tests/base/pthread.h: Likewise. From-SVN: r90989
2004-11-21inclhack.def (alpha_pthread_init): New fix.Roger Sayle4-5/+124
* inclhack.def (alpha_pthread_init): New fix. * fixincl.x: Regenerate. * tests/base/pthread.h: Update for new test. Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r90981
2004-11-17remove confusing and unnecessary backslashesBruce Korb1-2/+2
From-SVN: r90790
2004-11-17correct misuse of variablesBruce Korb2-33/+40
From-SVN: r90789
2004-11-13inclhack.def (hpux_maxint, [...]): Remove.Joseph Myers9-394/+34
* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef, svr4__p, undefine_null): Remove. * fixincl.x: Regenerate. * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New. * tests/base/sys/param.h: Remove. * tests/base/curses.h, tests/base/math.h, tests/base/testing.h, tests/base/sys/limits.h: Update. From-SVN: r90594
2004-11-13* Makefile.in (html): Add html generation support.Mike Stump2-0/+5
From-SVN: r90576
2004-11-12inclhack.def (sco_math): Bypass on __GNUG__.Joseph Myers3-5/+27
* inclhack.def (sco_math): Bypass on __GNUG__. (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES. * fixincl.x: Regenerate. From-SVN: r90550
2004-11-09inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.Joseph Myers3-10/+60
* inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__. (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on _CLASSIC_ANSI_TYPES. (sun_auth_proto): Bypass on __cplusplus. * fixincl.x: Regenerate. From-SVN: r90371
2004-11-05Makefile.in (mostlyclean): Add fixinc.sh.Geoffrey Keating2-2/+18
* Makefile.in (mostlyclean): Add fixinc.sh. (clean): Add mkheaders. (distclean): New. (dvi): New. (info): New. (installcheck): New. From-SVN: r90142
2004-11-05Makefile.def (host fixincludes): Specify missing targets.Paolo Bonzini2-2/+11
2004-11-05 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host fixincludes): Specify missing targets. * Makefile.in: Regenerate. fixincludes/ChangeLog: 2004-11-05 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (mostlyclean, distclean): New targets. From-SVN: r90127
2004-11-05Index: ChangeLogGeoffrey Keating8-32/+836
2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.def: Build fixincludes for the host, too. * Makefile.in: Regenerate. * configure.in (host_tools): Add fixincludes. * configure: Regenerate. Index: fixincludes/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * configure.ac: Add code to determine noncanonical_target, local_prefix, gcc_version; process mkheaders.in to make mkheaders. * configure: Regenerate. * fixinc.in: Move here from gcc/; fix many cross-hosting bugs. * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in. * mkheaders.in: Move here from gcc/; remove some unnecessary macros; update for changes to fixinc.in. * Makefile.in: Add many new macros. (install): New target. (mkheaders): New target. (fixinc.sh): New target. (all): Add mkheaders and fixinc.sh. * README-fixinc: Move here from gcc/. Index: gcc/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.in (distclean): Don't delete nonexistent fixinc/ directory. (install-mkheaders): Install the version built for the host, not for the build machine. * configure.ac: Always run fixincludes. (all_outputs): Remove mkheaders. * configure: Regenerate. * fixinc.in: Move to fixincludes/. * mkfixinc.sh: Likewise. * mkheaders.in: Likewise. * README-fixinc: Likewise. From-SVN: r90117
2004-11-01inclhack.def (stdio_va_list): Break out clients from here...Mike Stump3-6/+111
* inclhack.def (stdio_va_list): Break out clients from here... (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is included or ifdef va_start. From-SVN: r89954
2004-10-29Back out controversial fix.Mike Stump3-17/+5
From-SVN: r89851
2004-10-29inclhack.def (stdio_va_list): Don't fix if stdarg.h is included or ifdef ↵Mike Stump3-15/+27
va_start. * inclhack.def (stdio_va_list): Don't fix if stdarg.h is included or ifdef va_start. From-SVN: r89803
2004-10-28inclhack.def: Avoid changing NULL on C++ friendly systems.Mike Stump3-4/+18
* inclhack.def: Avoid changing NULL on C++ friendly systems. * fixincl.x: Regenerate. From-SVN: r89786
2004-10-27Index: fixincludes/ChangeLogGeoffrey Keating3-5/+70
2004-10-27 Geoffrey Keating <geoffk@apple.com> * inclhack.def (darwin_gcc4_breakage): New. * fixincl.x: Regenerate. Index: gcc/ChangeLog 2004-10-27 Geoffrey Keating <geoffk@apple.com> * config/rs6000/rs6000.c (rs6000_attribute_table): Add SUBTARGET_ATTRIBUTE_TABLE. * config/darwin.h (ASM_WEAKEN_DECL): Handle weak_import. (SUBTARGET_ATTRIBUTE_TABLE): Define. * config/darwin.c (darwin_handle_weak_import_attribute): New. (HAVE_DEAD_STRIP): Delete. (no_dead_strip): Don't test HAVE_DEAD_STRIP. * config/darwin-protos.h (darwin_handle_weak_import_attribute): Prototype. Index: gcc/testsuite/ChangeLog 2004-10-27 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-weakimport-1.c: New. From-SVN: r89716
2004-10-27re PR bootstrap/17832 (Bootstrap broken by fixincludes failures)Aaron W. LaFramboise2-0/+8
PR bootstrap/17832 * fixfixes.c (main): Check for _PC_NAME_MAX. ---------------------------------------------------------------------- From-SVN: r89706
2004-10-27re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)Paolo Bonzini4-3/+11
2004-10-27 Paolo Bonzini <bonzini@gnu.org> PR other/17991 * configure.ac: Fix typo. * configure: Regenerate. * fixincl.c (fix_with_system): tSCC is not a pointer. Fix. From-SVN: r89680
2004-10-20re PR bootstrap/17832 (Bootstrap broken by fixincludes failures)Aaron W. LaFramboise4-13/+47
PR bootstrap/17832 * fixincl.c (SIGCHLD): Remove definition. (initialize): Remove SIGIOT and SIGPIPE checks. (create_file): Fix mkdir() for Win32. (internal_fix): Use dup2() instead of fcntl(). * fixlib.h (SIGQUIT): Define if undefined. (SIGIOT): Same. (SIGPIPE): Same. (SIGALRM): Same. (SIGKILL): Same. * procopen.c (chain_open): Use dup2() instead of fcntl(). From-SVN: r89326
2004-10-15re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)Paolo Bonzini10-72/+172
2004-08-14 Paolo Bonzini <bonzini@gnu.org> PR other/17991 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o. Update copyright year. * fixfixes.c (main): Call initialize_opts from fixopts.c. * fixincl.c (initialize): Call initialize_opts from fixopts.c, do not include code for parsing options (environment vars). (fix_with_system): Use a search path for applyfix, so that you can run the test suite with two-process fixincludes. * fixopts.c: New file. * configure.ac: Add --enable-twoprocess. Export ac_exeext to config.h. Default to --enable-twoprocess for MinGW32. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r89087
2004-10-05* tests/base/sys/cdefs.h: Update from test area.Loren J. Rittle2-1/+5
From-SVN: r88542
2004-09-17inclhack.def (linux_ia64_ucontext): New fix.Roger Sayle4-5/+87
* inclhack.def (linux_ia64_ucontext): New fix. * fixincl.x: Regenerate. * tests/base/sys/ucontext.h: New file. From-SVN: r87677
2004-09-15time.h: Correct mismatch in 2004-09-10 check-in.Roger Sayle3-4/+9
* tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in. * tests/base/stdlib.h: Likewise. From-SVN: r87568
2004-09-14* tests/base/sys/cdefs.h: Update for new test.Loren J. Rittle2-0/+6
From-SVN: r87479
2004-09-14inclhack.def (freebsd_gcc4_breakage): Add.Loren J. Rittle3-5/+69
* inclhack.def (freebsd_gcc4_breakage): Add. * fixincl.x: Regenerate. From-SVN: r87478
2004-09-10inclhack.def (lynx_void_int): Remove.Adam Nemet7-75/+93
* inclhack.def (lynx_void_int): Remove. (lynxos_fcntl_proto): Remove. (lynxos_no_warning_in_sys_time_h): New fix. (lynxos_missing_putenv): New fix. * fixincl.x: Regenerate. * tests/base/fcntl.h: Remove. * tests/base/sys/time.h: Update from test area. * tests/base/curses.h: Likewise. * tests/base/stdlib.h: Likewise. From-SVN: r87298
2004-09-03configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware...Jan Beulich3-4/+10
/ * configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware, but add target-libmudflap. Consolidate *-*-netware targets (of which really only i?86 exists) into a single entry. * configure: Likewise. gcc/ * config.gcc: Resurrect NetWare as a target. Handle special case of Novell linker to be used (specified through --with-ld=) and threading model of either Posix (default) or NKS. * config/i386/i386.c (ix86_return_pops_args): Conditionalize popping of incoming hidden argument on KEEP_AGGREGATE_RETURN_POINTER. * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): New. * config/i386/netware.c, config/i386/netware.h: New. * config/i386/nwld.c, config/i386/nwld.h: New. * config/i386/netware-crt0.c: New. * config/i386/netware-libgcc.c: New. * config/i386/netware-libgcc.def: New. * config/i386/netware-libgcc.exp: New. * config/i386/t-netware, config/i386/t-nwld: New. * gthr-nks.h: New. * doc/install.texi: Document NKS threading model. gcc/cp/ * g++spec.c (MATH_LIBRARY_PROFILE): Default to MATH_LIBRARY rather than "-lm". gcc/testsuite/ * g++.dg/abi/bitfield5.C: Use -mno-ms-bitfields. * g++.old-deja/g++.jason/thunk2.C: xfail for NetWare. * g++.old-deja/g++.law/profile1.C: xfail for NetWare. * g++.old-deja/g++.other/store-expr1.C: xfail for NetWare. * gcc.c-torture/compile/20001109-1.c: xfail for NetWare. * gcc.c-torture/compile/20001109-2.c: xfail for NetWare. * gcc.c-torture/execute/multi-ix.c: Use __builtin_bzero rather than the non-portable bzero. * gcc.dg/20010912-1.c: xfail for NetWare. * gcc.dg/20020426-2.c: xfail for NetWare. * gcc.dg/20021014-1.c: xfail for NetWare. * gcc.dg/20021018-1.c: xfail for NetWare. * gcc.dg/20030213-1.c: xfail for NetWare. * gcc.dg/20030225-1.c: xfail for NetWare. * gcc.dg/20030708-1.c: xfail for NetWare. * gcc.dg/builtins-config.h: Also exclude NetWare. * gcc.dg/format/format.h: Define restrict only if not already defined. * gcc.dg/nest.c: xfail for NetWare. * gcc.dg/special/gcsec-1.c: Don't pass -static for NetWare. * lib/target-supports.exp (check_visibility_available): Exclude NetWare. fixincludes/ * inclhack.def: Suppress exception_structure and math_exception for NetWare headers. * fixincl.x: Regenerate. libstdc++-v3/ * crossconfig.m4: Add NetWare as a target. * configure: Regenerate. From-SVN: r87040
2004-08-31Made fixincludes a toplevel build module.Paolo Bonzini100-0/+24990
toplevel: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (build_modules): Add fixincludes. (dependencies): Make gcc depend on fixincludes. * configure.in (build_tools): Add fixincludes. (build_configdirs): Always include build_libs. * Makefile.in: Regenerate. * configure: Regenerate. contrib: 2004-08-04 Paolo Bonzini <bonzini@gnu.org> * gcc_update: Add fixincludes. fixincludes: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * .cvsignore: New. * Makefile.in: From gcc/fixinc/Makefile.in, making it fully autoconfiscated. * configure.ac: New. * config.h.in: Generate. * configure: Generate. * aclocal.m4: New. * fixlib.h: Remove inclusions of gcc files. * system.h: New. Other files copied from gcc/fixinc. gcc: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (build_subdir): New substitution. (fixinc.sh): Simplify heavily since fixincludes is already built. (stmp-fixinc): Depend on specs.ready. (install-mkheaders): Use new location of fixincludes. (clean): Do not descend into fixinc. (FORBUILD): Replace with ../$(build_subdir). * configure.ac (build_subdir): Substitute. (FORBUILD): Do not set. (all_outputs): Remove fixinc/Makefile. (default commands): Do not create links in fixinc. * mkfixinc.sh: New, from fixinc/mkfixinc.sh without the fixincludes configuration steps and substituting @FIXINCL@ in fixinc.in. * fixinc.in: New, from fixinc/fixincl.sh. * fixinc/*: Removed. From-SVN: r86824