--- gcc/config/iris.h 2018/04/24 17:51:32 1.1 +++ gcc/config/iris.h 2018/04/24 18:04:16 1.1.1.4 @@ -42,15 +42,17 @@ the Free Software Foundation, 675 Mass A #define ASM_SPEC "\ %{!mgas: \ - %{!mrnames: -nocpp} \ + %{!mrnames: %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}}} \ %{pipe: %e-pipe is not supported.} \ + %{mips1} %{mips2} %{mips3} \ %{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \ %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K}} \ %{G*}" #define LINK_SPEC "\ %{G*} \ -%{!mgas: %{bestGnum}}" +%{!mgas: %{mips1} %{mips2} %{mips3} \ + %{bestGnum} %{shared} %{non_shared}}" /* Always use 1 for .file number. I [meissner@osf.org] wonder why IRIS needs this. */ @@ -69,4 +71,29 @@ the Free Software Foundation, 675 Mass A SIZE.constant = 32; \ } +/* Define this macro to control use of the character `$' in + identifier names. The value should be 0, 1, or 2. 0 means `$' + is not allowed by default; 1 means it is allowed by default if + `-traditional' is used; 2 means it is allowed by default provided + `-ansi' is not used. 1 is the default; there is no need to + define this macro in that case. */ + +#define DOLLARS_IN_IDENTIFIERS 0 + +/* Tell G++ not to create constructors or destructors with $'s in them. */ + +#define NO_DOLLAR_IN_LABEL 1 + +/* Specify size_t, ptrdiff_t, and wchar_t types. */ +#define SIZE_TYPE "unsigned int" +#define PTRDIFF_TYPE "int" +#define WCHAR_TYPE "unsigned char" +#define WCHAR_TYPE_SIZE BITS_PER_UNIT + +/* Generate calls to memcpy, etc., not bcopy, etc. */ +#define TARGET_MEM_FUNCTIONS + +/* Plain char is unsigned in the SGI compiler. */ +#define DEFAULT_SIGNED_CHAR 0 + #include "mips.h"