(FIXED_REGISTERS): Remove definition.
authorNick Clifton <nickc@redhat.com>
Thu, 13 Mar 2003 10:47:28 +0000 (10:47 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 13 Mar 2003 10:47:28 +0000 (10:47 +0000)
(CALL_USED_REGISTERS): Remove definition.
(SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.

From-SVN: r64305

gcc/ChangeLog
gcc/config/arm/pe.h

index 506f73c9f9f79943399d52477cfbe7f3b0989581..2326871ca07ebc4c40c71e533e03c0ebeac2b1ae 100644 (file)
@@ -1,3 +1,9 @@
+2003-03-13  Nick Clifton  <nickc@redhat.com>
+
+       * config/arm/pe.h (FIXED_REGISTERS): Remove definition.
+       (CALL_USED_REGISTERS): Remove definition.
+       (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
+
 2003-03-13  Alan Modra  <amodra@bigpond.net.au>
 
        * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
index b567a2c89423b754e29c73763ce8a7fac3c22d38..1e822afa9e863964581892048692d91b2bb745e5 100644 (file)
 #undef  WCHAR_TYPE_SIZE
 #define WCHAR_TYPE_SIZE 16
 
-/* Same as arm.h except r10 is call-saved, not fixed.  */
-#undef  FIXED_REGISTERS
-#define FIXED_REGISTERS \
-{                      \
-  0,0,0,0,0,0,0,0,     \
-  0,0,0,1,0,1,0,1,     \
-  0,0,0,0,0,0,0,0,     \
-  1,1,1,               \
-  1,1,1,1,1,1,1,1,     \
-  1,1,1,1,1,1,1,1      \
-}
+/* r11 is fixed.  */
+#undef  SUBTARGET_CONDITIONAL_REGISTER_USAGE
+#define SUBTARGET_CONDITIONAL_REGISTER_USAGE \
+  fixed_regs [11] = 1; \
+  call_used_regs [11] = 1;
 
-/* Same as arm.h except r10 is call-saved, not fixed.  */
-#undef  CALL_USED_REGISTERS
-#define CALL_USED_REGISTERS \
-{                      \
-  1,1,1,1,0,0,0,0,     \
-  0,0,0,1,1,1,1,1,     \
-  1,1,1,1,0,0,0,0,     \
-  1,1,1,               \
-  1,1,1,1,1,1,1,1,     \
-  1,1,1,1,1,1,1,1      \
-}
 \f
 /* Define this macro if in some cases global symbols from one translation
    unit may not be bound to undefined symbols in another translation unit