On Jun 11, 2013, at 16:50 , David Edelsohn <dje....@gmail.com> wrote: >> I solved this in gcc/config/rs6000/t-linux by replacing the line >> >> MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring >> rs6000/e500-double.h, $(tm_file_list)),,v1) >> >> with >> >> MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring >> 8548,$(with_cpu)),,v1) > > Olivier was the person who removed e500-double.h and added 8548 > support. I would like to hear his and Eric's comment since they seem > to be doing the most work on e500 at the moment.
The suggested update is in line with this part of the change we did at the time: Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 187145) +++ gcc/config.gcc (working copy) @@ -2828,6 +2828,13 @@ mips*-*-vxworks) with_arch=mips2 ;; + powerpc*-*-*spe*) + if test x$enable_e500_double = xyes; then + with_cpu=8548 + else + with_cpu=8540 + fi + ;; sparc-leon*-*) with_cpu=v8; ;; @@ -3509,11 +3516,6 @@ c_target_objs="${c_target_objs} rs6000-c.o" cxx_target_objs="${cxx_target_objs} rs6000-c.o" tmake_file="rs6000/t-rs6000 ${tmake_file}" - - if test x$enable_e500_double = xyes - then - tm_file="$tm_file rs6000/e500-double.h" - fi ;; sh[123456ble]*-*-* | sh-*-*) so looks correct to me. Thanks! For the records, a summary of the history that led to the change, plus a first version of the patches is available at http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00464.html An adjusted version of the whole set of patches, eventually checked-in was provided at http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01021.html With Kind Regards, Olivier