diff options
author | Jon Beniston <jon@beniston.com> | 2009-11-11 16:43:06 +0000 |
---|---|---|
committer | Jon Beniston <jbeniston@gcc.gnu.org> | 2009-11-11 16:43:06 +0000 |
commit | aa4945c138ce494613b711ede795a489bceaf62f (patch) | |
tree | cf4108b3353e1f46c1d6b52a3ce2c3d91d0e79d4 /gcc/config.gcc | |
parent | 05d3aa37b35924bdbc3f321581716bf9c05b765b (diff) | |
download | gcc-aa4945c138ce494613b711ede795a489bceaf62f.zip gcc-aa4945c138ce494613b711ede795a489bceaf62f.tar.gz gcc-aa4945c138ce494613b711ede795a489bceaf62f.tar.bz2 |
config.gcc: Add lm32 elf and uclinux targets.
gcc/
2009-11-11 Jon Beniston <jon@beniston.com>
* config.gcc: Add lm32 elf and uclinux targets.
* config/lm32: New directory.
* config/lm32/lm32.c: New file.
* config/lm32/lm32.h: New file.
* config/lm32/lm32.md: New file.
* config/lm32/lm32.opt: New file.
* config/lm32/lm32-protos.h: New file.
* config/lm32/constraints.md: New file.
* config/lm32/predicates.md: New file.
* config/lm32/sfp-machine.h: New file.
* config/lm32/t-fprules-softfp: New file.
* config/lm32/uclinux-elf.h: New file.
* doc/invoke.texi: Document lm32 options.
* doc/contrib.texi: Document lm32 porter.
* doc/install.texi: Document lm32 targets.
gcc/testsuite/
2009-11-11 Jon Beniston <jon@beniston.com>
* lib/target-supports.exp (check_profiling_available): lm32 target
doesn't support profiling.
* gcc.dg/20020312-2.c: Add lm32 support.
* g++.dg/other/packed1.C: Expect to fail on lm32.
* g++.old-deja/g++.jason/thunk3.C: Likewise.
libgcc/
2009-11-11 Jon Beniston <jon@beniston.com>
* config.host: Add lm32 targets.
* config/lm32: New directory.
* config/lm32/libgcc_lm32.h: New file.
* config/lm32/_mulsi3.c: New file.
* config/lm32/_udivmodsi4.c: New file.
* config/lm32/_divsi3.c: New file.
* config/lm32/_modsi3.c: New file.
* config/lm32/_udivsi3.c: New file.
* config/lm32/_umodsi3.c: New file.
* config/lm32/_lshrsi3.S: New file.
* config/lm32/_ashrsi3.S: New file.
* config/lm32/_ashlsi3.S: New file.
* config/lm32/crti.S: New file.
* config/lm32/crtn.S: New file.
* config/lm32/t-lm32: New file.
* config/lm32/t-elf: New file.
* config/lm32/t-uclinux: New file.
From-SVN: r154096
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 999ba21..dc22e38 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1469,6 +1469,14 @@ iq2000*-*-elf*) out_file=iq2000/iq2000.c md_file=iq2000/iq2000.md ;; +lm32-*-elf*) + tm_file="dbxelf.h elfos.h ${tm_file}" + tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp" + ;; +lm32-*-uclinux*) + tm_file="dbxelf.h elfos.h ${tm_file} linux.h lm32/uclinux-elf.h" + tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp" + ;; m32r-*-elf*) tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}" extra_parts="crtinit.o crtfini.o" |