diff options
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 412130672dd..844e79b713a 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3070,12 +3070,10 @@ sparc-*-rtems*|sparc-*-rtemself*) thread_file='rtems' fi ;; -sparcv9-*-solaris2* | sparc64-*-solaris2*) - if test x$gnu_ld = xyes - then - tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h sparc/sol2-gld.h" - else - tm_file=sparc/sol2-sld-64.h +sparc64-*-solaris2*) + tm_file="sparc/biarch64.h sparc/sol2-64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-bi.h" + if test x$gnu_ld = xyes; then + tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h" fi xm_defines=POSIX tmake_file="sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm" @@ -3121,33 +3119,32 @@ sparc-hal-solaris2*) esac thread_file='solaris' ;; -sparc-*-solaris2*) - if test x$gnu_ld = xyes - then - tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-gld.h" - else - tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-sld.h" +sparc-*-solaris2* | sparcv9-*-solaris2*) + tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h" + if test x$gnu_ld = xyes; then + tm_file="${tm_file} sparc/sol2-gld.h" fi - xm_defines=POSIX tmake_file="sparc/t-sol2 sparc/t-crtfm" if test x$gnu_ld = xyes; then tmake_file="$tmake_file t-slibgcc-elf-ver" else tmake_file="$tmake_file t-slibgcc-sld" fi - extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" case $machine in - *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;; - *-*-solaris2*) - if test x$gnu_ld = xyes - then - tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h sparc/sol2-gld.h" - else - tm_file="sparc/sol2-sld-64.h" + sparcv9-*) + tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h" + if test x$gnu_ld = xyes; then + tm_file="${tm_file} sparc/sol2-gld-bi.h" fi tmake_file="$tmake_file sparc/t-sol2-64" ;; + *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) + if test x$gnu_ld = xno; then + tm_file="${tm_file} sparc/sol26-sld.h" + fi esac + xm_defines=POSIX + extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" case $machine in *-*-solaris2.[0-4]) float_format=i128 |