summaryrefslogtreecommitdiff
path: root/gcc/config/h8300/h8300.h
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-28 20:05:28 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-28 20:05:28 +0000
commit9f4cd859fa1d6deaabb64fc5565dcac1826b00fb (patch)
treed8d2d95d195c98616c4d72306f69b0a919e437ac /gcc/config/h8300/h8300.h
parentd80478dfffb263a46d37595da76bd1c9b5da901b (diff)
downloadgcc-9f4cd859fa1d6deaabb64fc5565dcac1826b00fb.tar.gz
* config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE,
LIBCALL_VALUE): Remove macros. * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. (h8300_function_value, h8300_libcall_value, h8300_function_value_regno_p): New functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300/h8300.h')
-rw-r--r--gcc/config/h8300/h8300.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 0c61b80ccd9..57fffda2297 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -527,29 +527,6 @@ enum reg_class {
#define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \
((OFFSET) = h8300_initial_elimination_offset ((FROM), (TO)))
-/* Define how to find the value returned by a function.
- VALTYPE is the data type of the value (as a tree).
- If the precise function being called is known, FUNC is its FUNCTION_DECL;
- otherwise, FUNC is 0.
-
- On the H8 the return value is in R0/R1. */
-
-#define FUNCTION_VALUE(VALTYPE, FUNC) \
- gen_rtx_REG (TYPE_MODE (VALTYPE), R0_REG)
-
-/* Define how to find the value returned by a library function
- assuming the value has mode MODE. */
-
-/* On the H8 the return value is in R0/R1. */
-
-#define LIBCALL_VALUE(MODE) \
- gen_rtx_REG (MODE, R0_REG)
-
-/* 1 if N is a possible register number for a function value.
- On the H8, R0 is the only register thus used. */
-
-#define FUNCTION_VALUE_REGNO_P(N) ((N) == R0_REG)
-
/* Define this if PCC uses the nonreentrant convention for returning
structure and union values. */