diff options
author | Joel Sherrill <joel@OARcorp.com> | 2000-01-04 22:02:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2000-01-04 22:02:43 +0000 |
commit | 966f8bfd169f1bb78dddd9ebc51e7c6b7a0e1b91 (patch) | |
tree | a3b4029006154186763eca36debabc0f6241c4f9 /gcc/config/v850/rtems.h | |
parent | f22a97d238b087b679028f1692df1a180c3fbbe7 (diff) | |
download | gcc-966f8bfd169f1bb78dddd9ebc51e7c6b7a0e1b91.tar.gz |
Applied Joel Sherrill's patch to add v850-rtems target
From-SVN: r31216
Diffstat (limited to 'gcc/config/v850/rtems.h')
-rw-r--r-- | gcc/config/v850/rtems.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gcc/config/v850/rtems.h b/gcc/config/v850/rtems.h new file mode 100644 index 00000000000..e30631835c1 --- /dev/null +++ b/gcc/config/v850/rtems.h @@ -0,0 +1,38 @@ +/* Definitions for rtems targeting a v850 using elf + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. + Contributed by Joel Sherrill (joel@OARcorp.com). + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#include "v850/v850.h" + +/* Specify predefined symbols in preprocessor. */ + +#undef CPP_PREDEFINES +#define CPP_PREDEFINES "-D__v851__ -D__v850 -Drtems \ + -Asystem(rtems) -Acpu(v850) -Amachine(v850)" + +/* Generate calls to memcpy, memcmp and memset. */ +#ifndef TARGET_MEM_FUNCTIONS +#define TARGET_MEM_FUNCTIONS +#endif + +/* Get machine-independent configuration parameters for RTEMS. */ +#include <rtems.h> + +/* end of v850/rtems.h */ |