diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 45 |
2 files changed, 14 insertions, 36 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a481136..5d1f34d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-03-03 Eric Botcazou <ebotcazou@adacore.com> + + * config.gcc (sparc64-*-solaris2*, sparc-*-solaris2*): Merge into... + (sparc*-*-solaris2*): ...this. + 2010-03-03 Jakub Jelinek <jakub@redhat.com> PR debug/43229 diff --git a/gcc/config.gcc b/gcc/config.gcc index c131b89..2178206 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2378,53 +2378,27 @@ sparc-*-rtems*) tmake_file="sparc/t-elf sparc/t-crtfm t-rtems" extra_parts="crti.o crtn.o crtbegin.o crtend.o" ;; -sparc64-*-solaris2* | sparcv9-*-solaris2*) +sparc*-*-solaris2*) tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h" case ${target} in - *-*-solaris2.1[0-9]*) + *-*-solaris2.1[0-9]*) tm_file="${tm_file} sol2-10.h" use_gcc_stdint=wrap ;; - *) + *) use_gcc_stdint=provide ;; esac - tm_file="${tm_file} sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h" - if test x$gas = xyes; then - tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h" - fi - if test x$gnu_ld = xyes; then - tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h" - fi - tm_file="${tm_file} tm-dwarf2.h" - tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 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 - c_target_objs="sol2-c.o" - cxx_target_objs="sol2-c.o" - extra_objs="sol2.o" - tm_p_file="${tm_p_file} sol2-protos.h" - extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o" - case ${enable_threads}:${have_pthread_h}:${have_thread_h} in - "":yes:* | yes:yes:* ) thread_file=posix ;; - "":*:yes | yes:*:yes ) thread_file=solaris ;; - esac - ;; -sparc-*-solaris2*) - tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h" + tm_file="${tm_file} sparc/sol2.h" case ${target} in - *-*-solaris2.1[0-9]*) - tm_file="${tm_file} sol2-10.h" - use_gcc_stdint=wrap + sparc64-*-* | sparcv9-*-*) + tm_file="${tm_file} sparc/sol2-64.h" ;; - *) - use_gcc_stdint=provide + *) + test x$with_cpu != x || with_cpu=v9 ;; esac - tm_file="${tm_file} sparc/sol2.h sparc/sol2-bi.h" + tm_file="${tm_file} sparc/sol2-bi.h" if test x$gas = xyes; then tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h" fi @@ -2438,7 +2412,6 @@ sparc-*-solaris2*) else tmake_file="$tmake_file t-slibgcc-sld" fi - test x$with_cpu != x || with_cpu=v9 c_target_objs="sol2-c.o" cxx_target_objs="sol2-c.o" extra_objs="sol2.o" |