Commit 66df2ac2 by H.J. Lu Committed by H.J. Lu

config.gcc (*-*-linux*): Set extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"...

2002-08-18  H.J. Lu  (hjl@gnu.org)

	* config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
	crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
	gnu_ld=yes.
	(alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
	i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
	s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
	xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
	here.
	(cris-*-linux*): Remove setting thread_file here.

From-SVN: r56428
parent b4a12d09
2002-08-18 H.J. Lu (hjl@gnu.org)
* config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
gnu_ld=yes.
(alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
here.
(cris-*-linux*): Remove setting thread_file here.
2002-08-18 Neil Booth <neil@daikokuya.co.uk> 2002-08-18 Neil Booth <neil@daikokuya.co.uk>
PR preprocessor/7602 PR preprocessor/7602
......
...@@ -324,6 +324,8 @@ case $machine in ...@@ -324,6 +324,8 @@ case $machine in
*-*-linux*ecoff* | *-*-linux*libc1* | *-*-linux*oldld* | *-*-linux*aout*) *-*-linux*ecoff* | *-*-linux*libc1* | *-*-linux*oldld* | *-*-linux*aout*)
;; ;;
*) *)
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gas=yes gnu_ld=yes
case x${enable_threads} in case x${enable_threads} in
x | xyes | xposix) thread_file='posix' x | xyes | xposix) thread_file='posix'
;; ;;
...@@ -488,8 +490,6 @@ alpha*-*-linux*) ...@@ -488,8 +490,6 @@ alpha*-*-linux*)
tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee" tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
gas=yes gnu_ld=yes
;; ;;
alpha*-*-gnu*) alpha*-*-gnu*)
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
...@@ -705,13 +705,6 @@ cris-*-elf | cris-*-none) ...@@ -705,13 +705,6 @@ cris-*-elf | cris-*-none)
cris-*-linux*) cris-*-linux*)
tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h" tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h"
tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux" tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
case x${enable_threads} in
x | xyes | xpthreads | xposix)
thread_file=posix
;;
esac
gas=yes
;; ;;
d30v-*) d30v-*)
tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
...@@ -757,8 +750,6 @@ hppa*-*-linux* | parisc*-*-linux*) ...@@ -757,8 +750,6 @@ hppa*-*-linux* | parisc*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \ tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h" pa/pa32-regs.h pa/pa32-linux.h"
tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux" tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gas=yes gnu_ld=yes
;; ;;
hppa*-*-openbsd*) hppa*-*-openbsd*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
...@@ -997,10 +988,6 @@ i370-*-linux*) ...@@ -997,10 +988,6 @@ i370-*-linux*)
tm_file="dbxelf.h elfos.h svr4.h linux.h i370/linux.h ${tm_file}" tm_file="dbxelf.h elfos.h svr4.h linux.h i370/linux.h ${tm_file}"
tmake_file="t-slibgcc-elf-ver t-linux" tmake_file="t-slibgcc-elf-ver t-linux"
# broken_install=yes # broken_install=yes
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
# extra_parts="crtbegin.o crtend.o"
gnu_ld=yes
gas=yes
elf=yes elf=yes
;; ;;
i[34567]86-*-darwin*) i[34567]86-*-darwin*)
...@@ -1124,16 +1111,12 @@ i[34567]86-*-linux*) # Intel 80386's running GNU/Linux ...@@ -1124,16 +1111,12 @@ i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
# aka GNU/Linux C library 6 # aka GNU/Linux C library 6
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h" tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff" tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes
float_format=i386 float_format=i386
;; ;;
x86_64-*-linux*) x86_64-*-linux*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \
i386/x86-64.h i386/linux64.h" i386/x86-64.h i386/linux64.h"
tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff i386/t-linux64" tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff i386/t-linux64"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes
float_format=i386 float_format=i386
;; ;;
i[34567]86-*-gnu*) i[34567]86-*-gnu*)
...@@ -1867,9 +1850,6 @@ mips*-*-linux*) # Linux MIPS, either endian. ...@@ -1867,9 +1850,6 @@ mips*-*-linux*) # Linux MIPS, either endian.
;; ;;
esac esac
tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux" tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes
gas=yes
;; ;;
mips*el-*-openbsd*) # mips little endian mips*el-*-openbsd*) # mips little endian
target_cpu_default="MASK_GAS|MASK_ABICALLS" target_cpu_default="MASK_GAS|MASK_ABICALLS"
...@@ -2219,7 +2199,6 @@ rs6000-*-lynxos*) ...@@ -2219,7 +2199,6 @@ rs6000-*-lynxos*)
s390-*-linux*) s390-*-linux*)
tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h" tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux" tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
;; ;;
s390x-*-linux*) s390x-*-linux*)
tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h" tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
...@@ -2228,7 +2207,6 @@ s390x-*-linux*) ...@@ -2228,7 +2207,6 @@ s390x-*-linux*)
extra_modes=s390/s390-modes.def extra_modes=s390/s390-modes.def
out_file=s390/s390.c out_file=s390/s390.c
tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux s390/t-linux64" tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux s390/t-linux64"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
;; ;;
sh-*-elf* | sh[2346l]*-*-elf*) sh-*-elf* | sh[2346l]*-*-elf*)
tmake_file="sh/t-sh sh/t-elf" tmake_file="sh/t-sh sh/t-elf"
...@@ -2416,8 +2394,6 @@ sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5 ...@@ -2416,8 +2394,6 @@ sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
sparc-*-linux*) # Sparc's running GNU/Linux, libc6 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 sparc/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux sparc/t-crtfm" tmake_file="t-slibgcc-elf-ver t-linux sparc/t-crtfm"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes
float_format=sparc float_format=sparc
;; ;;
sparc-*-lynxos*) sparc-*-lynxos*)
...@@ -2608,8 +2584,6 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*) ...@@ -2608,8 +2584,6 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*)
sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64 sparc/t-crtfm" tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64 sparc/t-crtfm"
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 sparc/linux64.h"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes
float_format=sparc float_format=sparc
;; ;;
sparc64-*-netbsd*) sparc64-*-netbsd*)
...@@ -2739,8 +2713,6 @@ xtensa-*-elf*) ...@@ -2739,8 +2713,6 @@ xtensa-*-elf*)
xtensa-*-linux*) xtensa-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h" tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h"
tmake_file="t-linux xtensa/t-xtensa" tmake_file="t-linux xtensa/t-xtensa"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gas=yes gnu_ld=yes
;; ;;
*) *)
echo "*** Configuration $machine not supported" 1>&2 echo "*** Configuration $machine not supported" 1>&2
......
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