From 6f8c9bd153a8ea82fdd1cd44b8aa4e06b4f51e0d Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Wed, 12 Mar 2003 12:38:35 +0000
Subject: [PATCH] (FIXED_REGISTERS): Add Maverick registers.

(CALL_USED_REGISTERS): Likewise.
(FIRST_PSEUDO_REGISTER): Update comment	describing how this value is calculated.

From-SVN: r64243
---
 gcc/ChangeLog        |  7 +++++++
 gcc/config/arm/arm.h |  4 ++--
 gcc/config/arm/pe.h  | 10 +++++++---
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 85d94f7eacf4..937a228dd58b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2003-03-12  Nick Clifton  <nickc@redhat.com>
+
+	* config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers.
+	(CALL_USED_REGISTERS): Likewise.
+	* config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment
+	describing how this value is calculated.
+
 2003-03-12  Hans-Peter Nilsson  <hp@bitrange.com>
 
 	* configure.in (rlim_t): Define to long if no valid definition
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 33f3da0af979..8b02b211e437 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -1008,8 +1008,8 @@ extern const char * structure_size_string;
 #define IS_CIRRUS_REGNUM(REGNUM) \
   (((REGNUM) >= FIRST_CIRRUS_FP_REGNUM) && ((REGNUM) <= LAST_CIRRUS_FP_REGNUM))
 
-/* The number of hard registers is 16 ARM + 8 FPA + 1 CC + 1 SFP.  */
-/* Cirrus registers take us up to 43... */
+/* The number of hard registers is 16 ARM + 8 FPA + 1 CC + 1 SFP + 1 AFP.  */
+/* + 16 Cirrus registers take us up to 43.  */
 #define FIRST_PSEUDO_REGISTER	43
 
 /* Value should be nonzero if functions must have frame pointers.
diff --git a/gcc/config/arm/pe.h b/gcc/config/arm/pe.h
index 6fc2bed7c83d..b567a2c89423 100644
--- a/gcc/config/arm/pe.h
+++ b/gcc/config/arm/pe.h
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler, for ARM with PE obj format.
-   Copyright (C) 1995, 1996, 1999, 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
    Contributed by Doug Evans (dje@cygnus.com).
    
    This file is part of GCC.
@@ -81,7 +81,9 @@
   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,1,1,1	\
 }
 
 /* Same as arm.h except r10 is call-saved, not fixed.  */
@@ -91,7 +93,9 @@
   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,1,1,1	\
 }
 
 /* Define this macro if in some cases global symbols from one translation
-- 
GitLab