aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pdp11
diff options
context:
space:
mode:
authorNeil Booth <neil@gcc.gnu.org>2003-03-09 22:01:15 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-03-09 22:01:15 +0000
commitcc956ba2cb4d72bf79fd508b96a0e5aefb8b4882 (patch)
tree65d0d6a17e094bd608d3cc8c6cf1bb99cb3cb3a8 /gcc/config/pdp11
parent6544fbcb2ae41e065b956179bbc6cf7176c8901e (diff)
downloadgcc-cc956ba2cb4d72bf79fd508b96a0e5aefb8b4882.zip
gcc-cc956ba2cb4d72bf79fd508b96a0e5aefb8b4882.tar.gz
gcc-cc956ba2cb4d72bf79fd508b96a0e5aefb8b4882.tar.bz2
frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
* config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES. * config/ip2k/ip2k.h: Similarly. * config/m32r/m32r.h: Similarly. * config/m68hc11/m68hc11.h: Similarly. * config/mn10200/mn10200.h: Similarly. * config/mn10300/mn10300.h: Similarly. * config/pdp11/pdp11.h: Similarly. * config/v850/v850.h: Similarly. * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS. * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS. * config/mips/iris3.h: Remove #if 0 block. From-SVN: r64049
Diffstat (limited to 'gcc/config/pdp11')
-rw-r--r--gcc/config/pdp11/pdp11.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
index 147b6ba..07f3704 100644
--- a/gcc/config/pdp11/pdp11.h
+++ b/gcc/config/pdp11/pdp11.h
@@ -30,7 +30,12 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */
-#define CPP_PREDEFINES "-Dpdp11"
+#define TARGET_CPU_CPP_BUILTINS() \
+ do \
+ { \
+ builtin_define_std ("pdp11"); \
+ } \
+ while (0)
/* Print subsidiary information on the compiler version in use. */
#define TARGET_VERSION fprintf (stderr, " (pdp11)");