aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2002-01-11 07:41:16 -0500
committerRichard Kenner <kenner@gcc.gnu.org>2002-01-11 07:41:16 -0500
commit12300dadecca2fda90be69391e4d49583eed142f (patch)
tree048bfc8969fb5f8920e1214a6e438bbc779bdea6 /gcc/config/alpha
parent27511a9a29431330f009ed9fadae06680fa0de97 (diff)
downloadgcc-12300dadecca2fda90be69391e4d49583eed142f.zip
gcc-12300dadecca2fda90be69391e4d49583eed142f.tar.gz
gcc-12300dadecca2fda90be69391e4d49583eed142f.tar.bz2
vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
* config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. Protect with IN_LIBGCC. (LINK_EH_SPEC): Add required trailing space. From-SVN: r48773
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r--gcc/config/alpha/vms.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h
index 2c93e15..2d1d7d6 100644
--- a/gcc/config/alpha/vms.h
+++ b/gcc/config/alpha/vms.h
@@ -382,12 +382,11 @@ do { \
#define EH_RETURN_HANDLER_RTX \
gen_rtx_MEM (Pmode, plus_constant (stack_pointer_rtx, 8))
-#define LINK_EH_SPEC "vms-dwarf2eh.o%s"
+#define LINK_EH_SPEC "vms-dwarf2eh.o%s "
#ifdef IN_LIBGCC2
#include <libicb.h>
#include <pdscdef.h>
-#endif
#define MD_FALLBACK_FRAME_STATE_FOR(CONTEXT, FS, SUCCESS) \
do { \
@@ -395,10 +394,10 @@ do { \
PDSCDEF *pv; \
INVO_CONTEXT_BLK invo; \
\
- memset (&invo, 0, sizeof INVO_CONTEXT_BLK); \
+ memset (&invo, 0, sizeof (INVO_CONTEXT_BLK)); \
\
invo.libicb$q_ireg [29] = *((long long *) (CONTEXT)->reg [29]); \
- invo.libicb$q_ireg [30] = (long long) (CONTEXT)->cfa \
+ invo.libicb$q_ireg [30] = (long long) (CONTEXT)->cfa; \
handle = LIB$GET_INVO_HANDLE (&invo); \
LIB$GET_INVO_CONTEXT (handle, &invo); \
pv = (PDSCDEF *) invo.libicb$ph_procedure_descriptor; \
@@ -408,13 +407,13 @@ do { \
int i, j; \
\
(FS)->cfa_offset = pv->pdsc$l_size; \
- (FS)->cfg_reg = pv->pdsc$w_flags & PDSC$M_BASE_REG_IS_FP ? 29 : 30; \
+ (FS)->cfa_reg = pv->pdsc$w_flags & PDSC$M_BASE_REG_IS_FP ? 29 : 30; \
(FS)->retaddr_column = 26; \
(FS)->cfa_how = CFA_REG_OFFSET; \
(FS)->regs.reg[27].loc.offset = -pv->pdsc$l_size; \
(FS)->regs.reg[27].how = REG_SAVED_OFFSET; \
(FS)->regs.reg[26].loc.offset \
- = pv->pdsc$w_rsa_offset - pv->pdsc$l_size); \
+ = pv->pdsc$w_rsa_offset - pv->pdsc$l_size; \
(FS)->regs.reg[26].how = REG_SAVED_OFFSET; \
\
for (i = 0, j = 0; i < 32; i++) \
@@ -428,6 +427,7 @@ do { \
goto SUCCESS; \
} \
} while (0)
+#endif
/* This is how to output an assembler line
that says to advance the location counter