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
This commit is contained in:
Alexandre Oliva 2000-12-01 02:29:34 +00:00 committed by Alexandre Oliva
parent 2f4671099a
commit f00018dd99
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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>
* config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,

View File

@ -642,7 +642,7 @@ do { \
OFFSET = initial_elimination_offset ((FROM), (TO))
/* 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. */
#define STATIC_CHAIN_REGNUM 13
@ -2205,7 +2205,7 @@ do { char dstr[30]; \
char name[32]; \
/* LPCS stands for Label for PIC Call Site. */ \
ASM_GENERATE_INTERNAL_LABEL \
(name, "LPCS", XINT (XVECEXP ((X), 0, 0), 0)); \
(name, "LPCS", INTVAL (XVECEXP ((X), 0, 0))); \
assemble_name ((STREAM), name); \
} \
break; \