aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-03-13 10:47:28 +0000
committerNick Clifton <nickc@gcc.gnu.org>2003-03-13 10:47:28 +0000
commit2ed0b52a048594149675cca027205a096557db58 (patch)
treea82d40cf631cbc4f1a91552a97365277f986647a /gcc
parentf1384257847568aae219dcd8c629f13281b81557 (diff)
downloadgcc-2ed0b52a048594149675cca027205a096557db58.zip
gcc-2ed0b52a048594149675cca027205a096557db58.tar.gz
gcc-2ed0b52a048594149675cca027205a096557db58.tar.bz2
(FIXED_REGISTERS): Remove definition.
(CALL_USED_REGISTERS): Remove definition. (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define. From-SVN: r64305
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arm/pe.h27
2 files changed, 11 insertions, 22 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 506f73c..2326871 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/arm/pe.h b/gcc/config/arm/pe.h
index b567a2c..1e822af 100644
--- a/gcc/config/arm/pe.h
+++ b/gcc/config/arm/pe.h
@@ -74,29 +74,12 @@
#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 \
-}
/* Define this macro if in some cases global symbols from one translation
unit may not be bound to undefined symbols in another translation unit