t-uclinux (M68K_MLIB_CPU): Check for FL_UCLINUX.
* config/m68k/t-uclinux (M68K_MLIB_CPU): Check for FL_UCLINUX. * config/m68k/m68k-devices.def: Add FL_UCLINUX to 68020 and 54455 multilibs. * config/m68k/m68k.h (FL_UCLINUX): Define. From-SVN: r147478
This commit is contained in:
parent
5c71a5e0e9
commit
286c4fcbc8
4 changed files with 18 additions and 10 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-05-13 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* config/m68k/t-uclinux (M68K_MLIB_CPU): Check for FL_UCLINUX.
|
||||
* config/m68k/m68k-devices.def: Add FL_UCLINUX to 68020 and 54455
|
||||
multilibs.
|
||||
* config/m68k/m68k.h (FL_UCLINUX): Define.
|
||||
|
||||
2009-05-13 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* options.c (gfc_post_options): -fwhole-program imply -fwhole-file.
|
||||
|
|
|
@ -72,8 +72,8 @@
|
|||
/* 680x0 series processors. */
|
||||
M68K_DEVICE ("68000", m68000, "68000", "68000", 68000, isa_00, 0)
|
||||
M68K_DEVICE ("68010", m68010, "68010", "68000", 68010, isa_10, 0)
|
||||
M68K_DEVICE ("68020", m68020, "68020", "68020", 68020, isa_20, FL_MMU)
|
||||
M68K_DEVICE ("68030", m68030, "68030", "68020", 68030, isa_20, FL_MMU)
|
||||
M68K_DEVICE ("68020", m68020, "68020", "68020", 68020, isa_20, FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("68030", m68030, "68030", "68020", 68030, isa_20, FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("68040", m68040, "68040", "68040", 68040, isa_40, FL_MMU)
|
||||
M68K_DEVICE ("68060", m68060, "68060", "68060", 68060, isa_40, FL_MMU)
|
||||
M68K_DEVICE ("68302", m68302, "68302", "68000", 68000, isa_00, FL_MMU)
|
||||
|
@ -158,12 +158,12 @@ M68K_DEVICE ("537x", mcf537x, "5373", "5329", cfv3, isa_aplus, FL_CF_HWD
|
|||
|
||||
/* CFV4/CFV4e processors. */
|
||||
M68K_DEVICE ("5407", mcf5407, "5407", "5407", cfv4, isa_b, FL_CF_MAC)
|
||||
M68K_DEVICE ("54450", mcf54450, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU)
|
||||
M68K_DEVICE ("54451", mcf54451, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU)
|
||||
M68K_DEVICE ("54452", mcf54452, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU)
|
||||
M68K_DEVICE ("54453", mcf54453, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU)
|
||||
M68K_DEVICE ("54454", mcf54454, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU)
|
||||
M68K_DEVICE ("54455", mcf54455, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU)
|
||||
M68K_DEVICE ("54450", mcf54450, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("54451", mcf54451, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("54452", mcf54452, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("54453", mcf54453, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("54454", mcf54454, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("54455", mcf54455, "54455", "54455", cfv4, isa_c, FL_CF_HWDIV | FL_CF_USP | FL_CF_EMAC | FL_MMU | FL_UCLINUX)
|
||||
M68K_DEVICE ("5470", mcf5470, "5475", "5475", cfv4e, isa_b, FL_CF_USP | FL_CF_EMAC | FL_CF_FPU | FL_MMU)
|
||||
M68K_DEVICE ("5471", mcf5471, "5475", "5475", cfv4e, isa_b, FL_CF_USP | FL_CF_EMAC | FL_CF_FPU | FL_MMU)
|
||||
M68K_DEVICE ("5472", mcf5472, "5475", "5475", cfv4e, isa_b, FL_CF_USP | FL_CF_EMAC | FL_CF_FPU | FL_MMU)
|
||||
|
|
|
@ -232,6 +232,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
#define FL_ISA_C (1 << 16)
|
||||
#define FL_FIDOA (1 << 17)
|
||||
#define FL_MMU 0 /* Used by multilib machinery. */
|
||||
#define FL_UCLINUX 0 /* Used by multilib machinery. */
|
||||
|
||||
#define TARGET_68010 ((m68k_cpu_flags & FL_ISA_68010) != 0)
|
||||
#define TARGET_68020 ((m68k_cpu_flags & FL_ISA_68020) != 0)
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
# crti and crtn are provided by uClibc.
|
||||
EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
|
||||
|
||||
# Only include multilibs for the 68020 and for CPUs without an MMU.
|
||||
M68K_MLIB_CPU += && (MLIB == "68020" || !match(FLAGS, "FL_MMU"))
|
||||
# Include multilibs for CPUs without an MMU or with FL_UCLINUX
|
||||
M68K_MLIB_CPU += && (!match(FLAGS, "FL_MMU") || match(FLAGS, "FL_UCLINUX"))
|
||||
|
||||
# Add multilibs for execute-in-place and shared-library code.
|
||||
M68K_MLIB_OPTIONS += msep-data/mid-shared-library
|
||||
|
|
Loading…
Add table
Reference in a new issue