aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sh/sh.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 028e157..9087de5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * sh.h (OPTIMIZATION_OPTIONS): Define.
+
Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
* combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index e0b05b6..1842574 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -160,6 +160,12 @@ extern int target_flags;
#define PRESERVE_DEATH_INFO_REGNO_P(regno) (TARGET_RELAX || optimize)
+#define OPTIMIZATION_OPTIONS(LEVEL,SIZE) \
+do { \
+ if (SIZE) \
+ target_flags |= SPACE_BIT; \
+} while (0)
+
#define ASSEMBLER_DIALECT 0 /* will allow to distinguish b[tf].s and b[tf]/s . */
#define OVERRIDE_OPTIONS \
do { \