Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/gnu/dist/toolchain/gcc/config/arm Pull up revision 1.12...



details:   https://anonhg.NetBSD.org/src/rev/bae082661ae2
branches:  netbsd-1-6
changeset: 529053:bae082661ae2
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Aug 28 22:04:43 2002 +0000

description:
Pull up revision 1.12 (requested by thorpej in ticket #743):
* Rename ARM_FLAG_ATPCS_STACK_ALIGN to ARM_FLAG_ATPCS.
* Rename TARGET_ATPCS_STACK_ALIGN to TARGET_ATPCS.
* Move APTCS aggregate return rules to arm_return_in_memory(), conditional
  on TARGET_ATPCS, and make it also return true for variable-sized aggregates.

diffstat:

 gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (26 lines):

diff -r f2a756d279db -r bae082661ae2 gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h
--- a/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h    Wed Aug 28 22:04:34 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h    Wed Aug 28 22:04:43 2002 +0000
@@ -36,7 +36,7 @@
   (ARM_FLAG_APCS_32                            \
    | ARM_FLAG_APCS_FRAME                       \
    | ARM_FLAG_SOFT_FLOAT                       \
-   | ARM_FLAG_ATPCS_STACK_ALIGN                        \
+   | ARM_FLAG_ATPCS                            \
    | ARM_FLAG_SHORT_BYTE                       \
    | TARGET_ENDIAN_DEFAULT)
 
@@ -52,13 +52,6 @@
 /* This gets redefined in config/netbsd.h.  */
 #undef TARGET_MEM_FUNCTIONS
 
-/* How large values are returned */
-/* We override the default here because the default is to follow the
-   APCS rules and we want to follow the (simpler) ATPCS rules. */
-#undef RETURN_IN_MEMORY
-#define RETURN_IN_MEMORY(TYPE) \
-       (AGGREGATE_TYPE_P (TYPE) && int_size_in_bytes (TYPE) > 4)
-
 #define NETBSD_ELF
 
 #include <netbsd.h>



Home | Main Index | Thread Index | Old Index