Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/asm/make_i386_sysv_elf_gas.S
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ make_fcontext:
/* shift address in EAX to lower 16 byte boundary */
andl $-16, %eax

/* reserve space for context-data on context-stack */
leal -0x2c(%eax), %eax
/* reserve space for context-data on context-stack, and align the stack */
leal -0x30(%eax), %eax

/* third arg of make_fcontext() == address of context-function */
/* stored in EBX */
Expand Down
4 changes: 2 additions & 2 deletions src/asm/make_i386_sysv_macho_gas.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ _make_fcontext:
/* shift address in EAX to lower 16 byte boundary */
andl $-16, %eax

/* reserve space for context-data on context-stack */
leal -0x2c(%eax), %eax
/* reserve space for context-data on context-stack, and align the stack */
leal -0x30(%eax), %eax

/* third arg of make_fcontext() == address of context-function */
/* stored in EBX */
Expand Down