aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom Wood <wood@gnu.org>1993-03-23 12:49:33 +0000
committerTom Wood <wood@gnu.org>1993-03-23 12:49:33 +0000
commit7972af82c6594d3db7a513d65a4540bef8bc6f87 (patch)
tree66dc0c613fd703ba017534b54840af92f6c7d0cb /gcc
parent576182a333d24a91f07c34d29757fdfc28b6e68b (diff)
downloadgcc-7972af82c6594d3db7a513d65a4540bef8bc6f87.zip
gcc-7972af82c6594d3db7a513d65a4540bef8bc6f87.tar.gz
gcc-7972af82c6594d3db7a513d65a4540bef8bc6f87.tar.bz2
(NEEDS_UNTYPED_CALL): Define.
From-SVN: r3838
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m68k/isi.h6
-rw-r--r--gcc/config/m68k/m68k.h5
-rw-r--r--gcc/config/m68k/m68kv4.h6
-rw-r--r--gcc/config/m68k/mot3300.h6
4 files changed, 23 insertions, 0 deletions
diff --git a/gcc/config/m68k/isi.h b/gcc/config/m68k/isi.h
index 7d791b9..38d3755 100644
--- a/gcc/config/m68k/isi.h
+++ b/gcc/config/m68k/isi.h
@@ -63,6 +63,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef FUNCTION_VALUE
#undef LIBCALL_VALUE
#undef FUNCTION_VALUE_REGNO_P
+#undef NEEDS_UNTYPED_CALL
#undef ASM_FILE_START
/* Every structure or union's size must be a multiple of 2 bytes. */
@@ -82,5 +83,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define FUNCTION_VALUE_REGNO_P(N) \
((N) == 0 || (TARGET_68881 && (N) == 16))
+/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for
+ more than one register. */
+
+#define NEEDS_UNTYPED_CALL 1
+
/* Also output something to cause the correct _doprnt to be loaded. */
#define ASM_FILE_START(FILE) fprintf (FILE, "#NO_APP\n%s\n", TARGET_68881 ? ".globl fltused" : "")
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 0bce1dd..ca9907b 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -774,6 +774,11 @@ extern enum reg_class regno_reg_class[];
#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0)
+/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for
+ more than one register. */
+
+#define NEEDS_UNTYPED_CALL 0
+
/* Define this if PCC uses the nonreentrant convention for returning
structure and union values. */
diff --git a/gcc/config/m68k/m68kv4.h b/gcc/config/m68k/m68kv4.h
index 6f3e573..f437bde 100644
--- a/gcc/config/m68k/m68kv4.h
+++ b/gcc/config/m68k/m68kv4.h
@@ -123,6 +123,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define FUNCTION_VALUE_REGNO_P(N) \
((N) == 0 || (N) == 8 || (TARGET_68881 && (N) == 16))
+/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for
+ more than one register. */
+
+#undef NEEDS_UNTYPED_CALL
+#define NEEDS_UNTYPED_CALL 1
+
/* Define how to generate (in the callee) the output value of a function
and how to find (in the caller) the value returned by a function. VALTYPE
is the data type of the value (as a tree). If the precise function being
diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h
index 36bf6ec..6424514 100644
--- a/gcc/config/m68k/mot3300.h
+++ b/gcc/config/m68k/mot3300.h
@@ -284,6 +284,12 @@ output_file_directive ((FILE), main_input_filename)
#define FUNCTION_VALUE_REGNO_P(N) \
((N) == 0 || (N) == 8 || (TARGET_68881 && (N) == 16))
#endif
+
+/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for
+ more than one register. */
+
+#undef NEEDS_UNTYPED_CALL
+#define NEEDS_UNTYPED_CALL 1
/* This is the command to make the user-level label named NAME
defined for reference from other files. */