diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-12-01 02:29:34 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-12-01 02:29:34 +0000 |
commit | f00018dd990a02c71dabf8a2f64609d00f2af4dd (patch) | |
tree | 9a32a95896da6a43295e1774e94de7a201d6dffe | |
parent | 2f4671099a73f32a5992d96d6bff217a10e35ad9 (diff) | |
download | gcc-f00018dd990a02c71dabf8a2f64609d00f2af4dd.zip gcc-f00018dd990a02c71dabf8a2f64609d00f2af4dd.tar.gz gcc-f00018dd990a02c71dabf8a2f64609d00f2af4dd.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ebed5d0..5d064f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index edc2726..b411a52 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -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; \ |