* arm/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Override setting in
arm.h
(RETURN_IN_MEMORY): Likewise.
From-SVN: r23591
Mon Nov 9 23:05:51 1998 Richard Earnshaw (rearnsha@arm.com)
+ Restore ABI compatibility for NetBSD.
+ * arm/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Override setting in
+ arm.h
+ (RETURN_IN_MEMORY): Likewise.
+
* arm.c (add_constant): When taking the address of an item in the
pool, get the mode of the item addressed.
#undef TYPE_OPERAND_FMT
#define TYPE_OPERAND_FMT "%%%s"
+/* NetBSD uses the old PCC style aggregate returning conventions. */
+#undef DEFAULT_PCC_STRUCT_RETURN
+#define DEFAULT_PCC_STRUCT_RETURN 1
+
+/* Although not normally relevant (since by default, all aggregates
+ are returned in memory) compiling some parts of libc requires
+ non-APCS style struct returns. */
+#undef RETURN_IN_MEMORY
+
/* VERY BIG NOTE : Change of structure alignment for RiscBSD.
There are consequences you should be aware of...