Commit 7daa56f5 by Richard Kenner

Don't #include stamp.h for WINNT.

(input_operand, case CONST): Allow ptr_mode and DImode.

From-SVN: r9369
parent c6b31600
...@@ -322,7 +322,8 @@ input_operand (op, mode) ...@@ -322,7 +322,8 @@ input_operand (op, mode)
case LABEL_REF: case LABEL_REF:
case SYMBOL_REF: case SYMBOL_REF:
case CONST: case CONST:
return mode == DImode; /* This handles both the Windows/NT and OSF cases. */
return mode == ptr_mode || mode == DImode;
case REG: case REG:
return 1; return 1;
...@@ -1209,7 +1210,7 @@ direct_return () ...@@ -1209,7 +1210,7 @@ direct_return ()
/* Write a version stamp. Don't write anything if we are running as a /* Write a version stamp. Don't write anything if we are running as a
cross-compiler. Otherwise, use the versions in /usr/include/stamp.h. */ cross-compiler. Otherwise, use the versions in /usr/include/stamp.h. */
#ifndef CROSS_COMPILE #if !defined(CROSS_COMPILE) && !defined(WINNT)
#include <stamp.h> #include <stamp.h>
#endif #endif
......
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