diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-06 01:47:56 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-06 01:47:56 +0000 |
commit | b197fbcf9fff937f22cfe62dfad1a2e48dafb21c (patch) | |
tree | 2afad0ecf8b6e8b262fccd46b90578858d21ab7a /gcc/config.gcc | |
parent | 0cea7f1f3e001b19c39d678054af18b3e2608e65 (diff) | |
download | gcc-b197fbcf9fff937f22cfe62dfad1a2e48dafb21c.tar.gz |
* Makefile.in (host_hook_obj): New.
(OBJS): Add $(host_hook_obj).
(host_default.o): New rule.
* config.gcc (host_hook_obj): New, default to host-default.o.
(powerpc-*-darwin*): Use host-darwin.o.
(out_host_hook_obj): New.
* configure: Regenerate.
* configure.in: Print information about out_host_hook_obj, substitute
into output files.
* host-default.c: New file.
* hosthooks.h: New file.
* toplev.c (general_init): Call host_hooks.extra_signals.
* config/rs6000/host-darwin.c: New file.
* config/rs6000/x-darwin: New file.
* doc/hostconfig.texi: Add documentation for new host hook.
Rearrange existing documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 5379dfa31fd..1afbefa1bd8 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -99,6 +99,8 @@ # host_extra_gcc_objs List of extra host-dependent objects that should # be linked into the gcc driver. # +# out_host_hook_obj An object file that provides the host hooks. +# # c_target_objs List of extra target-dependent objects that be # linked into the C compiler only. # @@ -169,6 +171,8 @@ # the compiler proper when this system is a host, # for host_extra_objs. # +# host_hook_obj An object file that provides the host hooks. +# # install_headers_dir Makefile-target for how the header file directory # is installed, when this system is a build system, # for build_install_headers_dir. @@ -194,6 +198,7 @@ extra_host_objs= extra_gcc_objs= c_target_objs= cxx_target_objs= +host_hook_obj=host-default.o tm_defines= xm_defines= # Set this to force installation and use of collect2. @@ -1980,6 +1985,9 @@ powerpc-*-darwin*) extra_headers=altivec.h # override ppc default need_64bit_hwint= + # powerpc-darwin host support. + host_hook_obj=host-darwin.o + xmake_file=rs6000/x-darwin ;; powerpc*-*-freebsd*) tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h" @@ -2956,6 +2964,7 @@ else host_extra_gcc_objs=$extra_gcc_objs host_extra_objs=$extra_host_objs host_exeext=$exeext + out_host_hook_obj=$host_hook_obj pass2done=yes fi fi |