Commit f00018dd by Alexandre Oliva Committed by Alexandre Oliva

sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of mis-used XINT.

* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
mis-used XINT.
(ARG_POINTER_REGNUM): Set to AP_REG.

From-SVN: r37909
parent 2f467109
2000-12-01 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
mis-used XINT.
(ARG_POINTER_REGNUM): Set to AP_REG.
2000-11-30 Alexandre Oliva <aoliva@redhat.com> 2000-11-30 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch, * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
......
...@@ -642,7 +642,7 @@ do { \ ...@@ -642,7 +642,7 @@ do { \
OFFSET = initial_elimination_offset ((FROM), (TO)) OFFSET = initial_elimination_offset ((FROM), (TO))
/* Base register for access to arguments of the function. */ /* Base register for access to arguments of the function. */
#define ARG_POINTER_REGNUM 16 #define ARG_POINTER_REGNUM AP_REG
/* Register in which the static-chain is passed to a function. */ /* Register in which the static-chain is passed to a function. */
#define STATIC_CHAIN_REGNUM 13 #define STATIC_CHAIN_REGNUM 13
...@@ -2205,7 +2205,7 @@ do { char dstr[30]; \ ...@@ -2205,7 +2205,7 @@ do { char dstr[30]; \
char name[32]; \ char name[32]; \
/* LPCS stands for Label for PIC Call Site. */ \ /* LPCS stands for Label for PIC Call Site. */ \
ASM_GENERATE_INTERNAL_LABEL \ ASM_GENERATE_INTERNAL_LABEL \
(name, "LPCS", XINT (XVECEXP ((X), 0, 0), 0)); \ (name, "LPCS", INTVAL (XVECEXP ((X), 0, 0))); \
assemble_name ((STREAM), name); \ assemble_name ((STREAM), name); \
} \ } \
break; \ break; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment