summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-24 16:24:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-24 16:24:39 +0000
commit3ec7bfc7c4ff9e217d2a24635751b74757635dd7 (patch)
tree3cb4539f082a621655fae9e6b999d6ca0c0f8c73 /c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c
parentnew file (diff)
downloadrtems-3ec7bfc7c4ff9e217d2a24635751b74757635dd7.tar.bz2
Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros for
the CPU family name constants.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c b/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c
index 2a41b46a33..11e14a3efb 100644
--- a/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c
+++ b/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c
@@ -331,7 +331,7 @@ asm("
_already7:
movew %sp@+,%d0
");
-#if defined (__m68000__) && !defined(__mc68020__)
+#if defined (__mc68000__) && !defined(__mc68020__)
asm("
lea %sp@(4),%sp"); /* pull off 68000 return address */
#endif
@@ -551,7 +551,7 @@ void _returnFromException(Frame *frame)
frame->fsaveHeader = -1; /* restore regs, but we dont have fsave info*/
}
-#if defined(__m68000__) && !defined(__mc68020__)
+#if defined(__mc68000__) && !defined(__mc68020__)
/* a 68000 cannot use the internal info pushed onto a bus error
* or address error frame when doing an RTE so don't put this info
* onto the stack or the stack will creep every time this happens.