summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-21 20:50:26 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-21 20:50:26 +0000
commitf01f508823d5723a8797e4dd2cd51ab917e1e327 (patch)
treee48e2ddee809e6f7b9808abcd19d4a4ffa35f446 /gcc/config
parentaf0ecff34e2b6e3a50642dc00cd2c2e7a7c1523a (diff)
downloadgcc-f01f508823d5723a8797e4dd2cd51ab917e1e327.tar.gz
* config/fr30/fr30.h (TARGET_SMALL_MODEL_MASK, TARGET_SMALL_MODEL)
(TARGET_DEFAULT, target_flags, TARGET_SWITCHES): Delete. * config/fr30/fr30.opt: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96830 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/fr30/fr30.h18
-rw-r--r--gcc/config/fr30/fr30.opt27
2 files changed, 27 insertions, 18 deletions
diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h
index 7847a7672bd..8f3d4de7387 100644
--- a/gcc/config/fr30/fr30.h
+++ b/gcc/config/fr30/fr30.h
@@ -49,24 +49,6 @@ Boston, MA 02111-1307, USA. */
} \
while (0)
-/* Use LDI:20 instead of LDI:32 to load addresses. */
-#define TARGET_SMALL_MODEL_MASK (1 << 0)
-#define TARGET_SMALL_MODEL (target_flags & TARGET_SMALL_MODEL_MASK)
-
-#define TARGET_DEFAULT 0
-
-/* This declaration should be present. */
-extern int target_flags;
-
-#define TARGET_SWITCHES \
-{ \
- { "small-model", TARGET_SMALL_MODEL_MASK, \
- N_("Assume small address space") }, \
- { "no-small-model", - TARGET_SMALL_MODEL_MASK, "" }, \
- { "no-lsim", 0, "" }, \
- { "", TARGET_DEFAULT, "" } \
-}
-
#define TARGET_VERSION fprintf (stderr, " (fr30)");
#define CAN_DEBUG_WITHOUT_FP
diff --git a/gcc/config/fr30/fr30.opt b/gcc/config/fr30/fr30.opt
new file mode 100644
index 00000000000..bf6f8690beb
--- /dev/null
+++ b/gcc/config/fr30/fr30.opt
@@ -0,0 +1,27 @@
+; Options for the FR30 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.
+
+msmall-model
+Target Report Mask(SMALL_MODEL)
+Assume small address space
+
+mno-lsim
+Target RejectNegative Undocumented