Commit 40f32220 by Jim Wilson

(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

From-SVN: r3856
parent 59d7764f
...@@ -461,6 +461,10 @@ enum reg_class { NO_REGS, LONG_REGS, GENERAL_REGS, SP_REG, ALL_REGS, LIM_REG_CLA ...@@ -461,6 +461,10 @@ enum reg_class { NO_REGS, LONG_REGS, GENERAL_REGS, SP_REG, ALL_REGS, LIM_REG_CLA
#define RETURN_IN_MEMORY(X) \ #define RETURN_IN_MEMORY(X) \
(TYPE_MODE (X) == BLKmode || GET_MODE_SIZE (TYPE_MODE (X)) > 4) (TYPE_MODE (X) == BLKmode || GET_MODE_SIZE (TYPE_MODE (X)) > 4)
/* Don't default to pcc-struct-return, because we have already specified
exactly how to return structures in the RETURN_IN_MEMORY macro. */
#define DEFAULT_PCC_STRUCT_RETURN 0
/* When defined, the compiler allows registers explicitly used in the /* When defined, the compiler allows registers explicitly used in the
rtl to be used as spill registers but prevents the compiler from rtl to be used as spill registers but prevents the compiler from
extending the lifetime of these registers. */ extending the lifetime of these registers. */
......
...@@ -75,3 +75,7 @@ ...@@ -75,3 +75,7 @@
necessary when compiling PIC code. */ necessary when compiling PIC code. */
#define JUMP_TABLES_IN_TEXT_SECTION #define JUMP_TABLES_IN_TEXT_SECTION
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
...@@ -136,3 +136,7 @@ ...@@ -136,3 +136,7 @@
necessary when compiling PIC code. */ necessary when compiling PIC code. */
#define JUMP_TABLES_IN_TEXT_SECTION #define JUMP_TABLES_IN_TEXT_SECTION
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
...@@ -17,3 +17,7 @@ ...@@ -17,3 +17,7 @@
/* Make stddef.h agree with types.h. */ /* Make stddef.h agree with types.h. */
#define SIZE_TYPE "long int" #define SIZE_TYPE "long int"
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
...@@ -376,3 +376,7 @@ while (0) ...@@ -376,3 +376,7 @@ while (0)
/* Generate calls to memcpy, etc., not bcopy, etc. */ /* Generate calls to memcpy, etc., not bcopy, etc. */
#define TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
...@@ -10,3 +10,7 @@ ...@@ -10,3 +10,7 @@
/* Specify extra dir to search for include files. */ /* Specify extra dir to search for include files. */
#define SYSTEM_INCLUDE_DIR "/usr/mach/include" #define SYSTEM_INCLUDE_DIR "/usr/mach/include"
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
...@@ -820,6 +820,10 @@ extern struct rtx_def *i960_function_arg (); ...@@ -820,6 +820,10 @@ extern struct rtx_def *i960_function_arg ();
#define RETURN_IN_MEMORY(TYPE) \ #define RETURN_IN_MEMORY(TYPE) \
(TYPE_MODE (TYPE) == BLKmode || int_size_in_bytes (TYPE) > 16) (TYPE_MODE (TYPE) == BLKmode || int_size_in_bytes (TYPE) > 16)
/* Don't default to pcc-struct-return, because we have already specified
exactly how to return structures in the RETURN_IN_MEMORY macro. */
#define DEFAULT_PCC_STRUCT_RETURN 0
/* For an arg passed partly in registers and partly in memory, /* For an arg passed partly in registers and partly in memory,
this is the number of registers used. this is the number of registers used.
This never happens on 80960. */ This never happens on 80960. */
......
...@@ -67,3 +67,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -67,3 +67,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define UMODSI3_LIBCALL "*ulrem" #define UMODSI3_LIBCALL "*ulrem"
#define MULSI3_LIBCALL "*lmul" #define MULSI3_LIBCALL "*lmul"
#define UMULSI3_LIBCALL "*ulmul" #define UMULSI3_LIBCALL "*ulmul"
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
...@@ -38,3 +38,7 @@ ...@@ -38,3 +38,7 @@
doesn't support it. */ doesn't support it. */
#define DBX_NO_XREFS #define DBX_NO_XREFS
/
* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
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