diff options
Diffstat (limited to 'include/asm-i386/elf.h')
-rw-r--r-- | include/asm-i386/elf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-i386/elf.h b/include/asm-i386/elf.h index 8d33c9bb7c1c..952b3ee3c9bb 100644 --- a/include/asm-i386/elf.h +++ b/include/asm-i386/elf.h | |||
@@ -88,16 +88,16 @@ typedef struct user_fxsr_struct elf_fpxregset_t; | |||
88 | pr_reg[4] = regs->edi; \ | 88 | pr_reg[4] = regs->edi; \ |
89 | pr_reg[5] = regs->ebp; \ | 89 | pr_reg[5] = regs->ebp; \ |
90 | pr_reg[6] = regs->eax; \ | 90 | pr_reg[6] = regs->eax; \ |
91 | pr_reg[7] = regs->xds; \ | 91 | pr_reg[7] = regs->xds & 0xffff; \ |
92 | pr_reg[8] = regs->xes; \ | 92 | pr_reg[8] = regs->xes & 0xffff; \ |
93 | pr_reg[9] = regs->xfs; \ | 93 | pr_reg[9] = regs->xfs & 0xffff; \ |
94 | savesegment(gs,pr_reg[10]); \ | 94 | savesegment(gs,pr_reg[10]); \ |
95 | pr_reg[11] = regs->orig_eax; \ | 95 | pr_reg[11] = regs->orig_eax; \ |
96 | pr_reg[12] = regs->eip; \ | 96 | pr_reg[12] = regs->eip; \ |
97 | pr_reg[13] = regs->xcs; \ | 97 | pr_reg[13] = regs->xcs & 0xffff; \ |
98 | pr_reg[14] = regs->eflags; \ | 98 | pr_reg[14] = regs->eflags; \ |
99 | pr_reg[15] = regs->esp; \ | 99 | pr_reg[15] = regs->esp; \ |
100 | pr_reg[16] = regs->xss; | 100 | pr_reg[16] = regs->xss & 0xffff; |
101 | 101 | ||
102 | /* This yields a mask that user programs can use to figure out what | 102 | /* This yields a mask that user programs can use to figure out what |
103 | instruction set this CPU supports. This could be done in user space, | 103 | instruction set this CPU supports. This could be done in user space, |