summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-15 09:24:29 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-15 09:24:29 +0000
commit90eb0bdc99648964151866346558ec9b25f83e07 (patch)
tree7ac9b9d464cfcf44f88ba5bbf358d0f7e1bc4020
parent65841ea200bd24ffe5e7ff4638c1dea3e65b6958 (diff)
downloadgcc-90eb0bdc99648964151866346558ec9b25f83e07.tar.gz
* config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous
delta. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156767 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mn10300/mn10300.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index beff68bb2eb..2196c90e92d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-15 Nick Clifton <nickc@redhat.com>
+
+ * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous
+ delta.
+
2010-02-14 Marco Poletti <poletti.marco@gmail.com>
* intl.c (fake_ngettext): New function.
diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h
index 5547d4e17e5..be6a8528fbd 100644
--- a/gcc/config/mn10300/mn10300.h
+++ b/gcc/config/mn10300/mn10300.h
@@ -514,7 +514,7 @@ enum reg_class {
/* 1 if N is a possible register number for function argument passing.
On the MN10300, d0 and d1 are used in this way. */
-#define FUNCTION_ARG_REGNO_P(N) ((N) <= 2)
+#define FUNCTION_ARG_REGNO_P(N) ((N) <= 1)
/* Define a data type for recording info about an argument list