summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/i386/cpu_asm.s
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-22 17:27:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-22 17:27:17 +0000
commit4bf453a3491c12c9c5588b0d22f1fd4d3b6badad (patch)
tree299c6fb51393eb3f763a466d0d5451a5f36ab97b /c/src/exec/score/cpu/i386/cpu_asm.s
parentAdded size_rtems as a generated file. (diff)
downloadrtems-4bf453a3491c12c9c5588b0d22f1fd4d3b6badad.tar.bz2
Changed from .align to .p2align to avoid differences in meaning of
.align between i386-rtems (real number on .align) and i386-go32-rtems (power of 2).
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/cpu/i386/cpu_asm.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/exec/score/cpu/i386/cpu_asm.s b/c/src/exec/score/cpu/i386/cpu_asm.s
index f28faaae67..fd9448886f 100644
--- a/c/src/exec/score/cpu/i386/cpu_asm.s
+++ b/c/src/exec/score/cpu/i386/cpu_asm.s
@@ -36,7 +36,7 @@
* This routine performs a normal non-FP context.
*/
- .align 2
+ .p2align 1
PUBLIC (_CPU_Context_switch)
.set RUNCONTEXT_ARG, 4 # save context argument
@@ -93,7 +93,7 @@ SYM (_CPU_Context_restore):
.set FPCONTEXT_ARG, 4 # FP context argument
- .align 2
+ .p2align 1
PUBLIC (_CPU_Context_save_fp)
SYM (_CPU_Context_save_fp):
movl FPCONTEXT_ARG(esp),eax # eax = &ptr to FP context area
@@ -101,7 +101,7 @@ SYM (_CPU_Context_save_fp):
fsave (eax) # save FP context
ret
- .align 2
+ .p2align 1
PUBLIC (_CPU_Context_restore_fp)
SYM (_CPU_Context_restore_fp):
movl FPCONTEXT_ARG(esp),eax # eax = &ptr to FP context area
@@ -129,7 +129,7 @@ SYM (_CPU_Context_restore_fp):
.set CS_OFFSET , EIP_OFFSET+4 # offset of tasks code segment
.set EFLAGS_OFFSET , CS_OFFSET+4 # offset of tasks eflags
- .align 2
+ .p2align 1
PUBLIC (_ISR_Handler)
SYM (_ISR_Handler):
@@ -253,7 +253,7 @@ exit:
*/
#define DISTINCT_INTERRUPT_ENTRY(_vector) \
- .align 16 ; \
+ .p2align 4 ; \
PUBLIC (_ISR_Handler_ ## _vector ) ; \
SYM (_ISR_Handler_ ## _vector ): \
pusha ; \
@@ -561,7 +561,7 @@ SYM (_ISR_Dispatch):
* );
*/
- .align 2
+ .p2align 2
PUBLIC (i386_Install_idt)
.set INSTALL_IDT_SAVED_REGS, 8