summaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-02-09 10:48:24 -0800
committerJim Wilson <wilson@gcc.gnu.org>1996-02-09 10:48:24 -0800
commitcd9784dbc9c186c05d41bae330c5946a8324ccad (patch)
tree79a32361c7139c5063c818ab4875e65384ba1400 /gcc/config/sh
parent1cf4f698fe712c8f1007bcf95003e33cc76ad550 (diff)
downloadgcc-cd9784dbc9c186c05d41bae330c5946a8324ccad.tar.gz
(CPP_SPEC): Add defines for -m1, -m2, and -m3.
From-SVN: r11184
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/sh.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 236aaa61eaa..f10c69229fa 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -34,7 +34,11 @@ Boston, MA 02111-1307, USA. */
#define SDB_DELIM ";"
-#define CPP_SPEC "%{ml:-D__LITTLE_ENDIAN__} %{m3e:-D__SH3E__}"
+#define CPP_SPEC "%{ml:-D__LITTLE_ENDIAN__} \
+%{m1:-D__sh1__} \
+%{m2:-D__sh2__} \
+%{m3:-D__sh3__} \
+%{m3e:-D__SH3E__}"
#define CPP_PREDEFINES "-D__sh__ -Acpu(sh) -Amachine(sh)"