Commit 885d8175 by Jim Wilson

*** empty log message ***

From-SVN: r1148
parent db0e6d01
...@@ -32,6 +32,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -32,6 +32,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define ASM_SPEC " %{pipe:-} %{fpic:-k} %{fPIC:-k}" #define ASM_SPEC " %{pipe:-} %{fpic:-k} %{fPIC:-k}"
/* Define macros to distinguish architectures. */
#define CPP_SPEC "%{msparclite:-D__sparclite__} %{mv8:-D__sparcv8__}"
/* Prevent error on `-sun4' and `-target sun4' options. */ /* Prevent error on `-sun4' and `-target sun4' options. */
/* This used to translate -dalign to -malign, but that is no good /* This used to translate -dalign to -malign, but that is no good
because it can't turn off the usual meaning of making debugging dumps. */ because it can't turn off the usual meaning of making debugging dumps. */
...@@ -101,6 +104,12 @@ extern int target_flags; ...@@ -101,6 +104,12 @@ extern int target_flags;
seem worth trying to fix. */ seem worth trying to fix. */
#define TARGET_FORCE_ALIGN (target_flags & 32) #define TARGET_FORCE_ALIGN (target_flags & 32)
/* Nonzero means that we should generate code for a v8 sparc. */
#define TARGET_V8 (target_flags & 64)
/* Nonzero means that we should generate code for a sparclite. */
#define TARGET_SPARCLITE (target_flags & 128)
/* Macro to define tables used to set the flags. /* Macro to define tables used to set the flags.
This is a list in braces of pairs in braces, This is a list in braces of pairs in braces,
each pair being { "NAME", VALUE } each pair being { "NAME", VALUE }
...@@ -114,6 +123,10 @@ extern int target_flags; ...@@ -114,6 +123,10 @@ extern int target_flags;
{"no-epilogue", -2}, \ {"no-epilogue", -2}, \
{"hope-align", 16}, \ {"hope-align", 16}, \
{"force-align", 48}, \ {"force-align", 48}, \
{"v8", 64}, \
{"no-v8", -64}, \
{"sparclite", 128}, \
{"no-sparclite", -128}, \
{ "", TARGET_DEFAULT}} { "", TARGET_DEFAULT}}
#define TARGET_DEFAULT 3 #define TARGET_DEFAULT 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment