Commit c3a9a336 by Iain Sandoe

config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin.

2010-05-28  Iain Sandoe  <iains@gcc.gnu.org>

        * config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin.

From-SVN: r159979
parent 47089d42
2010-05-28 Iain Sandoe <iains@gcc.gnu.org>
* config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin.
2010-05-28 Maxim Kuvyrkov <maxim@codesourcery.com>
PR bootstrap/44314
......
......@@ -408,6 +408,7 @@ esac
# Common parts for widely ported systems.
case ${target} in
*-*-darwin*)
tmake_file="t-darwin ${cpu_type}/t-darwin"
tm_file="${tm_file} darwin.h"
case ${target} in
*-*-darwin9*)
......@@ -419,7 +420,6 @@ case ${target} in
esac
tm_file="${tm_file} ${cpu_type}/darwin.h"
tm_p_file="${tm_p_file} darwin-protos.h"
tmake_file="t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin"
target_gtfiles="\$(srcdir)/config/darwin.c"
extra_options="${extra_options} darwin.opt"
c_target_objs="${c_target_objs} darwin-c.o"
......@@ -1097,12 +1097,12 @@ i[34567]86-*-darwin*)
# then this file using that to set --with-cpu=i386 which has no -m64
# support.
with_cpu=${with_cpu:-generic}
tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
tmake_file="${tmake_file} t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
lto_binary_reader=lto-macho
;;
x86_64-*-darwin*)
with_cpu=${with_cpu:-generic}
tmake_file="${tmake_file} t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
tm_file="${tm_file} ${cpu_type}/darwin64.h"
lto_binary_reader=lto-macho
;;
......@@ -1923,13 +1923,14 @@ powerpc-*-darwin*)
*-darwin[0-6]*)
;;
esac
tmake_file="${tmake_file} t-slibgcc-darwin"
lto_binary_reader=lto-macho
extra_headers=altivec.h
;;
powerpc64-*-darwin*)
extra_options="${extra_options} ${cpu_type}/darwin.opt"
extra_parts="crt2.o"
tmake_file="t-darwin ${cpu_type}/t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin"
tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
lto_binary_reader=lto-macho
extra_headers=altivec.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment