diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-04 11:25:04 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2008-05-04 04:25:04 -0700 |
commit | 5f7ca34bf522bcfaac6978ffa31e75158995c468 (patch) | |
tree | 77825252122b1baace646c37e71adb238ad09dfc /gcc/config.gcc | |
parent | 9e6dca75944c1d711ef62e4d7d2befa9179e166b (diff) | |
download | gcc-5f7ca34bf522bcfaac6978ffa31e75158995c468.tar.gz |
config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes.
gcc/
* config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes.
(sparc*-*-linux*): Use linux.h in tm_file.
(sparc-*-linux*): If 'enabled_targets' is 'all', build a bi-arch
compiler defaulting to 32-bit.
(sparc*-*-*): Remove explicit target settings of need_64bit_hwint,
no longer needed.
* config/sparc/linux.h: Remove definitions now obtained
properly from linux.h
* config/sparc/linux64.h: Likewise.
(ASM_CPU_DEFAULT_SPEC): Change this to ASM_CPU64_DEFAULT_SPEC, we
don't want this setting for 32-bit builds in a biarch compiler.
* doc/install.texi: Add sparc-linux to list of targets
supporting --enable-targets=all.
libcpp/
* configure.ac (sparc*-*-*): Always set need_64bit_hwint to yes.
* configure: Regenerate.
From-SVN: r134929
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 00cd60c0244..04b46c38fe7 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -358,12 +358,9 @@ rs6000*-*-*) score*-*-*) cpu_type=score ;; -sparc64*-*-*) - cpu_type=sparc - need_64bit_hwint=yes - ;; sparc*-*-*) cpu_type=sparc + need_64bit_hwint=yes ;; spu*-*-*) cpu_type=spu @@ -2357,9 +2354,15 @@ sparc-*-elf*) use_fixproto=yes ;; sparc-*-linux*) # SPARC's running GNU/Linux, libc6 - tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h" + tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h" extra_options="${extra_options} sparc/long-double-switch.opt" - tmake_file="${tmake_file} sparc/t-linux sparc/t-crtfm" + if test x$enable_targets = xall; then + tm_file="sparc/biarch64.h ${tm_file} sparc/linux64.h" + tmake_file="${tmake_file} sparc/t-linux64 sparc/t-crtfm" + else + tm_file="${tm_file} sparc/linux.h" + tmake_file="${tmake_file} sparc/t-linux sparc/t-crtfm" + fi ;; sparc-*-rtems*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h" @@ -2396,7 +2399,6 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*) "":yes:* | yes:yes:* ) thread_file=posix ;; "":*:yes | yes:*:yes ) thread_file=solaris ;; esac - need_64bit_hwint=yes ;; sparc-*-solaris2*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h" @@ -2437,7 +2439,6 @@ sparc-*-solaris2*) fi tm_file="${tm_file} tm-dwarf2.h" tmake_file="$tmake_file sparc/t-sol2-64" - need_64bit_hwint=yes test x$with_cpu != x || with_cpu=v9 ;; esac @@ -2488,10 +2489,9 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*) x) with_cpu=ultrasparc ;; *) echo "$with_cpu not supported for freebsd target"; exit 1 ;; esac - need_64bit_hwint=yes ;; sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux - tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h" + tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h sparc/linux64.h" extra_options="${extra_options} sparc/long-double-switch.opt" tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm" ;; |