/[gentoo]/src/patchsets/gcc/4.5.0/gentoo/53_all_gcc4-superh-default-multilib.patch
Gentoo

Diff of /src/patchsets/gcc/4.5.0/gentoo/53_all_gcc4-superh-default-multilib.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
7 7
8Here we restore the gcc-3.x behavior; the additional overhead of building all 8Here we restore the gcc-3.x behavior; the additional overhead of building all
9of these multilibs by default is negligible. 9of these multilibs by default is negligible.
10 10
11http://bugs.gentoo.org/140205 11http://bugs.gentoo.org/140205
12http://bugs.gentoo.org/320251
12 13
13--- gcc-4.2.0/gcc/config.gcc 14--- gcc-4.2.0/gcc/config.gcc
14+++ gcc-4.2.0/gcc/config.gcc 15+++ gcc-4.2.0/gcc/config.gcc
15@@ -2092,7 +2092,7 @@ 16@@ -2092,7 +2092,7 @@
16 if test x${sh_multilibs} = x ; then 17 if test x${sh_multilibs} = x ; then
17 case ${target} in 18 case ${target} in
18 sh64-superh-linux* | \ 19 sh64-superh-linux* | \
19- sh[1234]*) sh_multilibs=${sh_cpu_target} ;; 20- sh[1234]*) sh_multilibs=${sh_cpu_target} ;;
20+ sh[1234]*) sh_multilibs=`cd ${srcdir}/config/sh ; echo t-mlib-sh[1-4]* | sed 's:t-mlib-sh:,m:g;s: ::g'` ;; 21+ sh[1234]*) sh_multilibs=$(echo $(sed -n '/^[[:space:]]*case ${sh_multilib} in/,/)/{s:case ${sh_multilib} in::;s: | *:,:g;s:[\\)]::g;p}' ${srcdir}/config.gcc) | sed 's: ::g') ;;
21 sh64* | sh5*) sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;; 22 sh64* | sh5*) sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;;
22 sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;; 23 sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;;
23 sh*-*-linux*) sh_multilibs=m1,m3e,m4 ;; 24 sh*-*-linux*) sh_multilibs=m1,m3e,m4 ;;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20