summaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/elf.h2
-rw-r--r--gcc/config/sh/linux.h2
-rw-r--r--gcc/config/sh/rtems.h2
-rw-r--r--gcc/config/sh/rtemself.h2
-rw-r--r--gcc/config/sh/sh.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h
index f05083e1004..5acfe75e151 100644
--- a/gcc/config/sh/elf.h
+++ b/gcc/config/sh/elf.h
@@ -67,7 +67,7 @@ Boston, MA 02111-1307, USA. */
/* Let code know that this is ELF. */
-#define CPP_PREDEFINES "-D__sh__ -D__ELF__ -Acpu(sh) -Amachine(sh)"
+#define CPP_PREDEFINES "-D__sh__ -D__ELF__ -Acpu=sh -Amachine=sh"
/* Pass -ml and -mrelax to the assembler and linker. */
#undef ASM_SPEC
diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h
index 07de9152368..3a10ac4b2df 100644
--- a/gcc/config/sh/linux.h
+++ b/gcc/config/sh/linux.h
@@ -52,7 +52,7 @@ Boston, MA 02111-1307, USA. */
%{pthread:-D_REENTRANT -D_PTHREADS}"
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-D__ELF__ -Dunix -D__sh__ -Dlinux -Asystem(posix)"
+#define CPP_PREDEFINES "-D__ELF__ -Dunix -D__sh__ -Dlinux -Asystem=posix"
#undef ASM_SPEC
#define ASM_SPEC "%{!mb:-little} %{mrelax:-relax}"
diff --git a/gcc/config/sh/rtems.h b/gcc/config/sh/rtems.h
index 1507f124943..014760ec507 100644
--- a/gcc/config/sh/rtems.h
+++ b/gcc/config/sh/rtems.h
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__sh__ -Drtems -D__rtems__ \
- -Asystem(rtems) -Acpu(sh) -Amachine(sh)"
+ -Asystem=rtems -Acpu=sh -Amachine=sh"
/* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS
diff --git a/gcc/config/sh/rtemself.h b/gcc/config/sh/rtemself.h
index 0c2aa50fc87..db7bf7da079 100644
--- a/gcc/config/sh/rtemself.h
+++ b/gcc/config/sh/rtemself.h
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__sh__ -D__ELF__ -Drtems -D__rtems__ \
- -Asystem(rtems) -Acpu(sh) -Amachine(sh)"
+ -Asystem=rtems -Acpu=sh -Amachine=sh"
/* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index d217f35476a..330fe2db0b0 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -54,7 +54,7 @@ extern int code_for_indirect_jump_scratch;
%{mnomacsave:-D__NOMACSAVE__} \
%{mhitachi:-D__HITACHI__}"
-#define CPP_PREDEFINES "-D__sh__ -Acpu(sh) -Amachine(sh)"
+#define CPP_PREDEFINES "-D__sh__ -Acpu=sh -Amachine=sh"
#define ASM_SPEC "%{ml:-little} %{mrelax:-relax}"