config.gcc (m68k-*-linux*): Add with_arch.
* config.gcc (m68k-*-linux*): Add with_arch. Add sysroot-suffix.h to tm_file. Add m68k/t-floatlib, m68k/t-linux & m68k/t-mlibs to tmake_file. * config/m68k/t-linux: New. * doc/install.texi: Document m68k-*-linux is now multilibbed by default. From-SVN: r137557
This commit is contained in:
parent
b2aa7a6437
commit
368b55f6b0
|
@ -1,3 +1,19 @@
|
||||||
|
2008-07-07 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||||
|
Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* config.gcc (m68k-*-linux*): Add with_arch. Add sysroot-suffix.h
|
||||||
|
to tm_file. Add m68k/t-floatlib, m68k/t-linux & m68k/t-mlibs to
|
||||||
|
tmake_file.
|
||||||
|
* config/m68k/t-linux: New.
|
||||||
|
* doc/install.texi: Document m68k-*-linux is now multilibbed by
|
||||||
|
default.
|
||||||
|
|
||||||
|
2008-07-07 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* config/m68k/t-cf (MULTILIB_EXTRA_OPTS): Add no-mac.
|
||||||
|
* config/m68k/m68k-devices.def: Remove multilibs that only differ
|
||||||
|
by MAC/EMAC.
|
||||||
|
|
||||||
2008-07-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
2008-07-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
* gcc.c (execute): Fix -Wc++-compat warning.
|
* gcc.c (execute): Fix -Wc++-compat warning.
|
||||||
|
|
|
@ -1459,9 +1459,11 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
|
||||||
# aka the GNU/Linux C library 6.
|
# aka the GNU/Linux C library 6.
|
||||||
default_m68k_cpu=68020
|
default_m68k_cpu=68020
|
||||||
default_cf_cpu=5475
|
default_cf_cpu=5475
|
||||||
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h m68k/linux.h"
|
with_arch=${with_arch:-m68k}
|
||||||
|
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h m68k/linux.h ./sysroot-suffix.h"
|
||||||
extra_options="${extra_options} m68k/ieee.opt"
|
extra_options="${extra_options} m68k/ieee.opt"
|
||||||
tm_defines="${tm_defines} MOTOROLA=1"
|
tm_defines="${tm_defines} MOTOROLA=1"
|
||||||
|
tmake_file="${tmake_file} m68k/t-floatlib m68k/t-linux m68k/t-mlibs"
|
||||||
# if not configured with --enable-sjlj-exceptions, bump the
|
# if not configured with --enable-sjlj-exceptions, bump the
|
||||||
# libgcc version number
|
# libgcc version number
|
||||||
if test x$sjlj != x1; then
|
if test x$sjlj != x1; then
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
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")
|
||||||
|
|
||||||
|
# This rule uses MULTILIB_MATCHES to generate a definition of
|
||||||
|
# SYSROOT_SUFFIX_SPEC.
|
||||||
|
sysroot-suffix.h: $(srcdir)/config/m68k/print-sysroot-suffix.sh
|
||||||
|
$(SHELL) $(srcdir)/config/m68k/print-sysroot-suffix.sh \
|
||||||
|
"$(SYSTEM_HEADER_DIR)/../.." "$(MULTILIB_MATCHES)" \
|
||||||
|
"$(MULTILIB_OPTIONS)" > $@
|
|
@ -3427,15 +3427,17 @@ applications. There are no standard Unix configurations.
|
||||||
@end html
|
@end html
|
||||||
@heading @anchor{m68k-x-x}m68k-*-*
|
@heading @anchor{m68k-x-x}m68k-*-*
|
||||||
By default, @samp{m68k-*-aout}, @samp{m68k-*-coff*},
|
By default, @samp{m68k-*-aout}, @samp{m68k-*-coff*},
|
||||||
@samp{m68k-*-elf*}, @samp{m68k-*-rtems} and @samp{m68k-*-uclinux}
|
@samp{m68k-*-elf*}, @samp{m68k-*-rtems}, @samp{m68k-*-uclinux} and
|
||||||
|
@samp{m68k-*-linux}
|
||||||
build libraries for both M680x0 and ColdFire processors. If you only
|
build libraries for both M680x0 and ColdFire processors. If you only
|
||||||
need the M680x0 libraries, you can omit the ColdFire ones by passing
|
need the M680x0 libraries, you can omit the ColdFire ones by passing
|
||||||
@option{--with-arch=m68k} to @command{configure}. Alternatively, you
|
@option{--with-arch=m68k} to @command{configure}. Alternatively, you
|
||||||
can omit the M680x0 libraries by passing @option{--with-arch=cf} to
|
can omit the M680x0 libraries by passing @option{--with-arch=cf} to
|
||||||
@command{configure}. These targets default to 5206 code when
|
@command{configure}. These targets default to 5206 or 5475 code as
|
||||||
|
appropriate for the target system when
|
||||||
configured with @option{--with-arch=cf} and 68020 code otherwise.
|
configured with @option{--with-arch=cf} and 68020 code otherwise.
|
||||||
|
|
||||||
The @samp{m68k-*-linux-gnu}, @samp{m68k-*-netbsd} and
|
The @samp{m68k-*-netbsd} and
|
||||||
@samp{m68k-*-openbsd} targets also support the @option{--with-arch}
|
@samp{m68k-*-openbsd} targets also support the @option{--with-arch}
|
||||||
option. They will generate ColdFire CFV4e code when configured with
|
option. They will generate ColdFire CFV4e code when configured with
|
||||||
@option{--with-arch=cf} and 68020 code otherwise.
|
@option{--with-arch=cf} and 68020 code otherwise.
|
||||||
|
|
Loading…
Reference in New Issue