aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2005-04-04 07:47:01 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-04-04 07:47:01 +0000
commitd45d235367d880c1df822f051b2aeb72d361d9d4 (patch)
tree8925a3c60728d963f031aa8ab7ff98eebd87b1d5 /gcc
parent06ed4795b4b6941ef389a747a517310e6d161a60 (diff)
downloadgcc-d45d235367d880c1df822f051b2aeb72d361d9d4.zip
gcc-d45d235367d880c1df822f051b2aeb72d361d9d4.tar.gz
gcc-d45d235367d880c1df822f051b2aeb72d361d9d4.tar.bz2
config.gcc (xstormy16-*-elf): Set extra_options.
* config.gcc (xstormy16-*-elf): Set extra_options. * config/stormy16/stormy16.h (target_flags, TARGET_SWITCHES): Delete. * config/stormy16/stormy16.opt: New file. From-SVN: r97526
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc1
-rw-r--r--gcc/config/stormy16/stormy16.h7
-rw-r--r--gcc/config/stormy16/stormy16.opt25
4 files changed, 32 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4f7d677..4fc4bea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2005-04-04 Richard Sandiford <rsandifo@redhat.com>
+ * config.gcc (xstormy16-*-elf): Set extra_options.
+ * config/stormy16/stormy16.h (target_flags, TARGET_SWITCHES): Delete.
+ * config/stormy16/stormy16.opt: New file.
+
+2005-04-04 Richard Sandiford <rsandifo@redhat.com>
+
* config/pdp11/pdp11.h (target_flags, TARGET_SWITCHES, TARGET_DEFAULT)
(TARGET_FPU, TARGET_SOFT_FLOAT, TARGET_AC0, TARGET_NO_AC0, TARGET_45)
(TARGET_BCOPY_BUILTIN, TARGET_INT16, TARGET_INT32, TARGET_FLOAT32)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 20c9420..74c8b41 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2192,6 +2192,7 @@ xstormy16-*-elf)
tm_p_file=stormy16/stormy16-protos.h
md_file=stormy16/stormy16.md
out_file=stormy16/stormy16.c
+ extra_options=stormy16/stormy16.opt
tmake_file="stormy16/t-stormy16"
extra_parts="crtbegin.o crtend.o"
use_fixproto=yes
diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h
index 2645bc7..6c48ca1 100644
--- a/gcc/config/stormy16/stormy16.h
+++ b/gcc/config/stormy16/stormy16.h
@@ -61,13 +61,6 @@ Boston, MA 02111-1307, USA. */
builtin_assert ("cpu=xstormy16"); \
} while (0)
-/* This declaration should be present. */
-extern int target_flags;
-
-#define TARGET_SWITCHES \
- {{ "sim", 0, "Provide libraries for the simulator" }, \
- { "", 0, "" }}
-
#define TARGET_VERSION fprintf (stderr, " (xstormy16 cpu core)");
#define CAN_DEBUG_WITHOUT_FP
diff --git a/gcc/config/stormy16/stormy16.opt b/gcc/config/stormy16/stormy16.opt
new file mode 100644
index 0000000..b15bb33
--- /dev/null
+++ b/gcc/config/stormy16/stormy16.opt
@@ -0,0 +1,25 @@
+; Options for the XSTORMY16 port of the compiler.
+
+; Copyright (C) 2005 Free Software Foundation, Inc.
+;
+; This file is part of GCC.
+;
+; GCC 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.
+;
+; GCC 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 GCC; see the file COPYING. If not, write to the Free
+; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+; 02111-1307, USA.
+
+; Not used by the compiler
+msim
+Target RejectNegative
+Provide libraries for the simulator