--- gcc/config/iris.h 2018/04/24 17:53:58 1.1.1.2 +++ gcc/config/iris.h 2018/04/24 18:04:16 1.1.1.4 @@ -52,7 +52,7 @@ the Free Software Foundation, 675 Mass A #define LINK_SPEC "\ %{G*} \ %{!mgas: %{mips1} %{mips2} %{mips3} \ - %{bestGnum}}" + %{bestGnum} %{shared} %{non_shared}}" /* Always use 1 for .file number. I [meissner@osf.org] wonder why IRIS needs this. */ @@ -84,4 +84,16 @@ the Free Software Foundation, 675 Mass A #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"