]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/m68k/m68kemb.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / m68k / m68kemb.h
index f7beb90b0af2defc8c4a680e7cb7ff0f7ce71e64..85b55d9987ef3b0c670578f001a8011032634455 100644 (file)
@@ -1,7 +1,6 @@
 /* Definitions of target machine for GNU compiler.  "embedded" 68XXX.
    This is meant to be included after m68k.h.
-   Copyright (C) 1994, 1995, 1998, 1999, 2004, 2006
-   Free Software Foundation, Inc.  */
+   Copyright (C) 1994-2024 Free Software Foundation, Inc.  */
 
 /* Override the SVR4 ABI for this target.  */
 
    so we define PCC_BITFIELD_TYPE_MATTERS.  */
 #define PCC_BITFIELD_TYPE_MATTERS 1
 
-/* Undef PCC_STATIC_STRUCT_RETURN so that we get a re-entrant calling
-   convention.  */
-#undef PCC_STATIC_STRUCT_RETURN
-
 /* Don't default to pcc-struct-return, so that we can return small structures
    and unions in registers, which is slightly more efficient.  */
 #define DEFAULT_PCC_STRUCT_RETURN 0
@@ -30,7 +25,8 @@
   m68k_libcall_value (MODE)
 
 #undef FUNCTION_VALUE_REGNO_P
-#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (TARGET_68881 && (N) == 16))
+#define FUNCTION_VALUE_REGNO_P(N)                      \
+  ((N) == D0_REG || (TARGET_68881 && (N) == FP0_REG))
 
 #undef NEEDS_UNTYPED_CALL
 #define NEEDS_UNTYPED_CALL 1
@@ -43,7 +39,7 @@
     }                                          \
   while (0)
 
-/* Override the default LIB_SPEC from gcc.c.  We don't currently support
+/* Override the default LIB_SPEC from gcc.cc.  We don't currently support
    profiling, or libg.a.  */
 
 #undef  LIB_SPEC