diff options
author | Konrad Eisele <konrad@gaisler.com> | 2010-12-16 22:28:45 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-12-16 22:28:45 +0000 |
commit | 07981468ebdf268622d1fa47ce529958aefd154b (patch) | |
tree | 0e6fb4a816a6dafb5da76bad485f9568f3a0dbf6 /gcc/config/sparc/t-elf | |
parent | cb2168c9660ac9d920b4c68a8b31a411fe6abe42 (diff) | |
download | gcc-07981468ebdf268622d1fa47ce529958aefd154b.zip gcc-07981468ebdf268622d1fa47ce529958aefd154b.tar.gz gcc-07981468ebdf268622d1fa47ce529958aefd154b.tar.bz2 |
Support for LEON processor
Support for LEON processor
* config.gcc (sparc-*-elf*): Deal with sparc-leon specifically.
(sparc-*-linux*): Likewise.
(sparc-*-rtems*): Remove Solaris left-overs.
(sparc*-*-*): Remove obsolete sparc86x setting.
(sparc-leon*): Default to --with-cpu=v8 and --with-tune=leon.
* doc/invoke.texi (SPARC Options): Document -mcpu/-mtune=leon.
* config/sparc/sparc.h (TARGET_CPU_leon): Define.
(TARGET_CPU_sparc86x): Delete.
(TARGET_CPU_cypress): Define as alias to TARGET_CPU_v7.
(TARGET_CPU_f930): Define as alias to TARGET_CPU_sparclite.
(TARGET_CPU_f934): Likewise.
(TARGET_CPU_tsc701): Define as alias to TARGET_CPU_sparclet.
(CPP_CPU_SPEC): Add entry for -mcpu=leon.
(enum processor_type): Add PROCESSOR_LEON. Reorganize.
* config/sparc/sparc.c (leon_costs): New cost array.
(sparc_option_override): Add entry for TARGET_CPU_leon and -mcpu=leon.
Initialize cost array to leon_costs if -mtune=leon.
* config/sparc/sparc.md (cpu attribute): Add leon. Reorganize.
Include leon.md scheduling description.
* config/sparc/leon.md: New file.
* config/sparc/t-elf: Do not assemble Solaris startup files.
* config/sparc/t-leon: New file.
* config/sparc/t-leon3: Likewise.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r167957
Diffstat (limited to 'gcc/config/sparc/t-elf')
-rw-r--r-- | gcc/config/sparc/t-elf | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/config/sparc/t-elf b/gcc/config/sparc/t-elf index 2d7dc9e..18ed2de 100644 --- a/gcc/config/sparc/t-elf +++ b/gcc/config/sparc/t-elf @@ -1,5 +1,5 @@ -# Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005, -# 2007 Free Software Foundation, Inc. +# Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005, 2007, 2010 +# Free Software Foundation, Inc. # # This file is part of GCC. # @@ -32,17 +32,9 @@ fp-bit.c: $(srcdir)/config/fp-bit.c echo '#define FLOAT' > fp-bit.c cat $(srcdir)/config/fp-bit.c >> fp-bit.c -# MULTILIB_OPTIONS should have msparclite too, but we'd have to make -# gas build... MULTILIB_OPTIONS = msoft-float mcpu=v8 MULTILIB_DIRNAMES = soft v8 MULTILIB_MATCHES = msoft-float=mno-fpu mcpu?v8=mv8 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib - -# Assemble startup files. -$(T)crti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES) - $(GCC_FOR_TARGET) -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-ci.asm -$(T)crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES) - $(GCC_FOR_TARGET) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-cn.asm |