Commit 633dd061 by Alan Modra Committed by Alan Modra

re PR target/39634 (powerpc64 libgcc contains useless softfp functions)

	PR target/39634
	* config.gcc: Merge powerpc-*-linux* and powerpc64-*-linux*.
	Include soft-fp/t-softfp after rs6000/t-linux64.
	* config.host: Reorder and merge to match config.gcc change.

From-SVN: r145641
parent dacfd234
2009-04-07 Alan Modra <amodra@bigpond.net.au>
PR target/39634
* config.gcc: Merge powerpc-*-linux* and powerpc64-*-linux*.
Include soft-fp/t-softfp after rs6000/t-linux64.
2009-04-06 Eric Botcazou <ebotcazou@adacore.com> 2009-04-06 Eric Botcazou <ebotcazou@adacore.com>
* stor-layout.c (set_sizetype): Use the full precision of their * stor-layout.c (set_sizetype): Use the full precision of their
......
...@@ -1713,22 +1713,6 @@ picochip-*) ...@@ -1713,22 +1713,6 @@ picochip-*)
# tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit " # tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit "
# extra_headers= # extra_headers=
# ;; # ;;
powerpc64-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
test x$with_cpu != x || cpu_is_64bit=yes
test x$cpu_is_64bit != xyes || tm_file="${tm_file} rs6000/default64.h"
tm_file="rs6000/biarch64.h ${tm_file} rs6000/linux64.h glibc-stdint.h"
if test x${enable_secureplt} = xyes; then
tm_file="rs6000/secureplt.h ${tm_file}"
fi
extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
tmake_file="t-dfprules rs6000/t-fprules ${tmake_file} rs6000/t-ppccomm rs6000/t-linux64 rs6000/t-fprules-softfp soft-fp/t-softfp"
;;
powerpc64-*-gnu*)
tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/default64.h rs6000/linux64.h rs6000/gnu.h glibc-stdint.h"
extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
tmake_file="t-slibgcc-elf-ver t-gnu"
;;
powerpc-*-darwin*) powerpc-*-darwin*)
extra_options="${extra_options} rs6000/darwin.opt" extra_options="${extra_options} rs6000/darwin.opt"
extra_parts="crt2.o" extra_parts="crt2.o"
...@@ -1807,14 +1791,22 @@ powerpc-*-rtems*) ...@@ -1807,14 +1791,22 @@ powerpc-*-rtems*)
extra_options="${extra_options} rs6000/sysv4.opt" extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-rtems t-rtems rs6000/t-ppccomm" tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-rtems t-rtems rs6000/t-ppccomm"
;; ;;
powerpc-*-linux*) powerpc-*-linux* | powerpc64-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
extra_options="${extra_options} rs6000/sysv4.opt" extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="t-dfprules rs6000/t-fprules rs6000/t-fprules-softfp soft-fp/t-softfp rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" tmake_file="t-dfprules rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
maybe_biarch=yes maybe_biarch=yes
case ${target} in case ${target} in
powerpc64-*-linux*spe* | powerpc64-*-linux*paired*)
echo "*** Configuration ${target} not supported" 1>&2
exit 1
;;
powerpc-*-linux*spe* | powerpc-*-linux*paired*) powerpc-*-linux*spe* | powerpc-*-linux*paired*)
maybe_biarch= ;; maybe_biarch=
;;
powerpc64-*-linux*)
test x$with_cpu != x || cpu_is_64bit=yes
;;
esac esac
case ${maybe_biarch}:${enable_targets}:${cpu_is_64bit} in case ${maybe_biarch}:${enable_targets}:${cpu_is_64bit} in
yes:*powerpc64* | yes:all:* | yes:*:yes) yes:*powerpc64* | yes:all:* | yes:*:yes)
...@@ -1829,6 +1821,7 @@ powerpc-*-linux*) ...@@ -1829,6 +1821,7 @@ powerpc-*-linux*)
tm_file="${tm_file} rs6000/linux.h glibc-stdint.h" tm_file="${tm_file} rs6000/linux.h glibc-stdint.h"
;; ;;
esac esac
tmake_file="${tmake_file} rs6000/t-fprules-softfp soft-fp/t-softfp"
case ${target} in case ${target} in
powerpc*-*-linux*altivec*) powerpc*-*-linux*altivec*)
tm_file="${tm_file} rs6000/linuxaltivec.h" ;; tm_file="${tm_file} rs6000/linuxaltivec.h" ;;
...@@ -1841,6 +1834,11 @@ powerpc-*-linux*) ...@@ -1841,6 +1834,11 @@ powerpc-*-linux*)
tm_file="rs6000/secureplt.h ${tm_file}" tm_file="rs6000/secureplt.h ${tm_file}"
fi fi
;; ;;
powerpc64-*-gnu*)
tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/default64.h rs6000/linux64.h rs6000/gnu.h glibc-stdint.h"
extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
tmake_file="t-slibgcc-elf-ver t-gnu"
;;
powerpc-*-gnu-gnualtivec*) powerpc-*-gnu-gnualtivec*)
tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h glibc-stdint.h" tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h glibc-stdint.h"
extra_options="${extra_options} rs6000/sysv4.opt" extra_options="${extra_options} rs6000/sysv4.opt"
......
2009-04-07 Alan Modra <amodra@bigpond.net.au>
* config.host: Reorder and merge to match config.gcc change.
2009-04-03 Alan Modra <amodra@bigpond.net.au> 2009-04-03 Alan Modra <amodra@bigpond.net.au>
* config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete. * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
......
...@@ -420,12 +420,6 @@ pdp11-*-*) ...@@ -420,12 +420,6 @@ pdp11-*-*)
;; ;;
picochip-*-*) picochip-*-*)
;; ;;
powerpc64-*-linux*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
;;
powerpc64-*-gnu*)
tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp"
;;
powerpc-*-darwin*) powerpc-*-darwin*)
;; ;;
powerpc64-*-darwin*) powerpc64-*-darwin*)
...@@ -448,9 +442,12 @@ powerpc-*-eabi*) ...@@ -448,9 +442,12 @@ powerpc-*-eabi*)
;; ;;
powerpc-*-rtems*) powerpc-*-rtems*)
;; ;;
powerpc-*-linux*) powerpc-*-linux* | powerpc64-*-linux*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp" tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
;; ;;
powerpc64-*-gnu*)
tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp"
;;
powerpc-*-gnu-gnualtivec*) powerpc-*-gnu-gnualtivec*)
tmake_file="${tmake_file} rs6000/t-ldbl128" tmake_file="${tmake_file} rs6000/t-ldbl128"
;; ;;
......
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