Message ID | m2k4iwbdmp.fsf@whitebox.home |
---|---|
State | New |
Headers | show |
On Dec 26, 2010, at 9:19 PM, Andreas Schwab wrote: > Linux/m68k only supports m680x0 CPUs, so exclude the other variants from > the multilib selection for m68k-linux targets. It's true that Freescale still hasn't contributed linux port for ColdFire V4 upstream; it is maintained at http://bitshrine.org/ltib/. Still, I think that should not be the reason to exclude multilib support for ColdFire GNU/Linux from GCC. Is there anything specific you want to fix or improve in m68k multilib machinery? Thanks, -- Maxim Kuvyrkov CodeSourcery +1-650-331-3385 x724
FL_MMU is the wrong thing to check for, really. Andreas.
diff --git a/gcc/config/m68k/t-linux b/gcc/config/m68k/t-linux index 8dd5112..7af40da 100644 --- a/gcc/config/m68k/t-linux +++ b/gcc/config/m68k/t-linux @@ -18,8 +18,8 @@ EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o -# Only include multilibs for CPUs with an MMU. -M68K_MLIB_CPU += && match(FLAGS, "FL_MMU") +# Only include multilibs for 680x0 CPUs with an MMU. +M68K_MLIB_CPU += && (CPU ~ "^m680") && (FLAGS ~ "FL_MMU") # This rule uses MULTILIB_MATCHES to generate a definition of # SYSROOT_SUFFIX_SPEC.