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.8 ...



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

description:
Pull up revision 1.8 (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/arm.h |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r bae082661ae2 -r 8d5eed8c0150 gnu/dist/toolchain/gcc/config/arm/arm.h
--- a/gnu/dist/toolchain/gcc/config/arm/arm.h   Wed Aug 28 22:04:43 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/arm/arm.h   Wed Aug 28 22:04:53 2002 +0000
@@ -314,9 +314,8 @@
 function tries to return. */
 #define ARM_FLAG_ABORT_NORETURN (0x8000)
 
-/* Nonzero if the stack should be 64-bit aligned at function boundaries,
-   as mandated by the ATPCS.  */
-#define ARM_FLAG_ATPCS_STACK_ALIGN (0x10000)
+/* Nonzero if we use ATPCS conventions (stack, return-in-mem, etc.)  */
+#define ARM_FLAG_ATPCS (0x10000)
 
 #define TARGET_APCS                    (target_flags & ARM_FLAG_APCS_FRAME)
 #define TARGET_POKE_FUNCTION_NAME      (target_flags & ARM_FLAG_POKE)
@@ -340,7 +339,7 @@
 #define TARGET_LITTLE_WORDS            (target_flags & ARM_FLAG_LITTLE_WORDS)
 #define TARGET_NO_SCHED_PRO            (target_flags & ARM_FLAG_NO_SCHED_PRO)
 #define TARGET_ABORT_NORETURN           (target_flags & ARM_FLAG_ABORT_NORETURN)
-#define TARGET_ATPCS_STACK_ALIGN       (target_flags & ARM_FLAG_ATPCS_STACK_ALIGN)
+#define TARGET_ATPCS                   (target_flags & ARM_FLAG_ATPCS)
 
 /* SUBTARGET_SWITCHES is used to add flags on a per-config basis.
    Bit 31 is reserved.  See riscix.h.  */
@@ -599,7 +598,7 @@
 
 #define STACK_BOUNDARY  32
 
-#define PREFERRED_STACK_BOUNDARY (TARGET_ATPCS_STACK_ALIGN ? 64 : 32)
+#define PREFERRED_STACK_BOUNDARY (TARGET_ATPCS ? 64 : 32)
 
 #define FUNCTION_BOUNDARY  32
 



Home | Main Index | Thread Index | Old Index