summaryrefslogtreecommitdiff
path: root/gcc/config.host
Commit message (Collapse)AuthorAgeFilesLines
* * toplev.c (init_asm_output): Add explicit 'b' to mode whendannysmith2004-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | opening asm_out_file. * c-pch.c (c_common_write_pch): Remove unnecessary fflush before reading asm_out_file. Replace fflush after reading asm_out_file with fseek. * hosthooks-def.h (HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY): Define default and add to HOST_HOOKS_INITIALIZER. * hosthooks.h (gt_pch_alloc_granularity): Declare hook function. * ggc-common.c (default_gt_pch_alloc_granularity): New function. (gt_pch_save): Use host_hooks.gt_pch_alloc_granularity to set mmi.offset padding. * config.gcc (i[34567]86-*-mingw32*): Set target_gtfiles to $(srcdir)/config/i386/winnt.c. (i[34567]86-*-pe | i[34567]86-*-cygwin*): Likewise. (i[34567]86-*-uwin*): Likewise. *i[34567]86-*-interix3*): Likewise. * config.host (i[34567]86-*-mingw32*): Set out_host_hook_obj. * config/i386/host-mingw32.c: New file. * config/i386/x-mingw32: Add rule for host-mingw32.o. * config/i386/winnt.c: (struct extern_list) Tag as GTY. (extern_head): Likewise. (struct export_list) Likewise. (export_head): Likewise. (i386_pe_record_external_function): Use ggc_alloc. (i386_pe_record_exported_symbol): Likewise. Include "gt-winnt.h" at end. * doc/hostconfig.texi: Document HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82643 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/14548neroden2004-04-051-0/+9
| | | | | | | | | | | | | | | | | | | | * config.host: Set the shell variable host_can_use_collect2. Set it to yes by default, and to no for alpha*-dec-*vms*, i[34567]86-*-mingw32*, and powerpc-*-beos*. * configure.ac: Set and substitute the shell variable collect2. Give an error if use_collect2 is yes and host_can_use_collect2 is no. * Makefile.in (COLLECT2): Rename from USE_COLLECT2. Change all uses. Initialize to @collect2@. (STAGESTUFF): Remove $(USE_COLLECT2). * config/alpha/x-vms (USE_COLLECT2): Don't set. * config/i386/t-mingw32 (USE_COLLECT2): Likewise. * config/rs6000/t-beos (USE_COLLECT2): Likewise. * config/pa/t-pa64: Remove commented out USE_COLLECT2. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80422 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_addressrth2004-03-111-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | extra arguments. * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj and host_xmake_file fragments. * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change. (gt_pch_restore): Similarly for gt_pch_use_address. (default_gt_pch_get_address): New. (mmap_gt_pch_get_address): Split out of gt_pch_save. (default_gt_pch_use_address): Split out of gt_pch_restore. (mmap_gt_pch_use_address): Likewise. * hooks.c (hook_voidp_size_t_null): Remove. (hook_bool_voidp_size_t_false): Remove. * hooks.h: Likewise. * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the default_ or mmap_ definitions. (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise. * hosthooks.h (struct host_hooks): Update gt_pch_get_address and gt_pch_use_address. * config/host-linux.c, config/host-solaris.c: New files. * config/x-linux, config/x-solaris: New files. * config/rs6000/host-darwin.c darwin_rs6000_gt_pch_get_address): Update for changed definition. (darwin_rs6000_gt_pch_use_address): Likewise. * doc/hostconfig.texi: Update docs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79295 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in, configure.in, config.host, mkheaders.in: Replaceneroden2003-10-141-3/+3
| | | | | | | | | | | uses of ${target_alias} for directory names (and other places which won't like the empty string) with ${target_noncanonical}. Introduce call early in configure.in to _GCC_TOPLEV_NONCANONICAL_TARGET so it's available. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72457 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Fix grammatical error. Move UWIN host error to...neroden2003-10-131-1/+3
| | | | | | | | * config.host: Here. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72435 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mips/xm-iris5.h: Remove, unnecessary.ro2003-10-011-6/+0
| | | | | | | | | | | | | * config.build (mips-sgi-irix5*): Remove. (mips-sgi-irix6*o32): Likewise. * config.gcc (mips-sgi-irix6*o32): Remove xm_file. (mips-sgi-irix5cross64): Likewise. (mips-sgi-irix5*): Likewise. * config.host (mips-sgi-irix5*): Remove. (mips-sgi-irix6*o32): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72003 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.host: Removed superfluous newline.ro2003-09-231-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71701 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.host: Allow unknown hosts (not targets). Allowneroden2003-09-231-461/+11
| | | | | | | | | | | ns32k-*-netbsdelf* as a host (not a target). Remove redundant empty clauses. Remove useless obsolete-configuration clause. Prune unsupported configuration list. Collapse identical clauses for closely related systems. Rewrite comment for unsupported hosts list. Reorganize a little. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71686 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/xm-vsta.h: Remove xm-file believed useless.neroden2003-09-191-1/+0
| | | | | | | | * config.build (i386-vsta): Remove reference to it. * config.host (i386-vsta): Remove reference to it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71587 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.host: New file.neroden2003-09-011-0/+611
* config.gcc: Remove some host-specific stuff and some logic needed only for repeated invocation. * configure.in: Use config.host. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70975 138bc75d-0d04-0410-961f-82ee72b054a4