Commit c9cd1a07 by Rainer Orth Committed by Rainer Orth

Consistently use t-rtems in libgcc

	* config.host (*-*-rtems*): Add t-rtems to tmake_file.
	(i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
	(lm32-*-elf*, lm32-*-rtems*): Split into ...
	(lm32-*-elf*): ... this.
	(lm32-*-rtems*): ... and this.
	Add to tmake_file.
	(m32r-*-rtems*): Add to tmake_file.
	(moxie-*-rtems*): Likewise.
	(sparc-*-rtems*): Likewise.
	Remove t-rtems from tmake_file.
	(sparc64-*-rtems*): Likewise.
	* config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
	instead.

From-SVN: r181097
parent 7b4d5595
2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config.host (*-*-rtems*): Add t-rtems to tmake_file.
(i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
(lm32-*-elf*, lm32-*-rtems*): Split into ...
(lm32-*-elf*): ... this.
(lm32-*-rtems*): ... and this.
Add to tmake_file.
(m32r-*-rtems*): Add to tmake_file.
(moxie-*-rtems*): Likewise.
(sparc-*-rtems*): Likewise.
Remove t-rtems from tmake_file.
(sparc64-*-rtems*): Likewise.
* config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
instead.
2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/50982 PR bootstrap/50982
* config/gthr-posix.h: Move ... * config/gthr-posix.h: Move ...
* gthr-posix.h: ... here. * gthr-posix.h: ... here.
......
...@@ -229,6 +229,7 @@ case ${host} in ...@@ -229,6 +229,7 @@ case ${host} in
esac esac
;; ;;
*-*-rtems*) *-*-rtems*)
tmake_file="$tmake_file t-rtems"
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
*-*-solaris2*) *-*-solaris2*)
...@@ -568,8 +569,8 @@ i[34567]86-*-nto-qnx*) ...@@ -568,8 +569,8 @@ i[34567]86-*-nto-qnx*)
extra_parts=crtbegin.o extra_parts=crtbegin.o
;; ;;
i[34567]86-*-rtems*) i[34567]86-*-rtems*)
tmake_file="$tmake_file i386/t-softfp i386/t-crtstuff"
extra_parts="$extra_parts crti.o crtn.o" extra_parts="$extra_parts crti.o crtn.o"
tmake_file="${tmake_file} i386/t-softfp i386/t-crtstuff t-rtems"
;; ;;
i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*) i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm" tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
...@@ -675,10 +676,14 @@ iq2000*-*-elf*) ...@@ -675,10 +676,14 @@ iq2000*-*-elf*)
# Don't use default. # Don't use default.
extra_parts= extra_parts=
;; ;;
lm32-*-elf*|lm32-*-rtems*) lm32-*-elf*)
extra_parts="$extra_parts crti.o crtn.o" extra_parts="$extra_parts crti.o crtn.o"
tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
;; ;;
lm32-*-rtems*)
tmake_file="$tmake_file lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
extra_parts="$extra_parts crti.o crtn.o"
;;
lm32-*-uclinux*) lm32-*-uclinux*)
extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o" extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o"
tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp" tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp"
...@@ -687,7 +692,7 @@ m32r-*-elf*) ...@@ -687,7 +692,7 @@ m32r-*-elf*)
tmake_file=t-fdpbit tmake_file=t-fdpbit
;; ;;
m32r-*-rtems*) m32r-*-rtems*)
tmake_file="m32r/t-m32r t-fdpbit" tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
;; ;;
m32rle-*-elf*) m32rle-*-elf*)
tmake_file=t-fdpbit tmake_file=t-fdpbit
...@@ -819,7 +824,7 @@ moxie-*-elf | moxie-*-uclinux*) ...@@ -819,7 +824,7 @@ moxie-*-elf | moxie-*-uclinux*)
extra_parts="$extra_parts crti.o crtn.o" extra_parts="$extra_parts crti.o crtn.o"
;; ;;
moxie-*-rtems*) moxie-*-rtems*)
tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
# Don't use default. # Don't use default.
extra_parts= extra_parts=
;; ;;
...@@ -1029,7 +1034,7 @@ sparc-*-linux*) # SPARC's running GNU/Linux, libc6 ...@@ -1029,7 +1034,7 @@ sparc-*-linux*) # SPARC's running GNU/Linux, libc6
md_unwind_header=sparc/linux-unwind.h md_unwind_header=sparc/linux-unwind.h
;; ;;
sparc-*-rtems*) sparc-*-rtems*)
tmake_file="sparc/t-elf sparc/t-softmul t-crtfm t-rtems t-fdpbit" tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit"
extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
;; ;;
sparc*-*-solaris2*) sparc*-*-solaris2*)
...@@ -1042,7 +1047,7 @@ sparc64-*-elf*) ...@@ -1042,7 +1047,7 @@ sparc64-*-elf*)
extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
;; ;;
sparc64-*-rtems*) sparc64-*-rtems*)
tmake_file="sparc/t-elf t-crtfm t-rtems" tmake_file="$tmake_file sparc/t-elf t-crtfm"
extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
;; ;;
sparc-wrs-vxworks) sparc-wrs-vxworks)
......
# If we are building next to newlib, this will let us find the RTEMS # If we are building next to newlib, this will let us find the RTEMS
# limits.h when building libgcc2. Otherwise, newlib must be installed # limits.h when building libgcc2. Otherwise, newlib must be installed
# first. # first.
HOST_LIBGCC2_CFLAGS = -I$(srcdir)/../newlib/libc/sys/rtems/include LIBGCC2_INCLUDES = -I$(srcdir)/../newlib/libc/sys/rtems/include
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